Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAT-6862: Update Measure template with release 0.4.1 #199

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading