@prefix fhir: <http://hl7.org/fhir/> .
@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 -------------------------------------------------------------------

<http://hl7.org/fhir/us/cqfmeasures/Measure/MultiRateExample-FHIR> a fhir:Measure ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "MultiRateExample-FHIR"] ; # 
  fhir:meta [
     fhir:profile ( [
       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;\">MultiRateExample-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-MultiRateExample-FHIR.cql\">MultiRateExample-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-MultiRateExample-FHIR.html\">Multi-Rate Example Measure</a></td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Version: </b></th>\n                <td style=\"padding-left: 4px;\">0.1.0</td>\n            </tr>\n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Name: </b></th>\n                <td style=\"padding-left: 4px;\">MultiRateExample</td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Title: </b></th>\n                <td style=\"padding-left: 4px;\">Multi-Rate Example Measure</td>\n            </tr>\n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Status: </b></th>\n                <td style=\"padding-left: 4px;\">draft</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        \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>structure </span>\n                            </p>\n                        \n                    \n                    \n                </td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Subject: </b></th>\n                \n                    <td style=\"padding-left: 4px;\">\n                        \n                            \n                               <p style=\"margin-bottom: 5px;\">\n                                <span>Location (http://hl7.org/fhir/resource-types)</span>\n                               </p>\n                            \n                        \n                        \n                    </td>\n                \n                \n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Date: </b></th>\n                <td style=\"padding-left: 4px;\">2022-02-22 10:37:03-0700</td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Publisher: </b></th>\n                <td style=\"padding-left: 4px;\">Clinical Quality Information WG</td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Description: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>This measure example illustrates the use of the group-level computation extensions to describe a multi-rate measure with mixed population bases</p>\n</div></td>\n            </tr>\n        \n        \n        \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        \n        \n        \n        \n        \n        \n        \n        \n            \n                <tr>\n                    <th scope=\"row\"><b>Population Criteria: </b></th>\n                    <td style=\"padding-left: 4px;\">\n                        \n                            <table class=\"grid-dict\">\n                                \n                                    <tr>\n                                        <th><b>group-1</b></th>\n                                    </tr>\n                                \n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Total number of patients</td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Total number of patients</td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Total number of patients</td>\n                                    </tr>\n                                \n                            </table>\n                        \n                            <table class=\"grid-dict\">\n                                \n                                    <tr>\n                                        <th><b>group-2</b></th>\n                                    </tr>\n                                \n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Total number of practitioners</td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Total number of practitioners</td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Total number of practitioners</td>\n                                    </tr>\n                                \n                            </table>\n                        \n                            <table class=\"grid-dict\">\n                                \n                                    <tr>\n                                        <th><b>group-3</b></th>\n                                    </tr>\n                                \n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Total number of beds</td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Total number of beds</td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Total number of beds</td>\n                                    </tr>\n                                \n                            </table>\n                        \n                            <table class=\"grid-dict\">\n                                \n                                    <tr>\n                                        <th><b>group-4</b></th>\n                                    </tr>\n                                \n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Total number of screening procedures</td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Total number of screening procedures</td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Total number of screening procedures</td>\n                                    </tr>\n                                \n                            </table>\n                        \n                            <table class=\"grid-dict\">\n                                \n                                    <tr>\n                                        <th><b>group-5</b></th>\n                                    </tr>\n                                \n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Patients</td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Eligible patients</td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>: </td>\n                                        <td>Patients with screening</td>\n                                    </tr>\n                                \n                            </table>\n                        \n                            <table class=\"grid-dict\">\n                                \n                                    <tr>\n                                        <th><b>group-6</b></th>\n                                    </tr>\n                                \n                                \n                            </table>\n                        \n                    </td>\n                </tr>\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-MultiRateExample-FHIR.html\">Multi Rate 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://example.org/fhir/ValueSet/TBD\">http://example.org/fhir/ValueSet/TBD</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>Practitioners</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>PractitionerRole</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Numerator</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Patient</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Denominator</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Patient</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Initial Population</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Patient</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Patients</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Patient</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Beds</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Device</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                                            gender\n                                        \n                                            id\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Device</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Screening Procedure Types\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"http://example.org/fhir/ValueSet/TBD\">http://example.org/fhir/ValueSet/TBD</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            subject\n                                        \n                                            subject.reference\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Screening Procedure Types\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"http://example.org/fhir/ValueSet/TBD\">http://example.org/fhir/ValueSet/TBD</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>PractitionerRole</td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td></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                                                    <b>Group scoring:</b>\n                                                    \n                                                    <span>  continuous-variable </span>\n                                                    \n                                                \n                                                \n                                            </td>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">// Number of patients\ndefine &quot;Patients&quot;:\n  [Patient]</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">// Number of patients\ndefine &quot;Patients&quot;:\n  [Patient]</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\"></code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n\n                                    \n                                            <td> group-2 </td>\n                                            <td>\n                                                \n                                                    <b>Group scoring:</b>\n                                                    \n                                                    <span>  continuous-variable </span>\n                                                    \n                                                \n                                                \n                                            </td>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">// Number of practitioners\ndefine &quot;Practitioners&quot;:\n  [PractitionerRole]</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">// Number of practitioners\ndefine &quot;Practitioners&quot;:\n  [PractitionerRole]</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\"></code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n\n                                    \n                                            <td> group-3 </td>\n                                            <td>\n                                                \n                                                    <b>Group scoring:</b>\n                                                    \n                                                    <span>  continuous-variable </span>\n                                                    \n                                                \n                                                \n                                            </td>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">// Number of beds\ndefine &quot;Beds&quot;:\n  [Device: &quot;Bed Device Types&quot;]</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">// Number of beds\ndefine &quot;Beds&quot;:\n  [Device: &quot;Bed Device Types&quot;]</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\"></code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n\n                                    \n                                            <td> group-4 </td>\n                                            <td>\n                                                \n                                                    <b>Group scoring:</b>\n                                                    \n                                                    <span>  continuous-variable </span>\n                                                    \n                                                \n                                                \n                                            </td>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></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></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></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\"></code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n\n                                    \n                                            <td> group-5 </td>\n                                            <td>\n                                                \n                                                    <b>Group scoring:</b>\n                                                    \n                                                    <span>  proportion </span>\n                                                    \n                                                \n                                                \n                                            </td>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">// Percentage of patients who received screening\ndefine &quot;Initial Population&quot;:\n  &quot;Patients&quot;</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">define &quot;Denominator&quot;:\n  &quot;Patients&quot; P\n    where P.gender = 'female'</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td></td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">define &quot;Numerator&quot;:\n  &quot;Patients&quot; P\n    with &quot;Screening Procedures&quot; SP\n      such that P.id = Last(Split(SP.subject.reference, '/'))</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n\n                                    \n                                            <td> group-6 </td>\n                                            <td>\n                                                \n                                                    <b>Group scoring:</b>\n                                                    \n                                                    <span>  composite </span>\n                                                    \n                                                \n                                                \n                                            </td>\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>MultiRateExample-FHIR</td>\n                                        \n                                        \n                                            <td>Practitioners</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">// Number of practitioners\ndefine &quot;Practitioners&quot;:\n  [PractitionerRole]</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>MultiRateExample-FHIR</td>\n                                        \n                                        \n                                            <td>Patients</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">// Number of patients\ndefine &quot;Patients&quot;:\n  [Patient]</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>MultiRateExample-FHIR</td>\n                                        \n                                        \n                                            <td>Screening Procedures</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">// Number of screening procedures\ndefine &quot;Screening Procedures&quot;:\n  [Procedure: &quot;Screening Procedure Types&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>MultiRateExample-FHIR</td>\n                                        \n                                        \n                                            <td>Numerator</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Numerator&quot;:\n  &quot;Patients&quot; P\n    with &quot;Screening Procedures&quot; SP\n      such that P.id = Last(Split(SP.subject.reference, '/'))</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>MultiRateExample-FHIR</td>\n                                        \n                                        \n                                            <td>Denominator</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Denominator&quot;:\n  &quot;Patients&quot; P\n    where P.gender = 'female'</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>MultiRateExample-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\">// Percentage of patients who received screening\ndefine &quot;Initial Population&quot;:\n  &quot;Patients&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>MultiRateExample-FHIR</td>\n                                        \n                                        \n                                            <td>Beds</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">// Number of beds\ndefine &quot;Beds&quot;:\n  [Device: &quot;Bed Device Types&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:extension ( [
         fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "MultiRateExample-FHIR" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "Practitioners" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "// Number of practitioners\ndefine \"Practitioners\":\n  [PractitionerRole]" ]
       ] [
         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 "MultiRateExample-FHIR" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "Patients" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "// Number of patients\ndefine \"Patients\":\n  [Patient]" ]
       ] [
         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 "MultiRateExample-FHIR" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "Screening Procedures" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "// Number of screening procedures\ndefine \"Screening Procedures\":\n  [Procedure: \"Screening Procedure Types\"]" ]
       ] [
         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 "MultiRateExample-FHIR" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "Numerator" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"Numerator\":\n  \"Patients\" P\n    with \"Screening Procedures\" SP\n      such that P.id = Last(Split(SP.subject.reference, '/'))" ]
       ] [
         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 "MultiRateExample-FHIR" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "Denominator" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"Denominator\":\n  \"Patients\" P\n    where P.gender = 'female'" ]
       ] [
         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 "MultiRateExample-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 "// Percentage of patients who received screening\ndefine \"Initial Population\":\n  \"Patients\"" ]
       ] [
         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 "MultiRateExample-FHIR" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "Beds" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "// Number of beds\ndefine \"Beds\":\n  [Device: \"Bed Device Types\"]" ]
       ] [
         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 "Value set Screening Procedure Types" ] ;
       fhir:resource [
         fhir:v "http://example.org/fhir/ValueSet/TBD"^^xsd:anyURI ;
         fhir:link <http://example.org/fhir/ValueSet/TBD>
       ]
     ] ) ;
     fhir:parameter ( [
       fhir:name [ fhir:v "Practitioners" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type [ fhir:v "PractitionerRole" ]
     ] [
       fhir:name [ fhir:v "Numerator" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type [ fhir:v "Patient" ]
     ] [
       fhir:name [ fhir:v "Denominator" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type [ fhir:v "Patient" ]
     ] [
       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 "Patient" ]
     ] [
       fhir:name [ fhir:v "Patients" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type [ fhir:v "Patient" ]
     ] [
       fhir:name [ fhir:v "Beds" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type [ fhir:v "Device" ]
     ] ) ;
     fhir:dataRequirement ( [
       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 "gender" ] [ fhir:v "id" ] )
     ] [
       fhir:type [ fhir:v "Device" ] ;
       fhir:profile ( [
         fhir:v "http://hl7.org/fhir/StructureDefinition/Device"^^xsd:anyURI ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Device>
       ] ) ;
       fhir:mustSupport ( [ fhir:v "type" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "type" ] ;
         fhir:valueSet [
           fhir:v "http://example.org/fhir/ValueSet/TBD"^^xsd:anyURI ;
           fhir:link <http://example.org/fhir/ValueSet/TBD>
         ]
       ] )
     ] [
       fhir:type [ fhir:v "Procedure" ] ;
       fhir:profile ( [
         fhir:v "http://hl7.org/fhir/StructureDefinition/Procedure"^^xsd:anyURI ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure>
       ] ) ;
       fhir:mustSupport ( [ fhir:v "code" ] [ fhir:v "subject" ] [ fhir:v "subject.reference" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "code" ] ;
         fhir:valueSet [
           fhir:v "http://example.org/fhir/ValueSet/TBD"^^xsd:anyURI ;
           fhir:link <http://example.org/fhir/ValueSet/TBD>
         ]
       ] )
     ] [
       fhir:type [ fhir:v "PractitionerRole" ] ;
       fhir:profile ( [
         fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole"^^xsd:anyURI ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/PractitionerRole>
       ] )
     ] )
  ] ) ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:link <http://hl7.org/fhir/us/cqfmeasures/Device/software-system-example> ;
       fhir:reference [ fhir:v "Device/software-system-example" ]
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "Patient" ]
  ] [
     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/Measure/MultiRateExample-FHIR"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "MultiRateExample"] ; # 
  fhir:title [ fhir:v "Multi-Rate Example Measure"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:subject [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [ fhir:v "http://hl7.org/fhir/resource-types"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "Location" ]
     ] )
  ] ; # 
  fhir:date [ fhir:v "2022-02-22T10:37:03-07:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Clinical Quality Information WG"] ; # 
  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 measure example illustrates the use of the group-level computation extensions to describe a multi-rate measure with mixed population bases"] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "US" ]
     ] )
  ] ) ; # 
  fhir:library ( [
     fhir:v "http://hl7.org/fhir/us/cqfmeasures/Library/MultiRateExample-FHIR"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/MultiRateExample-FHIR>
  ] ) ; # 
  fhir:type ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "structure" ]
     ] )
  ] ) ; # 
  fhir:group ( [
     fhir:id [ fhir:v "group-1" ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Patient" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-scoring"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "continuous-variable" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "structure" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-riskAdjustment"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "N/A" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "N/A" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-improvement-notation"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "increase" ]
         ] )
       ]
     ] ) ;
     fhir:code [
       fhir:text [ fhir:v "Patients" ]
     ] ;
     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:description [ fhir:v "Total number of patients" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Patients" ]
       ]
     ] [
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "measure-population" ]
         ] )
       ] ;
       fhir:description [ fhir:v "Total number of patients" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Patients" ]
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "sum" ]
       ] ) ;
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "measure-observation" ]
         ] )
       ] ;
       fhir:description [ fhir:v "Total number of patients" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "ToNumber" ]
       ]
     ] )
  ] [
     fhir:id [ fhir:v "group-2" ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "PractitionerRole" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-scoring"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "continuous-variable" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "structure" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-riskAdjustment"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "N/A" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "N/A" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-improvement-notation"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "increase" ]
         ] )
       ]
     ] ) ;
     fhir:code [
       fhir:text [ fhir:v "Practitioners" ]
     ] ;
     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:description [ fhir:v "Total number of practitioners" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Practitioners" ]
       ]
     ] [
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "measure-population" ]
         ] )
       ] ;
       fhir:description [ fhir:v "Total number of practitioners" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Practitioners" ]
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "sum" ]
       ] ) ;
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "measure-observation" ]
         ] )
       ] ;
       fhir:description [ fhir:v "Total number of practitioners" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "ToNumber" ]
       ]
     ] )
  ] [
     fhir:id [ fhir:v "group-3" ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Device" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-scoring"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "continuous-variable" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "structure" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-riskAdjustment"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "N/A" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "N/A" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-improvement-notation"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "increase" ]
         ] )
       ]
     ] ) ;
     fhir:code [
       fhir:text [ fhir:v "Beds" ]
     ] ;
     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:description [ fhir:v "Total number of beds" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Beds" ]
       ]
     ] [
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "measure-population" ]
         ] )
       ] ;
       fhir:description [ fhir:v "Total number of beds" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Beds" ]
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "sum" ]
       ] ) ;
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "measure-observation" ]
         ] )
       ] ;
       fhir:description [ fhir:v "Total number of beds" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "ToNumber" ]
       ]
     ] )
  ] [
     fhir:id [ fhir:v "group-4" ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Procedure" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-scoring"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "continuous-variable" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "structure" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-riskAdjustment"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "N/A" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "N/A" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-improvement-notation"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "increase" ]
         ] )
       ]
     ] ) ;
     fhir:code [
       fhir:text [ fhir:v "Screening Procedures" ]
     ] ;
     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:description [ fhir:v "Total number of screening procedures" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Procedures" ]
       ]
     ] [
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "measure-population" ]
         ] )
       ] ;
       fhir:description [ fhir:v "Total number of screening procedures" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Procedures" ]
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "sum" ]
       ] ) ;
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "measure-observation" ]
         ] )
       ] ;
       fhir:description [ fhir:v "Total number of screening procedures" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "ToNumber" ]
       ]
     ] )
  ] [
     fhir:id [ fhir:v "group-5" ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Patient" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-scoring"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "proportion" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "process" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-riskAdjustment"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "N/A" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "N/A" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-improvement-notation"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "increase" ]
         ] )
       ]
     ] ) ;
     fhir:code [
       fhir:text [ fhir:v "Patients that recevied screenings" ]
     ] ;
     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:description [ fhir:v "Patients" ] ;
       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 "denominator" ]
         ] )
       ] ;
       fhir:description [ fhir:v "Eligible patients" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Denominator" ]
       ]
     ] [
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "numerator" ]
         ] )
       ] ;
       fhir:description [ fhir:v "Patients with screening" ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Numerator" ]
       ]
     ] )
  ] [
     fhir:id [ fhir:v "group-6" ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-compositeScoring"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/composite-measure-scoring"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "weighted" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-scoring"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "composite" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "structure" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-riskAdjustment"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "N/A" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "N/A" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-improvement-notation"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "increase" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-component"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:RelatedArtifact ;
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-groupId"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "group-1" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-weight"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "1.0"^^xsd:decimal ]
         ] ) ;
         fhir:type [ fhir:v "composed-of" ] ;
         fhir:resource [
           fhir:v "http://hl7.org/fhir/us/cqfmeasures/Measure/MultiRateExample-FHIR"^^xsd:anyURI ;
           fhir:link <http://hl7.org/fhir/us/cqfmeasures/Measure/MultiRateExample-FHIR>
         ]
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-component"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:RelatedArtifact ;
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-groupId"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "group-2" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-weight"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "5.0"^^xsd:decimal ]
         ] ) ;
         fhir:type [ fhir:v "composed-of" ] ;
         fhir:resource [
           fhir:v "http://hl7.org/fhir/us/cqfmeasures/Measure/MultiRateExample-FHIR"^^xsd:anyURI ;
           fhir:link <http://hl7.org/fhir/us/cqfmeasures/Measure/MultiRateExample-FHIR>
         ]
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-component"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:RelatedArtifact ;
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-groupId"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "group-3" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-weight"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "2.5"^^xsd:decimal ]
         ] ) ;
         fhir:type [ fhir:v "composed-of" ] ;
         fhir:resource [
           fhir:v "http://hl7.org/fhir/us/cqfmeasures/Measure/MultiRateExample-FHIR"^^xsd:anyURI ;
           fhir:link <http://hl7.org/fhir/us/cqfmeasures/Measure/MultiRateExample-FHIR>
         ]
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-component"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:RelatedArtifact ;
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-groupId"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "group-4" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-weight"^^xsd:anyURI ] ;
           fhir:value [ fhir:v "1.0"^^xsd:decimal ]
         ] ) ;
         fhir:type [ fhir:v "composed-of" ] ;
         fhir:resource [
           fhir:v "http://hl7.org/fhir/us/cqfmeasures/Measure/MultiRateExample-FHIR"^^xsd:anyURI ;
           fhir:link <http://hl7.org/fhir/us/cqfmeasures/Measure/MultiRateExample-FHIR>
         ]
       ]
     ] ) ;
     fhir:code [
       fhir:text [ fhir:v "Weighted Average capacity" ]
     ]
  ] ) . # 

<http://hl7.org/fhir/us/cqfmeasures/Device/software-system-example> a fhir:us .

# -------------------------------------------------------------------------------------

