.
This commit is contained in:
@@ -1,142 +1,142 @@
|
|||||||
<div class="atlas {% if case.scrapped %}atlas-scrapped{% endif %}">
|
<div class="atlas {% if case.scrapped %}atlas-scrapped{% endif %}">
|
||||||
<div><a href="https://viewer.penracourses.org.uk/viewer/dicomjson?url=https://viewer.penracourses.org.uk{% url 'atlas:case_dicom_json' case.pk %}"">View case in OHIF</a></div>
|
<div><a href="https://viewer.penracourses.org.uk/viewer/dicomjson?url=https://penracourses.org.uk{% url 'atlas:case_dicom_json' case.pk %}"">View case in OHIF</a></div>
|
||||||
|
|
||||||
<div class="date">
|
<div class="date">
|
||||||
{{ case.created_date|date:"d/m/Y" }}
|
{{ case.created_date|date:"d/m/Y" }}
|
||||||
</div>
|
</div>
|
||||||
<div class="id">
|
<div class="id">
|
||||||
ID: {{ case.id }}
|
ID: {{ case.id }}
|
||||||
</div>
|
</div>
|
||||||
<p class="pre-whitespace"><b>Title:</b> {{ case.title }}</p>
|
<p class="pre-whitespace"><b>Title:</b> {{ case.title }}</p>
|
||||||
|
|
||||||
<p class="pre-whitespace"><b>Description:</b> {{ case.description }}</p>
|
<p class="pre-whitespace"><b>Description:</b> {{ case.description }}</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<b>Presentation:</b>
|
<b>Presentation:</b>
|
||||||
<ul>
|
<ul>
|
||||||
{% for presentation in case.presentation.all %}
|
{% for presentation in case.presentation.all %}
|
||||||
<li>{{presentation.get_link}}</li>
|
<li>{{presentation.get_link}}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="pre-whitespace"><b>History:</b> {{ case.history }}</p>
|
<p class="pre-whitespace"><b>History:</b> {{ case.history }}</p>
|
||||||
|
|
||||||
<p class="pre-whitespace"><b>Discussion:</b> {{ case.discussion }}</p>
|
<p class="pre-whitespace"><b>Discussion:</b> {{ case.discussion }}</p>
|
||||||
|
|
||||||
<p class="pre-whitespace"><b>Report:</b> {{ case.report }}</p>
|
<p class="pre-whitespace"><b>Report:</b> {{ case.report }}</p>
|
||||||
|
|
||||||
<div class="pre-whitespace multi-image-block"><b>Series:</b>
|
<div class="pre-whitespace multi-image-block"><b>Series:</b>
|
||||||
{% for series in case.series.all %}
|
{% for series in case.series.all %}
|
||||||
<span class="series-block">
|
<span class="series-block">
|
||||||
<span>
|
<span>
|
||||||
<span class="series-block-series-number">Series {{ forloop.counter }}:</span><br>
|
<span class="series-block-series-number">Series {{ forloop.counter }}:</span><br>
|
||||||
<a href="{% url 'atlas:series_detail' pk=series.pk %}">
|
<a href="{% url 'atlas:series_detail' pk=series.pk %}">
|
||||||
{{series.get_block}}
|
{{series.get_block}}
|
||||||
</a>
|
</a>
|
||||||
<br>
|
<br>
|
||||||
<span class="series-block-popup-link">
|
<span class="series-block-popup-link">
|
||||||
<a href="#"
|
<a href="#"
|
||||||
onclick="return window.create_popup_window('/atlas/series/{{series.pk}}', 'Series')">Popup</a>
|
onclick="return window.create_popup_window('/atlas/series/{{series.pk}}', 'Series')">Popup</a>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<a href="{% url 'atlas:series_id_create' pk=case.pk %}">Add new series</a><br />
|
<a href="{% url 'atlas:series_id_create' pk=case.pk %}">Add new series</a><br />
|
||||||
</div>
|
</div>
|
||||||
{% comment %} <p><b>Scrapped:</b> {{ case.scrapped }} <a
|
{% comment %} <p><b>Scrapped:</b> {{ case.scrapped }} <a
|
||||||
href="{% url 'atlas:case_scrap' pk=case.pk %}">(toggle)</a> {% endcomment %}
|
href="{% url 'atlas:case_scrap' pk=case.pk %}">(toggle)</a> {% endcomment %}
|
||||||
|
|
||||||
<div class="atlas-answer">
|
<div class="atlas-answer">
|
||||||
<p class="pre-whitespace">
|
<p class="pre-whitespace">
|
||||||
Condition:
|
Condition:
|
||||||
<ul>
|
<ul>
|
||||||
{% for con in case.condition.all %}
|
{% for con in case.condition.all %}
|
||||||
<li>{{con.get_link}}</li>
|
<li>{{con.get_link}}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<div>
|
<div>
|
||||||
<details>
|
<details>
|
||||||
<summary><b>Findings</b></summary>
|
<summary><b>Findings</b></summary>
|
||||||
{% if case.series.all %}
|
{% if case.series.all %}
|
||||||
{% for series in case.series.all %}
|
{% for series in case.series.all %}
|
||||||
{% for finding in series.findings.all %}
|
{% for finding in series.findings.all %}
|
||||||
<div class="finding-box">
|
<div class="finding-box">
|
||||||
<span>
|
<span>
|
||||||
<a href="{{series.get_absolute_url}}">Series {{series.pk}}</a>: {{series.get_examination_full}} |
|
<a href="{{series.get_absolute_url}}">Series {{series.pk}}</a>: {{series.get_examination_full}} |
|
||||||
</span>
|
</span>
|
||||||
{% if finding.findings.all %}
|
{% if finding.findings.all %}
|
||||||
<span>
|
<span>
|
||||||
Findings: {% for f in finding.findings.all %}
|
Findings: {% for f in finding.findings.all %}
|
||||||
{{f.get_link}},
|
{{f.get_link}},
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if finding.structures.all %}
|
{% if finding.structures.all %}
|
||||||
<span>
|
<span>
|
||||||
Structure: {% for s in finding.structures.all %}
|
Structure: {% for s in finding.structures.all %}
|
||||||
{{s.get_link}},
|
{{s.get_link}},
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if finding.description %}
|
{% if finding.description %}
|
||||||
<span>
|
<span>
|
||||||
Description: {{finding.description}}
|
Description: {{finding.description}}
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
No series associated with case.
|
No series associated with case.
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</details>
|
</details>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<details open>
|
<details open>
|
||||||
<summary><b>Differentials</b></summary>
|
<summary><b>Differentials</b></summary>
|
||||||
<ul>
|
<ul>
|
||||||
{% for diff in case.differentialcase.all %}
|
{% for diff in case.differentialcase.all %}
|
||||||
<li>{{diff.condition.get_link}} - {{diff.text}}</li>
|
<li>{{diff.condition.get_link}} - {{diff.text}}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</details>
|
</details>
|
||||||
</div>
|
</div>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
Subspecialty:
|
Subspecialty:
|
||||||
<ul>
|
<ul>
|
||||||
{% for sub in case.subspecialty.all %}
|
{% for sub in case.subspecialty.all %}
|
||||||
<li>{{sub.get_link}}</li>
|
<li>{{sub.get_link}}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<b>Pathological Process:</b>
|
<b>Pathological Process:</b>
|
||||||
<ul>
|
<ul>
|
||||||
{% for p in case.pathological_process.all %}
|
{% for p in case.pathological_process.all %}
|
||||||
<li>{{p.get_link}}</li>
|
<li>{{p.get_link}}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<b>Collections:</b>
|
<b>Collections:</b>
|
||||||
<button
|
<button
|
||||||
hx-get="{% url 'atlas:case_collection_form' case.pk %}"
|
hx-get="{% url 'atlas:case_collection_form' case.pk %}"
|
||||||
hx-target="#collection-form">
|
hx-target="#collection-form">
|
||||||
Add collection</button>
|
Add collection</button>
|
||||||
<div id="collection-form"></div>
|
<div id="collection-form"></div>
|
||||||
<ul>
|
<ul>
|
||||||
{% for collection in case.casecollection_set.all %}
|
{% for collection in case.casecollection_set.all %}
|
||||||
<li><a href="{% url 'atlas:collection_detail' pk=collection.pk %}">{{collection.name}}</a></li>
|
<li><a href="{% url 'atlas:collection_detail' pk=collection.pk %}">{{collection.name}}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
<p class="pre-whitespace"><b>Previous case:</b> {{ case.previous_case }}</p>
|
<p class="pre-whitespace"><b>Previous case:</b> {{ case.previous_case }}</p>
|
||||||
<p class="pre-whitespace"><b>Next case:</b> {{ case.next_case }}</p>
|
<p class="pre-whitespace"><b>Next case:</b> {{ case.next_case }}</p>
|
||||||
<div>
|
<div>
|
||||||
{% include 'question_notes.html' %}
|
{% include 'question_notes.html' %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p><b>Checked by:</b> {% for verified in case.verified.all %} <a
|
<p><b>Checked by:</b> {% for verified in case.verified.all %} <a
|
||||||
href="{% url 'atlas:verified_detail' pk=verified.pk %}">{{verified}}</a>, {% endfor %}</p>
|
href="{% url 'atlas:verified_detail' pk=verified.pk %}">{{verified}}</a>, {% endfor %}</p>
|
||||||
|
|
||||||
<p><b>Author(s):</b> {% for author in case.author.all %} <a
|
<p><b>Author(s):</b> {% for author in case.author.all %} <a
|
||||||
href="{% url 'atlas:author_detail' pk=author.pk %}">{{author}}</a>, {% endfor %}</p>
|
href="{% url 'atlas:author_detail' pk=author.pk %}">{{author}}</a>, {% endfor %}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user