Quality Measure Implementation Guide (STU5)
5.0.0-ballot - ballot United States of America flag

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v5.0.0-ballot: STU5 (v5.0.0) Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 4.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: <https://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:id [ fhir:v "EXMLogic-FHIR"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm>     ] [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm>     ] [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir: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;\">EXMLogic-FHIR</td>\n            </tr>\n            \n            \n            <tr>\n                <th scope=\"row\"><b>Download cql: </b></th>\n                <td style=\"padding-left: 4px;\"><a href=\"Library-EXMLogic-FHIR.cql\">EXMLogic-FHIR.cql</a></td>\n            </tr>\n            \n\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Url: </b></th>\n                <td style=\"padding-left: 4px;\"><a href=\"Measure-EXMLogic-FHIR.html\">EXM Measure</a></td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Version: </b></th>\n                <td style=\"padding-left: 4px;\">5.0.0-ballot</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                            <p style=\"margin-bottom: 5px;\">\n                                <span>Proportion </span>\n                            </p>\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                            <p style=\"margin-bottom: 5px;\">\n                             <span>Increased score indicates improvement </span>\n                            </p>\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                            <p style=\"margin-bottom: 5px;\">\n                            <span>process </span>\n                            </p>\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;\">HL7 International / Clinical Quality Information</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            <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 show how all the elements of a FHIR-based quality measure are represented.</p>\n</div></td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Guidance (Usage): </b></th>\n                <td style=\"padding-left: 4px;\">Users of this measure should be aware that this is intentionally simplified to show specific aspects of a measure.</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        \n            <tr>\n                <th scope=\"row\"><b> Supplemental Data Elements: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    \n                        \n                            \n                                \n                                    SDE Ethnicity\n                                \n                            \n                        \n                    \n                        \n                            \n                                \n                                    SDE Race\n                                \n                            \n                        \n                    \n                        \n                            \n                                \n                                    SDE Payer\n                                \n                            \n                        \n                    \n                        \n                            \n                                \n                                    SDE Sex\n                                \n                            \n                        \n                    \n                </td>\n            </tr>\n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Libraries: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    <table class=\"grid-dict\">\n                        \n                            <tr><td><a href=\"Library-EXMLogic-FHIR.html\">Example Logic Library</a></td></tr>\n                        \n                    </table>\n                </td>\n            </tr>\n        \n        \n            \n                <tr>\n                    <th scope=\"row\"><b>Related Artifact Dependencies: </b></th>\n                    <td style=\"padding-left: 4px;\">\n                        \n                            <li><a href=\"http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1\">http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</a></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/5.4.0/CodeSystem-diagnosis-role.html\">Diagnosis Role</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion\">Payer</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.299/expansion\">Psychiatric/Mental Health Diagnosis</a></li>\n                        \n                    </td>\n                </tr>\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>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>Resource</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>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                <tr>\n                    <th scope=\"row\"><b>DataRequirements:</b></th>\n                    <td style=\"padding-left: 4px;\">\n                        <table class=\"grid-dict\">\n                            <tr><th><b>Type</b></th><th><b>Must Support</b></th><th><b>Valueset Name</b></th><th><b>Valueset</b></th></tr>\n                            \n                                <tr>\n                                    <td>Patient</td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Patient</td>\n                                    <td>\n                                        \n                                            url\n                                        \n                                            extension\n                                        \n                                            value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Patient</td>\n                                    <td>\n                                        \n                                            url\n                                        \n                                            extension\n                                        \n                                            value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter</td>\n                                    <td>\n                                        \n                                            period\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Coverage</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Payer\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion\">Payer</a></td>\n                                </tr>\n                            \n                        </table>\n                    </td>\n                </tr>\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><a href=\"http://terminology.hl7.org/5.4.0/CodeSystem-diagnosis-role.html\">Diagnosis Role</a></td>\n                                    </tr>\n                                \n                            </table>\n                        </td>\n                    </tr>\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>\n                                        <th><b>Group</b></th><th><b>Scoring</b></th><th><b>Population Criteria</b></th><th><b>Expression</b></th>\n                                    </tr>\n                                    <tr>\n                                        \n                                            <td> group-1 </td>\n                                            <td>\n                                                \n                                                \n                                                    <b>Measure scoring:</b>\n                                                    \n                                                        <p style=\"margin-bottom: 5px;\">\n                                                        <span>Proportion</span>\n                                                        </p>\n                                                    \n                                                \n                                            </td>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td>Initial Population</td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">define &quot;Initial Population&quot; :\n  &quot;Inpatient Encounter&quot; Encounter</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td>Numerator</td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\"></code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td>Denominator</td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\"></code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n\n                                    \n                                    </tr>\n                                </table>\n                            \n                            <table class=\"grid-dict\">\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>EXMLogic-FHIR</td>\n                                        \n                                        \n                                            <td>SDE Sex</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Sex&quot;:\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></td>\n                                        \n                                    </tr>\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>EXMLogic-FHIR</td>\n                                        \n                                        \n                                            <td>Inpatient Encounter</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Inpatient Encounter&quot; :\n  [&quot;Encounter&quot;] Encounter\n    where LengthInDays(Encounter.period) &lt;= 120\n      and Encounter.period ends during &quot;Measurement Period&quot;</code></pre></td>\n                                        \n                                    </tr>\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>EXMLogic-FHIR</td>\n                                        \n                                        \n                                            <td>Stratifier 3</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Stratifier 3&quot; :\n  &quot;Inpatient Encounter&quot; Encounter\n    where PrincipalDiagnosis(Encounter) is null</code></pre></td>\n                                        \n                                    </tr>\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>EXMLogic</td>\n                                        \n                                        \n                                            <td>Stratifier 4</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Stratifier 4&quot; :\n  &quot;Inpatient Encounter&quot; Encounter\n    where PrincipalDiagnosis(Encounter) is null</code></pre></td>\n                                        \n                                    </tr>\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>EXMLogic-FHIR</td>\n                                        \n                                        \n                                            <td>SDE Payer</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Payer&quot;:\n    [Coverage: type in &quot;Payer&quot;] Payer\n      return {\n        code: Payer.type,\n        period: Payer.period\n      }</code></pre></td>\n                                        \n                                    </tr>\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>EXMLogic</td>\n                                        \n                                        \n                                            <td>Initial Population</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Initial Population&quot; :\n  &quot;Inpatient Encounter&quot; Encounter</code></pre></td>\n                                        \n                                    </tr>\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>EXMLogic-FHIR</td>\n                                        \n                                        \n                                            <td>SDE Ethnicity</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Ethnicity&quot;:\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></td>\n                                        \n                                    </tr>\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>EXMLogic</td>\n                                        \n                                        \n                                            <td>SDE Race</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Race&quot;:\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></td>\n                                        \n                                    </tr>\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>EXMLogic-FHIR</td>\n                                        \n                                        \n                                            <td>Stratifier 1</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Stratifier 1&quot; :\n  &quot;Inpatient Encounter&quot; Encounter\n    where not (PrincipalDiagnosis(Encounter).code in &quot;Psychiatric/Mental Health Patient&quot;)</code></pre></td>\n                                        \n                                    </tr>\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>EXMLogic-FHIR</td>\n                                        \n                                        \n                                            <td>Stratifier 2</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Stratifier 2&quot; :\n  &quot;Inpatient Encounter&quot; Encounter\n    where PrincipalDiagnosis(Encounter).code in &quot;Psychiatric/Mental Health Patient&quot;</code></pre></td>\n                                        \n                                    </tr>\n                                \n                            </table>\n                        </td>\n                    </tr>\n                \n            \n        \n    </table>\n</div>"
  ] ; # 
  fhir:contained ( [
a fhir:Library ;
fhir:id [ fhir:v "effective-data-requirements" ] ;
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ] ;
fhir:code [ fhir:v "billing" ] ;
fhir:display [ fhir:v "Billing" ]       ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "EXMLogic-FHIR" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SDE Sex" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "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:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "0"^^xsd:integer ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "EXMLogic-FHIR" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Inpatient Encounter" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "define \"Inpatient Encounter\" :\n  [\"Encounter\"] Encounter\n    where LengthInDays(Encounter.period) <= 120\n      and Encounter.period ends during \"Measurement Period\"" ]       ] [
fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "EXMLogic-FHIR" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Stratifier 3" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "define \"Stratifier 3\" :\n  \"Inpatient Encounter\" Encounter\n    where PrincipalDiagnosis(Encounter) is null" ]       ] [
fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2"^^xsd:integer ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "EXMLogic" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Stratifier 4" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "define \"Stratifier 4\" :\n  \"Inpatient Encounter\" Encounter\n    where PrincipalDiagnosis(Encounter) is null" ]       ] [
fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "3"^^xsd:integer ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "EXMLogic-FHIR" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SDE Payer" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "define \"SDE Payer\":\n    [Coverage: type in \"Payer\"] Payer\n      return {\n        code: Payer.type,\n        period: Payer.period\n      }" ]       ] [
fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "4"^^xsd:integer ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "EXMLogic" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Initial Population" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "define \"Initial Population\" :\n  \"Inpatient Encounter\" Encounter" ]       ] [
fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "5"^^xsd:integer ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "EXMLogic-FHIR" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SDE Ethnicity" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "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:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "6"^^xsd:integer ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "EXMLogic" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SDE Race" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "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:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "7"^^xsd:integer ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "EXMLogic-FHIR" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Stratifier 1" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "define \"Stratifier 1\" :\n  \"Inpatient Encounter\" Encounter\n    where not (PrincipalDiagnosis(Encounter).code in \"Psychiatric/Mental Health Patient\")" ]       ] [
fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "8"^^xsd:integer ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "EXMLogic-FHIR" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Stratifier 2" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "define \"Stratifier 2\" :\n  \"Inpatient Encounter\" Encounter\n    where PrincipalDiagnosis(Encounter).code in \"Psychiatric/Mental Health Patient\"" ]       ] [
fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "9"^^xsd:integer ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]     ] ) ;
fhir:name [ fhir:v "EffectiveDataRequirements" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "module-definition" ]       ] )     ] ;
    ( fhir:relatedArtifact [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library FHIRHelpers" ] ;
fhir:resource [
fhir:v "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"^^xsd:anyURI ;
fhir:link <http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Code system Diagnosis Role" ] ;
fhir:resource [
fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/CodeSystem/diagnosis-role>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Payer" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"^^xsd:anyURI ;
fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Psychiatric/Mental Health Patient" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299"^^xsd:anyURI ;
fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299>       ]     ] ) ;
    ( fhir:parameter [
fhir:name [ fhir:v "Measurement Period" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Period" ]     ] [
fhir:name [ fhir:v "SDE Sex" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Coding" ]     ] [
fhir:name [ fhir:v "Stratifier 3" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Encounter" ]     ] [
fhir:name [ fhir:v "Stratifier 4" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Encounter" ]     ] [
fhir:name [ fhir:v "SDE Payer" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Resource" ]     ] [
fhir:name [ fhir:v "Initial Population" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Encounter" ]     ] [
fhir:name [ fhir:v "SDE Ethnicity" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Coding" ]     ] [
fhir:name [ fhir:v "SDE Race" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Coding" ]     ] [
fhir:name [ fhir:v "Stratifier 1" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Encounter" ]     ] [
fhir:name [ fhir:v "Stratifier 2" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Encounter" ]     ] ) ;
    ( fhir:dataRequirement [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Patient?_id={{context.patientId}}" ]       ] ) ;
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Patient>       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Patient?_id={{context.patientId}}" ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "path"^^xsd:anyURI ] ;
fhir:value [ fhir:v "url" ]         ] [
fhir:url [ fhir:v "comparator"^^xsd:anyURI ] ;
fhir:value [ fhir:v "eq" ]         ] [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-valueFilter"^^xsd:anyURI ]       ] ) ;
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Patient>       ] ) ;
      ( fhir:mustSupport [ fhir:v "url" ] [ fhir:v "extension" ] [ fhir:v "value" ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Patient?_id={{context.patientId}}" ]       ] ) ;
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Patient>       ] ) ;
      ( fhir:mustSupport [ fhir:v "url" ] [ fhir:v "extension" ] [ fhir:v "value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "url" ] ;
        ( fhir:code [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:code [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" ]         ] )       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter?subject=Patient/{{context.patientId}}" ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-isSelective"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
fhir:type [ fhir:v "Encounter" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Encounter>       ] ) ;
      ( fhir:mustSupport [ fhir:v "period" ] ) ;
      ( fhir:dateFilter [
fhir:path [ fhir:v "period" ] ;
fhir:value [
a fhir:Period ;
          ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Measurement Period" ]             ]           ] )         ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Coverage?policy-holder=Patient/{{context.patientId}}&type:in=http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591" ]       ] ) ;
fhir:type [ fhir:v "Coverage" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Coverage"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Coverage>       ] ) ;
      ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "type" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"^^xsd:anyURI ;
fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>         ]       ] )     ] )
  ] ) ; # 
  fhir:extension ( [
    ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "documentation" ]     ] [
fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
fhir:value [ fhir:v "This illustrates an example comment" ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Encounter" ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Device/software-system-example" ]     ]
  ] [
fhir:id [ fhir:v "effective-data-requirements" ] ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "#effective-data-requirements" ]     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringPrecision"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2"^^xsd:positiveInteger ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "cqi" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/Measure/EXMLogic-FHIR"^^xsd:anyURI] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://example.org/fhir/cqi/ecqm/Measure/Identifier/exm"^^xsd:anyURI ] ;
fhir:value [ fhir:v "EXM" ]
  ] ) ; # 
  fhir:version [ fhir:v "5.0.0-ballot"] ; # 
  fhir:name [ fhir:v "MeasureEXM"] ; # 
  fhir:title [ fhir:v "EXM Measure"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2022-02-22"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Clinical Quality Information"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/cqi" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "An example FHIR-based measure"] ; # 
  fhir:useContext ( [
fhir:code [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "program" ]     ] ;
fhir:value [
a fhir:CodeableConcept ;
fhir:text [ fhir:v "eligible-provider" ]     ]
  ] ) ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "US" ]     ] )
  ] ) ; # 
  fhir:purpose [ fhir:v "The purpose of this measure is to show how all the elements of a FHIR-based quality measure are represented."] ; # 
  fhir:usage [ fhir:v "Users of this measure should be aware that this is intentionally simplified to show specific aspects of a measure."] ; # 
  fhir:copyright [ fhir:v "Example Copyright Statement"] ; # 
  fhir:approvalDate [ fhir:v "2019-02-17"^^xsd:date] ; # 
  fhir:lastReviewDate [ fhir:v "2019-02-17"^^xsd:date] ; # 
  fhir:effectivePeriod [
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectivePeriodAnchor"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2018-01-01"^^xsd:date ]     ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectivePeriodDuration"^^xsd:anyURI ] ;
fhir:value [
a fhir:Duration ;
fhir:value [ fhir:v "1"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "a" ]       ]     ] ) ;
fhir:start [ fhir:v "2018-01-01"^^xsd:date ] ;
fhir:end [ fhir:v "2018-12-31"^^xsd:date ]
  ] ; # 
  fhir:topic ( [
    ( fhir:coding [
a loinc:57024-2 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "57024-2" ]     ] ) ;
fhir:text [ fhir:v "Health Quality Measure Document" ]
  ] ) ; # 
  fhir:author ( [
fhir:name [ fhir:v "Example Measure Content Developer" ]
  ] ) ; # 
  fhir:library ( [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/Library/EXMLogic-FHIR"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/EXMLogic-FHIR>
  ] ) ; # 
  fhir:disclaimer [ fhir:v "Example disclaimer"] ; # 
  fhir:scoring [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-scoring"^^xsd:anyURI ] ;
fhir:code [ fhir:v "proportion" ] ;
fhir:display [ fhir:v "Proportion" ]     ] )
  ] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "process" ]     ] )
  ] ) ; # 
  fhir:riskAdjustment [ fhir:v "Risk adjustment for this measure is performed by..."] ; # 
  fhir:rateAggregation [ fhir:v "Rate aggregation for this measure is performed by..."] ; # 
  fhir:rationale [ fhir:v "Rationale for this measure is..."] ; # 
  fhir:clinicalRecommendationStatement [ fhir:v "The clinical recommendation statement for this measure is..."] ; # 
  fhir:improvementNotation [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-improvement-notation"^^xsd:anyURI ] ;
fhir:code [ fhir:v "increase" ] ;
fhir:display [ fhir:v "Increased score indicates improvement" ]     ] )
  ] ; # 
  fhir:definition ( [
    ( fhir:extension [
      ( fhir:extension [
fhir:url [ fhir:v "term"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Term" ]       ] [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "A term used in the measure that bears clearly definition to communicate the measure intent" ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-definitionTerm"^^xsd:anyURI ]     ] )
  ] ) ; # 
  fhir:guidance [ fhir:v "Additional guidance provided to help communicate the intent of the measure"] ; # 
  fhir:group ( [
fhir:id [ fhir:v "group-1" ] ;
fhir:code [
      ( fhir:coding [
fhir:display [ fhir:v "group-1" ]       ] )     ] ;
    ( fhir:population [
fhir:id [ fhir:v "initial-population-1" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
fhir:code [ fhir:v "initial-population" ] ;
fhir:display [ fhir:v "Initial Population" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Initial Population" ]       ]     ] [
fhir:id [ fhir:v "numerator" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
fhir:code [ fhir:v "numerator" ] ;
fhir:display [ fhir:v "Numerator" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Numerator" ]       ]     ] [
fhir:id [ fhir:v "denominator" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
fhir:code [ fhir:v "denominator" ] ;
fhir:display [ fhir:v "Denominator" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Denominator" ]       ]     ] ) ;
    ( fhir:stratifier [
fhir:id [ fhir:v "stratifier-1" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ]           ] ) ;
fhir:text [ fhir:v "initial-population" ]         ]       ] ) ;
fhir:code [
fhir:text [ fhir:v "Stratifier 1" ]       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Stratifier 1" ]       ]     ] [
fhir:id [ fhir:v "stratifier-2" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ]           ] ) ;
fhir:text [ fhir:v "initial-population" ]         ]       ] ) ;
fhir:code [
fhir:text [ fhir:v "Stratifier 2" ]       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Stratifier 2" ]       ]     ] [
fhir:id [ fhir:v "stratifier-3" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ]           ] ) ;
fhir:text [ fhir:v "initial-population" ]         ]       ] ) ;
fhir:code [
fhir:text [ fhir:v "Stratifier 3" ]       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Stratifier 3" ]       ]     ] [
fhir:id [ fhir:v "stratifier-4" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ]           ] ) ;
fhir:text [ fhir:v "initial-population" ]         ]       ] ) ;
fhir:code [
fhir:text [ fhir:v "Stratifier 4" ]       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Stratifier 4" ]       ]     ] )
  ] ) ; # 
  fhir:supplementalData ( [
fhir:id [ fhir:v "sde-ethnicity" ] ;
    ( fhir:usage [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ] ;
fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "SDE Ethnicity" ]     ]
  ] [
fhir:id [ fhir:v "sde-race" ] ;
    ( fhir:usage [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ] ;
fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "SDE Race" ]     ]
  ] [
fhir:id [ fhir:v "sde-payer" ] ;
    ( fhir:usage [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ] ;
fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "SDE Payer" ]     ]
  ] [
fhir:id [ fhir:v "sde-sex" ] ;
    ( fhir:usage [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ] ;
fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "SDE Sex" ]     ]
  ] ) . #