@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/cqfmeasures/Measure/PVSComponent> a fhir:Measure ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "PVSComponent"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm>
     ] [
       fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n    <table class=\"grid dict\">\n        \n            <tr>\n                <th scope=\"row\"><b>Id: </b></th>\n                <td style=\"padding-left: 4px;\">PVSComponent</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-PVSComponent.cql\">PVSComponent.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-PVSComponent.html\">Pneumococcal Vaccination Status for Older Adults</a></td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Version: </b></th>\n                <td style=\"padding-left: 4px;\">0.0.001</td>\n            </tr>\n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Name: </b></th>\n                <td style=\"padding-left: 4px;\">PVSComponent</td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Title: </b></th>\n                <td style=\"padding-left: 4px;\">Pneumococcal Vaccination Status for Older Adults</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            <tr>\n                <th scope=\"row\"><b>Scoring: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    \n                        \n                            <p style=\"margin-bottom: 5px;\">\n                                <span>Proportion </span>\n                            </p>\n                        \n                    \n                    \n                </td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Improvement Notation: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    \n                        \n                            <p style=\"margin-bottom: 5px;\">\n                             <span>increase </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 11:37:04-0600</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 is an example only.</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            <tr>\n                <th scope=\"row\"><b>Effective Period: </b></th>\n                <td style=\"padding-left: 4px;\">2022-01-01..2022-12-31</td>\n            </tr>\n        \n        \n            \n        \n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b> Supplemental Data Elements: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    \n                        \n                            \n                                \n                                    SDE Ethnicity\n                                \n                            \n                        \n                    \n                        \n                            \n                                \n                                    SDE Payer\n                                \n                            \n                        \n                    \n                        \n                            \n                                \n                                    SDE Race\n                                \n                            \n                        \n                    \n                        \n                            \n                                \n                                    SDE Sex\n                                \n                            \n                        \n                    \n                </td>\n            </tr>\n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Libraries: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    <table class=\"grid-dict\">\n                        \n                            <tr><td><a href=\"Library-PVSComponent.html\">PVS Component 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=\"Library-SupplementalDataElements.html\">Supplemental Data Elements Library</a></li>\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=\"Library-MATGlobalCommonFunctions.html\">MAT Global Common Functions FHIR Library</a></li>\n                        \n                            <li><a href=\"Library-Hospice.html\">Hospice FHIR Library</a></li>\n                        \n                            <li><a href=\"http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709\">http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.110.12.1027/expansion\">Pneumococcal Vaccine</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.110.12.1034/expansion\">Pneumococcal Vaccine Administered</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1001/expansion\">Office Visit</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1240/expansion\">Annual Wellness Visit</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1025/expansion\">Preventive Care Services Established Office Visit, 18 and Up</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1023/expansion\">Preventive Care Services Initial Office Visit, 18 and Up</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1016/expansion\">Home Healthcare Services</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.11.1065/expansion\">Discharge Services Nursing Facility</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1012/expansion\">Nursing Facility Visit</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1014/expansion\">Care Services in Long Term Residential Facility</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion\">Payer</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1108.15/expansion\">Hospice Care Ambulatory</a></li>\n                        \n                    </td>\n                </tr>\n                <tr>\n                    <th scope=\"row\"><b>Parameters:</b></th>\n                    <td style=\"padding-left: 4px;\">\n                        <table class=\"grid-dict\">\n                            <tr><th><b>name</b></th><th><b>use</b></th><th><b>min</b></th><th><b>max</b></th><th><b>type</b></th></tr>\n                            \n                                <tr>\n                                    <td>Measurement Period</td>\n                                    <td>in</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>Period</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>SDE Sex</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>Coding</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Numerator</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>boolean</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Denominator</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>boolean</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>SDE Payer</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Resource</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Initial Population</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>boolean</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>SDE Ethnicity</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Coding</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Denominator Exclusions</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>boolean</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>SDE Race</td>\n                                    <td>out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Coding</td>\n                                </tr>\n                            \n                        </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>Coverage</td>\n                                    <td>\n                                        \n                                            period\n                                        \n                                            type\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Payer\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion\">Payer</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Patient</td>\n                                    <td>\n                                        \n                                            extension\n                                        \n                                            value\n                                        \n                                            url\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter</td>\n                                    <td>\n                                        \n                                            period\n                                        \n                                            hospitalization\n                                        \n                                            hospitalization.dischargeDisposition\n                                        \n                                            type\n                                        \n                                            status\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Encounter Inpatient\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Office Visit\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1001/expansion\">Office Visit</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Annual Wellness Visit\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1240/expansion\">Annual Wellness Visit</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Preventive Care Services - Established Office Visit, 18 and Up\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1025/expansion\">Preventive Care Services Established Office Visit, 18 and Up</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Preventive Care Services-Initial Office Visit, 18 and Up\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1023/expansion\">Preventive Care Services Initial Office Visit, 18 and Up</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Home Healthcare Services\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1016/expansion\">Home Healthcare Services</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Discharge Services - Nursing Facility\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.11.1065/expansion\">Discharge Services Nursing Facility</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Nursing Facility Visit\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1012/expansion\">Nursing Facility Visit</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Care Services in Long-Term Residential Facility\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1014/expansion\">Care Services in Long Term Residential Facility</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>ServiceRequest</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            authoredOn\n                                        \n                                            intent\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Hospice care ambulatory\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1108.15/expansion\">Hospice Care Ambulatory</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            performed\n                                        \n                                            status\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Hospice care ambulatory\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1108.15/expansion\">Hospice Care Ambulatory</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            performed\n                                        \n                                            status\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Pneumococcal Vaccine Administered\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.110.12.1034/expansion\">Pneumococcal Vaccine Administered</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Immunization</td>\n                                    <td>\n                                        \n                                            occurrence\n                                        \n                                            vaccineCode\n                                        \n                                            status\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Pneumococcal Vaccine\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.110.12.1027/expansion\">Pneumococcal Vaccine</a></td>\n                                </tr>\n                            \n                        </table>\n                    </td>\n                </tr>\n                \n                    <tr>\n                        <th scope=\"row\"><b>Direct Reference Codes:</b></th>\n                        <td style=\"padding-left: 4px;\">\n                            <table class=\"grid-dict\">\n                                <tr><th><b>display</b></th><th><b>code</b></th><th><b>system</b></th></tr>\n                                \n                                    <tr>\n                                        <td>Discharge to home for hospice care (procedure)</td>\n                                        <td>428361000124107</td>\n                                        <td><a href=\"http://hl7.org/fhir/R4/codesystem-snomedct.html\">SNOMED CT (all versions)</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Discharge to healthcare facility for hospice care (procedure)</td>\n                                        <td>428371000124100</td>\n                                        <td><a href=\"http://hl7.org/fhir/R4/codesystem-snomedct.html\">SNOMED CT (all versions)</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>Proportion</span>\n                                                        </p>\n                                                    \n                                                \n                                            </td>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td>Initial Population</td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">define &quot;Initial Population&quot;:   Global.&quot;CalendarAgeInYearsAt&quot; ( FHIRHelpers.ToDate ( Patient.birthDate ), start of &quot;Measurement Period&quot; ) &gt;= 65       and exists &quot;Qualifying Encounters&quot;</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td>Denominator</td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">define &quot;Denominator&quot;:   &quot;Initial Population&quot;</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td>Denominator Exclusion</td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">define &quot;Denominator Exclusions&quot;:   Hospice.&quot;Has Hospice&quot;</code></pre>\n                                                        \n                                                    </td>\n                                                </tr>\n                                            \n                                                <tr>\n                                                    <td/>\n                                                    <td/>\n                                                    <td>Numerator</td>\n                                                    <td>\n                                                        \n                                                        <pre><code class=\"language-cql\">define &quot;Numerator&quot;:   exists ( [Immunization: &quot;Pneumococcal Vaccine&quot;] PneumococcalVaccine         where PneumococcalVaccine.status = 'completed'           and PneumococcalVaccine.occurrence as dateTime on or before           end of &quot;Measurement Period&quot;     )       or exists ( [Procedure: &quot;Pneumococcal Vaccine Administered&quot;] PneumococcalVaccineGiven           where PneumococcalVaccineGiven.status = 'completed'             and PneumococcalVaccineGiven.performed as Period on or before             end of &quot;Measurement Period&quot;       )</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>SupplementalDataElements</td>\n                                        \n                                        \n                                            <td>SDE Sex</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Sex&quot;:   case       when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }       when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }       else null     end</code></pre></td>\n                                        \n                                    </tr>\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>PVSComponent</td>\n                                        \n                                        \n                                            <td>SDE Sex</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Sex&quot;:   SDE.&quot;SDE Sex&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>PVSComponent</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;:   exists ( [Immunization: &quot;Pneumococcal Vaccine&quot;] PneumococcalVaccine         where PneumococcalVaccine.status = 'completed'           and PneumococcalVaccine.occurrence as dateTime on or before           end of &quot;Measurement Period&quot;     )       or exists ( [Procedure: &quot;Pneumococcal Vaccine Administered&quot;] PneumococcalVaccineGiven           where PneumococcalVaccineGiven.status = 'completed'             and PneumococcalVaccineGiven.performed as Period on or before             end of &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>PVSComponent</td>\n                                        \n                                        \n                                            <td>Qualifying Encounters</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Qualifying Encounters&quot;:   ( [Encounter: &quot;Office Visit&quot;]       union [Encounter: &quot;Annual Wellness Visit&quot;]       union [Encounter: &quot;Preventive Care Services - Established Office Visit, 18 and Up&quot;]       union [Encounter: &quot;Preventive Care Services-Initial Office Visit, 18 and Up&quot;]       union [Encounter: &quot;Home Healthcare Services&quot;]       union [Encounter: &quot;Discharge Services - Nursing Facility&quot;]       union [Encounter: &quot;Nursing Facility Visit&quot;]       union [Encounter: &quot;Care Services in Long-Term Residential Facility&quot;] ) ValidEncounter       where ValidEncounter.period during &quot;Measurement Period&quot;         and ValidEncounter.status = 'finished'</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>PVSComponent</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;:   Global.&quot;CalendarAgeInYearsAt&quot; ( FHIRHelpers.ToDate ( Patient.birthDate ), start of &quot;Measurement Period&quot; ) &gt;= 65       and exists &quot;Qualifying Encounters&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>PVSComponent</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;:   &quot;Initial Population&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>SupplementalDataElements</td>\n                                        \n                                        \n                                            <td>SDE Payer</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Payer&quot;:   [Coverage: type in &quot;Payer&quot;] Payer         return {           code: Payer.type,           period: Payer.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>PVSComponent</td>\n                                        \n                                        \n                                            <td>SDE Payer</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Payer&quot;:   SDE.&quot;SDE Payer&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>SupplementalDataElements</td>\n                                        \n                                        \n                                            <td>SDE Ethnicity</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Ethnicity&quot;:   (flatten (       Patient.extension Extension         where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'           return Extension.extension     )) E       where E.url = 'ombCategory'         or E.url = 'detailed'       return E.value as Coding</code></pre></td>\n                                        \n                                    </tr>\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>PVSComponent</td>\n                                        \n                                        \n                                            <td>SDE Ethnicity</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Ethnicity&quot;:   SDE.&quot;SDE Ethnicity&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>Hospice</td>\n                                        \n                                        \n                                            <td>Has Hospice</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Has Hospice&quot;:  exists (     [Encounter: &quot;Encounter Inpatient&quot;] DischargeHospice    where DischargeHospice.status = 'finished'       and (          DischargeHospice.hospitalization.dischargeDisposition ~ &quot;Discharge to home for hospice care (procedure)&quot;         or DischargeHospice.hospitalization.dischargeDisposition ~ &quot;Discharge to healthcare facility for hospice care (procedure)&quot;       )     and DischargeHospice.period ends during &quot;Measurement Period&quot;  )     or exists (       [ServiceRequest: &quot;Hospice care ambulatory&quot;] HospiceOrder         where HospiceOrder.intent = 'order'             and HospiceOrder.authoredOn in &quot;Measurement Period&quot;     )     or exists (       [Procedure: &quot;Hospice care ambulatory&quot;] HospicePerformed         where HospicePerformed.status = 'completed'           and Global.&quot;Normalize Interval&quot;(HospicePerformed.performed) overlaps &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>PVSComponent</td>\n                                        \n                                        \n                                            <td>Denominator Exclusions</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Denominator Exclusions&quot;:   Hospice.&quot;Has Hospice&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>SupplementalDataElements</td>\n                                        \n                                        \n                                            <td>SDE Race</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Race&quot;:   (flatten (       Patient.extension Extension         where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'           return Extension.extension     )) E       where E.url = 'ombCategory'         or E.url = 'detailed'       return E.value as Coding</code></pre></td>\n                                        \n                                    </tr>\n                                \n                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n                                    <tr>\n                                        \n                                            <td>PVSComponent</td>\n                                        \n                                        \n                                            <td>SDE Race</td>\n                                        \n                                    </tr>\n                                    <tr>\n                                        \n                                            <td></td>\n                                        <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Race&quot;:   SDE.&quot;SDE Race&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, sct:428361000124107 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:version [ fhir:v "http://snomed.info/sct/731000124108/version/201709" ] ;
         fhir:code [ fhir:v "428361000124107" ] ;
         fhir:display [ fhir:v "Discharge to home for hospice care (procedure)" ]
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding, sct:428371000124100 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:version [ fhir:v "http://snomed.info/sct/731000124108/version/201709" ] ;
         fhir:code [ fhir:v "428371000124100" ] ;
         fhir:display [ fhir:v "Discharge to healthcare facility for hospice care (procedure)" ]
       ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "SupplementalDataElements" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "SDE Sex" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"SDE Sex\":   case       when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }       when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }       else null     end" ]
       ] [
         fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "0"^^xsd:integer ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "PVSComponent" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "SDE Sex" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"SDE Sex\":   SDE.\"SDE Sex\"" ]
       ] [
         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 "PVSComponent" ]
       ] [
         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\":   exists ( [Immunization: \"Pneumococcal Vaccine\"] PneumococcalVaccine         where PneumococcalVaccine.status = 'completed'           and PneumococcalVaccine.occurrence as dateTime on or before           end of \"Measurement Period\"     )       or exists ( [Procedure: \"Pneumococcal Vaccine Administered\"] PneumococcalVaccineGiven           where PneumococcalVaccineGiven.status = 'completed'             and PneumococcalVaccineGiven.performed as Period on or before             end of \"Measurement Period\"       )" ]
       ] [
         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 "PVSComponent" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "Qualifying Encounters" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"Qualifying Encounters\":   ( [Encounter: \"Office Visit\"]       union [Encounter: \"Annual Wellness Visit\"]       union [Encounter: \"Preventive Care Services - Established Office Visit, 18 and Up\"]       union [Encounter: \"Preventive Care Services-Initial Office Visit, 18 and Up\"]       union [Encounter: \"Home Healthcare Services\"]       union [Encounter: \"Discharge Services - Nursing Facility\"]       union [Encounter: \"Nursing Facility Visit\"]       union [Encounter: \"Care Services in Long-Term Residential Facility\"] ) ValidEncounter       where ValidEncounter.period during \"Measurement Period\"         and ValidEncounter.status = 'finished'" ]
       ] [
         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 "PVSComponent" ]
       ] [
         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\":   Global.\"CalendarAgeInYearsAt\" ( FHIRHelpers.ToDate ( Patient.birthDate ), start of \"Measurement Period\" ) >= 65       and exists \"Qualifying Encounters\"" ]
       ] [
         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 "PVSComponent" ]
       ] [
         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\":   \"Initial Population\"" ]
       ] [
         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 "SupplementalDataElements" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "SDE Payer" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"SDE Payer\":   [Coverage: type in \"Payer\"] Payer         return {           code: Payer.type,           period: Payer.period         }" ]
       ] [
         fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "6"^^xsd:integer ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "PVSComponent" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "SDE Payer" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"SDE Payer\":   SDE.\"SDE Payer\"" ]
       ] [
         fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "7"^^xsd:integer ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "SupplementalDataElements" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "SDE Ethnicity" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"SDE Ethnicity\":   (flatten (       Patient.extension Extension         where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'           return Extension.extension     )) E       where E.url = 'ombCategory'         or E.url = 'detailed'       return E.value as Coding" ]
       ] [
         fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "8"^^xsd:integer ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "PVSComponent" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "SDE Ethnicity" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"SDE Ethnicity\":   SDE.\"SDE Ethnicity\"" ]
       ] [
         fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "9"^^xsd:integer ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ]
     ] [
       fhir:extension ( [
         fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "Hospice" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "Has Hospice" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"Has Hospice\":  exists (     [Encounter: \"Encounter Inpatient\"] DischargeHospice    where DischargeHospice.status = 'finished'       and (          DischargeHospice.hospitalization.dischargeDisposition ~ \"Discharge to home for hospice care (procedure)\"         or DischargeHospice.hospitalization.dischargeDisposition ~ \"Discharge to healthcare facility for hospice care (procedure)\"       )     and DischargeHospice.period ends during \"Measurement Period\"  )     or exists (       [ServiceRequest: \"Hospice care ambulatory\"] HospiceOrder         where HospiceOrder.intent = 'order'             and HospiceOrder.authoredOn in \"Measurement Period\"     )     or exists (       [Procedure: \"Hospice care ambulatory\"] HospicePerformed         where HospicePerformed.status = 'completed'           and Global.\"Normalize Interval\"(HospicePerformed.performed) overlaps \"Measurement Period\"     )" ]
       ] [
         fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "10"^^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 "PVSComponent" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "Denominator Exclusions" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"Denominator Exclusions\":   Hospice.\"Has Hospice\"" ]
       ] [
         fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "11"^^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 "SupplementalDataElements" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "SDE Race" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"SDE Race\":   (flatten (       Patient.extension Extension         where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'           return Extension.extension     )) E       where E.url = 'ombCategory'         or E.url = 'detailed'       return E.value as Coding" ]
       ] [
         fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "12"^^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 "PVSComponent" ]
       ] [
         fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "SDE Race" ]
       ] [
         fhir:url [ fhir:v "statement"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "define \"SDE Race\":   SDE.\"SDE Race\"" ]
       ] [
         fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "13"^^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:04-07:00"^^xsd:dateTime ] ;
     fhir:relatedArtifact ( [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Library SDE" ] ;
       fhir:resource [
         fhir:v "http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000"^^xsd:anyURI ;
         fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000>
       ]
     ] [
       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 "Library Global" ] ;
       fhir:resource [
         fhir:v "http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions|5.0.000"^^xsd:anyURI ;
         fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions|5.0.000>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Library Hospice" ] ;
       fhir:resource [
         fhir:v "http://hl7.org/fhir/us/cqfmeasures/Library/Hospice|2.0.000"^^xsd:anyURI ;
         fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/Hospice|2.0.000>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Code system SNOMEDCT:2017-09" ] ;
       fhir:resource [
         fhir:v "http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709"^^xsd:anyURI ;
         fhir:link <http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Pneumococcal Vaccine" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1027"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1027>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Pneumococcal Vaccine Administered" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1034"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1034>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Office Visit" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Annual Wellness Visit" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Preventive Care Services - Established Office Visit, 18 and Up" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Preventive Care Services-Initial Office Visit, 18 and Up" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Home Healthcare Services" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Discharge Services - Nursing Facility" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1065"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1065>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Nursing Facility Visit" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Care Services in Long-Term Residential Facility" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Payer" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Encounter Inpatient" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307>
       ]
     ] [
       fhir:type [ fhir:v "depends-on" ] ;
       fhir:display [ fhir:v "Value set Hospice care ambulatory" ] ;
       fhir:resource [
         fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"^^xsd:anyURI ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15>
       ]
     ] ) ;
     fhir:parameter ( [
       fhir:name [ fhir:v "Measurement Period" ] ;
       fhir:use [ fhir:v "in" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type [ fhir:v "Period" ]
     ] [
       fhir:name [ fhir:v "SDE Sex" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type [ fhir:v "Coding" ]
     ] [
       fhir:name [ fhir:v "Numerator" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type [ fhir:v "boolean" ]
     ] [
       fhir:name [ fhir:v "Denominator" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type [ fhir:v "boolean" ]
     ] [
       fhir:name [ fhir:v "SDE Payer" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type [ fhir:v "Resource" ]
     ] [
       fhir:name [ fhir:v "Initial Population" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type [ fhir:v "boolean" ]
     ] [
       fhir:name [ fhir:v "SDE Ethnicity" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type [ fhir:v "Coding" ]
     ] [
       fhir:name [ fhir:v "Denominator Exclusions" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type [ fhir:v "boolean" ]
     ] [
       fhir:name [ fhir:v "SDE Race" ] ;
       fhir:use [ fhir:v "out" ] ;
       fhir:min [ fhir:v "0"^^xsd:integer ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type [ fhir:v "Coding" ]
     ] ) ;
     fhir:dataRequirement ( [
       fhir:type [ fhir:v "Coverage" ] ;
       fhir:profile ( [
         fhir:v "http://hl7.org/fhir/StructureDefinition/Coverage"^^xsd:anyURI ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Coverage>
       ] ) ;
       fhir:mustSupport ( [ fhir:v "period" ] [ fhir:v "type" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "type" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>
         ]
       ] )
     ] [
       fhir: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 "extension" ] [ fhir:v "value" ] [ fhir:v "url" ] )
     ] [
       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.dischargeDisposition" ] [ 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.666.5.307"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307>
         ]
       ] )
     ] [
       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 "type" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "type" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001>
         ]
       ] )
     ] [
       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 "type" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "type" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240>
         ]
       ] )
     ] [
       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 "type" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "type" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025>
         ]
       ] )
     ] [
       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 "type" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "type" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023>
         ]
       ] )
     ] [
       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 "type" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "type" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016>
         ]
       ] )
     ] [
       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 "type" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "type" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1065"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1065>
         ]
       ] )
     ] [
       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 "type" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "type" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012>
         ]
       ] )
     ] [
       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 "type" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "type" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014>
         ]
       ] )
     ] [
       fhir:type [ fhir:v "ServiceRequest" ] ;
       fhir:profile ( [
         fhir:v "http://hl7.org/fhir/StructureDefinition/ServiceRequest"^^xsd:anyURI ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>
       ] ) ;
       fhir:mustSupport ( [ fhir:v "code" ] [ fhir:v "authoredOn" ] [ fhir:v "intent" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "code" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15>
         ]
       ] )
     ] [
       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 "performed" ] [ fhir:v "status" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "code" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15>
         ]
       ] )
     ] [
       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 "performed" ] [ fhir:v "status" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "code" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1034"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1034>
         ]
       ] )
     ] [
       fhir:type [ fhir:v "Immunization" ] ;
       fhir:profile ( [
         fhir:v "http://hl7.org/fhir/StructureDefinition/Immunization"^^xsd:anyURI ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Immunization>
       ] ) ;
       fhir:mustSupport ( [ fhir:v "occurrence" ] [ fhir:v "vaccineCode" ] [ fhir:v "status" ] ) ;
       fhir:codeFilter ( [
         fhir:path [ fhir:v "vaccineCode" ] ;
         fhir:valueSet [
           fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1027"^^xsd:anyURI ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1027>
         ]
       ] )
     ] )
  ] ) ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "boolean" ]
  ] [
     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: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/PVSComponent"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.0.001"] ; # 
  fhir:name [ fhir:v "PVSComponent"] ; # 
  fhir:title [ fhir:v "Pneumococcal Vaccination Status for Older Adults"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2022-02-22T11:37:04-06: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 is an example only."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "US" ]
     ] )
  ] ) ; # 
  fhir:effectivePeriod [
     fhir:start [ fhir:v "2022-01-01"^^xsd:date ] ;
     fhir:end [ fhir:v "2022-12-31"^^xsd:date ]
  ] ; # 
  fhir:library ( [
     fhir:v "http://hl7.org/fhir/us/cqfmeasures/Library/PVSComponent"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/PVSComponent>
  ] ) ; # 
  fhir:scoring [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-scoring"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "proportion" ] ;
       fhir:display [ fhir:v "Proportion" ]
     ] )
  ] ; # 
  fhir:type ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "process" ]
     ] )
  ] ) ; # 
  fhir:improvementNotation [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-improvement-notation"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "increase" ]
     ] )
  ] ; # 
  fhir:group ( [
     fhir:population ( [
       fhir:id [ fhir:v "FB55A109-7AC0-4385-AD01-ED3814C92697" ] ;
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "initial-population" ] ;
           fhir:display [ fhir:v "Initial Population" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Initial Population" ]
       ]
     ] [
       fhir:id [ fhir:v "7BFE8E56-FD1F-4E35-A79F-0E2569819358" ] ;
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "denominator" ] ;
           fhir:display [ fhir:v "Denominator" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Denominator" ]
       ]
     ] [
       fhir:id [ fhir:v "F74BB6AC-40CD-40BB-A9F8-06F4A4A0D2C5" ] ;
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "denominator-exclusion" ] ;
           fhir:display [ fhir:v "Denominator Exclusion" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Denominator Exclusions" ]
       ]
     ] [
       fhir:id [ fhir:v "89B1D5A5-96B6-4002-B962-9989FED8A0E9" ] ;
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "numerator" ] ;
           fhir:display [ fhir:v "Numerator" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Numerator" ]
       ]
     ] )
  ] ) ; # 
  fhir:supplementalData ( [
     fhir:id [ fhir:v "66567b90-12e8-4a1c-8425-2cb8106f9664" ] ;
     fhir:usage ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "supplemental-data" ]
       ] )
     ] ) ;
     fhir:criteria [
       fhir:language [ fhir:v "text/cql-identifier" ] ;
       fhir:expression [ fhir:v "SDE Ethnicity" ]
     ]
  ] [
     fhir:id [ fhir:v "d431e0e9-8d05-4ca7-a0b2-6cf72313c6d6" ] ;
     fhir:usage ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "supplemental-data" ]
       ] )
     ] ) ;
     fhir:criteria [
       fhir:language [ fhir:v "text/cql-identifier" ] ;
       fhir:expression [ fhir:v "SDE Payer" ]
     ]
  ] [
     fhir:id [ fhir:v "b5baeb14-bfba-4ad5-a150-8a5442d113f8" ] ;
     fhir:usage ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "supplemental-data" ]
       ] )
     ] ) ;
     fhir:criteria [
       fhir:language [ fhir:v "text/cql-identifier" ] ;
       fhir:expression [ fhir:v "SDE Race" ]
     ]
  ] [
     fhir:id [ fhir:v "54129f83-97a7-4149-82c8-92ab0e8060ed" ] ;
     fhir:usage ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "supplemental-data" ]
       ] )
     ] ) ;
     fhir:criteria [
       fhir:language [ fhir:v "text/cql-identifier" ] ;
       fhir:expression [ fhir:v "SDE Sex" ]
     ]
  ] ) . # 

<http://hl7.org/fhir/us/cqfmeasures/Device/software-system-example> a fhir:us .

# -------------------------------------------------------------------------------------

