diff --git a/src/main/resources/templates/Measure.liquid b/src/main/resources/templates/Measure.liquid index 6b9513a2..3d1cf443 100644 --- a/src/main/resources/templates/Measure.liquid +++ b/src/main/resources/templates/Measure.liquid @@ -64,7 +64,8 @@ {% if Measure.effectivePeriod.exists() %} Effective Period: - {{Measure.effectivePeriod.start}}..{{Measure.effectivePeriod.end}} + {{Measure.effectivePeriod.start}} + ..{{Measure.effectivePeriod.end}} {% endif %} @@ -82,6 +83,13 @@ {% endif %} + {% if Measure.date.exists() %} + + Date: + {{Measure.date}} + + {% endif %} + {% if Measure.publisher.exists() %} Publisher: @@ -355,44 +363,24 @@ {% for population in group.population %} {{population.code.coding[0].display}}: - - {% if population.criteria.expression.exists().not() %} - None + {% if population.description.exists() %} + {{population.description}} {% else %} - {% if population.description.exists() %} - {{population.description}} - {% else %} - None - {% endif %} + None {% endif %} - {% endfor %} {% if group.stratifier.exists() %} - {% assign counter = 1 %} - Stratifier Criteria: + Stratifier Criteria: {% for stratifier in group.stratifier %} - {% assign label = "Stratum " | append: counter %} - - {% if stratifier.code.coding[0].display %} - {{stratifier.code.coding[0].display}}: - {% else %} - {{ label }}: - {% endif %} - - - {% if stratifier.criteria.expression.exists().not() %} - None + {{stratifier.code.coding[0].display}}: + {% if stratifier.description.exists() %} + {{stratifier.description}} {% else %} - {% if stratifier.description.exists() %} - {{stratifier.description}} - {% else %} - None - {% endif %} + None {% endif %} - {% assign counter = counter | plus: 1 %} {% endfor %} {% endif %} @@ -497,7 +485,7 @@

Dependencies

{% endif %} @@ -540,7 +528,7 @@ {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements').exists() %} {% for contained in Measure.contained.where(id = 'effective-data-requirements') %} - Terminology and Other Dependencies: + Related Artifact Dependencies: {% for relatedArtifact in contained.relatedArtifact.where(type = 'depends-on') %}
  • {{relatedArtifact.resource}}
  • @@ -576,8 +564,8 @@ - - + + @@ -642,7 +630,7 @@ {% for group in Measure.group %} - {% endif %} - {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type').exists() %} + {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-measureType').exists() %} - {% for extension in group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type') %} + {% for extension in group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-measureType') %} @@ -736,14 +724,14 @@ {% endif %} - {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo').exists() %} - - - - - {% endif %} - {% for population in group.population %}
    Resource TypeResource ElementsTypeElements Valueset Name Valueset
    {{group.id}} + {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring').exists() %} Group scoring: {% for extension in group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring') %} @@ -697,19 +685,19 @@
    Type: - {% if extension.value.coding.exists() %} - {% for coding in extension.value.coding %} + {% if extension.coding.exists() %} + {% for coding in extension.coding %}

    {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://terminology.hl7.org/CodeSystem/measure-type', '(' + coding.system + ')', '')}}

    {% endfor %} {% endif %} - {% if extension.value.coding.exists().not() and extension.text.exists() %} + {% if extension.coding.exists().not() and extension.text.exists() %} {{extension.text}} {% endif %}
    Improvement Notation: {% for extension in group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation') %} - {% if extension.value.coding.exists() %} - {% for coding in extension.value.coding %} + {% if extension.coding.exists() %} + {% for coding in extension.coding %}

    {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://terminology.hl7.org/CodeSystem/measure-improvement-notation', '(' + coding.system + ')', '')}}

    {% endfor %} {% endif %} - {% if extension.value.coding.exists().not() and extension.text.exists() %} + {% if extension.coding.exists().not() and extension.text.exists() %} {{extension.text}} {% endif %} {% endfor %} @@ -751,13 +739,6 @@
    Applies To: {{group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo').value}}