Quality Measure Implementation Guide (STU4)
4.0.0-ballot - ballot US

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v4.0.0-ballot: STU 4 Ballot 1) based on FHIR R4. The current version which supercedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions

: EXM Measure - TTL Representation

Active as of 2022-02-22

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Measure;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "measure-exm"]; # 
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm>     ], [
       fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm";
       fhir:index 1;
       fhir:link <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm>     ], [
       fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm";
       fhir:index 2;
       fhir:link <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm>     ]
  ]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n    <table class=\"grid dict\">\n        \n        <tr>\n            <th scope=\"row\"><b>Id: </b></th>\n            <td style=\"padding-left: 4px;\">measure-exm</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\"><a href=\"http://hl7.org/fhir/us/cqfmeasures/Measure/measure-exm\">http://hl7.org/fhir/us/cqfmeasures/Measure/measure-exm</a></td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">2.0.0</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Identifier: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                \n                <p style=\"margin-bottom: 5px;\">\n                    <b>value: </b> <span>EXM</span>\n                </p>\n                \n            </td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Name: </b></th>\n            <td style=\"padding-left: 4px;\">MeasureEXM</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">EXM Measure</td>\n        </tr>\n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Status: </b></th>\n            <td style=\"padding-left: 4px;\">active</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Experimental: </b></th>\n            <td style=\"padding-left: 4px;\">true</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Scoring: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>system: </b> <span><a href=\"http://terminology.hl7.org/CodeSystem/measure-scoring\">http://terminology.hl7.org/CodeSystem/measure-scoring</a></span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>proportion</span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>display: </b> <span>Proportion</span>\n                        </p>\n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Improvement Notation: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>system: </b> <span><a href=\"http://terminology.hl7.org/CodeSystem/measure-improvement-notation\">http://terminology.hl7.org/CodeSystem/measure-improvement-notation</a></span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>increase</span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>display: </b> <span>Increased score indicates improvement</span>\n                        </p>\n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Type: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>system: </b> <span><a href=\"http://terminology.hl7.org/CodeSystem/measure-type\">http://terminology.hl7.org/CodeSystem/measure-type</a></span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>process</span>\n                        </p>\n                        \n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Date: </b></th>\n            <td style=\"padding-left: 4px;\">2022-02-22</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">Clinical Quality Information WG</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Description: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>An example FHIR-based measure</p>\n</div></td>\n        </tr>\n        \n        \n        \n        \n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Supplemental Data: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    <table class=\"grid-dict\">\n                        <tr><th><b>expression</b></th><th><b>system</b></th></tr>\n                        \n                        <tr>\n                            <td>SDE Ethnicity</td>\n                            <td><a href=\"http://terminology.hl7.org/CodeSystem/measure-data-usage\">http://terminology.hl7.org/CodeSystem/measure-data-usage</a></td>\n                        </tr>\n                        \n                        <tr>\n                            <td>SDE Race</td>\n                            <td><a href=\"http://terminology.hl7.org/CodeSystem/measure-data-usage\">http://terminology.hl7.org/CodeSystem/measure-data-usage</a></td>\n                        </tr>\n                        \n                        <tr>\n                            <td>SDE Payer</td>\n                            <td><a href=\"http://terminology.hl7.org/CodeSystem/measure-data-usage\">http://terminology.hl7.org/CodeSystem/measure-data-usage</a></td>\n                        </tr>\n                        \n                        <tr>\n                            <td>SDE Sex</td>\n                            <td><a href=\"http://terminology.hl7.org/CodeSystem/measure-data-usage\">http://terminology.hl7.org/CodeSystem/measure-data-usage</a></td>\n                        </tr>\n                        \n                    </table>\n                </td>\n            </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Use Context: </b></th>\n            <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    <tr><th><b>code</b></th><th><b>value</b></th></tr>\n                    \n                      <tr>\n                        <td>program</td>\n                        <td>eligible-provider</td>\n                      </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Jurisdiction: </b></th>\n            <td style=\"padding-left: 25px;\">US</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Topic: </b></th>\n            <td style=\"padding-left: 25px;\">57024-2</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Purpose: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>The purpose of this measure is to...</p>\n</div></td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Usage: </b></th>\n            <td style=\"padding-left: 4px;\">Users of this measure should be aware of...</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Copyright: </b></th>\n            <td style=\"padding-left: 25px;\"><div><p>Example Copyright Statement</p>\n</div></td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Disclaimer: </b></th>\n            <td style=\"padding-left: 25px;\"><div><p>Example disclaimer</p>\n</div></td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Approval Date: </b></th>\n            <td style=\"padding-left: 4px;\">2019-02-17</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Last Review Date: </b></th>\n            <td style=\"padding-left: 4px;\">2019-02-17</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Effective Period: </b></th>\n            <td style=\"padding-left: 4px;\">2018-01-01..2018-12-31</td>\n        </tr>\n        \n        \n        \n        \n        \n        \n    </table>\n</div>"
  ]; # 
  fhir:DomainResource.contained [
     a fhir:Library;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "effective-data-requirements" ];
     fhir:DomainResource.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/diagnosis-role" ];
         fhir:Coding.code [ fhir:value "billing" ];
         fhir:Coding.display [ fhir:value "Billing" ]       ]     ], [
       fhir:index 1;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXMLogic" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SDE Sex" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SDE Sex\":\n  case\n    when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n    when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\n    else null\n  end" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "0"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 2;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXMLogic" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Inpatient Encounter" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Inpatient Encounter\" :\n  [\"Encounter\"] Encounter\n    where LengthInDays(Encounter.period) <= 120\n      and Encounter.period ends during \"Measurement Period\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 3;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXMLogic" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Stratifier 3" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Stratifier 3\" :\n  \"Inpatient Encounter\" Encounter\n    where PrincipalDiagnosis(Encounter) is null" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "2"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 4;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXMLogic" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Stratifier 4" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Stratifier 4\" :\n  \"Inpatient Encounter\" Encounter\n    where PrincipalDiagnosis(Encounter) is null" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "3"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 5;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXMLogic" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SDE Payer" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SDE Payer\":\n    [Coverage: type in \"Payer\"] Payer\n      return {\n        code: Payer.type,\n        period: Payer.period\n      }" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "4"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 6;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXMLogic" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Initial Population" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Initial Population\" :\n  \"Inpatient Encounter\" Encounter" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "5"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 7;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXMLogic" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SDE Ethnicity" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SDE Ethnicity\":\n  (flatten (\n    Patient.extension Extension\n      where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'\n        return Extension.extension\n  )) E\n    where E.url = 'ombCategory'\n      or E.url = 'detailed'\n    return E.value as Coding" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "6"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 8;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXMLogic" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SDE Race" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SDE Race\":\n  (flatten (\n    Patient.extension Extension\n      where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'\n        return Extension.extension\n  )) E\n    where E.url = 'ombCategory'\n      or E.url = 'detailed'\n    return E.value as Coding" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "7"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 9;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXMLogic" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Stratifier 1" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Stratifier 1\" :\n  \"Inpatient Encounter\" Encounter\n    where not (PrincipalDiagnosis(Encounter).code in \"Psychiatric/Mental Health Patient\")" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "8"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 10;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXMLogic" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Stratifier 2" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Stratifier 2\" :\n  \"Inpatient Encounter\" Encounter\n    where PrincipalDiagnosis(Encounter).code in \"Psychiatric/Mental Health Patient\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "9"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ];
     fhir:Library.name [ fhir:value "EffectiveDataRequirements" ];
     fhir:Library.status [ fhir:value "active" ];
     fhir:Library.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/library-type" ];
         fhir:Coding.code [ fhir:value "module-definition" ]       ]     ];
     fhir:Library.relatedArtifact [
       fhir:index 0;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Library FHIRHelpers" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1";
         fhir:link <http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1>       ]     ], [
       fhir:index 1;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Code system Diagnosis Role" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://terminology.hl7.org/CodeSystem/diagnosis-role";
         fhir:link <http://terminology.hl7.org/CodeSystem/diagnosis-role>       ]     ], [
       fhir:index 2;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Payer" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>       ]     ], [
       fhir:index 3;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Psychiatric/Mental Health Patient" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299>       ]     ];
     fhir:Library.parameter [
       fhir:index 0;
       fhir:ParameterDefinition.name [ fhir:value "Measurement Period" ];
       fhir:ParameterDefinition.use [ fhir:value "in" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "1" ];
       fhir:ParameterDefinition.type [ fhir:value "Period" ]     ], [
       fhir:index 1;
       fhir:ParameterDefinition.name [ fhir:value "SDE Sex" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "1" ];
       fhir:ParameterDefinition.type [ fhir:value "Coding" ]     ], [
       fhir:index 2;
       fhir:ParameterDefinition.name [ fhir:value "Stratifier 3" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]     ], [
       fhir:index 3;
       fhir:ParameterDefinition.name [ fhir:value "Stratifier 4" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]     ], [
       fhir:index 4;
       fhir:ParameterDefinition.name [ fhir:value "SDE Payer" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Resource" ]     ], [
       fhir:index 5;
       fhir:ParameterDefinition.name [ fhir:value "Initial Population" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]     ], [
       fhir:index 6;
       fhir:ParameterDefinition.name [ fhir:value "SDE Ethnicity" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Coding" ]     ], [
       fhir:index 7;
       fhir:ParameterDefinition.name [ fhir:value "SDE Race" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Coding" ]     ], [
       fhir:index 8;
       fhir:ParameterDefinition.name [ fhir:value "Stratifier 1" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]     ], [
       fhir:index 9;
       fhir:ParameterDefinition.name [ fhir:value "Stratifier 2" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]     ];
     fhir:Library.dataRequirement [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern" ];
         fhir:Extension.valueString [ fhir:value "Patient?_id={{context.patientId}}" ]       ];
       fhir:DataRequirement.type [ fhir:value "Patient" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Patient>       ]     ], [
       fhir:index 1;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern" ];
         fhir:Extension.valueString [ fhir:value "Patient?_id={{context.patientId}}" ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "path" ];
           fhir:Extension.valueString [ fhir:value "url" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "comparator" ];
           fhir:Extension.valueCode [ fhir:value "eq" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "value" ];
           fhir:Extension.valueString [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-valueFilter" ]       ];
       fhir:DataRequirement.type [ fhir:value "Patient" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Patient>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "url";
         fhir:index 0       ], [
         fhir:value "extension";
         fhir:index 1       ], [
         fhir:value "value";
         fhir:index 2       ]     ], [
       fhir:index 2;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern" ];
         fhir:Extension.valueString [ fhir:value "Patient?_id={{context.patientId}}" ]       ];
       fhir:DataRequirement.type [ fhir:value "Patient" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Patient>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "url";
         fhir:index 0       ], [
         fhir:value "extension";
         fhir:index 1       ], [
         fhir:value "value";
         fhir:index 2       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "url" ];
         fhir:DataRequirement.codeFilter.code [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "urn:ietf:rfc:3986" ];
           fhir:Coding.code [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" ]         ]       ]     ], [
       fhir:index 3;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern" ];
         fhir:Extension.valueString [ fhir:value "Encounter?subject=Patient/{{context.patientId}}" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-isSelective" ];
         fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]       ];
       fhir:DataRequirement.type [ fhir:value "Encounter" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Encounter>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "period";
         fhir:index 0       ];
       fhir:DataRequirement.dateFilter [
         fhir:index 0;
         fhir:DataRequirement.dateFilter.path [ fhir:value "period" ];
         fhir:DataRequirement.dateFilter.valuePeriod [
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-expression" ];
             fhir:Extension.valueExpression [
               fhir:Expression.language [ fhir:value "text/cql-identifier" ];
               fhir:Expression.expression [ fhir:value "Measurement Period" ]             ]           ]         ]       ]     ], [
       fhir:index 4;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern" ];
         fhir:Extension.valueString [ fhir:value "Coverage?policy-holder=Patient/{{context.patientId}}&type:in=http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591" ]       ];
       fhir:DataRequirement.type [ fhir:value "Coverage" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Coverage";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Coverage>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "type";
         fhir:index 0       ], [
         fhir:value "period";
         fhir:index 1       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "type" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>         ]       ]     ]
  ]; # 
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "type" ];
       fhir:Extension.valueCode [ fhir:value "documentation" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "text" ];
       fhir:Extension.valueMarkdown [ fhir:value "This illustrates an example comment" ]     ];
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis" ];
     fhir:Extension.valueCode [ fhir:value "Encounter" ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-allocation" ];
     fhir:Extension.valueMarkdown [ fhir:value "Additional guidance for allocation" ]
  ], [
     fhir:index 3;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem" ];
     fhir:Extension.valueReference [
       fhir:Reference.reference [ fhir:value "Device/software-system-example" ]     ]
  ], [
     fhir:index 4;
     fhir:Element.id [ fhir:value "effective-data-requirements" ];
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements" ];
     fhir:Extension.valueReference [
       fhir:Reference.reference [ fhir:value "#effective-data-requirements" ]     ]
  ]; # 
  fhir:Measure.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/Measure/measure-exm"]; # 
  fhir:Measure.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://example.org/fhir/cqi/ecqm/Measure/Identifier/exm" ];
     fhir:Identifier.value [ fhir:value "EXM" ]
  ]; # 
  fhir:Measure.version [ fhir:value "2.0.0"]; # 
  fhir:Measure.name [ fhir:value "MeasureEXM"]; # 
  fhir:Measure.title [ fhir:value "EXM Measure"]; # 
  fhir:Measure.status [ fhir:value "active"]; # 
  fhir:Measure.experimental [ fhir:value "true"^^xsd:boolean]; # 
  fhir:Measure.date [ fhir:value "2022-02-22"^^xsd:date]; # 
  fhir:Measure.publisher [ fhir:value "Clinical Quality Information WG"]; # 
  fhir:Measure.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/cqi" ]     ]
  ]; # 
  fhir:Measure.description [ fhir:value "An example FHIR-based measure"]; # 
  fhir:Measure.useContext [
     fhir:index 0;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
       fhir:Coding.code [ fhir:value "program" ]     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.text [ fhir:value "eligible-provider" ]     ]
  ]; # 
  fhir:Measure.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ]     ]
  ]; # 
  fhir:Measure.purpose [ fhir:value "The purpose of this measure is to..."]; # 
  fhir:Measure.usage [ fhir:value "Users of this measure should be aware of..."]; # 
  fhir:Measure.copyright [ fhir:value "Example Copyright Statement"]; # 
  fhir:Measure.approvalDate [ fhir:value "2019-02-17"^^xsd:date]; # 
  fhir:Measure.lastReviewDate [ fhir:value "2019-02-17"^^xsd:date]; # 
  fhir:Measure.effectivePeriod [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectivePeriodAnchor" ];
       fhir:Extension.valueDateTime [ fhir:value "2018-01-01"^^xsd:date ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectivePeriodDuration" ];
       fhir:Extension.valueDuration [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "a" ]       ]     ];
     fhir:Period.start [ fhir:value "2018-01-01"^^xsd:date ];
     fhir:Period.end [ fhir:value "2018-12-31"^^xsd:date ]
  ]; # 
  fhir:Measure.topic [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:57024-2;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "57024-2" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Health Quality Measure Document" ]
  ]; # 
  fhir:Measure.author [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "Example Measure Content Developer" ]
  ]; # 
  fhir:Measure.library [
     fhir:value "http://hl7.org/fhir/us/cqfmeasures/Library/EXMLogic";
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/EXMLogic>
  ]; # 
  fhir:Measure.disclaimer [ fhir:value "Example disclaimer"]; # 
  fhir:Measure.scoring [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-scoring" ];
       fhir:Coding.code [ fhir:value "proportion" ];
       fhir:Coding.display [ fhir:value "Proportion" ]     ]
  ]; # 
  fhir:Measure.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-type" ];
       fhir:Coding.code [ fhir:value "process" ]     ]
  ]; # 
  fhir:Measure.riskAdjustment [ fhir:value "Risk adjustment for this measure is performed by..."]; # 
  fhir:Measure.rateAggregation [ fhir:value "Rate aggregation for this measure is performed by..."]; # 
  fhir:Measure.rationale [ fhir:value "Rationale for this measure is..."]; # 
  fhir:Measure.clinicalRecommendationStatement [ fhir:value "The clinical recommendation statement for this measure is..."]; # 
  fhir:Measure.improvementNotation [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-improvement-notation" ];
       fhir:Coding.code [ fhir:value "increase" ];
       fhir:Coding.display [ fhir:value "Increased score indicates improvement" ]     ]
  ]; # 
  fhir:Measure.definition [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "term" ];
         fhir:Extension.valueString [ fhir:value "Term" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "definition" ];
         fhir:Extension.valueMarkdown [ fhir:value "A term used in the measure that bears clearly definition to communicate the measure intent" ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-definitionTerm" ]     ]
  ]; # 
  fhir:Measure.guidance [ fhir:value "Additional guidance provided to help communicate the intent of the measure"]; # 
  fhir:Measure.group [
     fhir:index 0;
     fhir:Element.id [ fhir:value "group-1" ];
     fhir:Measure.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.display [ fhir:value "group-1" ]       ]     ];
     fhir:Measure.group.population [
       fhir:index 0;
       fhir:Element.id [ fhir:value "initial-population-1" ];
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ];
           fhir:Coding.code [ fhir:value "initial-population" ];
           fhir:Coding.display [ fhir:value "Initial Population" ]         ]       ];
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ];
         fhir:Expression.expression [ fhir:value "Initial Population" ]       ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "numerator" ];
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ];
           fhir:Coding.code [ fhir:value "numerator" ];
           fhir:Coding.display [ fhir:value "Numerator" ]         ]       ];
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ];
         fhir:Expression.expression [ fhir:value "Numerator" ]       ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "denominator" ];
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ];
           fhir:Coding.code [ fhir:value "denominator" ];
           fhir:Coding.display [ fhir:value "Denominator" ]         ]       ];
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ];
         fhir:Expression.expression [ fhir:value "Denominator" ]       ]     ];
     fhir:Measure.group.stratifier [
       fhir:index 0;
       fhir:Element.id [ fhir:value "stratifier-1" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo" ];
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ]           ];
           fhir:CodeableConcept.text [ fhir:value "initial-population" ]         ]       ];
       fhir:Measure.group.stratifier.code [
         fhir:CodeableConcept.text [ fhir:value "Stratifier 1" ]       ];
       fhir:Measure.group.stratifier.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ];
         fhir:Expression.expression [ fhir:value "Stratifier 1" ]       ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "stratifier-2" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo" ];
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ]           ];
           fhir:CodeableConcept.text [ fhir:value "initial-population" ]         ]       ];
       fhir:Measure.group.stratifier.code [
         fhir:CodeableConcept.text [ fhir:value "Stratifier 2" ]       ];
       fhir:Measure.group.stratifier.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ];
         fhir:Expression.expression [ fhir:value "Stratifier 2" ]       ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "stratifier-3" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo" ];
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ]           ];
           fhir:CodeableConcept.text [ fhir:value "initial-population" ]         ]       ];
       fhir:Measure.group.stratifier.code [
         fhir:CodeableConcept.text [ fhir:value "Stratifier 3" ]       ];
       fhir:Measure.group.stratifier.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ];
         fhir:Expression.expression [ fhir:value "Stratifier 3" ]       ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "stratifier-4" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo" ];
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ]           ];
           fhir:CodeableConcept.text [ fhir:value "initial-population" ]         ]       ];
       fhir:Measure.group.stratifier.code [
         fhir:CodeableConcept.text [ fhir:value "Stratifier 4" ]       ];
       fhir:Measure.group.stratifier.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ];
         fhir:Expression.expression [ fhir:value "Stratifier 4" ]       ]     ]
  ]; # 
  fhir:Measure.supplementalData [
     fhir:index 0;
     fhir:Element.id [ fhir:value "sde-ethnicity" ];
     fhir:Measure.supplementalData.usage [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ];
         fhir:Coding.code [ fhir:value "supplemental-data" ]       ]     ];
     fhir:Measure.supplementalData.criteria [
       fhir:Expression.language [ fhir:value "text/cql-identifier" ];
       fhir:Expression.expression [ fhir:value "SDE Ethnicity" ]     ]
  ], [
     fhir:index 1;
     fhir:Element.id [ fhir:value "sde-race" ];
     fhir:Measure.supplementalData.usage [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ];
         fhir:Coding.code [ fhir:value "supplemental-data" ]       ]     ];
     fhir:Measure.supplementalData.criteria [
       fhir:Expression.language [ fhir:value "text/cql-identifier" ];
       fhir:Expression.expression [ fhir:value "SDE Race" ]     ]
  ], [
     fhir:index 2;
     fhir:Element.id [ fhir:value "sde-payer" ];
     fhir:Measure.supplementalData.usage [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ];
         fhir:Coding.code [ fhir:value "supplemental-data" ]       ]     ];
     fhir:Measure.supplementalData.criteria [
       fhir:Expression.language [ fhir:value "text/cql-identifier" ];
       fhir:Expression.expression [ fhir:value "SDE Payer" ]     ]
  ], [
     fhir:index 3;
     fhir:Element.id [ fhir:value "sde-sex" ];
     fhir:Measure.supplementalData.usage [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ];
         fhir:Coding.code [ fhir:value "supplemental-data" ]       ]     ];
     fhir:Measure.supplementalData.criteria [
       fhir:Expression.language [ fhir:value "text/cql-identifier" ];
       fhir:Expression.expression [ fhir:value "SDE Sex" ]     ]
  ]. # 

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.