{% load crispy_forms_tags %} {% with image_url_array_and_count=series.get_image_url_array_and_count %}

Series: {{ series.modality }} - {{ series.examination }}

{{ series.plane }}, {{ series.contrast }}
Description: {{ series.description }}
Author: {{ series.get_author_display }}
View series {% if can_edit %} {% else %} {% endif %}
{% with image_url_array_and_count=series.get_image_url_array_and_count %}
{% endwith %}
Finding form
{% if editing_finding > 0 %}
Editing Finding

Editing finding with ID: {{editing_finding}}

{% else %}
Add Finding

Click the button below to add a new finding.

{% endif %}
{% csrf_token %} {{series_finding_form|crispy}}
Findings
{% for finding in series.findings.all %}
Finding(s): {% for f in finding.findings.all %}{{f.get_link}}{% endfor %}
Structure(s): {% for s in finding.structures.all %}{{s.get_link}}{% endfor %}
Condition(s): {% for s in finding.conditions.all %}{{s.get_link}}{% endfor %}
{{finding.description}}
{% if request.user.is_superuser %}
{{finding.annotation_json}}
{{finding.viewport_json}}
{% endif %} {% if can_edit %} {% endif %}
{% empty %}

No findings available.

{% endfor %}
Images
Download

Click 'Load images' to fetch.

Cases
{% include 'atlas/partials/series_cases_list.html' %}
{% if can_edit %}
Add Series to Case
{% csrf_token %}
{% endif %}
{% if can_edit %}
Truncate series

Limit the series to the selected bounds (the rest of the images will be deleted). This action is irreversible on site.

Warning: If you have reordered the series this may remove the wrong images.
{% endif %}
{% endwith %}