Skip to content

Commit

Permalink
Merge pull request #199 from MeasureAuthoringTool/MAT-6862
Browse files Browse the repository at this point in the history
MAT-6862: Update Measure template with release 0.4.1
  • Loading branch information
mcmcphillips authored Mar 8, 2024
2 parents 730c114 + 3e0e208 commit 90d70df
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions src/main/resources/templates/Measure.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -295,29 +295,6 @@
</tr>
{% endif %}

{% if Measure.supplementalData.usage.coding.where(code = 'risk-adjustment-factor').exists() %}
<tr>
<th scope="row"><b>Risk Adjustment Variable: </b></th>
<td style="padding-left: 4px;">
{% for supplementalData in Measure.supplementalData.where(usage.coding.where(code = 'risk-adjustment-factor').exists()) %}
{% if supplementalData.code.exists() %}
{{iif(supplementalData.code.text.exists(), supplementalData.code.text, iif(supplementalData.code.coding.first().display.exists(), supplementalData.code.coding.first().display, supplementalData.code.coding.first().code))}}
{% else %}
{% if supplementalData.description.exists() %}
{{supplementalData.description}}
{% else %}
{% if supplementalData.criteria.description.exists() %}
{{supplementalData.criteria.description}}
{% else %}
{{supplementalData.criteria.expression}}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
</td>
</tr>
{% endif %}

{% if Measure.riskAdjustment.exists() %}
<tr>
<th scope="row"><b>Risk Adjustment: </b></th>
Expand Down Expand Up @@ -436,6 +413,29 @@
</tr>
{% endif %}

{% if Measure.supplementalData.usage.coding.where(code = 'risk-adjustment-factor').exists() %}
<tr>
<th scope="row"><b>Risk Adjustment Variable: </b></th>
<td style="padding-left: 4px;">
{% for supplementalData in Measure.supplementalData.where(usage.coding.where(code = 'risk-adjustment-factor').exists()) %}
{% if supplementalData.code.exists() %}
{{iif(supplementalData.code.text.exists(), supplementalData.code.text, iif(supplementalData.code.coding.first().display.exists(), supplementalData.code.coding.first().display, supplementalData.code.coding.first().code))}}
{% else %}
{% if supplementalData.description.exists() %}
<p>{{supplementalData.description}}</p>
{% else %}
{% if supplementalData.criteria.description.exists() %}
<p>{{supplementalData.criteria.description}}</p>
{% else %}
<p>{{supplementalData.criteria.expression}}</p>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
</td>
</tr>
{% endif %}

{% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance') %}
<tr>
<th scope="row">
Expand Down

0 comments on commit 90d70df

Please sign in to comment.