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

Quality Measure Implementation Guide (STU5), published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 5.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cqf-measures/ and changes regularly. See the Directory of published versions

: Cervical Cancer Screening - JSON Representation

Draft as of 2022-02-22

Raw json | Download


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