diff --git a/src/main/resources/templates/Measure.liquid b/src/main/resources/templates/Measure.liquid
index 23f4d233..3d1cf443 100644
--- a/src/main/resources/templates/Measure.liquid
+++ b/src/main/resources/templates/Measure.liquid
@@ -295,29 +295,6 @@
{% endif %}
- {% if Measure.supplementalData.usage.coding.where(code = 'risk-adjustment-factor').exists() %}
-
- Risk Adjustment Variable: |
-
- {% 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 %}
- |
-
- {% endif %}
-
{% if Measure.riskAdjustment.exists() %}
Risk Adjustment: |
@@ -436,6 +413,29 @@
{% endif %}
+ {% if Measure.supplementalData.usage.coding.where(code = 'risk-adjustment-factor').exists() %}
+
+ Risk Adjustment Variable: |
+
+ {% 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 %}
+ |
+
+ {% endif %}
+
{% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance') %}
|