Clinical documents in workflow
{% ae_followup_queryset ae_initial=result.parent_action_item.reference_obj as qs %}
{% if qs.count == 0 %}
There are no follow-ups to this AE
{% endif %}
{% for ae_followup in qs %}
{% render_tmg_panel reference_obj=ae_followup counter=forloop.counter next_url_name=listboard_filter_url %}
{% endfor %}
{% death_report_queryset subject_identifier=result.subject_identifier as qs %}
{% for death_report in qs %}
{% render_tmg_panel reference_obj=death_report counter=forloop.counter next_url_name=listboard_filter_url %}
{% endfor %}