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

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v5.0.0-ballot: STU5 (v5.0.0) Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 4.0.0. For a full list of available versions, see the Directory of published versions

: Cervical Cancer Screening - XML Representation

Draft as of 2022-02-22

Raw xml | Download



<Measure xmlns="http://hl7.org/fhir">
  <id value="CCSComponent"/>
  <meta>
    <profile
             value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm"/>
    <profile
             value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"/>
  </meta>
  <language value="en"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <table class="grid dict">
        
            <tr>
                <th scope="row"><b>Id: </b></th>
                <td style="padding-left: 4px;">CCSComponent</td>
            </tr>
            
            
            <tr>
                <th scope="row"><b>Download cql: </b></th>
                <td style="padding-left: 4px;"><a href="Library-CCSComponent.cql">CCSComponent.cql</a></td>
            </tr>
            

        
        
            <tr>
                <th scope="row"><b>Url: </b></th>
                <td style="padding-left: 4px;"><a href="Measure-CCSComponent.html">Cervical Cancer Screening</a></td>
            </tr>
        
        
            <tr>
                <th scope="row"><b>Version: </b></th>
                <td style="padding-left: 4px;">5.0.0-ballot</td>
            </tr>
        
        
        
            <tr>
                <th scope="row"><b>Name: </b></th>
                <td style="padding-left: 4px;">CCSComponent</td>
            </tr>
        
        
            <tr>
                <th scope="row"><b>Title: </b></th>
                <td style="padding-left: 4px;">Cervical Cancer Screening</td>
            </tr>
        
        
        
            <tr>
                <th scope="row"><b>Status: </b></th>
                <td style="padding-left: 4px;">draft</td>
            </tr>
        
        
            <tr>
                <th scope="row"><b>Experimental: </b></th>
                <td style="padding-left: 4px;">true</td>
            </tr>
        
        
            <tr>
                <th scope="row"><b>Scoring: </b></th>
                <td style="padding-left: 4px;">
                    
                        
                            <p style="margin-bottom: 5px;">
                                <span>Proportion </span>
                            </p>
                        
                    
                    
                </td>
            </tr>
        
        
            <tr>
                <th scope="row"><b>Improvement Notation: </b></th>
                <td style="padding-left: 4px;">
                    
                        
                            <p style="margin-bottom: 5px;">
                             <span>increase </span>
                            </p>
                        
                    
                    
                </td>
            </tr>
        
        
            <tr>
                <th scope="row"><b>Type: </b></th>
                <td style="padding-left: 4px;">
                    
                        
                            <p style="margin-bottom: 5px;">
                            <span>process </span>
                            </p>
                        
                    
                    
                </td>
            </tr>
        
        
        
            <tr>
                <th scope="row"><b>Date: </b></th>
                <td style="padding-left: 4px;">2022-02-22 11:37:03-0600</td>
            </tr>
        
        
            <tr>
                <th scope="row"><b>Publisher: </b></th>
                <td style="padding-left: 4px;">HL7 International / Clinical Quality Information</td>
            </tr>
        
        
            <tr>
                <th scope="row"><b>Description: </b></th>
                <td style="padding-left: 4px;"><div><p>This is only an example.</p>
</div></td>
            </tr>
        
        
        
        
        
            <tr>
                <th scope="row"><b>Jurisdiction: </b></th>
                <td style="padding-left: 25px;">US</td>
            </tr>
        
        
        
        
        
        
        
        
        
            <tr>
                <th scope="row"><b>Effective Period: </b></th>
                <td style="padding-left: 4px;">2022-01-01..2022-12-31</td>
            </tr>
        
        
            
        
        
        
        
            <tr>
                <th scope="row"><b> Supplemental Data Elements: </b></th>
                <td style="padding-left: 4px;">
                    
                        
                            
                                
                                    SDE Ethnicity
                                
                            
                        
                    
                        
                            
                                
                                    SDE Payer
                                
                            
                        
                    
                        
                            
                                
                                    SDE Race
                                
                            
                        
                    
                        
                            
                                
                                    SDE Sex
                                
                            
                        
                    
                </td>
            </tr>
        
        
        
            <tr>
                <th scope="row"><b>Libraries: </b></th>
                <td style="padding-left: 4px;">
                    <table class="grid-dict">
                        
                            <tr><td><a href="Library-CCSComponent.html">CCS Component Library</a></td></tr>
                        
                    </table>
                </td>
            </tr>
        
        
            
                <tr>
                    <th scope="row"><b>Related Artifact Dependencies: </b></th>
                    <td style="padding-left: 4px;">
                        
                            <li><a href="http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000">http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000</a></li>
                        
                            <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>
                        
                            <li><a href="Library-MATGlobalCommonFunctions.html">MAT Global Common Functions FHIR Library</a></li>
                        
                            <li><a href="http://hl7.org/fhir/us/cqfmeasures/Library/AdultOutpatientEncounters|2.0.000">http://hl7.org/fhir/us/cqfmeasures/Library/AdultOutpatientEncounters|2.0.000</a></li>
                        
                            <li><a href="http://hl7.org/fhir/us/cqfmeasures/Library/Hospice|2.0.000">http://hl7.org/fhir/us/cqfmeasures/Library/Hospice|2.0.000</a></li>
                        
                            <li><a href="http://hl7.org/fhir/us/cqfmeasures/Library/AdvancedIllnessandFrailtyExclusion|5.12.000">http://hl7.org/fhir/us/cqfmeasures/Library/AdvancedIllnessandFrailtyExclusion|5.12.000</a></li>
                        
                            <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>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.108.12.1020/expansion">Colonoscopy</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1011/expansion">Fecal Occult Blood Test (FOBT)</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1010/expansion">Flexible Sigmoidoscopy</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.108.12.1039/expansion">sDNA FIT Test</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.108.12.1038/expansion">CT Colonography</a></li>
                        
                            <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>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1240/expansion">Annual Wellness Visit</a></li>
                        
                            <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>
                        
                            <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>
                        
                            <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>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion">Payer</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion">Encounter Inpatient</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1108.15/expansion">Hospice Care Ambulatory</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.108.12.1001/expansion">Malignant Neoplasm of Colon</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1019/expansion">Total Colectomy</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.118.12.1300/expansion">Frailty Device</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.113.12.1074/expansion">Frailty Diagnosis</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1088/expansion">Frailty Encounter</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.113.12.1075/expansion">Frailty Symptom</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1087/expansion">Outpatient</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1086/expansion">Observation</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1085/expansion">ED</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1084/expansion">Nonacute Inpatient</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.110.12.1082/expansion">Advanced Illness</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1083/expansion">Acute Inpatient</a></li>
                        
                            <li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.196.12.1510/expansion">Dementia Medications</a></li>
                        
                            <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>
                        
                            <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>
                        
                    </td>
                </tr>
                <tr>
                    <th scope="row"><b>Parameters:</b></th>
                    <td style="padding-left: 4px;">
                        <table class="grid-dict">
                            <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>
                            
                                <tr>
                                    <td>Measurement Period</td>
                                    <td>in</td>
                                    <td>0</td>
                                    <td>1</td>
                                    <td>Period</td>
                                </tr>
                            
                                <tr>
                                    <td>SDE Sex</td>
                                    <td>out</td>
                                    <td>0</td>
                                    <td>1</td>
                                    <td>Coding</td>
                                </tr>
                            
                                <tr>
                                    <td>Numerator</td>
                                    <td>out</td>
                                    <td>0</td>
                                    <td>1</td>
                                    <td>boolean</td>
                                </tr>
                            
                                <tr>
                                    <td>Denominator</td>
                                    <td>out</td>
                                    <td>0</td>
                                    <td>1</td>
                                    <td>boolean</td>
                                </tr>
                            
                                <tr>
                                    <td>SDE Payer</td>
                                    <td>out</td>
                                    <td>0</td>
                                    <td>*</td>
                                    <td>Resource</td>
                                </tr>
                            
                                <tr>
                                    <td>Initial Population</td>
                                    <td>out</td>
                                    <td>0</td>
                                    <td>1</td>
                                    <td>boolean</td>
                                </tr>
                            
                                <tr>
                                    <td>SDE Ethnicity</td>
                                    <td>out</td>
                                    <td>0</td>
                                    <td>*</td>
                                    <td>Coding</td>
                                </tr>
                            
                                <tr>
                                    <td>Denominator Exclusion</td>
                                    <td>out</td>
                                    <td>0</td>
                                    <td>1</td>
                                    <td>boolean</td>
                                </tr>
                            
                                <tr>
                                    <td>SDE Race</td>
                                    <td>out</td>
                                    <td>0</td>
                                    <td>*</td>
                                    <td>Coding</td>
                                </tr>
                            
                        </table>
                    </td>
                </tr>
                <tr>
                    <th scope="row"><b>DataRequirements:</b></th>
                    <td style="padding-left: 4px;">
                        <table class="grid-dict">
                            <tr><th><b>Type</b></th><th><b>Must Support</b></th><th><b>Valueset Name</b></th><th><b>Valueset</b></th></tr>
                            
                                <tr>
                                    <td>Coverage</td>
                                    <td>
                                        
                                            period
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Payer
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion">Payer</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Patient</td>
                                    <td>
                                        
                                            extension
                                        
                                            value
                                        
                                            url
                                        
                                    </td>
                                    <td>
                                        
                                    </td>
                                    <td></td>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Care Services in Long-Term Residential Facility
                                            
                                        
                                    </td>
                                    <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>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Nursing Facility Visit
                                            
                                        
                                    </td>
                                    <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>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Office Visit
                                            
                                        
                                    </td>
                                    <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>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Annual Wellness Visit
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1240/expansion">Annual Wellness Visit</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Preventive Care Services - Established Office Visit, 18 and Up
                                            
                                        
                                    </td>
                                    <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>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Preventive Care Services-Initial Office Visit, 18 and Up
                                            
                                        
                                    </td>
                                    <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>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Home Healthcare Services
                                            
                                        
                                    </td>
                                    <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>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            period
                                        
                                            diagnosis
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Acute Inpatient
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1083/expansion">Acute Inpatient</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            period
                                        
                                            hospitalization
                                        
                                            hospitalization.dischargeDisposition
                                        
                                            type
                                        
                                            status
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Encounter Inpatient
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion">Encounter Inpatient</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Outpatient
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1087/expansion">Outpatient</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Observation
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1086/expansion">Observation</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 ED
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1085/expansion">ED</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Nonacute Inpatient
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1084/expansion">Nonacute Inpatient</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Encounter</td>
                                    <td>
                                        
                                            period
                                        
                                            type
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Frailty Encounter
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1088/expansion">Frailty Encounter</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Condition</td>
                                    <td>
                                        
                                            code
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Malignant Neoplasm of Colon
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.108.12.1001/expansion">Malignant Neoplasm of Colon</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Condition</td>
                                    <td>
                                        
                                            code
                                        
                                            id
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Advanced Illness
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.110.12.1082/expansion">Advanced Illness</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Condition</td>
                                    <td>
                                        
                                            code
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Frailty Diagnosis
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.113.12.1074/expansion">Frailty Diagnosis</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Procedure</td>
                                    <td>
                                        
                                            code
                                        
                                            performed
                                        
                                            status
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Total Colectomy
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1019/expansion">Total Colectomy</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Procedure</td>
                                    <td>
                                        
                                            code
                                        
                                            performed
                                        
                                            status
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Flexible Sigmoidoscopy
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1010/expansion">Flexible Sigmoidoscopy</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Procedure</td>
                                    <td>
                                        
                                            code
                                        
                                            performed
                                        
                                            status
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 CT Colonography
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.108.12.1038/expansion">CT Colonography</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Procedure</td>
                                    <td>
                                        
                                            code
                                        
                                            performed
                                        
                                            status
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Colonoscopy
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.108.12.1020/expansion">Colonoscopy</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Procedure</td>
                                    <td>
                                        
                                            code
                                        
                                            performed
                                        
                                            status
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Hospice care ambulatory
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1108.15/expansion">Hospice Care Ambulatory</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Observation</td>
                                    <td>
                                        
                                            effective
                                        
                                            code
                                        
                                            value
                                        
                                            status
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 FIT DNA
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.108.12.1039/expansion">sDNA FIT Test</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Observation</td>
                                    <td>
                                        
                                            effective
                                        
                                            code
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Frailty Symptom
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.113.12.1075/expansion">Frailty Symptom</a></td>
                                </tr>
                            
                                <tr>
                                    <td>Observation</td>
                                    <td>
                                        
                                            effective
                                        
                                            code
                                        
                                            value
                                        
                                            status
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Fecal Occult Blood Test (FOBT)
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1011/expansion">Fecal Occult Blood Test (FOBT)</a></td>
                                </tr>
                            
                                <tr>
                                    <td>ServiceRequest</td>
                                    <td>
                                        
                                            code
                                        
                                            authoredOn
                                        
                                            intent
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Hospice care ambulatory
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1108.15/expansion">Hospice Care Ambulatory</a></td>
                                </tr>
                            
                                <tr>
                                    <td>DeviceRequest</td>
                                    <td>
                                        
                                            code
                                        
                                            authoredOn
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Frailty Device
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.118.12.1300/expansion">Frailty Device</a></td>
                                </tr>
                            
                                <tr>
                                    <td>MedicationDispense</td>
                                    <td>
                                        
                                            whenHandedOver
                                        
                                            medication
                                        
                                    </td>
                                    <td>
                                        
                                            
                                                 Dementia Medications
                                            
                                        
                                    </td>
                                    <td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.196.12.1510/expansion">Dementia Medications</a></td>
                                </tr>
                            
                        </table>
                    </td>
                </tr>
                
                    <tr>
                        <th scope="row"><b>Direct Reference Codes:</b></th>
                        <td style="padding-left: 4px;">
                            <table class="grid-dict">
                                <tr><th><b>display</b></th><th><b>code</b></th><th><b>system</b></th></tr>
                                
                                    <tr>
                                        <td>Discharge to home for hospice care (procedure)</td>
                                        <td>428361000124107</td>
                                        <td><a href="http://hl7.org/fhir/R4/codesystem-snomedct.html">SNOMED CT (all versions)</a></td>
                                    </tr>
                                
                                    <tr>
                                        <td>Discharge to healthcare facility for hospice care (procedure)</td>
                                        <td>428371000124100</td>
                                        <td><a href="http://hl7.org/fhir/R4/codesystem-snomedct.html">SNOMED CT (all versions)</a></td>
                                    </tr>
                                
                            </table>
                        </td>
                    </tr>
                
                
                    <tr>
                        <th scope="row"><b>Logic Definitions:</b></th>
                        <td style="padding-left: 4px;">
                            
                                <table class="grid-dict">
                                    <tr>
                                        <th><b>Group</b></th><th><b>Scoring</b></th><th><b>Population Criteria</b></th><th><b>Expression</b></th>
                                    </tr>
                                    <tr>
                                        
                                            <td>  </td>
                                            <td>
                                                
                                                
                                                    <b>Measure scoring:</b>
                                                    
                                                        <p style="margin-bottom: 5px;">
                                                        <span>Proportion</span>
                                                        </p>
                                                    
                                                
                                            </td>
                                            
                                                <tr>
                                                    <td/>
                                                    <td/>
                                                    <td>Initial Population</td>
                                                    <td>
                                                        
                                                        <pre><code class="language-cql">define &quot;Initial Population&quot;:   Global.&quot;CalendarAgeInYearsAt&quot; ( FHIRHelpers.ToDate ( Patient.birthDate ), start of &quot;Measurement Period&quot; ) in Interval[50, 75]       and exists AdultOutpatientEncounters.&quot;Qualifying Encounters&quot;</code></pre>
                                                        
                                                    </td>
                                                </tr>
                                            
                                                <tr>
                                                    <td/>
                                                    <td/>
                                                    <td>Denominator</td>
                                                    <td>
                                                        
                                                        <pre><code class="language-cql">define &quot;Denominator&quot;:   &quot;Initial Population&quot;</code></pre>
                                                        
                                                    </td>
                                                </tr>
                                            
                                                <tr>
                                                    <td/>
                                                    <td/>
                                                    <td>Denominator Exclusion</td>
                                                    <td>
                                                        
                                                        <pre><code class="language-cql">define &quot;Denominator Exclusion&quot;:   Hospice.&quot;Has Hospice&quot;       or exists &quot;Malignant Neoplasm&quot;       or exists &quot;Total Colectomy Performed&quot;       or Frailty.&quot;Advanced Illness and Frailty Exclusion Not Including Over Age 80&quot;         and Frailty.&quot;Long Term Care Periods Longer Than 90 Consecutive Days&quot;</code></pre>
                                                        
                                                    </td>
                                                </tr>
                                            
                                                <tr>
                                                    <td/>
                                                    <td/>
                                                    <td>Numerator</td>
                                                    <td>
                                                        
                                                        <pre><code class="language-cql">define &quot;Numerator&quot;:   exists &quot;Colonoscopy Performed&quot;       or exists &quot;Fecal Occult Blood Test Performed&quot;       or exists &quot;Flexible Sigmoidoscopy Performed&quot;       or exists &quot;Fecal Immunochemical Test DNA&quot;       or exists &quot;CT Colonography Performed&quot;</code></pre>
                                                        
                                                    </td>
                                                </tr>
                                            

                                    
                                    </tr>
                                </table>
                            
                            <table class="grid-dict">
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>SupplementalDataElements</td>
                                        
                                        
                                            <td>SDE Sex</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <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>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>SDE Sex</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;SDE Sex&quot;:   SDE.&quot;SDE Sex&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>Colonoscopy Performed</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Colonoscopy Performed&quot;:   [Procedure: &quot;Colonoscopy&quot;] Colonoscopy       where Colonoscopy.status = 'completed'         and Global.&quot;Normalize Interval&quot; ( Colonoscopy.performed ) ends 10 years or less on or before         end of &quot;Measurement Period&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>Fecal Occult Blood Test Performed</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Fecal Occult Blood Test Performed&quot;:   [Observation: &quot;Fecal Occult Blood Test (FOBT)&quot;] FecalOccultResult       where FecalOccultResult.status in { 'final', 'amended', 'corrected', 'preliminary' }         and FecalOccultResult.value is not null         and Global.&quot;Normalize Interval&quot; ( FecalOccultResult.effective ) during day of &quot;Measurement Period&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>Flexible Sigmoidoscopy Performed</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Flexible Sigmoidoscopy Performed&quot;:   [Procedure: &quot;Flexible Sigmoidoscopy&quot;] FlexibleSigmoidoscopy       where FlexibleSigmoidoscopy.status = 'completed'         and Global.&quot;Normalize Interval&quot; ( FlexibleSigmoidoscopy.performed ) ends 5 years or less on or before         end of &quot;Measurement Period&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>Fecal Immunochemical Test DNA</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Fecal Immunochemical Test DNA&quot;:   [Observation: &quot;FIT DNA&quot;] FitDNA       where FitDNA.status in { 'final', 'amended', 'corrected', 'preliminary' }         and FitDNA.value is not null         and Global.&quot;Normalize Interval&quot; ( FitDNA.effective ) occurs 3 years or less on or before day of         end of &quot;Measurement Period&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>CT Colonography Performed</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;CT Colonography Performed&quot;:   [Procedure: &quot;CT Colonography&quot;] Colonography       where Colonography.status = 'completed'         and Global.&quot;Normalize Interval&quot; ( Colonography.performed ) ends 5 years or less on or before         end of &quot;Measurement Period&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>Numerator</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Numerator&quot;:   exists &quot;Colonoscopy Performed&quot;       or exists &quot;Fecal Occult Blood Test Performed&quot;       or exists &quot;Flexible Sigmoidoscopy Performed&quot;       or exists &quot;Fecal Immunochemical Test DNA&quot;       or exists &quot;CT Colonography Performed&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>AdultOutpatientEncounters</td>
                                        
                                        
                                            <td>Qualifying Encounters</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <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;]   ) ValidEncounter   where ValidEncounter.period during &quot;Measurement Period&quot;     and ValidEncounter.status  = 'finished'</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>Initial Population</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <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; ) in Interval[50, 75]       and exists AdultOutpatientEncounters.&quot;Qualifying Encounters&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>Denominator</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Denominator&quot;:   &quot;Initial Population&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>SupplementalDataElements</td>
                                        
                                        
                                            <td>SDE Payer</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <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>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>SDE Payer</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;SDE Payer&quot;:   SDE.&quot;SDE Payer&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>SupplementalDataElements</td>
                                        
                                        
                                            <td>SDE Ethnicity</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <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>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>SDE Ethnicity</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;SDE Ethnicity&quot;:   SDE.&quot;SDE Ethnicity&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>Hospice</td>
                                        
                                        
                                            <td>Has Hospice</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <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>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>Malignant Neoplasm</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Malignant Neoplasm&quot;:   [Condition: &quot;Malignant Neoplasm of Colon&quot;] ColorectalCancer       where Global.&quot;Prevalence Period&quot; ( ColorectalCancer ) starts on or before       end of &quot;Measurement Period&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>Total Colectomy Performed</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Total Colectomy Performed&quot;:   [Procedure: &quot;Total Colectomy&quot;] Colectomy       where Colectomy.status = 'completed'         and Global.&quot;Normalize Interval&quot; ( Colectomy.performed ) starts on or before         end of &quot;Measurement Period&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>AdvancedIllnessandFrailtyExclusion</td>
                                        
                                        
                                            <td>Has Criteria Indicating Frailty</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Has Criteria Indicating Frailty&quot;:   //Ask Bryn about devices        exists ( [DeviceRequest: &quot;Frailty Device&quot;] FrailtyDeviceOrder          where FrailtyDeviceOrder.authoredOn during &quot;Measurement Period&quot;        )           // DeviceUseStatement has a known issue with the publication tooling           // so it is removed to allow this IG to publish until that is fixed         //or exists ( [DeviceUseStatement: &quot;Frailty Device&quot;] FrailtyDeviceUse         //  where Global.&quot;Normalize Interval&quot;(FrailtyDeviceUse.timing) overlaps &quot;Measurement Period&quot;         //)         or exists ( [Condition: &quot;Frailty Diagnosis&quot;] FrailtyDiagnosis           where Global.&quot;Prevalence Period&quot;(FrailtyDiagnosis) overlaps &quot;Measurement Period&quot;         )         or exists ( [Encounter: &quot;Frailty Encounter&quot;] FrailtyEncounter           where FrailtyEncounter.period overlaps &quot;Measurement Period&quot;         )         or exists ( [Observation: &quot;Frailty Symptom&quot;] FrailtySymptomObservation           where Global.&quot;Normalize Interval&quot;(FrailtySymptomObservation.effective) overlaps &quot;Measurement Period&quot;         )</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>AdvancedIllnessandFrailtyExclusion</td>
                                        
                                        
                                            <td>Outpatient Encounters with Advanced Illness</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Outpatient Encounters with Advanced Illness&quot;:   ( [Encounter: &quot;Outpatient&quot;]         union [Encounter: &quot;Observation&quot;]         union [Encounter: &quot;ED&quot;]         union [Encounter: &quot;Nonacute Inpatient&quot;] ) OutpatientEncounter          with [Condition: &quot;Advanced Illness&quot;] AdvancedIllnessDiagnosis                   such that exists (                       OutpatientEncounter.diagnosis.condition EncounterDiagnosis                           where EndsWith(EncounterDiagnosis.reference, AdvancedIllnessDiagnosis.id)                   )                   and OutpatientEncounter.period starts 2 years or less on or before          end of &quot;Measurement Period&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>AdvancedIllnessandFrailtyExclusion</td>
                                        
                                        
                                            <td>Inpatient Encounter with Advanced Illness</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Inpatient Encounter with Advanced Illness&quot;:   [Encounter: &quot;Acute Inpatient&quot;] InpatientEncounter         with [Condition: &quot;Advanced Illness&quot;] AdvancedIllnessDiagnosis                   such that exists (                       InpatientEncounter.diagnosis.condition EncounterDiagnosis                           where EndsWith(EncounterDiagnosis.reference, AdvancedIllnessDiagnosis.id)                   )          and InpatientEncounter.period starts 2 years or less on or before          end of &quot;Measurement Period&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>AdvancedIllnessandFrailtyExclusion</td>
                                        
                                        
                                            <td>Dementia Medications In Year Before or During Measurement Period</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Dementia Medications In Year Before or During Measurement Period&quot;:   [&quot;MedicationDispense&quot;: &quot;Dementia Medications&quot;] DementiaMed         where DementiaMed.whenHandedOver during Interval[                   ( start of &quot;Measurement Period&quot; - 1 year ), end of &quot;Measurement Period&quot;               ]</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>AdvancedIllnessandFrailtyExclusion</td>
                                        
                                        
                                            <td>Advanced Illness and Frailty Exclusion Not Including Over Age 80</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Advanced Illness and Frailty Exclusion Not Including Over Age 80&quot;:   //If the measure does NOT include populations age 80 and older, then use this logic:        Global.&quot;CalendarAgeInYearsAt&quot;(FHIRHelpers.ToDate(Patient.birthDate), start of &quot;Measurement Period&quot;)&gt;= 65               and &quot;Has Criteria Indicating Frailty&quot;               and ( Count(&quot;Outpatient Encounters with Advanced Illness&quot;)&gt;= 2                   or exists ( &quot;Inpatient Encounter with Advanced Illness&quot; )                   or exists &quot;Dementia Medications In Year Before or During Measurement Period&quot;               )</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>AdvancedIllnessandFrailtyExclusion</td>
                                        
                                        
                                            <td>Long Term Care Periods During Measurement Period</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">// start here define &quot;Long Term Care Periods During Measurement Period&quot;:   ( [Encounter: &quot;Care Services in Long-Term Residential Facility&quot;]                 union [Encounter: &quot;Nursing Facility Visit&quot;] ) LongTermFacilityEncounter                 where LongTermFacilityEncounter.period overlaps &quot;Measurement Period&quot;                 return LongTermFacilityEncounter.period                  intersect &quot;Measurement Period&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>AdvancedIllnessandFrailtyExclusion</td>
                                        
                                        
                                            <td>Long Term Care Periods Longer Than 90 Consecutive Days</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Long Term Care Periods Longer Than 90 Consecutive Days&quot;:   exists ( &quot;Long Term Care Periods During Measurement Period&quot; LongTermCareDuringMP         where duration in days of LongTermCareDuringMP &gt; 90     )</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>Denominator Exclusion</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;Denominator Exclusion&quot;:   Hospice.&quot;Has Hospice&quot;       or exists &quot;Malignant Neoplasm&quot;       or exists &quot;Total Colectomy Performed&quot;       or Frailty.&quot;Advanced Illness and Frailty Exclusion Not Including Over Age 80&quot;         and Frailty.&quot;Long Term Care Periods Longer Than 90 Consecutive Days&quot;</code></pre></td>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>SupplementalDataElements</td>
                                        
                                        
                                            <td>SDE Race</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <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>
                                        
                                    </tr>
                                
                                    <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
                                    <tr>
                                        
                                            <td>CCSComponent</td>
                                        
                                        
                                            <td>SDE Race</td>
                                        
                                    </tr>
                                    <tr>
                                        
                                            <td></td>
                                        <td><pre class="highlight language-cql"><code class="language-cql">define &quot;SDE Race&quot;:   SDE.&quot;SDE Race&quot;</code></pre></td>
                                        
                                    </tr>
                                
                            </table>
                        </td>
                    </tr>
                
            
        
    </table>
</div>
  </text>
  <contained>
    <Library>
      <id value="effective-data-requirements"/>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
        <valueCoding>
          <system value="http://snomed.info/sct"/>
          <version
                   value="http://snomed.info/sct/731000124108/version/201709"/>
          <code value="428361000124107"/>
          <display value="Discharge to home for hospice care (procedure)"/>
        </valueCoding>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
        <valueCoding>
          <system value="http://snomed.info/sct"/>
          <version
                   value="http://snomed.info/sct/731000124108/version/201709"/>
          <code value="428371000124100"/>
          <display
                   value="Discharge to healthcare facility for hospice care (procedure)"/>
        </valueCoding>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="SupplementalDataElements"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Sex"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="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"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="0"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Sex"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Sex&quot;:   SDE.&quot;SDE Sex&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="Colonoscopy Performed"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Colonoscopy Performed&quot;:   [Procedure: &quot;Colonoscopy&quot;] Colonoscopy       where Colonoscopy.status = 'completed'         and Global.&quot;Normalize Interval&quot; ( Colonoscopy.performed ) ends 10 years or less on or before         end of &quot;Measurement Period&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="2"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="Fecal Occult Blood Test Performed"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Fecal Occult Blood Test Performed&quot;:   [Observation: &quot;Fecal Occult Blood Test (FOBT)&quot;] FecalOccultResult       where FecalOccultResult.status in { 'final', 'amended', 'corrected', 'preliminary' }         and FecalOccultResult.value is not null         and Global.&quot;Normalize Interval&quot; ( FecalOccultResult.effective ) during day of &quot;Measurement Period&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="3"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="Flexible Sigmoidoscopy Performed"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Flexible Sigmoidoscopy Performed&quot;:   [Procedure: &quot;Flexible Sigmoidoscopy&quot;] FlexibleSigmoidoscopy       where FlexibleSigmoidoscopy.status = 'completed'         and Global.&quot;Normalize Interval&quot; ( FlexibleSigmoidoscopy.performed ) ends 5 years or less on or before         end of &quot;Measurement Period&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="4"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="Fecal Immunochemical Test DNA"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Fecal Immunochemical Test DNA&quot;:   [Observation: &quot;FIT DNA&quot;] FitDNA       where FitDNA.status in { 'final', 'amended', 'corrected', 'preliminary' }         and FitDNA.value is not null         and Global.&quot;Normalize Interval&quot; ( FitDNA.effective ) occurs 3 years or less on or before day of         end of &quot;Measurement Period&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="5"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="CT Colonography Performed"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;CT Colonography Performed&quot;:   [Procedure: &quot;CT Colonography&quot;] Colonography       where Colonography.status = 'completed'         and Global.&quot;Normalize Interval&quot; ( Colonography.performed ) ends 5 years or less on or before         end of &quot;Measurement Period&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="6"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="Numerator"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Numerator&quot;:   exists &quot;Colonoscopy Performed&quot;       or exists &quot;Fecal Occult Blood Test Performed&quot;       or exists &quot;Flexible Sigmoidoscopy Performed&quot;       or exists &quot;Fecal Immunochemical Test DNA&quot;       or exists &quot;CT Colonography Performed&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="7"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="AdultOutpatientEncounters"/>
        </extension>
        <extension url="name">
          <valueString value="Qualifying Encounters"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="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;]   ) ValidEncounter   where ValidEncounter.period during &quot;Measurement Period&quot;     and ValidEncounter.status  = 'finished'"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="8"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Initial Population&quot;:   Global.&quot;CalendarAgeInYearsAt&quot; ( FHIRHelpers.ToDate ( Patient.birthDate ), start of &quot;Measurement Period&quot; ) in Interval[50, 75]       and exists AdultOutpatientEncounters.&quot;Qualifying Encounters&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="9"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="Denominator"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Denominator&quot;:   &quot;Initial Population&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="10"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="SupplementalDataElements"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Payer"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Payer&quot;:   [Coverage: type in &quot;Payer&quot;] Payer         return {           code: Payer.type,           period: Payer.period         }"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="11"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Payer"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Payer&quot;:   SDE.&quot;SDE Payer&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="12"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="SupplementalDataElements"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Ethnicity"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="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"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="13"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Ethnicity"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Ethnicity&quot;:   SDE.&quot;SDE Ethnicity&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="14"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="Hospice"/>
        </extension>
        <extension url="name">
          <valueString value="Has Hospice"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="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;     )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="15"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="Malignant Neoplasm"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Malignant Neoplasm&quot;:   [Condition: &quot;Malignant Neoplasm of Colon&quot;] ColorectalCancer       where Global.&quot;Prevalence Period&quot; ( ColorectalCancer ) starts on or before       end of &quot;Measurement Period&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="16"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="Total Colectomy Performed"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Total Colectomy Performed&quot;:   [Procedure: &quot;Total Colectomy&quot;] Colectomy       where Colectomy.status = 'completed'         and Global.&quot;Normalize Interval&quot; ( Colectomy.performed ) starts on or before         end of &quot;Measurement Period&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="17"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="AdvancedIllnessandFrailtyExclusion"/>
        </extension>
        <extension url="name">
          <valueString value="Has Criteria Indicating Frailty"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Has Criteria Indicating Frailty&quot;:   //Ask Bryn about devices        exists ( [DeviceRequest: &quot;Frailty Device&quot;] FrailtyDeviceOrder          where FrailtyDeviceOrder.authoredOn during &quot;Measurement Period&quot;        )           // DeviceUseStatement has a known issue with the publication tooling           // so it is removed to allow this IG to publish until that is fixed         //or exists ( [DeviceUseStatement: &quot;Frailty Device&quot;] FrailtyDeviceUse         //  where Global.&quot;Normalize Interval&quot;(FrailtyDeviceUse.timing) overlaps &quot;Measurement Period&quot;         //)         or exists ( [Condition: &quot;Frailty Diagnosis&quot;] FrailtyDiagnosis           where Global.&quot;Prevalence Period&quot;(FrailtyDiagnosis) overlaps &quot;Measurement Period&quot;         )         or exists ( [Encounter: &quot;Frailty Encounter&quot;] FrailtyEncounter           where FrailtyEncounter.period overlaps &quot;Measurement Period&quot;         )         or exists ( [Observation: &quot;Frailty Symptom&quot;] FrailtySymptomObservation           where Global.&quot;Normalize Interval&quot;(FrailtySymptomObservation.effective) overlaps &quot;Measurement Period&quot;         )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="18"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="AdvancedIllnessandFrailtyExclusion"/>
        </extension>
        <extension url="name">
          <valueString value="Outpatient Encounters with Advanced Illness"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Outpatient Encounters with Advanced Illness&quot;:   ( [Encounter: &quot;Outpatient&quot;]         union [Encounter: &quot;Observation&quot;]         union [Encounter: &quot;ED&quot;]         union [Encounter: &quot;Nonacute Inpatient&quot;] ) OutpatientEncounter          with [Condition: &quot;Advanced Illness&quot;] AdvancedIllnessDiagnosis                   such that exists (                       OutpatientEncounter.diagnosis.condition EncounterDiagnosis                           where EndsWith(EncounterDiagnosis.reference, AdvancedIllnessDiagnosis.id)                   )                   and OutpatientEncounter.period starts 2 years or less on or before          end of &quot;Measurement Period&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="19"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="AdvancedIllnessandFrailtyExclusion"/>
        </extension>
        <extension url="name">
          <valueString value="Inpatient Encounter with Advanced Illness"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Inpatient Encounter with Advanced Illness&quot;:   [Encounter: &quot;Acute Inpatient&quot;] InpatientEncounter         with [Condition: &quot;Advanced Illness&quot;] AdvancedIllnessDiagnosis                   such that exists (                       InpatientEncounter.diagnosis.condition EncounterDiagnosis                           where EndsWith(EncounterDiagnosis.reference, AdvancedIllnessDiagnosis.id)                   )          and InpatientEncounter.period starts 2 years or less on or before          end of &quot;Measurement Period&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="20"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="AdvancedIllnessandFrailtyExclusion"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Dementia Medications In Year Before or During Measurement Period"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Dementia Medications In Year Before or During Measurement Period&quot;:   [&quot;MedicationDispense&quot;: &quot;Dementia Medications&quot;] DementiaMed         where DementiaMed.whenHandedOver during Interval[                   ( start of &quot;Measurement Period&quot; - 1 year ), end of &quot;Measurement Period&quot;               ]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="21"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="AdvancedIllnessandFrailtyExclusion"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Advanced Illness and Frailty Exclusion Not Including Over Age 80"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Advanced Illness and Frailty Exclusion Not Including Over Age 80&quot;:   //If the measure does NOT include populations age 80 and older, then use this logic:        Global.&quot;CalendarAgeInYearsAt&quot;(FHIRHelpers.ToDate(Patient.birthDate), start of &quot;Measurement Period&quot;)&gt;= 65               and &quot;Has Criteria Indicating Frailty&quot;               and ( Count(&quot;Outpatient Encounters with Advanced Illness&quot;)&gt;= 2                   or exists ( &quot;Inpatient Encounter with Advanced Illness&quot; )                   or exists &quot;Dementia Medications In Year Before or During Measurement Period&quot;               )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="22"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="AdvancedIllnessandFrailtyExclusion"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Long Term Care Periods During Measurement Period"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="// start here define &quot;Long Term Care Periods During Measurement Period&quot;:   ( [Encounter: &quot;Care Services in Long-Term Residential Facility&quot;]                 union [Encounter: &quot;Nursing Facility Visit&quot;] ) LongTermFacilityEncounter                 where LongTermFacilityEncounter.period overlaps &quot;Measurement Period&quot;                 return LongTermFacilityEncounter.period                  intersect &quot;Measurement Period&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="23"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="AdvancedIllnessandFrailtyExclusion"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Long Term Care Periods Longer Than 90 Consecutive Days"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Long Term Care Periods Longer Than 90 Consecutive Days&quot;:   exists ( &quot;Long Term Care Periods During Measurement Period&quot; LongTermCareDuringMP         where duration in days of LongTermCareDuringMP &gt; 90     )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="24"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="Denominator Exclusion"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Denominator Exclusion&quot;:   Hospice.&quot;Has Hospice&quot;       or exists &quot;Malignant Neoplasm&quot;       or exists &quot;Total Colectomy Performed&quot;       or Frailty.&quot;Advanced Illness and Frailty Exclusion Not Including Over Age 80&quot;         and Frailty.&quot;Long Term Care Periods Longer Than 90 Consecutive Days&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="25"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="SupplementalDataElements"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Race"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="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"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="26"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CCSComponent"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Race"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Race&quot;:   SDE.&quot;SDE Race&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="27"/>
        </extension>
      </extension>
      <name value="EffectiveDataRequirements"/>
      <status value="active"/>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
          <code value="module-definition"/>
        </coding>
      </type>
      <date value="2022-02-22T10:37:03-07:00"/>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library SDE"/>
        <resource
                  value="http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library FHIRHelpers"/>
        <resource
                  value="http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library Global"/>
        <resource
                  value="http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions|5.0.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library AdultOutpatientEncounters"/>
        <resource
                  value="http://hl7.org/fhir/us/cqfmeasures/Library/AdultOutpatientEncounters|2.0.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library Hospice"/>
        <resource
                  value="http://hl7.org/fhir/us/cqfmeasures/Library/Hospice|2.0.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library Frailty"/>
        <resource
                  value="http://hl7.org/fhir/us/cqfmeasures/Library/AdvancedIllnessandFrailtyExclusion|5.12.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Code system SNOMEDCT:2017-09"/>
        <resource
                  value="http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Colonoscopy"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1020"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Fecal Occult Blood Test (FOBT)"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1011"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Flexible Sigmoidoscopy"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1010"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set FIT DNA"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1039"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set CT Colonography"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1038"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Office Visit"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Annual Wellness Visit"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display
                 value="Value set Preventive Care Services - Established Office Visit, 18 and Up"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display
                 value="Value set Preventive Care Services-Initial Office Visit, 18 and Up"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Home Healthcare Services"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Payer"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Encounter Inpatient"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Hospice care ambulatory"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Malignant Neoplasm of Colon"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1001"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Total Colectomy"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1019"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Frailty Device"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Frailty Diagnosis"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Frailty Encounter"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Frailty Symptom"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Outpatient"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Observation"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set ED"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Nonacute Inpatient"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Advanced Illness"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Acute Inpatient"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Dementia Medications"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display
                 value="Value set Care Services in Long-Term Residential Facility"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Nursing Facility Visit"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012"/>
      </relatedArtifact>
      <parameter>
        <name value="Measurement Period"/>
        <use value="in"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Period"/>
      </parameter>
      <parameter>
        <name value="SDE Sex"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Coding"/>
      </parameter>
      <parameter>
        <name value="Numerator"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Denominator"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="SDE Payer"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="SDE Ethnicity"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Coding"/>
      </parameter>
      <parameter>
        <name value="Denominator Exclusion"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="SDE Race"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Coding"/>
      </parameter>
      <dataRequirement>
        <type value="Coverage"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Coverage"/>
        <mustSupport value="period"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Patient"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
        <mustSupport value="extension"/>
        <mustSupport value="value"/>
        <mustSupport value="url"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="period"/>
        <mustSupport value="diagnosis"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="period"/>
        <mustSupport value="hospitalization"/>
        <mustSupport value="hospitalization.dischargeDisposition"/>
        <mustSupport value="type"/>
        <mustSupport value="status"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="period"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1001"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <mustSupport value="code"/>
        <mustSupport value="id"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Procedure"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
        <mustSupport value="code"/>
        <mustSupport value="performed"/>
        <mustSupport value="status"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1019"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Procedure"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
        <mustSupport value="code"/>
        <mustSupport value="performed"/>
        <mustSupport value="status"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1010"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Procedure"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
        <mustSupport value="code"/>
        <mustSupport value="performed"/>
        <mustSupport value="status"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1038"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Procedure"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
        <mustSupport value="code"/>
        <mustSupport value="performed"/>
        <mustSupport value="status"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1020"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Procedure"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
        <mustSupport value="code"/>
        <mustSupport value="performed"/>
        <mustSupport value="status"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="effective"/>
        <mustSupport value="code"/>
        <mustSupport value="value"/>
        <mustSupport value="status"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1039"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="effective"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="effective"/>
        <mustSupport value="code"/>
        <mustSupport value="value"/>
        <mustSupport value="status"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1011"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="ServiceRequest"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
        <mustSupport value="code"/>
        <mustSupport value="authoredOn"/>
        <mustSupport value="intent"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="DeviceRequest"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
        <mustSupport value="code"/>
        <mustSupport value="authoredOn"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="MedicationDispense"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
        <mustSupport value="whenHandedOver"/>
        <mustSupport value="medication"/>
        <codeFilter>
          <path value="medication"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510"/>
        </codeFilter>
      </dataRequirement>
    </Library>
  </contained>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis">
    <valueCode value="boolean"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem">
    <valueReference>🔗 
      <reference value="Device/software-system-example"/>
    </valueReference>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements" id="effective-data-requirements">
    <valueReference>
      <reference value="#effective-data-requirements"/>
    </valueReference>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="cqi"/>
  </extension>
  <url value="http://hl7.org/fhir/us/cqfmeasures/Measure/CCSComponent"/>
  <version value="5.0.0-ballot"/>
  <name value="CCSComponent"/>
  <title value="Cervical Cancer Screening"/>
  <status value="draft"/>
  <experimental value="true"/>
  <date value="2022-02-22T11:37:03-06:00"/>
  <publisher value="HL7 International / Clinical Quality Information"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/cqi"/>
    </telecom>
  </contact>
  <description value="This is only an example."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
    </coding>
  </jurisdiction>
  <effectivePeriod>
    <start value="2022-01-01"/>
    <end value="2022-12-31"/>
  </effectivePeriod>
  <library value="http://hl7.org/fhir/us/cqfmeasures/Library/CCSComponent"/>
  <scoring>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
      <code value="proportion"/>
      <display value="Proportion"/>
    </coding>
  </scoring>
  <type>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
      <code value="process"/>
    </coding>
  </type>
  <improvementNotation>
    <coding>
      <system
              value="http://terminology.hl7.org/CodeSystem/measure-improvement-notation"/>
      <code value="increase"/>
    </coding>
  </improvementNotation>
  <group>
    <population id="93644713-B761-4A71-A6DB-38675B4D4AA0">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Initial Population"/>
      </criteria>
    </population>
    <population id="CCC5263F-B14C-4EFC-B726-3C323A137132">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="denominator"/>
          <display value="Denominator"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Denominator"/>
      </criteria>
    </population>
    <population id="C8F51A00-EDC7-4F91-8415-25395BF16D16">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="denominator-exclusion"/>
          <display value="Denominator Exclusion"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Denominator Exclusion"/>
      </criteria>
    </population>
    <population id="9E219037-5E8B-40F6-A304-4460BD8D3FFA">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="numerator"/>
          <display value="Numerator"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Numerator"/>
      </criteria>
    </population>
  </group>
  <supplementalData id="4d3fff25-29d7-4e61-9fdd-a02a85c1472f">
    <usage>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
        <code value="supplemental-data"/>
      </coding>
    </usage>
    <criteria>
      <language value="text/cql-identifier"/>
      <expression value="SDE Ethnicity"/>
    </criteria>
  </supplementalData>
  <supplementalData id="4732f9d3-e4c9-4a24-ab3c-9247a55d73ef">
    <usage>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
        <code value="supplemental-data"/>
      </coding>
    </usage>
    <criteria>
      <language value="text/cql-identifier"/>
      <expression value="SDE Payer"/>
    </criteria>
  </supplementalData>
  <supplementalData id="523c2619-71c6-4e60-83f8-3d8eeef75398">
    <usage>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
        <code value="supplemental-data"/>
      </coding>
    </usage>
    <criteria>
      <language value="text/cql-identifier"/>
      <expression value="SDE Race"/>
    </criteria>
  </supplementalData>
  <supplementalData id="336d1356-61a7-4220-9635-ffc50b90af2f">
    <usage>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
        <code value="supplemental-data"/>
      </coding>
    </usage>
    <criteria>
      <language value="text/cql-identifier"/>
      <expression value="SDE Sex"/>
    </criteria>
  </supplementalData>
</Measure>