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

: EXM55 - Median Emergency Department Visit Duration - 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 "EXM55-FHIR"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cv-measure-cqfm"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cv-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: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;\">EXM55-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-EXM55-FHIR.cql\">EXM55-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-EXM55-FHIR.html\">EXM55 - Median Emergency Department Visit Duration</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>55</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;\">EXM55</td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Title: </b></th>\n                <td style=\"padding-left: 4px;\">EXM55 - Median Emergency Department Visit Duration</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>Continuous Variable </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>Decreased 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>This example illustrates a continuous variable measure represented as a FHIR eCQM</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></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        \n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Approval Date: </b></th>\n                <td style=\"padding-left: 4px;\">2019-03-08</td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Last Review Date: </b></th>\n                <td style=\"padding-left: 4px;\">2019-03-08</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        \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-EXM55-FHIR.html\">EXM55 - Median Emergency Department Visit Duration (Example Continuous Variable Measure 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.113883.3.117.1.7.1.299/expansion\">Psychiatric/Mental Health Diagnosis</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion\">Emergency Department Visit</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.126/expansion\">Hospital Settings</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>Stratification 3</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Encounter</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Stratification 2</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Encounter</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Measure Population Exclusion</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Encounter</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Stratification 1</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Encounter</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>Measure Population</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>Encounter</td>\n                                    <td>\n                                        \n                                            period\n                                        \n                                            hospitalization\n                                        \n                                            hospitalization.admitSource\n                                        \n                                            type\n                                        \n                                            status\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Emergency Department Visit\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion\">Emergency Department Visit</a></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>Condition</td>\n                                    <td>\n                                        \n                                            id\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td></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>  </td>\n                                            <td>\n                                                \n                                                \n                                                    <b>Measure scoring:</b>\n                                                    \n                                                        <p style=\"margin-bottom: 5px;\">\n                                                        <span>Continuous Variable</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\n    with [&quot;Encounter&quot; : &quot;Emergency Department Visit&quot;] ED\n     such that ED.status = 'finished'\n       and ED.period ends 1 hour or less before start of Encounter.period</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td>Measure Population</td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">define &quot;Measure Population&quot; :\n  &quot;Initial Population&quot;</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td>Measure Population Exclusion</td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">define &quot;Measure Population Exclusion&quot; :\n  &quot;Inpatient Encounter&quot; Encounter\n    with [&quot;Encounter&quot; : &quot;Emergency Department Visit&quot;] ED\n      such that ED.period ends 1 hour or less before start of Encounter.period\n        and ED.status = 'finished'\n        and ED.hospitalization.admitSource in &quot;Hospital Settings&quot;</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td>Measure Observation</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>EXM55-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>EXM55-FHIR</td>\n                                        \n                                        \n                                            <td>Stratification 3</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Stratification 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>EXM55-FHIR</td>\n                                        \n                                        \n                                            <td>Stratification 2</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Stratification 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                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>EXM55-FHIR</td>\n                                        \n                                        \n                                            <td>Measure Population Exclusion</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Measure Population Exclusion&quot; :\n  &quot;Inpatient Encounter&quot; Encounter\n    with [&quot;Encounter&quot; : &quot;Emergency Department Visit&quot;] ED\n      such that ED.period ends 1 hour or less before start of Encounter.period\n        and ED.status = 'finished'\n        and ED.hospitalization.admitSource in &quot;Hospital Settings&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>EXM55-FHIR</td>\n                                        \n                                        \n                                            <td>Stratification 1</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Stratification 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>EXM55-FHIR</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\n    with [&quot;Encounter&quot; : &quot;Emergency Department Visit&quot;] ED\n     such that ED.status = 'finished'\n       and ED.period ends 1 hour or less before start of Encounter.period</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>EXM55-FHIR</td>\n                                        \n                                        \n                                            <td>Measure Population</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Measure Population&quot; :\n  &quot;Initial Population&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 "EXM55-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 "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 "EXM55-FHIR" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Stratification 3" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "define \"Stratification 3\" :\n  \"Inpatient Encounter\" Encounter\n    where PrincipalDiagnosis(Encounter) is null" ]       ] [
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 "EXM55-FHIR" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Stratification 2" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "define \"Stratification 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 "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 "EXM55-FHIR" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Measure Population Exclusion" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "define \"Measure Population Exclusion\" :\n  \"Inpatient Encounter\" Encounter\n    with [\"Encounter\" : \"Emergency Department Visit\"] ED\n      such that ED.period ends 1 hour or less before start of Encounter.period\n        and ED.status = 'finished'\n        and ED.hospitalization.admitSource in \"Hospital Settings\"" ]       ] [
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 "EXM55-FHIR" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Stratification 1" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "define \"Stratification 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 "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 "EXM55-FHIR" ]       ] [
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\n    with [\"Encounter\" : \"Emergency Department Visit\"] ED\n     such that ED.status = 'finished'\n       and ED.period ends 1 hour or less before start of Encounter.period" ]       ] [
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 "EXM55-FHIR" ]       ] [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Measure Population" ]       ] [
fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
fhir:value [ fhir:v "define \"Measure Population\" :\n  \"Initial Population\"" ]       ] [
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: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:date [ fhir:v "2022-02-22T10:37:03-07:00"^^xsd:dateTime ] ;
    ( 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 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:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Emergency Department Visit" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"^^xsd:anyURI ;
fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Hospital Settings" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126"^^xsd:anyURI ;
fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126>       ]     ] ) ;
    ( 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 "Stratification 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 "Stratification 2" ] ;
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 "Measure Population Exclusion" ] ;
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 "Stratification 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 "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 "Measure Population" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Encounter" ]     ] ) ;
    ( fhir:dataRequirement [
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:v "hospitalization" ] [ fhir:v "hospitalization.admitSource" ] [ fhir:v "type" ] [ fhir:v "status" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "type" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"^^xsd:anyURI ;
fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292>         ]       ] )     ] [
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:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Condition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "id" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "id" ]       ] )     ] )
  ] ) ; # 
  fhir:extension ( [
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/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "cqi" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/Measure/EXM55-FHIR"^^xsd:anyURI] ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "official" ] ;
fhir:system [ fhir:v "http://example.org/fhir/cqi/ecqm/Measure/Identifier/exm"^^xsd:anyURI ] ;
fhir:value [ fhir:v "55" ]
  ] ) ; # 
  fhir:version [ fhir:v "5.0.0-ballot"] ; # 
  fhir:name [ fhir:v "EXM55"] ; # 
  fhir:title [ fhir:v "EXM55 - Median Emergency Department Visit Duration"] ; # 
  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 "This example illustrates a continuous variable measure represented as a FHIR eCQM"] ; # 
  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:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/quality-programs"^^xsd:anyURI ] ;
fhir:code [ fhir:v "eh-cah" ] ;
fhir:display [ fhir:v "EH/CAH" ]       ] )     ]
  ] ) ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "US" ]     ] )
  ] ) ; # 
  fhir:approvalDate [ fhir:v "2019-03-08"^^xsd:date] ; # 
  fhir:lastReviewDate [ fhir:v "2019-03-08"^^xsd:date] ; # 
  fhir:effectivePeriod [
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:display [ fhir:v "Health Quality Measure Document" ]     ] )
  ] ) ; # 
  fhir:library ( [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/Library/EXM55-FHIR"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/EXM55-FHIR>
  ] ) ; # 
  fhir:scoring [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-scoring"^^xsd:anyURI ] ;
fhir:code [ fhir:v "continuous-variable" ] ;
fhir:display [ fhir:v "Continuous Variable" ]     ] )
  ] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "process" ]     ] )
  ] ) ; # 
  fhir:improvementNotation [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-improvement-notation"^^xsd:anyURI ] ;
fhir:code [ fhir:v "decrease" ] ;
fhir:display [ fhir:v "Decreased score indicates improvement" ]     ] )
  ] ; # 
  fhir:group ( [
    ( fhir:population [
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:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
fhir:code [ fhir:v "measure-population" ] ;
fhir:display [ fhir:v "Measure Population" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Measure Population" ]       ]     ] [
fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
fhir:code [ fhir:v "measure-population-exclusion" ] ;
fhir:display [ fhir:v "Measure Population Exclusion" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Measure Population Exclusion" ]       ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-criteriaReference"^^xsd:anyURI ] ;
fhir:value [ fhir:v "measure-population-identifier" ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod"^^xsd:anyURI ] ;
fhir:value [ fhir:v "median" ]       ] ) ;
fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
fhir:code [ fhir:v "measure-observation" ] ;
fhir:display [ fhir:v "Measure Observation" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Measure Observation" ]       ]     ] ) ;
    ( fhir:stratifier [
      ( 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:code [ fhir:v "initial-population" ] ;
fhir:display [ fhir:v "Initial Population" ]           ] )         ]       ] ) ;
fhir:code [
        ( fhir:coding [
fhir:display [ fhir:v "Stratification 1" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Stratification 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:code [ fhir:v "initial-population" ] ;
fhir:display [ fhir:v "Initial Population" ]           ] )         ]       ] ) ;
fhir:code [
        ( fhir:coding [
fhir:display [ fhir:v "Stratification 2" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Stratification 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:code [ fhir:v "initial-population" ] ;
fhir:display [ fhir:v "Initial Population" ]           ] )         ]       ] ) ;
fhir:code [
        ( fhir:coding [
fhir:display [ fhir:v "Stratification 3" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Stratification 3" ]       ]     ] )
  ] ) . #