Quality Measure Implementation Guide (STU3 Ballot)
2.1.0 - ballot

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v2.1.0: STU3 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

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: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;\">http://hl7.org/fhir/us/cqfmeasures/Measure/measure-exm</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>http://terminology.hl7.org/CodeSystem/measure-scoring</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>http://terminology.hl7.org/CodeSystem/measure-improvement-notation</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>http://terminology.hl7.org/CodeSystem/measure-type</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;\">2021-04-03</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;\">An example FHIR-based measure</td>\n        </tr>\n        \n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Parameters: </b></th>\n            <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    <tr><th><b>name</b></th><th><b>use</b></th><th><b>min</b></th><th><b>max</b></th><th><b>type</b></th></tr>\n                    \n                    <tr>\n                        <td>Measurement Period</td>\n                        <td>in</td>\n                        <td>0</td>\n                        <td>1</td>\n                        <td>Period</td>\n                    </tr>\n                    \n                    <tr>\n                        <td>SDE Sex</td>\n                        <td>out</td>\n                        <td>0</td>\n                        <td>1</td>\n                        <td>Coding</td>\n                    </tr>\n                    \n                    <tr>\n                        <td>Stratifier 3</td>\n                        <td>out</td>\n                        <td>0</td>\n                        <td>*</td>\n                        <td>Encounter</td>\n                    </tr>\n                    \n                    <tr>\n                        <td>Inpatient Encounter</td>\n                        <td>out</td>\n                        <td>0</td>\n                        <td>*</td>\n                        <td>Encounter</td>\n                    </tr>\n                    \n                    <tr>\n                        <td>Stratifier 4</td>\n                        <td>out</td>\n                        <td>0</td>\n                        <td>*</td>\n                        <td>Encounter</td>\n                    </tr>\n                    \n                    <tr>\n                        <td>SDE Payer</td>\n                        <td>out</td>\n                        <td>0</td>\n                        <td>*</td>\n                        <td>Any</td>\n                    </tr>\n                    \n                    <tr>\n                        <td>Initial Population</td>\n                        <td>out</td>\n                        <td>0</td>\n                        <td>*</td>\n                        <td>Encounter</td>\n                    </tr>\n                    \n                    <tr>\n                        <td>SDE Ethnicity</td>\n                        <td>out</td>\n                        <td>0</td>\n                        <td>*</td>\n                        <td>Coding</td>\n                    </tr>\n                    \n                    <tr>\n                        <td>Patient</td>\n                        <td>out</td>\n                        <td>0</td>\n                        <td>1</td>\n                        <td>Patient</td>\n                    </tr>\n                    \n                    <tr>\n                        <td>SDE Race</td>\n                        <td>out</td>\n                        <td>0</td>\n                        <td>*</td>\n                        <td>Coding</td>\n                    </tr>\n                    \n                    <tr>\n                        <td>Stratifier 1</td>\n                        <td>out</td>\n                        <td>0</td>\n                        <td>*</td>\n                        <td>Encounter</td>\n                    </tr>\n                    \n                    <tr>\n                        <td>Stratifier 2</td>\n                        <td>out</td>\n                        <td>0</td>\n                        <td>*</td>\n                        <td>Encounter</td>\n                    </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n        \n        <tr>\n          <th scope=\"row\"><b>Data Requirements: </b></th>\n          <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    <tr><th><b>type</b></th><th><b>path</b></th><th><b>valueSet or system</b></th><th><b>code</b></th></tr>\n                    \n                        <tr>\n                            <td>Encounter</td>\n                            <td></td>\n                            \n                            \n                        </tr>\n                    \n                        <tr>\n                            <td>Condition</td>\n                            <td>id</td>\n                            \n                            \n                        </tr>\n                    \n                        <tr>\n                            <td>Coverage</td>\n                            <td>type</td>\n                            \n                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</td>\n                                <td></td>\n                            \n                            \n                        </tr>\n                    \n                        <tr>\n                            <td>Patient</td>\n                            <td></td>\n                            \n                            \n                        </tr>\n                    \n                </table>\n          </td>\n        </tr>\n        \n        \n        <tr>\n          <th scope=\"row\"><b>Direct Reference Codes: </b></th>\n          <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    <tr><th><b>display</b></th><th><b>code</b></th><th><b>system</b></th></tr>\n                    \n                        <tr>\n                            <td>Billing</td>\n                            <td>billing</td>\n                            <td></td>\n                        </tr>\n                    \n                </table>\n          </td>\n        </tr>\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>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>\n                        </tr>\n                        \n                        <tr>\n                            <td>SDE Race</td>\n                            <td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>\n                        </tr>\n                        \n                        <tr>\n                            <td>SDE Payer</td>\n                            <td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>\n                        </tr>\n                        \n                        <tr>\n                            <td>SDE Sex</td>\n                            <td>http://terminology.hl7.org/CodeSystem/measure-data-usage</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;\">The purpose of this measure is to...</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;\">Example Copyright Statement</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Disclaimer: </b></th>\n            <td style=\"padding-left: 25px;\">Example disclaimer</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        <tr>\n          <th scope=\"row\"><b>Related Artifacts: </b></th>\n          <td style=\"padding-left: 4px;\">\n            \n            \n            \n            <p><b>Dependencies</b></p>\n            <ul>\n              \n                <li>http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</li>\n              \n                <li>http://terminology.hl7.org/CodeSystem/diagnosis-role</li>\n              \n                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</li>\n              \n                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299</li>\n              \n            </ul>\n            \n            \n            \n            \n            \n          </td>\n        </tr>\n        \n        \n        \n        \n        \n        <tr>\n          <th scope=\"row\"><b>Logic Definitions: </b></th>\n          <td style=\"padding-left: 4px;\">\n            \n                <table class=\"grid-dict\">\n                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n                    <tr>\n                        \n                            <td>EXMLogic</td>\n                        \n                        \n                            <td>SDE Sex</td>\n                        \n                        \n                    </tr>\n                </table>\n                \n                    <pre><code class=\"language-cql\">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</code></pre>\n                \n                <br/><br/>\n            \n                <table class=\"grid-dict\">\n                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n                    <tr>\n                        \n                            <td>EXMLogic</td>\n                        \n                        \n                            <td>Stratifier 3</td>\n                        \n                        \n                    </tr>\n                </table>\n                \n                    <pre><code class=\"language-cql\">define \"Stratifier 3\" :\n  \"Inpatient Encounter\" Encounter\n    where PrincipalDiagnosis(Encounter) is null</code></pre>\n                \n                <br/><br/>\n            \n                <table class=\"grid-dict\">\n                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n                    <tr>\n                        \n                            <td>EXMLogic</td>\n                        \n                        \n                            <td>Inpatient Encounter</td>\n                        \n                        \n                    </tr>\n                </table>\n                \n                    <pre><code class=\"language-cql\">define \"Inpatient Encounter\" :\n  [\"Encounter\"] Encounter\n    where LengthInDays(Encounter.period) &lt;= 120\n      and Encounter.period ends during \"Measurement Period\"</code></pre>\n                \n                <br/><br/>\n            \n                <table class=\"grid-dict\">\n                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n                    <tr>\n                        \n                            <td>EXMLogic</td>\n                        \n                        \n                            <td>Stratifier 4</td>\n                        \n                        \n                    </tr>\n                </table>\n                \n                    <pre><code class=\"language-cql\">define \"Stratifier 4\" :\n  \"Inpatient Encounter\" Encounter\n    where PrincipalDiagnosis(Encounter) is null</code></pre>\n                \n                <br/><br/>\n            \n                <table class=\"grid-dict\">\n                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n                    <tr>\n                        \n                            <td>EXMLogic</td>\n                        \n                        \n                            <td>SDE Payer</td>\n                        \n                        \n                    </tr>\n                </table>\n                \n                    <pre><code class=\"language-cql\">define \"SDE Payer\":\n    [Coverage: type in \"Payer\"] Payer\n      return {\n        code: Payer.type,\n        period: Payer.period\n      }</code></pre>\n                \n                <br/><br/>\n            \n                <table class=\"grid-dict\">\n                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n                    <tr>\n                        \n                            <td>EXMLogic</td>\n                        \n                        \n                            <td>Initial Population</td>\n                        \n                        \n                    </tr>\n                </table>\n                \n                    <pre><code class=\"language-cql\">define \"Initial Population\" :\n  \"Inpatient Encounter\" Encounter</code></pre>\n                \n                <br/><br/>\n            \n                <table class=\"grid-dict\">\n                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n                    <tr>\n                        \n                            <td>EXMLogic</td>\n                        \n                        \n                            <td>SDE Ethnicity</td>\n                        \n                        \n                    </tr>\n                </table>\n                \n                    <pre><code class=\"language-cql\">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</code></pre>\n                \n                <br/><br/>\n            \n                <table class=\"grid-dict\">\n                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n                    <tr>\n                        \n                            <td>EXMLogic</td>\n                        \n                        \n                            <td>SDE Race</td>\n                        \n                        \n                    </tr>\n                </table>\n                \n                    <pre><code class=\"language-cql\">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</code></pre>\n                \n                <br/><br/>\n            \n                <table class=\"grid-dict\">\n                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n                    <tr>\n                        \n                            <td>EXMLogic</td>\n                        \n                        \n                            <td>Stratifier 1</td>\n                        \n                        \n                    </tr>\n                </table>\n                \n                    <pre><code class=\"language-cql\">define \"Stratifier 1\" :\n  \"Inpatient Encounter\" Encounter\n    where not (PrincipalDiagnosis(Encounter).code in \"Psychiatric/Mental Health Patient\")</code></pre>\n                \n                <br/><br/>\n            \n                <table class=\"grid-dict\">\n                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n                    <tr>\n                        \n                            <td>EXMLogic</td>\n                        \n                        \n                            <td>Stratifier 2</td>\n                        \n                        \n                    </tr>\n                </table>\n                \n                    <pre><code class=\"language-cql\">define \"Stratifier 2\" :\n  \"Inpatient Encounter\" Encounter\n    where PrincipalDiagnosis(Encounter).code in \"Psychiatric/Mental Health Patient\"</code></pre>\n                \n                <br/><br/>\n            \n          </td>\n        </tr>\n        \n    </table>\n</div>"
  ];
  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.valueString [ 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-parameter" ];
     fhir:Extension.valueParameterDefinition [
       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 4;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter" ];
     fhir:Extension.valueParameterDefinition [
       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 5;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter" ];
     fhir:Extension.valueParameterDefinition [
       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 6;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter" ];
     fhir:Extension.valueParameterDefinition [
       fhir:ParameterDefinition.name [ fhir:value "Inpatient Encounter" ];
       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 7;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter" ];
     fhir:Extension.valueParameterDefinition [
       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 8;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter" ];
     fhir:Extension.valueParameterDefinition [
       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 "Any" ]     ]
  ], [
     fhir:index 9;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter" ];
     fhir:Extension.valueParameterDefinition [
       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 10;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter" ];
     fhir:Extension.valueParameterDefinition [
       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 11;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter" ];
     fhir:Extension.valueParameterDefinition [
       fhir:ParameterDefinition.name [ fhir:value "Patient" ];
       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 "Patient" ]     ]
  ], [
     fhir:index 12;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter" ];
     fhir:Extension.valueParameterDefinition [
       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 13;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter" ];
     fhir:Extension.valueParameterDefinition [
       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 14;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter" ];
     fhir:Extension.valueParameterDefinition [
       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:index 15;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement" ];
     fhir:Extension.valueDataRequirement [
       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:index 16;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement" ];
     fhir:Extension.valueDataRequirement [
       fhir:DataRequirement.type [ fhir:value "Condition" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Condition";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Condition>       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "id" ]       ]     ]
  ], [
     fhir:index 17;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement" ];
     fhir:Extension.valueDataRequirement [
       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.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:index 18;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement" ];
     fhir:Extension.valueDataRequirement [
       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 19;
     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 20;
     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 21;
     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 "1"^^xsd:integer ]     ];
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]
  ], [
     fhir:index 22;
     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 "2"^^xsd:integer ]     ];
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]
  ], [
     fhir:index 23;
     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 24;
     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 25;
     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 26;
     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 27;
     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 28;
     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 29;
     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: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 "2021-04-03"^^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/index.cfm" ]     ]
  ];
  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.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: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: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: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: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: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.