{% if details|length %} {% for label in details.denominatorHeaders %} {% endfor %} {% for label in details.numeratorHeaders%} {% endfor %} {% for row in details.patients %} {% for record in row.records %} {% if loop.first %} {% endif %} {% if record.denominator|length %} {% for action in record.denominator %} {% endfor %} {% endif %} {% if record.numerator|length %} {% for action in record.numerator %} {% endfor %} {% endif %} {% endfor %} {% endfor %}
  {{ "Denominator"|xlt }} {{ "Numerator Criteria"|xlt }}
{{ "Name"|xlt }} {{ "Sex"|xlt }} {{ "DOB"|xlt }}{{ label|text }}{{ label|text }} 
{{ row.patient.fname|text }} {{ row.patient.lname|text}} {{ row.patient.sex|text }} {{ row.patient.DOB|text }} {% if action.value %}{{ "Yes"|xlt }}{% else %}{{ "No"|xlt }}{% endif %} {% if action.details != "" %} - {{ action.details|text }}{% endif %} {% if action.value %}{{ "Yes"|xlt }}{% else %}{{ "No"|xlt }}{% endif %} {% if action.details != "" %} - {{ action.details|text }}{% endif %}
{% else %} {{ "No patient records found"|xlt }} {% endif %}