Quality Measure Implementation Guide (STU3 Ballot)
2.1.0 - ballot

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v2.1.0: STU3 Ballot 1) based on FHIR R4. The current version which supercedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions

: Colorectal Cancer Screening - XML Representation

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>Url: </b></th>
            <td style="padding-left: 4px;">http://hl7.org/fhir/us/cqfmeasures/Measure/CCSComponent</td>
        </tr>
        
        
        <tr>
            <th scope="row"><b>Version: </b></th>
            <td style="padding-left: 4px;">0.0.001</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;">Colorectal 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;">
                            <b>system: </b> <span>http://terminology.hl7.org/CodeSystem/measure-scoring</span>
                        </p>
                        
                        
                        <p style="margin-bottom: 5px;">
                            <b>code: </b> <span>proportion</span>
                        </p>
                        
                        
                        <p style="margin-bottom: 5px;">
                            <b>display: </b> <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;">
                            <b>system: </b> <span>http://terminology.hl7.org/CodeSystem/measure-improvement-notation</span>
                        </p>
                        
                        
                        <p style="margin-bottom: 5px;">
                            <b>code: </b> <span>increase</span>
                        </p>
                        
                        
                    
                
                
            </td>
        </tr>
        
        
        <tr>
            <th scope="row"><b>Type: </b></th>
            <td style="padding-left: 4px;">
                
                    
                        
                        <p style="margin-bottom: 5px;">
                            <b>system: </b> <span>http://terminology.hl7.org/CodeSystem/measure-type</span>
                        </p>
                        
                        
                        <p style="margin-bottom: 5px;">
                            <b>code: </b> <span>process</span>
                        </p>
                        
                        
                    
                
                
            </td>
        </tr>
        
        
        
        <tr>
            <th scope="row"><b>Date: </b></th>
            <td style="padding-left: 4px;">2021-04-03T13:00:06-06:00</td>
        </tr>
        
        
        <tr>
            <th scope="row"><b>Publisher: </b></th>
            <td style="padding-left: 4px;">Clinical Quality Information WG</td>
        </tr>
        
        
        <tr>
            <th scope="row"><b>Description: </b></th>
            <td style="padding-left: 4px;">This is only an example.</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>Colonoscopy Performed</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>Procedure</td>
                    </tr>
                    
                    <tr>
                        <td>Fecal Occult Blood Test Performed</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>Observation</td>
                    </tr>
                    
                    <tr>
                        <td>Flexible Sigmoidoscopy Performed</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>Procedure</td>
                    </tr>
                    
                    <tr>
                        <td>Fecal Immunochemical Test DNA</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>Observation</td>
                    </tr>
                    
                    <tr>
                        <td>CT Colonography Performed</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>Procedure</td>
                    </tr>
                    
                    <tr>
                        <td>Denominator</td>
                        <td>out</td>
                        <td>0</td>
                        <td>1</td>
                        <td>boolean</td>
                    </tr>
                    
                    <tr>
                        <td>Initial Population</td>
                        <td>out</td>
                        <td>0</td>
                        <td>1</td>
                        <td>boolean</td>
                    </tr>
                    
                    <tr>
                        <td>Patient</td>
                        <td>out</td>
                        <td>0</td>
                        <td>1</td>
                        <td>Patient</td>
                    </tr>
                    
                    <tr>
                        <td>Qualifying Encounters</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>Encounter</td>
                    </tr>
                    
                    <tr>
                        <td>SDE Payer</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>Any</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>Has Hospice</td>
                        <td>out</td>
                        <td>0</td>
                        <td>1</td>
                        <td>boolean</td>
                    </tr>
                    
                    <tr>
                        <td>Malignant Neoplasm</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>Condition</td>
                    </tr>
                    
                    <tr>
                        <td>Total Colectomy Performed</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>Procedure</td>
                    </tr>
                    
                    <tr>
                        <td>Advanced Illness and Frailty Exclusion Not Including Over Age 80</td>
                        <td>out</td>
                        <td>0</td>
                        <td>1</td>
                        <td>boolean</td>
                    </tr>
                    
                    <tr>
                        <td>Has Criteria Indicating Frailty</td>
                        <td>out</td>
                        <td>0</td>
                        <td>1</td>
                        <td>boolean</td>
                    </tr>
                    
                    <tr>
                        <td>Outpatient Encounters with Advanced Illness</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>Encounter</td>
                    </tr>
                    
                    <tr>
                        <td>Inpatient Encounter with Advanced Illness</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>Encounter</td>
                    </tr>
                    
                    <tr>
                        <td>Dementia Medications In Year Before or During Measurement Period</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>MedicationDispense</td>
                    </tr>
                    
                    <tr>
                        <td>Long Term Care Periods Longer Than 90 Consecutive Days</td>
                        <td>out</td>
                        <td>0</td>
                        <td>1</td>
                        <td>boolean</td>
                    </tr>
                    
                    <tr>
                        <td>Long Term Care Periods During Measurement Period</td>
                        <td>out</td>
                        <td>0</td>
                        <td>*</td>
                        <td>Period</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>Data Requirements: </b></th>
          <td style="padding-left: 4px;">
                <table class="grid-dict">
                    <tr><th><b>type</b></th><th><b>path</b></th><th><b>valueSet or system</b></th><th><b>code</b></th></tr>
                    
                        <tr>
                            <td>Procedure</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1020</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Observation</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1011</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Procedure</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1010</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Observation</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1039</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Procedure</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1038</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Patient</td>
                            <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Coverage</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Patient</td>
                            <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>ServiceRequest</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Procedure</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Condition</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1001</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Procedure</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1019</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Patient</td>
                            <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>DeviceRequest</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>DeviceUseStatement</td>
                            <td>device.code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Condition</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Observation</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Condition</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Condition</td>
                            <td>code</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>MedicationDispense</td>
                            <td>medication</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014</td>
                                <td></td>
                            
                            
                        </tr>
                    
                        <tr>
                            <td>Encounter</td>
                            <td>type</td>
                            
                                <td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012</td>
                                <td></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>http://snomed.info/sct/731000124108/version/201709</td>
                        </tr>
                    
                        <tr>
                            <td>Discharge to healthcare facility for hospice care (procedure)</td>
                            <td>428371000124100</td>
                            <td>http://snomed.info/sct/731000124108/version/201709</td>
                        </tr>
                    
                </table>
          </td>
        </tr>
        
        
            <tr>
                <th scope="row"><b>Supplemental Data: </b></th>
                <td style="padding-left: 4px;">
                    <table class="grid-dict">
                        <tr><th><b>expression</b></th><th><b>system</b></th></tr>
                        
                        <tr>
                            <td>SDE Ethnicity</td>
                            <td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>
                        </tr>
                        
                        <tr>
                            <td>SDE Payer</td>
                            <td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>
                        </tr>
                        
                        <tr>
                            <td>SDE Race</td>
                            <td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>
                        </tr>
                        
                        <tr>
                            <td>SDE Sex</td>
                            <td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>
                        </tr>
                        
                    </table>
                </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>Related Artifacts: </b></th>
          <td style="padding-left: 4px;">
            
            
            
            <p><b>Dependencies</b></p>
            <ul>
              
                <li>http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000</li>
              
                <li>http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</li>
              
                <li>http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions|5.0.000</li>
              
                <li>http://hl7.org/fhir/us/cqfmeasures/Library/AdultOutpatientEncounters|2.0.000</li>
              
                <li>http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</li>
              
                <li>http://hl7.org/fhir/us/cqfmeasures/Library/Hospice|2.0.000</li>
              
                <li>http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</li>
              
                <li>http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions|5.0.000</li>
              
                <li>http://hl7.org/fhir/us/cqfmeasures/Library/AdvancedIllnessandFrailtyExclusion|5.12.000</li>
              
                <li>http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions|5.0.000</li>
              
                <li>http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1020</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1011</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1010</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1039</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1038</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1001</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1019</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014</li>
              
                <li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012</li>
              
            </ul>
            
            
            
            
            
          </td>
        </tr>
        
        
        
        
        
        <tr>
          <th scope="row"><b>Logic Definitions: </b></th>
          <td style="padding-left: 4px;">
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>SDE Sex</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "SDE Sex":
  SDE."SDE Sex"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>SupplementalDataElements</td>
                        
                        
                            <td>SDE Sex</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "SDE Sex":
  case
      when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }
      when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }
      else null
    end</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>Numerator</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Numerator":
  exists "Colonoscopy Performed"
      or exists "Fecal Occult Blood Test Performed"
      or exists "Flexible Sigmoidoscopy Performed"
      or exists "Fecal Immunochemical Test DNA"
      or exists "CT Colonography Performed"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>Colonoscopy Performed</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Colonoscopy Performed":
  [Procedure: "Colonoscopy"] Colonoscopy
      where Colonoscopy.status = 'completed'
        and Global."Normalize Interval" ( Colonoscopy.performed ) ends 10 years or less on or before
        end of "Measurement Period"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>Fecal Occult Blood Test Performed</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Fecal Occult Blood Test Performed":
  [Observation: "Fecal Occult Blood Test (FOBT)"] FecalOccultResult
      where FecalOccultResult.status in { 'final', 'amended', 'corrected', 'preliminary' }
        and FecalOccultResult.value is not null
        and Global."Normalize Interval" ( FecalOccultResult.effective ) during day of "Measurement Period"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>Flexible Sigmoidoscopy Performed</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Flexible Sigmoidoscopy Performed":
  [Procedure: "Flexible Sigmoidoscopy"] FlexibleSigmoidoscopy
      where FlexibleSigmoidoscopy.status = 'completed'
        and Global."Normalize Interval" ( FlexibleSigmoidoscopy.performed ) ends 5 years or less on or before
        end of "Measurement Period"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>Fecal Immunochemical Test DNA</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Fecal Immunochemical Test DNA":
  [Observation: "FIT DNA"] FitDNA
      where FitDNA.status in { 'final', 'amended', 'corrected', 'preliminary' }
        and FitDNA.value is not null
        and Global."Normalize Interval" ( FitDNA.effective ) occurs 3 years or less on or before day of
        end of "Measurement Period"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>CT Colonography Performed</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "CT Colonography Performed":
  [Procedure: "CT Colonography"] Colonography
      where Colonography.status = 'completed'
        and Global."Normalize Interval" ( Colonography.performed ) ends 5 years or less on or before
        end of "Measurement Period"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>Denominator</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Denominator":
  "Initial Population"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>Initial Population</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Initial Population":
  Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( Patient.birthDate ), start of "Measurement Period" ) in Interval[50, 75]
      and exists AdultOutpatientEncounters."Qualifying Encounters"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>AdultOutpatientEncounters</td>
                        
                        
                            <td>Qualifying Encounters</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Qualifying Encounters":
	(
    [Encounter: "Office Visit"]
  		union [Encounter: "Annual Wellness Visit"]
  		union [Encounter: "Preventive Care Services - Established Office Visit, 18 and Up"]
  		union [Encounter: "Preventive Care Services-Initial Office Visit, 18 and Up"]
  		union [Encounter: "Home Healthcare Services"]
  ) ValidEncounter
		where ValidEncounter.period during "Measurement Period"
  		and ValidEncounter.status  = 'finished'</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>SDE Payer</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "SDE Payer":
  SDE."SDE Payer"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>SupplementalDataElements</td>
                        
                        
                            <td>SDE Payer</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "SDE Payer":
  [Coverage: type in "Payer"] Payer
        return {
          code: Payer.type,
          period: Payer.period
        }</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>Initial Population</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Initial Population":
  Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( Patient.birthDate ), start of "Measurement Period" ) in Interval[50, 75]
      and exists AdultOutpatientEncounters."Qualifying Encounters"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>SDE Ethnicity</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "SDE Ethnicity":
  SDE."SDE Ethnicity"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>SupplementalDataElements</td>
                        
                        
                            <td>SDE Ethnicity</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "SDE Ethnicity":
  (flatten (
      Patient.extension Extension
        where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'
          return Extension.extension
    )) E
      where E.url = 'ombCategory'
        or E.url = 'detailed'
      return E.value as Coding</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>Denominator Exclusion</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Denominator Exclusion":
  Hospice."Has Hospice"
      or exists "Malignant Neoplasm"
      or exists "Total Colectomy Performed"
      or Frailty."Advanced Illness and Frailty Exclusion Not Including Over Age 80"
        and Frailty."Long Term Care Periods Longer Than 90 Consecutive Days"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>Hospice</td>
                        
                        
                            <td>Has Hospice</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Has Hospice":
	exists (
    [Encounter: "Encounter Inpatient"] DischargeHospice
			where DischargeHospice.status = 'finished'
		    and (
	        DischargeHospice.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)"
				    or DischargeHospice.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)"
	    	)
				and DischargeHospice.period ends during "Measurement Period"
	)
    or exists (
      [ServiceRequest: "Hospice care ambulatory"] HospiceOrder
        where HospiceOrder.intent = 'order'
            and HospiceOrder.authoredOn in "Measurement Period"
    )
    or exists (
      [Procedure: "Hospice care ambulatory"] HospicePerformed
        where HospicePerformed.status = 'completed'
          and Global."Normalize Interval"(HospicePerformed.performed) overlaps "Measurement Period"
    )</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>Malignant Neoplasm</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Malignant Neoplasm":
  [Condition: "Malignant Neoplasm of Colon"] ColorectalCancer
      where Global."Prevalence Period" ( ColorectalCancer ) starts on or before
      end of "Measurement Period"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>Total Colectomy Performed</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Total Colectomy Performed":
  [Procedure: "Total Colectomy"] Colectomy
      where Colectomy.status = 'completed'
        and Global."Normalize Interval" ( Colectomy.performed ) starts on or before
        end of "Measurement Period"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>AdvancedIllnessandFrailtyExclusion</td>
                        
                        
                            <td>Advanced Illness and Frailty Exclusion Not Including Over Age 80</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Advanced Illness and Frailty Exclusion Not Including Over Age 80":
  //If the measure does NOT include populations age 80 and older, then use this logic:
      	Global."CalendarAgeInYearsAt"(FHIRHelpers.ToDate(Patient.birthDate), start of "Measurement Period")&gt;= 65
              and "Has Criteria Indicating Frailty"
              and ( Count("Outpatient Encounters with Advanced Illness")&gt;= 2
                  or exists ( "Inpatient Encounter with Advanced Illness" )
                  or exists "Dementia Medications In Year Before or During Measurement Period"
              )</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>AdvancedIllnessandFrailtyExclusion</td>
                        
                        
                            <td>Has Criteria Indicating Frailty</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Has Criteria Indicating Frailty":
  //Ask Bryn about devices
      	exists ( [DeviceRequest: "Frailty Device"] FrailtyDeviceOrder
      			where FrailtyDeviceOrder.authoredOn during "Measurement Period"
      	)
      		or exists ( [DeviceUseStatement: "Frailty Device"] FrailtyDeviceUse
      				where Global."Normalize Interval"(FrailtyDeviceUse.timing) overlaps "Measurement Period"
      		)
      		or exists ( [Condition: "Frailty Diagnosis"] FrailtyDiagnosis
      				where Global."Prevalence Period"(FrailtyDiagnosis) overlaps "Measurement Period"
      		)
      		or exists ( [Encounter: "Frailty Encounter"] FrailtyEncounter
      				where FrailtyEncounter.period overlaps "Measurement Period"
      		)
      		or exists ( [Observation: "Frailty Symptom"] FrailtySymptomObservation
      				where Global."Normalize Interval"(FrailtySymptomObservation.effective) overlaps "Measurement Period"
      		)</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>AdvancedIllnessandFrailtyExclusion</td>
                        
                        
                            <td>Outpatient Encounters with Advanced Illness</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Outpatient Encounters with Advanced Illness":
  ( [Encounter: "Outpatient"]
      		union [Encounter: "Observation"]
      		union [Encounter: "ED"]
      		union [Encounter: "Nonacute Inpatient"] ) OutpatientEncounter
      		 with [Condition: "Advanced Illness"] 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 "Measurement Period"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>AdvancedIllnessandFrailtyExclusion</td>
                        
                        
                            <td>Inpatient Encounter with Advanced Illness</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Inpatient Encounter with Advanced Illness":
  [Encounter: "Acute Inpatient"] InpatientEncounter
      		with [Condition: "Advanced Illness"] 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 "Measurement Period"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>AdvancedIllnessandFrailtyExclusion</td>
                        
                        
                            <td>Dementia Medications In Year Before or During Measurement Period</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Dementia Medications In Year Before or During Measurement Period":
  ["MedicationDispense": "Dementia Medications"] DementiaMed
      		where DementiaMed.whenHandedOver during Interval[
                  ( start of "Measurement Period" - 1 year ), end of "Measurement Period"
              ]</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>AdvancedIllnessandFrailtyExclusion</td>
                        
                        
                            <td>Long Term Care Periods Longer Than 90 Consecutive Days</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "Long Term Care Periods Longer Than 90 Consecutive Days":
  exists ( "Long Term Care Periods During Measurement Period" LongTermCareDuringMP
        where duration in days of LongTermCareDuringMP &gt; 90
    )</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>AdvancedIllnessandFrailtyExclusion</td>
                        
                        
                            <td>Long Term Care Periods During Measurement Period</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">// start heredefine "Long Term Care Periods During Measurement Period":
  ( [Encounter: "Care Services in Long-Term Residential Facility"]
              		union [Encounter: "Nursing Facility Visit"] ) LongTermFacilityEncounter
              		where LongTermFacilityEncounter.period overlaps "Measurement Period"
              		return LongTermFacilityEncounter.period
              			intersect "Measurement Period"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>CCSComponent</td>
                        
                        
                            <td>SDE Race</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "SDE Race":
  SDE."SDE Race"</code></pre>
                
                <br/><br/>
            
                <table class="grid-dict">
                    <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
                    <tr>
                        
                            <td>SupplementalDataElements</td>
                        
                        
                            <td>SDE Race</td>
                        
                        
                    </tr>
                </table>
                
                    <pre><code class="language-cql">define "SDE Race":
  (flatten (
      Patient.extension Extension
        where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'
          return Extension.extension
    )) E
      where E.url = 'ombCategory'
        or E.url = 'detailed'
      return E.value as Coding</code></pre>
                
                <br/><br/>
            
          </td>
        </tr>
        
    </table>
</div>
  </text>
  <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-parameter">
    <valueParameterDefinition>
      <name value="Measurement Period"/>
      <use value="in"/>
      <min value="0"/>
      <max value="1"/>
      <type value="Period"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="SDE Sex"/>
      <use value="out"/>
      <min value="0"/>
      <max value="1"/>
      <type value="Coding"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Numerator"/>
      <use value="out"/>
      <min value="0"/>
      <max value="1"/>
      <type value="boolean"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Colonoscopy Performed"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Procedure"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Fecal Occult Blood Test Performed"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Observation"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Flexible Sigmoidoscopy Performed"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Procedure"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Fecal Immunochemical Test DNA"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Observation"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="CT Colonography Performed"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Procedure"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Denominator"/>
      <use value="out"/>
      <min value="0"/>
      <max value="1"/>
      <type value="boolean"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Initial Population"/>
      <use value="out"/>
      <min value="0"/>
      <max value="1"/>
      <type value="boolean"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Patient"/>
      <use value="out"/>
      <min value="0"/>
      <max value="1"/>
      <type value="Patient"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Qualifying Encounters"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Encounter"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="SDE Payer"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Any"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="SDE Ethnicity"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Coding"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Denominator Exclusion"/>
      <use value="out"/>
      <min value="0"/>
      <max value="1"/>
      <type value="boolean"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Has Hospice"/>
      <use value="out"/>
      <min value="0"/>
      <max value="1"/>
      <type value="boolean"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Malignant Neoplasm"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Condition"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Total Colectomy Performed"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Procedure"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name
            value="Advanced Illness and Frailty Exclusion Not Including Over Age 80"/>
      <use value="out"/>
      <min value="0"/>
      <max value="1"/>
      <type value="boolean"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Has Criteria Indicating Frailty"/>
      <use value="out"/>
      <min value="0"/>
      <max value="1"/>
      <type value="boolean"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Outpatient Encounters with Advanced Illness"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Encounter"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Inpatient Encounter with Advanced Illness"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Encounter"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name
            value="Dementia Medications In Year Before or During Measurement Period"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="MedicationDispense"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Long Term Care Periods Longer Than 90 Consecutive Days"/>
      <use value="out"/>
      <min value="0"/>
      <max value="1"/>
      <type value="boolean"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="Long Term Care Periods During Measurement Period"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Period"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
    <valueParameterDefinition>
      <name value="SDE Race"/>
      <use value="out"/>
      <min value="0"/>
      <max value="*"/>
      <type value="Coding"/>
    </valueParameterDefinition>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Procedure"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Observation"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Procedure"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Observation"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Procedure"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Patient"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <codeFilter>
        <path value="type"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240"/>
      </codeFilter>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Coverage"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Coverage"/>
      <codeFilter>
        <path value="type"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
      </codeFilter>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Patient"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <codeFilter>
        <path value="type"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
      </codeFilter>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="ServiceRequest"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
      <codeFilter>
        <path value="code"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"/>
      </codeFilter>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Procedure"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
      <codeFilter>
        <path value="code"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"/>
      </codeFilter>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Condition"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Procedure"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Patient"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="DeviceRequest"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="DeviceUseStatement"/>
      <profile
               value="http://hl7.org/fhir/StructureDefinition/DeviceUseStatement"/>
      <codeFilter>
        <path value="device.code"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300"/>
      </codeFilter>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Condition"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Observation"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Condition"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Condition"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="MedicationDispense"/>
      <profile
               value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <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>
    </valueDataRequirement>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
    <valueDataRequirement>
      <type value="Encounter"/>
      <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      <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>
    </valueDataRequirement>
  </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="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="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="0"/>
    </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 Sex"/>
    </extension>
    <extension url="statement">
      <valueString
                   value="define &quot;SDE Sex&quot;:
  case
      when Patient.gender = &#39;male&#39; then Code { code: &#39;M&#39;, system: &#39;http://hl7.org/fhir/v3/AdministrativeGender&#39;, display: &#39;Male&#39; }
      when Patient.gender = &#39;female&#39; then Code { code: &#39;F&#39;, system: &#39;http://hl7.org/fhir/v3/AdministrativeGender&#39;, display: &#39;Female&#39; }
      else null
    end"/>
    </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="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="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="Colonoscopy Performed"/>
    </extension>
    <extension url="statement">
      <valueString
                   value="define &quot;Colonoscopy Performed&quot;:
  [Procedure: &quot;Colonoscopy&quot;] Colonoscopy
      where Colonoscopy.status = &#39;completed&#39;
        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="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="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 { &#39;final&#39;, &#39;amended&#39;, &#39;corrected&#39;, &#39;preliminary&#39; }
        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="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="Flexible Sigmoidoscopy Performed"/>
    </extension>
    <extension url="statement">
      <valueString
                   value="define &quot;Flexible Sigmoidoscopy Performed&quot;:
  [Procedure: &quot;Flexible Sigmoidoscopy&quot;] FlexibleSigmoidoscopy
      where FlexibleSigmoidoscopy.status = &#39;completed&#39;
        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="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="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 { &#39;final&#39;, &#39;amended&#39;, &#39;corrected&#39;, &#39;preliminary&#39; }
        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="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="CT Colonography Performed"/>
    </extension>
    <extension url="statement">
      <valueString
                   value="define &quot;CT Colonography Performed&quot;:
  [Procedure: &quot;CT Colonography&quot;] Colonography
      where Colonography.status = &#39;completed&#39;
        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="7"/>
    </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="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="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  = &#39;finished&#39;"/>
    </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="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="11"/>
    </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="12"/>
    </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="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="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 = &#39;http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity&#39;
          return Extension.extension
    )) E
      where E.url = &#39;ombCategory&#39;
        or E.url = &#39;detailed&#39;
      return E.value as Coding"/>
    </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="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="16"/>
    </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 = &#39;finished&#39;
		    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 = &#39;order&#39;
            and HospiceOrder.authoredOn in &quot;Measurement Period&quot;
    )
    or exists (
      [Procedure: &quot;Hospice care ambulatory&quot;] HospicePerformed
        where HospicePerformed.status = &#39;completed&#39;
          and Global.&quot;Normalize Interval&quot;(HospicePerformed.performed) overlaps &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="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="18"/>
    </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 = &#39;completed&#39;
        and Global.&quot;Normalize Interval&quot; ( Colectomy.performed ) starts 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="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="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="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;
      	)
      		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="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="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="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="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="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="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="24"/>
    </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="25"/>
    </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 heredefine &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="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>
  <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 = &#39;http://hl7.org/fhir/us/core/StructureDefinition/us-core-race&#39;
          return Extension.extension
    )) E
      where E.url = &#39;ombCategory&#39;
        or E.url = &#39;detailed&#39;
      return E.value as Coding"/>
    </extension>
    <extension url="displaySequence">
      <valueInteger value="28"/>
    </extension>
  </extension>
  <url value="http://hl7.org/fhir/us/cqfmeasures/Measure/CCSComponent"/>
  <version value="0.0.001"/>
  <name value="CCSComponent"/>
  <title value="Colorectal Cancer Screening"/>
  <status value="draft"/>
  <experimental value="true"/>
  <date value="2021-04-03T13:00:06-06:00"/>
  <publisher value="Clinical Quality Information WG"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/cqi/index.cfm"/>
    </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>
  <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 FHIRHelpers"/>
    <resource
              value="http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"/>
  </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 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 Frailty"/>
    <resource
              value="http://hl7.org/fhir/us/cqfmeasures/Library/AdvancedIllnessandFrailtyExclusion|5.12.000"/>
  </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="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>
  <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>