- {% if Measure.title.exists() %}
-
- Title: |
- {{Measure.title}} |
-
- {% endif %}
-
- {% if Measure.subtitle.exists() %}
-
- Subtitle: |
- {{Measure.subtitle}} |
-
- {% endif %}
-
- {% if Measure.id.exists() %}
-
- Id: |
- {{Measure.id}} |
-
- {% endif %}
-
- {% if Measure.version.exists() %}
-
- Version: |
- {{Measure.version}} |
-
- {% endif %}
-
- {% if Measure.url.exists() %}
-
- Url: |
- {{Measure.url}} |
-
- {% endif %}
-
- {% for identifier in Measure.identifier %}
-
-
-
- {% if identifier.type.coding.exists() %}
- {% if identifier.type.coding.display.exists() %}
- {{identifier.type.coding.display}}{% if identifier.assigner.display.exists() %} ({{identifier.assigner.display}}){% endif %} Identifier:
- {% else %}
- {{identifier.type.coding.code}}{% if identifier.assigner.display.exists() %} ({{identifier.assigner.display}}){% endif %} identifier:
- {% endif %}
- {% else %}
- {{identifier.use}}
- {% endif %}
-
- |
-
-
- {% if identifier.value.exists() %}
-
- {{identifier.value}}
-
- {% endif %}
- |
-
- {% endfor %}
-
- {% if Measure.effectivePeriod.exists() %}
-
- Effective Period: |
- {{Measure.effectivePeriod.start}}..{{Measure.effectivePeriod.end}} |
-
- {% endif %}
-
- {% if Measure.status.exists() and Measure.status.value != 'active' %}
-
- Status: |
- {{Measure.status.value}} |
-
- {% endif %}
-
- {% if Measure.experimental.exists() and Measure.experimental.value = 'true' %}
-
- Experimental: |
- {{Measure.experimental.value}} |
-
- {% endif %}
-
- {% if Measure.publisher.exists() %}
-
- Publisher: |
- {{Measure.publisher}} |
-
- {% endif %}
-
- {% if Measure.author.exists() and Measure.author.name.exists() %}
-
- Author: |
- {{Measure.author.name}} |
-
- {% endif %}
-
- {% if Measure.endorser.exists() and Measure.endorser.name.exists() %}
-
- Endorser: |
- {{Measure.endorser.name}} |
-
- {% endif %}
-
- {% if Measure.description.exists() %}
-
- Description: |
- {{Measure.description}} |
-
- {% endif %}
-
- {% if Measure.extension.where(url = 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability').exists() %}
-
- Knowledge Capability: |
-
- {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability') %}{{extension.value}} {% endfor %}
- |
-
- {% endif %}
-
- {% if Measure.extension.where(url = 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel').exists() %}
-
- Knowledge Representation Level: |
-
- {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel') %}{{extension.value}}{% endfor %}
- |
-
- {% endif %}
-
- {% if Measure.useContext.exists() %}
-
- Use Context: |
-
-
-
- code |
- value |
-
- {% for useContext in Measure.useContext %}
-
- {{useContext.code.code}} |
- {{useContext.value.text}} |
-
- {% endfor %}
-
- |
-
- {% endif %}
-
- {% if Measure.jurisdiction.exists() %}
-
- Jurisdiction: |
- {{Measure.jurisdiction.first().coding.first().code}} |
-
- {% endif %}
-
- {% if Measure.topic.exists() %}
-
- Topic: |
- {{Measure.topic.first().coding.first().code}} |
-
- {% endif %}
-
- {% if Measure.purpose.exists() %}
-
- Purpose: |
- {{Measure.purpose}} |
-
- {% endif %}
-
- {% if Measure.copyright.exists() %}
-
- Copyright: |
- {{Measure.copyright}} |
-
- {% endif %}
-
- {% if Measure.disclaimer.exists() %}
-
- Disclaimer: |
- {{Measure.disclaimer}} |
-
- {% endif %}
-
- {% if Measure.subject.exists() %}
-
- Subject: |
- {% if Measure.subject is CodeableConcept %}
-
- {% if Measure.subject.coding.exists() %}
- {% for coding in Measure.subject.coding %}
-
- {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system.exists(), '(' + coding.system + ')', '')}}
-
- {% endfor %}
- {% endif %}
- {% if Measure.subject.coding.exists().not() and Measure.subject.text.exists() %}
- {{Measure.subject.text}}
- {% endif %}
- |
- {% endif %}
- {% if Measure.subject is Reference %}
-
- {% if Measure.subject.reference.exists() %}
-
- reference: {{Measure.subject.reference}}
-
- {% endif %}
- {% if Measure.subject.type.exists() %}
-
- type: {{Measure.subject.type}}
-
- {% endif %}
- {% if Measure.subject.display.exists() %}
-
- code: {{Measure.subject.display}}
-
- {% endif %}
- |
- {% endif %}
-
- {% endif %}
-
- {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis').exists() %}
-
- Basis: |
-
- {{Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis').first().value}}
- |
-
- {% endif %}
-
- {% if Measure.scoring.exists() %}
-
- Scoring: |
-
- {% if Measure.scoring.coding.exists() %}
- {% for coding in Measure.scoring.coding %}
-
- {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://terminology.hl7.org/CodeSystem/measure-scoring', '(' + coding.system + ')', '')}}
-
- {% endfor %}
- {% endif %}
- {% if Measure.scoring.coding.exists().not() and Measure.scoring.text.exists() %}
- {{Measure.scoring.text}}
- {% endif %}
- |
-
- {% endif %}
-
- {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit').exists() %}
-
- Scoring unit: |
-
- {% for scoringUnit in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit') %}
- {% if scoringUnit.coding.exists() %}
- {% for coding in scoringUnit.coding %}
-
- {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://unitsofmeasure.org', '(' + coding.system + ')', '')}}
-
- {% endfor %}
- {% endif %}
- {% if scoringUnit.coding.exists().not() and scoringUnit.text.exists() %}
- {{scoringUnit.text}}
- {% endif %}
- {% endfor %}
- |
-
- {% endif %}
-
- {% if Measure.type.exists() %}
-
- Type: |
-
- {% if Measure.type.coding.exists() %}
- {% for coding in Measure.type.coding %}
-
- {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://terminology.hl7.org/CodeSystem/measure-type', '(' + coding.system + ')', '')}}
-
- {% endfor %}
- {% endif %}
- {% if Measure.type.coding.exists().not() and Measure.type.text.exists() %}
- {{Measure.type.text}}
- {% endif %}
- |
-
- {% endif %}
-
- {% if Measure.riskAdjustment.exists() %}
-
- Risk Adjustment: |
- {{Measure.riskAdjustment}} |
-
- {% endif %}
-
- {% if Measure.rateAggregation.exists() %}
-
- Rate Aggregation: |
- {{Measure.rateAggregation}} |
-
- {% endif %}
-
- {% if Measure.rationale.exists() %}
-
- Rationale: |
- {{Measure.rationale}} |
-
- {% endif %}
-
- {% if Measure.clinicalRecommendationStatement.exists() %}
-
- Clinical recommendation statement: |
- {{Measure.clinicalRecommendationStatement}} |
-
- {% endif %}
-
- {% if Measure.improvementNotation.exists() %}
-
- Improvement Notation: |
-
- {% if Measure.improvementNotation.coding.exists() %}
- {% for coding in Measure.improvementNotation.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 Measure.improvementNotation.coding.exists().not() and Measure.improvementNotation.text.exists() %}
- {{Measure.improvementNotation.text}}
- {% endif %}
- |
-
- {% endif %}
-
- {% if Measure.usage.exists() %}
-
- Guidance (Usage): |
- {{Measure.usage}} |
-
- {% endif %}
-
- {% if Measure.group.exists() %}
- {% if Measure.group[0].population.description.exists() %}
-
- Population Criteria: |
-
- {% for group in Measure.group %}
-
- {% if group.id.exists() %}
-
- {{group.id}} |
-
- {% endif %}
- {% for population in group.population %}
-
- {{population.code.coding[0].display}}: |
-
- {% if population.criteria.expression.exists().not() %}
- None |
- {% else %}
- {% if population.description.exists() %}
- {{population.description}} |
- {% else %}
- None |
- {% endif %}
- {% endif %}
-
-
- {% endfor %}
- {% if group.stratifier.exists() %}
- Stratifier Criteria:
- {% for stratifier in group.stratifier %}
-
- {% if stratifier.code.coding[0].display.exists() %}
- {{stratifier.code.coding[0].display}}: |
- {% elsif stratifier.code.coding[0].code.exists() %}
- {{stratifier.code.coding[0].code}}: |
- {% else %}
- Stratum: |
- {% endif %}
-
- {% if stratifier.description.exists() %}
- {{stratifier.description}} |
- {% else %}
- None |
- {% endif %}
-
- {% endfor %}
- {% endif %}
-
- {% endfor %}
- |
-
- {% endif %}
- {% endif %}
-
- {% if Measure.supplementalData.usage.coding.where(code = 'supplemental-data').exists() %}
-
- Supplemental Data Elements: |
-
- {% for supplementalData in Measure.supplementalData.where(usage.coding.where(code = 'supplemental-data').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.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') %}
-
-
- {{iif(extension.extension.where(url = 'usage').value.text.exists(), extension.extension.where(url = 'usage').value.text, iif(extension.extension.where(url = 'usage').coding.first().display.exists(), extension.extension.where(url = 'usage').coding.first().display, extension.extension.where(url = 'usage').coding.first().code))}}
- : |
- {{extension.extension.where(url = 'guidance').value}} |
-
- {% endfor %}
-
- {% if Measure.library.exists() %}
-
- Libraries: |
-
-
- {% for library in Measure.library %}
-
- {{library}} |
-
- {% endfor %}
-
- |
-
- {% endif %}
-
- {% if Measure.relatedArtifact.exists() %}
-
- Related Artifacts: |
-
- {% if Measure.relatedArtifact.where(type = 'documentation' or type = 'justification').exists() %}
- Documentation
-
- {% endif %}
- {% if Measure.relatedArtifact.where(type = 'citation').exists() %}
- References
-
- {% for artifact in Measure.relatedArtifact.where(type = 'citation') %}
- - {{artifact.citation}}
{{artifact.url}}
- {% endfor %}
-
- {% endif %}
- {% if Measure.relatedArtifact.where(type = 'depends-on').exists() and
- Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements').exists().not() and
- Measure.extension.where(url = 'http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements').exists().not() %}
- Dependencies
-
- {% for artifact in Measure.relatedArtifact.where(type = 'depends-on') %}
- - {{artifact.display}}
- {% endfor %}
-
- {% endif %}
- {% if Measure.relatedArtifact.where(type = 'composed-of').exists() %}
- Components
-
- {% for artifact in Measure.relatedArtifact.where(type = 'composed-of') %}
- - {{artifact.resource}}
- {% endfor %}
-
- {% endif %}
- {% if Measure.relatedArtifact.where(type = 'derived-from').exists() %}
- Derived From
-
- {% for artifact in Measure.relatedArtifact.where(type = 'derived-from') %}
- - {{artifact.resource}}
- {% endfor %}
-
- {% endif %}
- {% if Measure.relatedArtifact.where(type = 'successor').exists() %}
- Successor
-
- {% for artifact in Measure.relatedArtifact.where(type = 'successor') %}
- - {{artifact.resource}}
- {% endfor %}
-
- {% endif %}
- {% if Measure.relatedArtifact.where(type = 'predecessor').exists() %}
- Predecessor
-
- {% for artifact in Measure.relatedArtifact.where(type = 'predecessor') %}
- - {{artifact.resource}}
- {% endfor %}
-
- {% endif %}
- |
-
- {% endif %}
-
- {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements').exists() or
- Measure.extension.where(url = 'http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements').exists() %}
- {% for contained in Measure.contained.where(id.contains('effective-data-requirements')) %}
-
- Terminology and Other Dependencies: |
-
- {% for relatedArtifact in contained.relatedArtifact.where(type = 'depends-on') %}
- {{relatedArtifact.resource}}
- {% endfor %}
- |
-
-
- Parameters: |
-
-
-
- name |
- use |
- min |
- max |
- type |
-
- {% for parameter in contained.parameter %}
-
- {{parameter.name}} |
- {{parameter.use}} |
- {{parameter.min}} |
- {{parameter.max}} |
- {{parameter.type}} |
-
- {% endfor %}
-
- |
-
-
-
- DataRequirements: |
-
-
-
- Resource Type |
- Resource Elements |
- Valueset Name |
- Valueset |
-
- {% for dataRequirement in contained.dataRequirement %}
-
- {{dataRequirement.type}}{% if dataRequirement.profile.exists() %}({{dataRequirement.profile.first()}}){% endif %} |
-
- {% for mustSupport in dataRequirement.mustSupport %}
- {{mustSupport}}
- {% endfor %}
- |
-
- {% for relatedArtifact in contained.relatedArtifact.where(resource = dataRequirement.codeFilter.first().valueSet) %}
- {% if relatedArtifact.display.startsWith('Value set ') %}
- {{relatedArtifact.display.substring(9).replace(' &', ',')}}
- {% else %}
- {{relatedArtifact.display.replace(' &', ',')}}
- {% endif %}
- {% endfor %}
- |
- {{dataRequirement.codeFilter.first().valueSet}} |
-
- {% endfor %}
-
- |
-
-
- {% if contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode').exists() %}
-
- Direct Reference Codes: |
-
-
-
- display |
- code |
- system |
-
- {% for extension in contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode') %}
-
- {{extension.value.display}} |
- {{extension.value.code}} |
- {{extension.value.system}} |
-
- {% endfor %}
-
- |
-
- {% endif %}
-
- {% if contained.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode').exists() %}
-
- Direct Reference Codes: |
-
-
-
- display |
- code |
- system |
-
- {% for extension in contained.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode') %}
-
- {{extension.value.display}} |
- {{extension.value.code}} |
- {{extension.value.system}} |
-
- {% endfor %}
-
- |
-
- {% endif %}
-
- {% if contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition').exists() or
- contained.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition').exists() %}
-
- Logic Definitions: |
-
- {% if Measure.group.exists() %}
-
-
- Group |
- Scoring |
- Population Criteria |
- Expression |
-
-
- {% for group in Measure.group %}
- {{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') %}
- {{extension.value.coding.code}}
- {% endfor %}
- {% endif %}
-
- {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit').exists() %}
- |
- Scoring unit: |
-
- {% for scoringUnit in group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit') %}
- {% if scoringUnit.coding.exists() %}
- {% for coding in scoringUnit.coding %}
-
- {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://unitsofmeasure.org', '(' + coding.system + ')', '')}}
-
- {% endfor %}
- {% endif %}
- {% if scoringUnit.coding.exists().not() and scoringUnit.text.exists() %}
- {% endif %}
- {% endfor %}
- |
-
- {% endif %}
-
- {% if Measure.scoring.exists() %}
- Measure scoring:
- {% for coding in Measure.scoring.coding %}
-
- {{iif(coding.display.exists(), coding.display, coding.code)}}
-
- {% endfor %}
- {% endif %}
-
- {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit').exists() %}
-
- Scoring unit: |
-
- {% for scoringUnit in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit') %}
- {% if scoringUnit.coding.exists() %}
- {% for coding in scoringUnit.coding %}
-
- {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://unitsofmeasure.org', '(' + coding.system + ')', '')}}
-
- {% endfor %}
- {% endif %}
- {% if scoringUnit.coding.exists().not() and scoringUnit.text.exists() %}
- {% endif %}
- {% endfor %}
- |
-
- {% endif %}
-
- {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type').exists() %}
-
- {% for extension in group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type') %}
- Type: |
-
- {% if extension.value.coding.exists() %}
- {% for coding in extension.value.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() %}
- {{extension.text}}
- {% endif %}
- |
- {% endfor %}
-
- {% endif %}
-
- {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-riskAdjustment').exists() %}
-
- Risk Adjustment: |
- {{group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-riskAdjustment').value}} |
-
- {% endif %}
-
- {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation').exists() %}
-
- Rate Aggregation: |
- {{group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation').value}} |
-
- {% endif %}
-
- {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation').exists() %}
-
- 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 %}
-
- {{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() %}
- {{extension.text}}
- {% endif %}
- {% endfor %}
- |
-
- {% endif %}
-
- {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo').exists() %}
-
- Applies To: |
- {{group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo').value}} |
-
- {% endif %}
-
-
- {% for population in group.population %}
-
- |
- |
- {{population.code.first().coding.first().display}} |
-
- {% if population.criteria.expression %}
- {{(Measure.contained.where(id.contains('effective-data-requirements')).extension.where((url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition' or url = 'http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition') and extension.where(url = 'name' and value = population.criteria.expression)).extension.where(url = 'statement').value)}}
- {% else %}
- None
- {% endif %}
- |
-
- {% endfor %}
- {% for stratifier in group.stratifier %}
-
- |
- |
- {{stratifier.code.first().coding.first().display}} |
-
- {% if stratifier.criteria.expression %}
- {{(Measure.contained.where(id.contains('effective-data-requirements')).extension.where((url = 'http://http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition' or url = 'http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition') and extension.where(url = 'name' and value = stratifier.criteria.expression)).extension.where(url = 'statement').value)}}
- {% else %}
- None
- {% endif %}
- |
-
- {% endfor %}
- {% endfor %}
-
-
- {% endif %}
-
-
- {% for extension in contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition' or url = 'http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition') %}
-
- Library Name |
- Name |
-
-
- {% for lNameExtension in extension.extension.where(url = 'libraryName') %}
- {{lNameExtension.value}} |
- {% endfor %}
- {% for nameExtension in extension.extension.where(url = 'name') %}
- {{nameExtension.value}} |
- {% endfor %}
-
-
- {% for statementExtension in extension.extension.where(url = 'statement') %}
- |
-
- {{statementExtension.value}}
- |
- {% endfor %}
-
- {% endfor %}
-
- |
-
- {% endif %}
- {% endfor %}
- {% else %}
- {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement').exists() %}
- {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter').exists() %}
-
- Parameters: |
-
-
- name | use | min | max | type |
- {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter') %}
-
- {{extension.value.name}} |
- {{extension.value.use}} |
- {{extension.value.min}} |
- {{extension.value.max}} |
- {{extension.value.type}} |
-
- {% endfor %}
-
- |
-
- {% endif %}
- {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement').exists() %}
-
- Data Requirements: |
-
-
- type | path | valueSet or system | code |
- {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement') %}
-
- {{extension.value.type}} |
- {{extension.value.codeFilter.first().path}} |
- {% if extension.value.codeFilter.first().valueSet.exists() %}
- {{extension.value.codeFilter.first().valueSet}} |
- |
- {% endif %}
- {% if extension.value.codeFilter.first().code.exists() %}
- {{extension.value.codeFilter.first().code.first().system}} |
- {{extension.value.codeFilter.first().code.first().code}} |
- {% endif %}
-
- {% endfor %}
-
- |
-
- {% endif %}
- {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode').exists() %}
-
- Direct Reference Codes: |
-
-
- display | code | system |
- {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode') %}
-
- {{extension.value.display}} |
- {{extension.value.code}} |
- {{extension.value.system}} |
-
- {% endfor %}
-
- |
-
- {% endif %}
- {% if Measure.group.exists() %}
-
- Populations: |
-
-
- Group | Population | Description |
- {% for group in Measure.group %}
-
- {{group.id}} |
- {% for population in group.population %}
-
- |
- {{population.code.first().coding.first().display}} |
-
- {% if population.description %}
- {{(population.description)}}
- {% endif %}
- |
-
- {% endfor %}
- {% for stratifier in group.stratifier %}
-
- |
- {{stratifier.code.first().coding.first().display}} |
-
- {% if stratifier.description %}
- {{(stratifier.description)}}
- {% endif %}
- |
-
- {% endfor %}
-
- {% endfor %}
-
- |
-
- {% endif %}
- {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition').exists() %}
-
- Logic Definitions: |
-
- {% if Measure.group.exists() %}
-
-
- Group | Scoring | Population Criteria | Expression |
-
-
- {% for group in Measure.group %}
- {{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') %}
- {{extension.value.coding.code}}
- {% endfor %}
- {% endif %}
- {% if Measure.scoring.exists() %}
- Measure scoring:
- {% for coding in Measure.scoring.coding %}
-
- {{iif(coding.display.exists(), coding.display, coding.code)}}
-
- {% endfor %}
- {% endif %}
- |
- {% for population in group.population %}
-
- Should be empty |
- |
- |
- {{population.code.first().coding.first().display}} |
-
- {% if population.criteria.expression %}
- {{(Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition' and extension.where(url = 'name' and value = population.criteria.expression)).extension.where(url = 'statement').value)}}
- {% else %}
- None
- {% endif %}
- |
-
- {% endfor %}
- {% for stratifier in group.stratifier %}
-
- Should be empty |
- |
- |
- {{stratifier.code.first().coding.first().display}} |
-
- {% if stratifier.criteria.expression %}
- {{(Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition' and extension.where(url = 'name' and value = stratifier.criteria.expression)).extension.where(url = 'statement').value)}}
- {% else %}
- None
- {% endif %}
- |
-
- {% endfor %}
- {% endfor %}
-
-
- {% endif %}
- {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition') %}
-
- Library Name | Name |
-
- {% for lNameExtension in extension.extension.where(url = 'libraryName') %}
- {{lNameExtension.value}} |
- {% endfor %}
- {% for nameExtension in extension.extension.where(url = 'name') %}
- {{nameExtension.value}} |
- {% endfor %}
-
-
- {% for statementExtension in extension.extension.where(url = 'statement') %}
- {{statementExtension.value}}
- {% endfor %}
-
- {% endfor %}
- |
-
- {% endif %}
- {% endif %}
- {% endif %}
-
-