{{ title }}
{% for patient in picklist.patients %}
{{ patient.name }}
{% for instance in patient.instances %}
{{ instance.total_quantity | stringformat:'g' }}
{{ instance.name_strength_unit_form }}
{{ instance.drug_number }}
{% if should_render_barcodes %} {% for barcode_base64 in instance.barcodes_base64 %}
{% endfor %} {% endif %}
{% endfor %}
{% endfor %} {% if picklist.patients|length > 1 %}
TOTAL
{% for instance in picklist.instance_totals %}
{{ instance.total_quantity | stringformat:'g' }}
{{ instance.name_strength_unit_form }}
{{ instance.drug_number }}
{% if should_render_barcodes %} {% for barcode_base64 in instance.barcodes_base64 %}
{% endfor %} {% endif %}
{% endfor %}
{% endif %}