This commit is contained in:
Ross
2021-02-06 21:48:04 +00:00
parent 6098e636c8
commit e0b73c70f5
12 changed files with 194 additions and 62 deletions
+10 -11
View File
@@ -20,18 +20,17 @@
{% for question in questions.all %}
<li>
{% for image in question.GetImages %}
<img src="{{ image|thumbnail_url:'exam-list' }}" alt="thumbail" />
History: {{ question.history}}
<br />
{% for series in question.series.all %}
<div class="series-block">
Series {{forloop.counter }}:<br />
{{series.get_block}}
</div>
{% endfor %}
{% if not question.normal %}
<b>Abnormality:</b> {{ question.get_abnormalities }} <b>Region:</b> {{ question.get_regions }}
<br />
{{ question.GetPrimaryAnswer }}
{% else %}
<b>Normal</b>
{% endif %}
<br />
Examination: {{ question.get_examinations }}, <a href="{% url 'longs:exam_question_detail' pk=exam.pk sk=forloop.counter0 %}">View</a>, <a href="{% url 'longs:mark' pk=exam.pk sk=forloop.counter0 %}">Mark</a>
<div>
Author(s): {{question.get_authors}}
</div>
</li>
{% endfor %}
</ol>
@@ -1,6 +1,12 @@
<div>{{ series.modality}}, {{ series.examination }}</div>
{% if series.long %}
Associated case: <a href="{% url 'longs:long_detail' pk=series.long.pk %}">{{series.long}}</a>
{% else %}
This series is not associated with any cases.
{% endif %}
<div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ series.get_image_urls }}" data-annotations=''></div>
<div>Author: {{ series.get_author_display }}</div>
+5 -5
View File
@@ -7,11 +7,11 @@
{% block content %}
<div id="view-filter-options">
<h3>Filter Longs</h3>
<form action="" method="get">
{{ filter.form }}
<input class="btn btn-primary btn-sm mt-1 mb-1" type="submit" />
</form>
<h4>Filter</h4>
<form action="" method="get">
{{ filter.form }}
<input class="btn btn-primary btn-sm mt-1 mb-1" type="submit" />
</form>
</div>
{% render_table table %}