{% for population in include.group.population %} {% if population.code.exists() and population.code.coding.exists() %} {% if population.code.coding.first().display.exists() %} {%include row-header.html header=population.code.coding.first().display %} {% else %} {% if population.code.coding.where(code = 'initial-population') or population.code.coding.where(code = 'numerator') or population.code.coding.where(code = 'numerator-exclusion') or population.code.coding.where(code = 'denominator') or population.code.coding.where(code = 'denominator-exclusion') or population.code.coding.where(code = 'denominator-exception') or population.code.coding.where(code = 'measure-population') or population.code.coding.where(code = 'measure-population-exclusion') or population.code.coding.where(code = 'measure-observation') %} {% if population.code.coding.where(code = 'initial-population') %} {%include row-header.html header='Initial Population' %} {% endif %} {% if population.code.coding.where(code = 'numerator') %} {%include row-header.html header='Numerator' %} {% endif %} {% if population.code.coding.where(code = 'numerator-exclusion') %} {%include row-header.html header='Numerator Exclusion' %} {% endif %} {% if population.code.coding.where(code = 'denominator') %} {%include row-header.html header='Denominator' %} {% endif %} {% if population.code.coding.where(code = 'denominator-exclusion') %} {%include row-header.html header='Denominator Exclusion' %} {% endif %} {% if population.code.coding.where(code = 'denominator-exception') %} {%include row-header.html header='Denominator Exception' %} {% endif %} {% if population.code.coding.where(code = 'measure-population') %} {%include row-header.html header='Measure Population' %} {% endif %} {% if population.code.coding.where(code = 'measure-population-exclusion') %} {%include row-header.html header='Measure Population Exclusion' %} {% endif %} {% if population.code.coding.where(code = 'measure-observation') %} {%include row-header.html header='Measure Observation' %} {% endif %} {% else %} {%include row-header.html header='Unknown Population Type' %} {% endif %} {% endif %} {% if population.id.exists() %} ID: {{population.id}}
{% endif %} {% if population.description.exists() %} Description:

{{population.description}}

{% else %} Description: No description provided {% endif %} {% if population.criteria.exists() %} {% if population.criteria.language.startsWith('text/cql') and population.criteria.expression.exists() and include.library.exists() %} {% assign logicDefAnchor = '#' + include.library.first().replaceMatches('.*/Library/', '').lower().replace(' ', '-') + '-' + population.criteria.expression.lower().replace(' ', '-') %} Logic Definition: {{population.criteria.expression}} {% endif %} {% endif %} {% endif %} {% endfor %}