eCQM QICore Content Implementation Guide
2023.0.0 - CI Build

eCQM QICore Content Implementation Guide, published by cqframework. This guide is not an authorized publication; it is the continuous build for version 2023.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/ecqm-content-qicore-2023/ and changes regularly. See the Directory of published versions

## : Diabetic Retinopathy: Communication with the Physician Managing Ongoing Diabetes CareFHIR - TTL Representation

Draft as of 2023-10-27

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Measure ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm>     ] [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/publishable-measure-cqfm"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/publishable-measure-cqfm>     ] [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n    <table class=\"grid dict\">\n        \n            <tr>\n                <th scope=\"row\"><b>Title: </b></th>\n                <td style=\"padding-left: 4px;\">Diabetic Retinopathy: Communication with the Physician Managing Ongoing Diabetes CareFHIR</td>\n            </tr>\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Id: </b></th>\n                <td style=\"padding-left: 4px;\">DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n            </tr>\n            \n                <tr>\n                    <th scope=\"row\"><b>Download cql: </b></th>\n                    <td style=\"padding-left: 4px;\"><a href=\"Library-DRCommunicationWithPhysicianManagingDiabetesFHIR.cql\">DRCommunicationWithPhysicianManagingDiabetesFHIR.cql</a></td>\n                </tr>\n            \n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Version: </b></th>\n                <td style=\"padding-left: 4px;\">0.0.004</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Url: </b></th>\n                <td style=\"padding-left: 4px;\"><a href=\"Measure-DRCommunicationWithPhysicianManagingDiabetesFHIR.html\">Diabetic Retinopathy: Communication with the Physician Managing Ongoing Diabetes CareFHIR</a></td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                short-name identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>CMS142FHIR</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                version-independent identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>urn:uuid:0f55e61f-dc17-4fe4-a604-7f030260618f</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                version-specific identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>urn:uuid:c2a33022-8d8d-426b-ae12-9bfd9afbdb82</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                publisher (CMS) identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>142FHIR</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Effective Period: </b></th>\n                <td style=\"padding-left: 4px;\">2024-01-01\n                    ..2024-12-31</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        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Date: </b></th>\n                <td style=\"padding-left: 4px;\">2023-10-27 08:12:31+0000</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Approval Date: </b></th>\n                <td style=\"padding-left: 4px;\">2023-08-14</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Last Review Date: </b></th>\n                <td style=\"padding-left: 4px;\">2023-08-14</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Name: </b></th>\n                <td style=\"padding-left: 4px;\">DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Publisher: </b></th>\n                <td style=\"padding-left: 4px;\">American Academy of Ophthalmology</td>\n            </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Author: </b></th>\n            <td style=\"padding-left: 4px;\">American Academy of Ophthalmology: <a href=\"www.aao.org\">www.aao.org</a>, American Medical Association (AMA): <a href=\"https://www.ama-assn.org/\">https://www.ama-assn.org/</a></td>\n        </tr>\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Description: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>Percentage of patients aged 18 years and older with a diagnosis of diabetic retinopathy who had a dilated macular or fundus exam performed with documented communication to the physician who manages the ongoing care of the patient with diabetes mellitus regarding the findings of the macular or fundus exam at least once during the measurement period.</p>\n</div></td>\n            </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Purpose: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>UNKNOWN</p>\n</div></td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Copyright: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>Copyright 2023 American Academy of Ophthalmology. All Rights Reserved.</p>\n</div></td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Disclaimer: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>The Measure is not a clinical guideline, does not establish a standard of medical care, and has not been tested for all potential applications.</p>\n<p>The Measure, while copyrighted, can be reproduced and distributed, without modification, for noncommercial purposes, e.g., use by health care providers in connection with their practices. Commercial use is defined as the sale, license, or distribution of the Measure for commercial gain, or incorporation of the Measure into a product or service that is sold, licensed or distributed for commercial gain.</p>\n<p>Commercial uses of the Measure require a license agreement between the user and the American Academy of Ophthalmology (Academy). Neither the Academy, its members, the American Medical Association (AMA), nor the former AMA-convened Physician Consortium for Performance Improvement(R) (AMA-PCPI), nor PCPI, nor their members shall be responsible for any use of the Measure.</p>\n<p>The PCPI’s and AMA’s significant past efforts and contributions to the development and updating of the Measures are acknowledged. The National Committee for Quality Assurance's significant past efforts and contributions to the development and updating of the Measure is acknowledged.</p>\n<p>THE MEASURE AND SPECIFICATIONS ARE PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND.</p>\n<p>Limited proprietary coding is contained in the Measure specifications for convenience. A license agreement must be entered prior to a third party’s use of Current Procedural Terminology (CPT[R]) or other proprietary code set contained in the Measures. Any other use of CPT or other coding by the third party is strictly prohibited. The Academy, the AMA, and former members of the PCPI disclaim all liability for use or accuracy of any CPT or other coding contained in the specifications.</p>\n<p>CPT(R) contained in the Measure specifications is copyright 2004-2022 American Medical Association. LOINC(R) is copyright 2004-2022 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2022 International Health Terminology Standards Development Organisation. ICD-10 is copyright 2022 World Health Organization. All Rights Reserved.</p>\n<p>Due to technical limitations, registered trademarks are indicated by (R) or [R].</p>\n</div></td>\n            </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Rationale: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>Diabetic retinopathy is a prevalent complication of diabetes, estimated to affect 28.5% of diabetic patients in the US (Zhang et al., 2010). Diabetic retinopathy is a key indicator of systemic complications of diabetes (Zhang et al., 2010). Coordination of care between the eye care specialist and the physician managing a patient’s ongoing diabetes care is essential in stemming the progression of vision loss. Communication from the eye care specialist to a primary care physician facilitates the exchange of information about the severity and progression of a patient’s diabetic retinopathy, adherence to recommended ocular care, need for follow-up visits, and treatment plans (Storey et al., 2016). Data from the Diabetes Control and Complications Trial showed that diabetic treatment and maintenance of glucose control delays the onset and slows the progression of diabetic retinopathy (Aiello &amp; DCCT/EDIC Research Group, 2014).</p>\n</div></td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Clinical recommendation statement: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>The ophthalmologist should refer patients with diabetes to a primary care physician for appropriate management of their systemic condition and should communicate examination results to the physician managing the patient's ongoing diabetes care (III; Good Quality; Strong Recommendation) (Flaxel et al., 2020).</p>\n<p>Ophthalmologists should communicate the ophthalmologic findings and level of retinopathy with the primary care physician as well as the need for optimizing metabolic control (III; Good Quality; Strong Recommendation) (Flaxel et al,, 2020).</p>\n<p>Close partnership with the primary care physician is important to make sure that the care of the patient is optimized (III; Good Quality; Strong Recommendation) (Flaxel et al., 2020).</p>\n</div></td>\n        </tr>\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Guidance (Usage): </b></th>\n                <td style=\"padding-left: 4px;\">The measure, as written, does not specifically require documentation of laterality. Coding limitations in particular clinical terminologies do not currently allow for that level of specificity (ICD-10-CM includes laterality, but SNOMED-CT does not uniformly include this distinction). Therefore, at this time, it is not a requirement of this measure to indicate laterality of the diagnoses, findings or procedures. Available coding to capture the data elements specified in this measure has been provided. It is assumed that the eligible clinician will record laterality in the patient medical record, as quality care and clinical documentation should include laterality.\n\nThe communication of results to the primary care physician providing ongoing care of a patient's diabetes should be completed soon after the dilated exam is performed. Eligible clinicians reporting on this measure should note that all data for the reporting year is to be submitted by the deadline established by CMS. Therefore, eligible clinicians who see patients towards the end of the reporting period (i.e., December in particular), should communicate the results of the dilated macular exam as soon as possible in order for those patients to be counted in the measure numerator. Communicating the results as soon as possible after the date of the exam will ensure the data are included in the submission to CMS.\n\nThis eCQM is a patient-based measure.\n\nTelehealth encounters are not eligible for this measure because the measure requires a clinical action that cannot be conducted via telehealth.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS142v12.\n\nPlease refer to the HL7 QI-Core Implementation Guide (http://hl7.org/fhir/us/qicore/index.html) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (http://hl7.org/fhir/us/qicore/qdm-to-qicore.html).</td>\n            </tr>\n        \n\n        \n            \n                <tr>\n                    <th scope=\"row\"><b>Population Criteria: </b></th>\n                    <td style=\"padding-left: 4px;\">\n                        \n                            <table class=\"grid-dict\">\n                                \n                                    <tr>\n                                        <th><b>645a7029beb771640fc4cc37</b></th>\n                                    </tr>\n                                \n                                \n                                    <tr>\n                                        <td>Initial Population:</td>\n                                        \n                                            <td>All patients aged 18 years and older with a diagnosis of diabetic retinopathy</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Denominator:</td>\n                                        \n                                            <td>Equals Initial Population who had a dilated macular or fundus exam performed</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Denominator Exclusion:</td>\n                                        \n                                            <td>None</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Numerator:</td>\n                                        \n                                            <td>Patients with documentation, at least once within the measurement period, of the findings of the dilated macular or fundus exam via communication to the physician who manages the patient's diabetic care</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Numerator Exclusion:</td>\n                                        \n                                            <td>None</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Denominator Exception:</td>\n                                        \n                                            <td>Documentation of medical reason(s) for not communicating the findings of the dilated macular or fundus exam to the physician who manages the ongoing care of the patient with diabetes.\n\nDocumentation of patient reason(s) for not communicating the findings of the dilated macular or fundus exam to the physician who manages the ongoing care of the patient with diabetes.</td>\n                                        \n                                    </tr>\n                                \n                                \n                            </table>\n                        \n                    </td>\n                </tr>\n            \n        \n\n        \n            <tr>\n                <th scope=\"row\">\n                    <b> Supplemental Data Guidance\n                        : </b></th>\n                <td style=\"padding-left: 4px;\">  </td>\n            </tr>\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                                SDE Ethnicity\n                            \n                        \n                    \n                        \n                            \n                                SDE Payer\n                            \n                        \n                    \n                        \n                            \n                                SDE Race\n                            \n                        \n                    \n                        \n                            \n                                SDE Sex\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>\n                                <td><a href=\"Library-DRCommunicationWithPhysicianManagingDiabetesFHIR.html\">DRCommunicationWithPhysicianManagingDiabetesFHIR</a></td>\n                            </tr>\n                        \n                    </table>\n                </td>\n            </tr>\n        \n\n        \n\n        \n            \n                <tr>\n                    <th scope=\"row\"><b>Related Artifact Dependencies: </b></th>\n                    <td style=\"padding-left: 4px;\">\n                        \n                            <li><a href=\"Library-SupplementalDataElements.html\">SupplementalDataElements</a> version: 3.4.000</li>\n                        \n                            <li><a href=\"Library-FHIRHelpers.html\">FHIRHelpers</a> version: 4.3.000</li>\n                        \n                            <li><a href=\"Library-QICoreCommon.html\">QICoreCommon</a> version: 1.5.000</li>\n                        \n                            <li><code>http://hl7.org/fhir/v3/AdministrativeGender</code></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html\">ActCode</a></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-ver-status.html\">ConditionVerificationStatus</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1283/expansion\">Level of Severity of Retinopathy Findings</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.1285/expansion\">Ophthalmological Services</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1008/expansion\">Outpatient Consultation</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                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.327/expansion\">Diabetic Retinopathy</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.2.1391/expansion\">Macular Edema Findings Absent</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1320/expansion\">Macular Edema Findings Present</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1251/expansion\">Macular Exam</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion\">Payer</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1007/expansion\">Medical Reason</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1008/expansion\">Patient Reason</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>\n                                <th><b>name</b></th>\n                                <th><b>use</b></th>\n                                <th><b>min</b></th>\n                                <th><b>max</b></th>\n                                <th><b>type</b></th>\n                            </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>1</td>\n                                    <td>Resource</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>SDE Race</td>\n                                    <td>Out</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>Resource</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Denominator Exceptions</td>\n                                    <td>Out</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>boolean</td>\n                                </tr>\n                            \n                        </table>\n                    </td>\n                </tr>\n\n                <tr>\n                    <th scope=\"row\"><b>DataRequirements:</b></th>\n                    <td style=\"padding-left: 4px;\">\n                        <table class=\"grid-dict\">\n                            <tr>\n                                <th><b>Type</b></th>\n                                <th><b>Elements</b></th>\n                                <th><b>Valueset Name</b></th>\n                                <th><b>Valueset</b></th>\n                            </tr>\n                            \n                                <tr>\n                                    <td>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n                                    <td>\n                                        \n                                            ethnicity\n                                        \n                                            race\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html\">QICoreEncounter</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            class\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(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html\">QICoreEncounter</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            class\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Ophthalmological Services\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1285/expansion\">Ophthalmological Services</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html\">QICoreEncounter</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            class\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Outpatient Consultation\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1008/expansion\">Outpatient Consultation</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html\">QICoreEncounter</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            class\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(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html\">QICoreEncounter</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            class\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>Condition(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html\">QICoreCondition</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            verificationStatus\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Diabetic Retinopathy\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.327/expansion\">Diabetic Retinopathy</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Communication(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-communication.html\">QICoreCommunication</a>)</td>\n                                    <td>\n                                        \n                                            reasonCode\n                                        \n                                            sent\n                                        \n                                            sent.value\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Level of Severity of Retinopathy Findings\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1283/expansion\">Level of Severity of Retinopathy Findings</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Communication(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-communication.html\">QICoreCommunication</a>)</td>\n                                    <td>\n                                        \n                                            reasonCode\n                                        \n                                            sent\n                                        \n                                            sent.value\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Macular edema absent (situation)\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.2.1391/expansion\">Macular Edema Findings Absent</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Communication(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-communication.html\">QICoreCommunication</a>)</td>\n                                    <td>\n                                        \n                                            reasonCode\n                                        \n                                            sent\n                                        \n                                            sent.value\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Macular Edema Findings Present\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1320/expansion\">Macular Edema Findings Present</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Observation(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-observation.html\">QICoreObservation</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            effective\n                                        \n                                            value\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Macular Exam\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1251/expansion\">Macular Exam</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Coverage(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-coverage.html\">QICoreCoverage</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Payer Type\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion\">Payer</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Communication(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-communicationnotdone.html\">QICoreCommunicationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            reasonCode\n                                        \n                                            extension\n                                        \n                                            statusReason\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Level of Severity of Retinopathy Findings\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1283/expansion\">Level of Severity of Retinopathy Findings</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Communication(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-communicationnotdone.html\">QICoreCommunicationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            reasonCode\n                                        \n                                            extension\n                                        \n                                            statusReason\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Level of Severity of Retinopathy Findings\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1283/expansion\">Level of Severity of Retinopathy Findings</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Communication(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-communicationnotdone.html\">QICoreCommunicationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            reasonCode\n                                        \n                                            extension\n                                        \n                                            statusReason\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Macular edema absent (situation)\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.2.1391/expansion\">Macular Edema Findings Absent</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Communication(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-communicationnotdone.html\">QICoreCommunicationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            reasonCode\n                                        \n                                            extension\n                                        \n                                            statusReason\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Macular edema absent (situation)\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.2.1391/expansion\">Macular Edema Findings Absent</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Communication(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-communicationnotdone.html\">QICoreCommunicationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            reasonCode\n                                        \n                                            extension\n                                        \n                                            statusReason\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Macular Edema Findings Present\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1320/expansion\">Macular Edema Findings Present</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Communication(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-communicationnotdone.html\">QICoreCommunicationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            reasonCode\n                                        \n                                            extension\n                                        \n                                            statusReason\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Macular Edema Findings Present\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1320/expansion\">Macular Edema Findings Present</a></td>\n                                </tr>\n                            \n                        </table>\n                    </td>\n                </tr>\n\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>\n                                    <th><b>display</b></th>\n                                    <th><b>code</b></th>\n                                    <th><b>system</b></th>\n                                </tr>\n                                \n                                    <tr>\n                                        <td>Male</td>\n                                        <td>M</td>\n                                        <td><a href=\"http://hl7.org/fhir/v3/AdministrativeGender\">http://hl7.org/fhir/v3/AdministrativeGender</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Female</td>\n                                        <td>F</td>\n                                        <td><a href=\"http://hl7.org/fhir/v3/AdministrativeGender\">http://hl7.org/fhir/v3/AdministrativeGender</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>virtual</td>\n                                        <td>VR</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html\">http://terminology.hl7.org/CodeSystem/v3-ActCode</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>active</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>recurrence</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>relapse</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>unconfirmed</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-ver-status.html\">http://terminology.hl7.org/CodeSystem/condition-ver-status</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>refuted</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-ver-status.html\">http://terminology.hl7.org/CodeSystem/condition-ver-status</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>entered-in-error</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-ver-status.html\">http://terminology.hl7.org/CodeSystem/condition-ver-status</a></td>\n                                    </tr>\n                                \n                            </table>\n                        </td>\n                    </tr>\n                \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>\n                                <th><b>Scoring</b></th>\n                                <th><b>Population Criteria</b></th>\n                                <th><b>Expression</b></th>\n                            </tr>\n                            <tr>\n                                \n                                <td> 645a7029beb771640fc4cc37 </td>\n                                <td>\n                                    \n                                        <b>Group scoring:</b>\n                                        \n                                            <span>  proportion </span>\n                                        \n                                    \n\n                                    \n\n                                    \n\n                                    \n\n                                    \n\n                                    \n\n                                    \n\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 \"Initial Population\":\n  AgeInYearsAt(date from start of \"Measurement Period\") &gt;= 18\n    and exists \"Diabetic Retinopathy Encounter\"</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 \"Denominator\":\n  \"Initial Population\"\n    and exists \"Macular Exam Performed\"</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Denominator Exclusion</td>\n                                    <td>\n                                        \n                                            None\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 \"Numerator\":\n  exists \"Level of Severity of Retinopathy Findings Communicated\"\n    and ( exists \"Macular Edema Absence Communicated\"\n        or exists \"Macular Edema Presence Communicated\"\n    )</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Numerator Exclusion</td>\n                                    <td>\n                                        \n                                            None\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Denominator Exception</td>\n                                    <td>\n                                        \n                                            <pre><code class=\"language-cql\">define \"Denominator Exceptions\":\n  exists \"Medical or Patient Reason for Not Communicating Level of Severity of Retinopathy\"\n    or exists \"Medical or Patient Reason for Not Communicating Absence of Macular Edema\"\n    or exists \"Medical or Patient Reason for Not Communicating Presence of Macular Edema\"</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                \n                            \n                            </tr>\n                        </table>\n                \n\n                <table class=\"grid-dict\">\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </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>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Sex\":\n  case\n      when Patient.gender = 'male' then \"M\"\n      when Patient.gender = 'female' then \"F\"\n      else null\n    end</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>SDE Sex</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Sex\":\n  SDE.\"SDE Sex\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Qualifying Encounter During Measurement Period</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Qualifying Encounter During Measurement Period\":\n  ( [\"Encounter\": \"Office Visit\"]\n    union [\"Encounter\": \"Ophthalmological Services\"]\n    union [\"Encounter\": \"Outpatient Consultation\"]\n    union [\"Encounter\": \"Care Services in Long-Term Residential Facility\"]\n    union [\"Encounter\": \"Nursing Facility Visit\"] ) QualifyingEncounter\n    where QualifyingEncounter.period during \"Measurement Period\"\n      and QualifyingEncounter.status = 'finished'\n      and QualifyingEncounter.class !~ \"virtual\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Diabetic Retinopathy Encounter</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Diabetic Retinopathy Encounter\":\n  \"Qualifying Encounter During Measurement Period\" ValidQualifyingEncounter\n    with [\"Condition\": \"Diabetic Retinopathy\"] DiabeticRetinopathy\n      such that DiabeticRetinopathy.prevalenceInterval ( ) overlaps ValidQualifyingEncounter.period\n        and DiabeticRetinopathy.isActive ( )\n        and not ( DiabeticRetinopathy.verificationStatus ~ QICoreCommon.\"unconfirmed\"\n            or DiabeticRetinopathy.verificationStatus ~ QICoreCommon.\"refuted\"\n            or DiabeticRetinopathy.verificationStatus ~ QICoreCommon.\"entered-in-error\"\n        )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Level of Severity of Retinopathy Findings Communicated</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Level of Severity of Retinopathy Findings Communicated\":\n  [\"Communication\": \"Level of Severity of Retinopathy Findings\"] LevelOfSeverityCommunicated\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that LevelOfSeverityCommunicated.sent after start of EncounterDiabeticRetinopathy.period\n    where LevelOfSeverityCommunicated.status = 'completed'</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Macular Edema Absence Communicated</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Macular Edema Absence Communicated\":\n  [\"Communication\": \"Macular edema absent (situation)\"] MacularEdemaAbsentCommunicated\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that MacularEdemaAbsentCommunicated.sent after start of EncounterDiabeticRetinopathy.period\n    where MacularEdemaAbsentCommunicated.status = 'completed'</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Macular Edema Presence Communicated</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Macular Edema Presence Communicated\":\n  [\"Communication\": \"Macular Edema Findings Present\"] MacularEdemaPresentCommunicated\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that MacularEdemaPresentCommunicated.sent after start of EncounterDiabeticRetinopathy.period\n    where MacularEdemaPresentCommunicated.status = 'completed'</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Numerator</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Numerator\":\n  exists \"Level of Severity of Retinopathy Findings Communicated\"\n    and ( exists \"Macular Edema Absence Communicated\"\n        or exists \"Macular Edema Presence Communicated\"\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Initial Population</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Initial Population\":\n  AgeInYearsAt(date from start of \"Measurement Period\") &gt;= 18\n    and exists \"Diabetic Retinopathy Encounter\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Macular Exam Performed</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Macular Exam Performed\":\n  [\"Observation\": \"Macular Exam\"] MacularExam\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that MacularExam.effective.toInterval ( ) during EncounterDiabeticRetinopathy.period\n    where MacularExam.value is not null\n      and MacularExam.status in { 'final', 'amended', 'corrected', 'preliminary' }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Denominator</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Denominator\":\n  \"Initial Population\"\n    and exists \"Macular Exam Performed\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </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>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Payer\":\n  [Coverage: type in \"Payer Type\"] Payer\n    return {\n      code: Payer.type,\n      period: Payer.period\n    }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>SDE Payer</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Payer\":\n  SDE.\"SDE Payer\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </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>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Ethnicity\":\n  Patient.ethnicity E\n    return Tuple {\n      codes: { E.ombCategory } union E.detailed,\n      display: E.text\n    }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>SDE Ethnicity</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Ethnicity\":\n  SDE.\"SDE Ethnicity\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </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>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Race\":\n  Patient.race R\n    return Tuple {\n      codes: R.ombCategory union R.detailed,\n      display: R.text\n    }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>SDE Race</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Race\":\n  SDE.\"SDE Race\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Medical or Patient Reason for Not Communicating Level of Severity of Retinopathy</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Medical or Patient Reason for Not Communicating Level of Severity of Retinopathy\":\n  [CommunicationNotDone: \"Level of Severity of Retinopathy Findings\"] LevelOfSeverityNotCommunicated\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that LevelOfSeverityNotCommunicated.recorded during EncounterDiabeticRetinopathy.period\n    where ( LevelOfSeverityNotCommunicated.statusReason in \"Medical Reason\"\n        or LevelOfSeverityNotCommunicated.statusReason in \"Patient Reason\"\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Medical or Patient Reason for Not Communicating Absence of Macular Edema</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/* Note: \nbelow definition workaround for \nhttps://oncprojectracking.healthit.gov/support/browse/CQLIT-371. Using value set workaround has been applied for now\nbut when QI Core STU 5 gets in the tool, it may be reverted back to a DRC */\n\n\ndefine \"Medical or Patient Reason for Not Communicating Absence of Macular Edema\":\n  [CommunicationNotDone: \"Macular edema absent (situation)\"] MacularEdemaAbsentNotCommunicated\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that MacularEdemaAbsentNotCommunicated.recorded during EncounterDiabeticRetinopathy.period\n    where ( MacularEdemaAbsentNotCommunicated.statusReason in \"Medical Reason\"\n        or MacularEdemaAbsentNotCommunicated.statusReason in \"Patient Reason\"\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Medical or Patient Reason for Not Communicating Presence of Macular Edema</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Medical or Patient Reason for Not Communicating Presence of Macular Edema\":\n  [CommunicationNotDone: \"Macular Edema Findings Present\"] MacularEdemaPresentNotCommunicated\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that MacularEdemaPresentNotCommunicated.recorded during EncounterDiabeticRetinopathy.period\n    where ( MacularEdemaPresentNotCommunicated.statusReason in \"Medical Reason\"\n        or MacularEdemaPresentNotCommunicated.statusReason in \"Patient Reason\"\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DRCommunicationWithPhysicianManagingDiabetesFHIR</td>\n                            \n                            \n                                <td>Denominator Exceptions</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Denominator Exceptions\":\n  exists \"Medical or Patient Reason for Not Communicating Level of Severity of Retinopathy\"\n    or exists \"Medical or Patient Reason for Not Communicating Absence of Macular Edema\"\n    or exists \"Medical or Patient Reason for Not Communicating Presence of Macular Edema\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>QICoreCommon</td>\n                            \n                            \n                                <td>prevalenceInterval</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Returns an interval representing the normalized prevalence period of a given Condition.\n@comment: Uses the ToInterval and ToAbatementInterval functions to determine the widest potential interval from\nonset to abatement as specified in the given Condition. If the condition is active, the resulting interval will have\na closed ending boundary. If the condition is not active, the resulting interval will have an open ending boundary.\n*/\ndefine fluent function prevalenceInterval(condition Condition):\nif condition.clinicalStatus ~ \"active\"\n  or condition.clinicalStatus ~ \"recurrence\"\n  or condition.clinicalStatus ~ \"relapse\" then\n  Interval[start of condition.onset.toInterval(), end of condition.abatementInterval()]\nelse\n  Interval[start of condition.onset.toInterval(), end of condition.abatementInterval())</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>QICoreCommon</td>\n                            \n                            \n                                <td>isActive</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/* Candidates for FHIRCommon */\n\n/*\n@description: Returns true if the given condition has a clinical status of active, recurrence, or relapse\n*/\ndefine fluent function isActive(condition Condition):\n  condition.clinicalStatus ~ \"active\"\n    or condition.clinicalStatus ~ \"recurrence\"\n    or condition.clinicalStatus ~ \"relapse\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>QICoreCommon</td>\n                            \n                            \n                                <td>toInterval</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Normalizes a value that is a choice of timing-valued types to an equivalent interval\n@comment: Normalizes a choice type of DateTime, Quanitty, Interval&lt;DateTime&gt;, or Interval&lt;Quantity&gt; types\nto an equivalent interval. This selection of choice types is a superset of the majority of choice types that are used as possible\nrepresentations for timing-valued elements in QICore, allowing this function to be used across any resource.\nThe input can be provided as a DateTime, Quantity, Interval&lt;DateTime&gt; or Interval&lt;Quantity&gt;.\nThe intent of this function is to provide a clear and concise mechanism to treat single\nelements that have multiple possible representations as intervals so that logic doesn't have to account\nfor the variability. More complex calculations (such as medication request period or dispense period\ncalculation) need specific guidance and consideration. That guidance may make use of this function, but\nthe focus of this function is on single element calculations where the semantics are unambiguous.\nIf the input is a DateTime, the result a DateTime Interval beginning and ending on that DateTime.\nIf the input is a Quantity, the quantity is expected to be a calendar-duration interpreted as an Age,\nand the result is a DateTime Interval beginning on the Date the patient turned that age and ending immediately before one year later.\nIf the input is a DateTime Interval, the result is the input.\nIf the input is a Quantity Interval, the quantities are expected to be calendar-durations interpreted as an Age, and the result\nis a DateTime Interval beginning on the date the patient turned the age given as the start of the quantity interval, and ending\nimmediately before one year later than the date the patient turned the age given as the end of the quantity interval.\nAny other input will reslt in a null DateTime Interval\n*/\ndefine fluent function toInterval(choice Choice&lt;DateTime, Quantity, Interval&lt;DateTime&gt;, Interval&lt;Quantity&gt;&gt;):\n  case\n	  when choice is DateTime then\n    	Interval[choice as DateTime, choice as DateTime]\n		when choice is Interval&lt;DateTime&gt; then\n  		choice as Interval&lt;DateTime&gt;\n		when choice is Quantity then\n		  Interval[Patient.birthDate + (choice as Quantity),\n			  Patient.birthDate + (choice as Quantity) + 1 year)\n		when choice is Interval&lt;Quantity&gt; then\n		  Interval[Patient.birthDate + (choice.low as Quantity),\n			  Patient.birthDate + (choice.high as Quantity) + 1 year)\n		else\n			null as Interval&lt;DateTime&gt;\n	end</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>FHIRHelpers</td>\n                            \n                            \n                                <td>ToString</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define function ToString(value uri): value.value</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>FHIRHelpers</td>\n                            \n                            \n                                <td>ToCode</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code.\n*/\ndefine function ToCode(coding FHIR.Coding):\n    if coding is null then\n        null\n    else\n        System.Code {\n          code: coding.code.value,\n          system: coding.system.value,\n          version: coding.version.value,\n          display: coding.display.value\n        }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                    </table>\n                </td>\n            </tr>\n            \n        \n    \n\n    </table>\n</div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:contained ( [
    a fhir:Library ;
    fhir:id [ fhir:v "effective-data-requirements" ] ;
        ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [
    fhir:v "http://hl7.org/fhir/v3/AdministrativeGender"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/v3/AdministrativeGender>         ] ;
    fhir:code [ fhir:v "M" ] ;
    fhir:display [ fhir:v "Male" ]       ]     ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [
    fhir:v "http://hl7.org/fhir/v3/AdministrativeGender"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/v3/AdministrativeGender>         ] ;
    fhir:code [ fhir:v "F" ] ;
    fhir:display [ fhir:v "Female" ]       ]     ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>         ] ;
    fhir:code [ fhir:v "VR" ] ;
    fhir:display [ fhir:v "virtual" ]       ]     ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/condition-clinical>         ] ;
    fhir:code [ fhir:v "active" ]       ]     ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/condition-clinical>         ] ;
    fhir:code [ fhir:v "recurrence" ]       ]     ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/condition-clinical>         ] ;
    fhir:code [ fhir:v "relapse" ]       ]     ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/condition-ver-status>         ] ;
    fhir:code [ fhir:v "unconfirmed" ]       ]     ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/condition-ver-status>         ] ;
    fhir:code [ fhir:v "refuted" ]       ]     ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
    fhir:value [
    a fhir:Coding ;
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/condition-ver-status>         ] ;
    fhir:code [ fhir:v "entered-in-error" ]       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "SupplementalDataElements"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "SDE Sex"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"SDE Sex\":\n  case\n      when Patient.gender = 'male' then \"M\"\n      when Patient.gender = 'female' then \"F\"\n      else null\n    end"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 0         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "SDE Sex"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"SDE Sex\":\n  SDE.\"SDE Sex\""         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 1         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Qualifying Encounter During Measurement Period"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"Qualifying Encounter During Measurement Period\":\n  ( [\"Encounter\": \"Office Visit\"]\n    union [\"Encounter\": \"Ophthalmological Services\"]\n    union [\"Encounter\": \"Outpatient Consultation\"]\n    union [\"Encounter\": \"Care Services in Long-Term Residential Facility\"]\n    union [\"Encounter\": \"Nursing Facility Visit\"] ) QualifyingEncounter\n    where QualifyingEncounter.period during \"Measurement Period\"\n      and QualifyingEncounter.status = 'finished'\n      and QualifyingEncounter.class !~ \"virtual\""         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 2         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Diabetic Retinopathy Encounter"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"Diabetic Retinopathy Encounter\":\n  \"Qualifying Encounter During Measurement Period\" ValidQualifyingEncounter\n    with [\"Condition\": \"Diabetic Retinopathy\"] DiabeticRetinopathy\n      such that DiabeticRetinopathy.prevalenceInterval ( ) overlaps ValidQualifyingEncounter.period\n        and DiabeticRetinopathy.isActive ( )\n        and not ( DiabeticRetinopathy.verificationStatus ~ QICoreCommon.\"unconfirmed\"\n            or DiabeticRetinopathy.verificationStatus ~ QICoreCommon.\"refuted\"\n            or DiabeticRetinopathy.verificationStatus ~ QICoreCommon.\"entered-in-error\"\n        )"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 3         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Level of Severity of Retinopathy Findings Communicated"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"Level of Severity of Retinopathy Findings Communicated\":\n  [\"Communication\": \"Level of Severity of Retinopathy Findings\"] LevelOfSeverityCommunicated\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that LevelOfSeverityCommunicated.sent after start of EncounterDiabeticRetinopathy.period\n    where LevelOfSeverityCommunicated.status = 'completed'"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 4         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Macular Edema Absence Communicated"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"Macular Edema Absence Communicated\":\n  [\"Communication\": \"Macular edema absent (situation)\"] MacularEdemaAbsentCommunicated\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that MacularEdemaAbsentCommunicated.sent after start of EncounterDiabeticRetinopathy.period\n    where MacularEdemaAbsentCommunicated.status = 'completed'"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 5         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Macular Edema Presence Communicated"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"Macular Edema Presence Communicated\":\n  [\"Communication\": \"Macular Edema Findings Present\"] MacularEdemaPresentCommunicated\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that MacularEdemaPresentCommunicated.sent after start of EncounterDiabeticRetinopathy.period\n    where MacularEdemaPresentCommunicated.status = 'completed'"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 6         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Numerator"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"Numerator\":\n  exists \"Level of Severity of Retinopathy Findings Communicated\"\n    and ( exists \"Macular Edema Absence Communicated\"\n        or exists \"Macular Edema Presence Communicated\"\n    )"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 7         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Initial Population"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"Initial Population\":\n  AgeInYearsAt(date from start of \"Measurement Period\") >= 18\n    and exists \"Diabetic Retinopathy Encounter\""         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 8         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Macular Exam Performed"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"Macular Exam Performed\":\n  [\"Observation\": \"Macular Exam\"] MacularExam\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that MacularExam.effective.toInterval ( ) during EncounterDiabeticRetinopathy.period\n    where MacularExam.value is not null\n      and MacularExam.status in { 'final', 'amended', 'corrected', 'preliminary' }"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 9         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Denominator"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"Denominator\":\n  \"Initial Population\"\n    and exists \"Macular Exam Performed\""         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 10         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "SupplementalDataElements"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "SDE Payer"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"SDE Payer\":\n  [Coverage: type in \"Payer Type\"] Payer\n    return {\n      code: Payer.type,\n      period: Payer.period\n    }"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 11         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "SDE Payer"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"SDE Payer\":\n  SDE.\"SDE Payer\""         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 12         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "SupplementalDataElements"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "SDE Ethnicity"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"SDE Ethnicity\":\n  Patient.ethnicity E\n    return Tuple {\n      codes: { E.ombCategory } union E.detailed,\n      display: E.text\n    }"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 13         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "SDE Ethnicity"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"SDE Ethnicity\":\n  SDE.\"SDE Ethnicity\""         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 14         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "SupplementalDataElements"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "SDE Race"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"SDE Race\":\n  Patient.race R\n    return Tuple {\n      codes: R.ombCategory union R.detailed,\n      display: R.text\n    }"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 15         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "SDE Race"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"SDE Race\":\n  SDE.\"SDE Race\""         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 16         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Medical or Patient Reason for Not Communicating Level of Severity of Retinopathy"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"Medical or Patient Reason for Not Communicating Level of Severity of Retinopathy\":\n  [CommunicationNotDone: \"Level of Severity of Retinopathy Findings\"] LevelOfSeverityNotCommunicated\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that LevelOfSeverityNotCommunicated.recorded during EncounterDiabeticRetinopathy.period\n    where ( LevelOfSeverityNotCommunicated.statusReason in \"Medical Reason\"\n        or LevelOfSeverityNotCommunicated.statusReason in \"Patient Reason\"\n    )"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 17         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Medical or Patient Reason for Not Communicating Absence of Macular Edema"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "/* Note: \nbelow definition workaround for \nhttps://oncprojectracking.healthit.gov/support/browse/CQLIT-371. Using value set workaround has been applied for now\nbut when QI Core STU 5 gets in the tool, it may be reverted back to a DRC */\n\n\ndefine \"Medical or Patient Reason for Not Communicating Absence of Macular Edema\":\n  [CommunicationNotDone: \"Macular edema absent (situation)\"] MacularEdemaAbsentNotCommunicated\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that MacularEdemaAbsentNotCommunicated.recorded during EncounterDiabeticRetinopathy.period\n    where ( MacularEdemaAbsentNotCommunicated.statusReason in \"Medical Reason\"\n        or MacularEdemaAbsentNotCommunicated.statusReason in \"Patient Reason\"\n    )"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 18         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Medical or Patient Reason for Not Communicating Presence of Macular Edema"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"Medical or Patient Reason for Not Communicating Presence of Macular Edema\":\n  [CommunicationNotDone: \"Macular Edema Findings Present\"] MacularEdemaPresentNotCommunicated\n    with \"Diabetic Retinopathy Encounter\" EncounterDiabeticRetinopathy\n      such that MacularEdemaPresentNotCommunicated.recorded during EncounterDiabeticRetinopathy.period\n    where ( MacularEdemaPresentNotCommunicated.statusReason in \"Medical Reason\"\n        or MacularEdemaPresentNotCommunicated.statusReason in \"Patient Reason\"\n    )"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 19         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Denominator Exceptions"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define \"Denominator Exceptions\":\n  exists \"Medical or Patient Reason for Not Communicating Level of Severity of Retinopathy\"\n    or exists \"Medical or Patient Reason for Not Communicating Absence of Macular Edema\"\n    or exists \"Medical or Patient Reason for Not Communicating Presence of Macular Edema\""         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 20         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "QICoreCommon"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "prevalenceInterval"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "/*\n@description: Returns an interval representing the normalized prevalence period of a given Condition.\n@comment: Uses the ToInterval and ToAbatementInterval functions to determine the widest potential interval from\nonset to abatement as specified in the given Condition. If the condition is active, the resulting interval will have\na closed ending boundary. If the condition is not active, the resulting interval will have an open ending boundary.\n*/\ndefine fluent function prevalenceInterval(condition Condition):\nif condition.clinicalStatus ~ \"active\"\n  or condition.clinicalStatus ~ \"recurrence\"\n  or condition.clinicalStatus ~ \"relapse\" then\n  Interval[start of condition.onset.toInterval(), end of condition.abatementInterval()]\nelse\n  Interval[start of condition.onset.toInterval(), end of condition.abatementInterval())"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 21         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "QICoreCommon"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "isActive"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "/* Candidates for FHIRCommon */\n\n/*\n@description: Returns true if the given condition has a clinical status of active, recurrence, or relapse\n*/\ndefine fluent function isActive(condition Condition):\n  condition.clinicalStatus ~ \"active\"\n    or condition.clinicalStatus ~ \"recurrence\"\n    or condition.clinicalStatus ~ \"relapse\""         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 22         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "QICoreCommon"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "toInterval"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "/*\n@description: Normalizes a value that is a choice of timing-valued types to an equivalent interval\n@comment: Normalizes a choice type of DateTime, Quanitty, Interval<DateTime>, or Interval<Quantity> types\nto an equivalent interval. This selection of choice types is a superset of the majority of choice types that are used as possible\nrepresentations for timing-valued elements in QICore, allowing this function to be used across any resource.\nThe input can be provided as a DateTime, Quantity, Interval<DateTime> or Interval<Quantity>.\nThe intent of this function is to provide a clear and concise mechanism to treat single\nelements that have multiple possible representations as intervals so that logic doesn't have to account\nfor the variability. More complex calculations (such as medication request period or dispense period\ncalculation) need specific guidance and consideration. That guidance may make use of this function, but\nthe focus of this function is on single element calculations where the semantics are unambiguous.\nIf the input is a DateTime, the result a DateTime Interval beginning and ending on that DateTime.\nIf the input is a Quantity, the quantity is expected to be a calendar-duration interpreted as an Age,\nand the result is a DateTime Interval beginning on the Date the patient turned that age and ending immediately before one year later.\nIf the input is a DateTime Interval, the result is the input.\nIf the input is a Quantity Interval, the quantities are expected to be calendar-durations interpreted as an Age, and the result\nis a DateTime Interval beginning on the date the patient turned the age given as the start of the quantity interval, and ending\nimmediately before one year later than the date the patient turned the age given as the end of the quantity interval.\nAny other input will reslt in a null DateTime Interval\n*/\ndefine fluent function toInterval(choice Choice<DateTime, Quantity, Interval<DateTime>, Interval<Quantity>>):\n  case\n	  when choice is DateTime then\n    	Interval[choice as DateTime, choice as DateTime]\n		when choice is Interval<DateTime> then\n  		choice as Interval<DateTime>\n		when choice is Quantity then\n		  Interval[Patient.birthDate + (choice as Quantity),\n			  Patient.birthDate + (choice as Quantity) + 1 year)\n		when choice is Interval<Quantity> then\n		  Interval[Patient.birthDate + (choice.low as Quantity),\n			  Patient.birthDate + (choice.high as Quantity) + 1 year)\n		else\n			null as Interval<DateTime>\n	end"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 23         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "FHIRHelpers"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "ToString"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "define function ToString(value uri): value.value"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 24         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
          ( fhir:extension [
    fhir:url [
    fhir:v "libraryName"^^xsd:anyURI ;
    fhir:l fhir:libraryName         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "FHIRHelpers"         ]       ] [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "ToCode"         ]       ] [
    fhir:url [
    fhir:v "statement"^^xsd:anyURI ;
    fhir:l fhir:statement         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "/*\n@description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code.\n*/\ndefine function ToCode(coding FHIR.Coding):\n    if coding is null then\n        null\n    else\n        System.Code {\n          code: coding.code.value,\n          system: coding.system.value,\n          version: coding.version.value,\n          display: coding.display.value\n        }"         ]       ] [
    fhir:url [
    fhir:v "displaySequence"^^xsd:anyURI ;
    fhir:l fhir:displaySequence         ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 25         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] ) ;
    fhir:status [ fhir:v "active" ] ;
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/library-type>         ] ;
    fhir:code [ fhir:v "module-definition" ]       ] )     ] ;
        ( fhir:relatedArtifact [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Library SDE" ] ;
    fhir:resource [
    fhir:v "http://ecqi.healthit.gov/ecqms/Library/SupplementalDataElements|3.4.000"^^xsd:anyURI ;
    fhir:l <http://ecqi.healthit.gov/ecqms/Library/SupplementalDataElements?version=3.4.000>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Library FHIRHelpers" ] ;
    fhir:resource [
    fhir:v "http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers|4.3.000"^^xsd:anyURI ;
    fhir:l <http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers?version=4.3.000>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Library QICoreCommon" ] ;
    fhir:resource [
    fhir:v "http://ecqi.healthit.gov/ecqms/Library/QICoreCommon|1.5.000"^^xsd:anyURI ;
    fhir:l <http://ecqi.healthit.gov/ecqms/Library/QICoreCommon?version=1.5.000>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Code system AdministrativeGender" ] ;
    fhir:resource [
    fhir:v "http://hl7.org/fhir/v3/AdministrativeGender"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/v3/AdministrativeGender>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Code system ActCode" ] ;
    fhir:resource [
    fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Code system ConditionClinicalStatusCodes" ] ;
    fhir:resource [
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/condition-clinical>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Code system ConditionVerificationStatusCodes" ] ;
    fhir:resource [
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/condition-ver-status>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Level of Severity of Retinopathy Findings" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1283"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1283>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Office Visit" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Ophthalmological Services" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1285"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1285>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Outpatient Consultation" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1008"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1008>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Care Services in Long-Term Residential Facility" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Nursing Facility Visit" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Diabetic Retinopathy" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.327"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.327>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Macular edema absent (situation)" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1391"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1391>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Macular Edema Findings Present" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1320"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1320>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Macular Exam" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1251"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1251>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Payer Type" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Medical Reason" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007>       ]     ] [
    fhir:type [ fhir:v "depends-on" ] ;
    fhir:display [ fhir:v "Value set Patient Reason" ] ;
    fhir:resource [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1008"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1008>       ]     ] ) ;
        ( fhir:parameter [
    fhir:name [ fhir:v "Measurement Period" ] ;
    fhir:use [ fhir:v "in" ] ;
    fhir:min [ fhir:v 0 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "Period" ]     ] [
    fhir:name [ fhir:v "SDE Sex" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 0 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "Coding" ]     ] [
    fhir:name [ fhir:v "Numerator" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 0 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "boolean" ]     ] [
    fhir:name [ fhir:v "Denominator" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 0 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "boolean" ]     ] [
    fhir:name [ fhir:v "SDE Payer" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 0 ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:type [ fhir:v "Resource" ]     ] [
    fhir:name [ fhir:v "Initial Population" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 0 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "boolean" ]     ] [
    fhir:name [ fhir:v "SDE Ethnicity" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 0 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "Resource" ]     ] [
    fhir:name [ fhir:v "SDE Race" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 0 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "Resource" ]     ] [
    fhir:name [ fhir:v "Denominator Exceptions" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 0 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:type [ fhir:v "boolean" ]     ] ) ;
        ( fhir:dataRequirement [
    fhir:type [ fhir:v "Patient" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>       ] ) ;
          ( fhir:mustSupport [ fhir:v "ethnicity" ] [ fhir:v "race" ] )     ] [
    fhir:type [ fhir:v "Encounter" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>       ] ) ;
          ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "class" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "type" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001>         ]       ] )     ] [
    fhir:type [ fhir:v "Encounter" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>       ] ) ;
          ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "class" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "type" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1285"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1285>         ]       ] )     ] [
    fhir:type [ fhir:v "Encounter" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>       ] ) ;
          ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "class" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "type" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1008"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1008>         ]       ] )     ] [
    fhir:type [ fhir:v "Encounter" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>       ] ) ;
          ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "class" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "type" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014>         ]       ] )     ] [
    fhir:type [ fhir:v "Encounter" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>       ] ) ;
          ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "class" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "type" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012>         ]       ] )     ] [
    fhir:type [ fhir:v "Condition" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
          ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "verificationStatus" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "code" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.327"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.327>         ]       ] )     ] [
    fhir:type [ fhir:v "Communication" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communication"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communication>       ] ) ;
          ( fhir:mustSupport [ fhir:v "reasonCode" ] [ fhir:v "sent" ] [ fhir:v "sent.value" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "reasonCode" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1283"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1283>         ]       ] [
    fhir:path [ fhir:v "status.value" ] ;
            ( fhir:code [
    fhir:code [ fhir:v "completed" ]         ] )       ] )     ] [
    fhir:type [ fhir:v "Communication" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communication"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communication>       ] ) ;
          ( fhir:mustSupport [ fhir:v "reasonCode" ] [ fhir:v "sent" ] [ fhir:v "sent.value" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "reasonCode" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1391"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1391>         ]       ] [
    fhir:path [ fhir:v "status.value" ] ;
            ( fhir:code [
    fhir:code [ fhir:v "completed" ]         ] )       ] )     ] [
    fhir:type [ fhir:v "Communication" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communication"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communication>       ] ) ;
          ( fhir:mustSupport [ fhir:v "reasonCode" ] [ fhir:v "sent" ] [ fhir:v "sent.value" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "reasonCode" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1320"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1320>         ]       ] [
    fhir:path [ fhir:v "status.value" ] ;
            ( fhir:code [
    fhir:code [ fhir:v "completed" ]         ] )       ] )     ] [
    fhir:type [ fhir:v "Observation" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation>       ] ) ;
          ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "value" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "code" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1251"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1251>         ]       ] )     ] [
    fhir:type [ fhir:v "Coverage" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage>       ] ) ;
          ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "type" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>         ]       ] )     ] [
    fhir:type [ fhir:v "Communication" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone>       ] ) ;
          ( fhir:mustSupport [ fhir:v "reasonCode" ] [ fhir:v "extension" ] [ fhir:v "statusReason" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "reasonCode" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1283"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1283>         ]       ] )     ] [
    fhir:type [ fhir:v "Communication" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone>       ] ) ;
          ( fhir:mustSupport [ fhir:v "reasonCode" ] [ fhir:v "extension" ] [ fhir:v "statusReason" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "reasonCode" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1283"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1283>         ]       ] )     ] [
    fhir:type [ fhir:v "Communication" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone>       ] ) ;
          ( fhir:mustSupport [ fhir:v "reasonCode" ] [ fhir:v "extension" ] [ fhir:v "statusReason" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "reasonCode" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1391"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1391>         ]       ] )     ] [
    fhir:type [ fhir:v "Communication" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone>       ] ) ;
          ( fhir:mustSupport [ fhir:v "reasonCode" ] [ fhir:v "extension" ] [ fhir:v "statusReason" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "reasonCode" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1391"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1391>         ]       ] )     ] [
    fhir:type [ fhir:v "Communication" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone>       ] ) ;
          ( fhir:mustSupport [ fhir:v "reasonCode" ] [ fhir:v "extension" ] [ fhir:v "statusReason" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "reasonCode" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1320"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1320>         ]       ] )     ] [
    fhir:type [ fhir:v "Communication" ] ;
          ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone>       ] ) ;
          ( fhir:mustSupport [ fhir:v "reasonCode" ] [ fhir:v "extension" ] [ fhir:v "statusReason" ] ) ;
          ( fhir:codeFilter [
    fhir:path [ fhir:v "reasonCode" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1320"^^xsd:anyURI ;
    fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1320>         ]       ] )     ] )
      ] ) ; #
      fhir:extension ( [
    fhir:id [ fhir:v "supplementalDataGuidance" ] ;
        ( fhir:extension [
    fhir:url [
    fhir:v "guidance"^^xsd:anyURI ;
    fhir:l fhir:guidance       ]     ] [
    fhir:url [
    fhir:v "usage"^^xsd:anyURI ;
    fhir:l fhir:usage       ] ;
    fhir:value [
    a fhir:CodeableConcept ;
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>           ] ;
    fhir:code [ fhir:v "supplemental-data" ] ;
    fhir:display [ fhir:v "Supplemental Data" ]         ] ) ;
    fhir:text [ fhir:v "Supplemental Data Guidance" ]       ]     ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance>     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem>     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:l fhir:Device/cqf-tooling ;
    fhir:reference [ fhir:v "Device/cqf-tooling" ]     ]
      ] [
    fhir:id [ fhir:v "effective-data-requirements" ] ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements>     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:l <#effective-data-requirements> ;
    fhir:reference [ fhir:v "#effective-data-requirements" ]     ]
      ] ) ; #
      fhir:url [
    fhir:v "http://ecqi.healthit.gov/ecqms/Measure/DRCommunicationWithPhysicianManagingDiabetesFHIR"^^xsd:anyURI ;
    fhir:l <http://ecqi.healthit.gov/ecqms/Measure/DRCommunicationWithPhysicianManagingDiabetesFHIR>
      ] ; #
      fhir:identifier ( [
    fhir:use [ fhir:v "usual" ] ;
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
    fhir:code [ fhir:v "short-name" ]       ] )     ] ;
    fhir:system [
    fhir:v "https://madie.cms.gov/measure/shortName"^^xsd:anyURI ;
    fhir:l <https://madie.cms.gov/measure/shortName>     ] ;
    fhir:value [ fhir:v "CMS142FHIR" ]
      ] [
    fhir:use [ fhir:v "official" ] ;
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
    fhir:code [ fhir:v "version-independent" ]       ] )     ] ;
    fhir:system [
    fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
    fhir:l <urn:ietf:rfc:3986>     ] ;
    fhir:value [ fhir:v "urn:uuid:0f55e61f-dc17-4fe4-a604-7f030260618f" ]
      ] [
    fhir:use [ fhir:v "official" ] ;
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
    fhir:code [ fhir:v "version-specific" ]       ] )     ] ;
    fhir:system [
    fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
    fhir:l <urn:ietf:rfc:3986>     ] ;
    fhir:value [ fhir:v "urn:uuid:c2a33022-8d8d-426b-ae12-9bfd9afbdb82" ]
      ] [
    fhir:use [ fhir:v "official" ] ;
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
    fhir:code [ fhir:v "publisher" ]       ] )     ] ;
    fhir:system [
    fhir:v "https://madie.cms.gov/measure/cmsId"^^xsd:anyURI ;
    fhir:l <https://madie.cms.gov/measure/cmsId>     ] ;
    fhir:value [ fhir:v "142FHIR" ] ;
    fhir:assigner [
    fhir:display [ fhir:v "CMS" ]     ]
      ] ) ; #
      fhir:version [ fhir:v "0.0.004"] ; #
      fhir:name [ fhir:v "DRCommunicationWithPhysicianManagingDiabetesFHIR"] ; #
      fhir:title [ fhir:v "Diabetic Retinopathy: Communication with the Physician Managing Ongoing Diabetes CareFHIR"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:experimental [ fhir:v false] ; #
      fhir:date [ fhir:v "2023-10-27T08:12:31+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "American Academy of Ophthalmology"] ; #
      fhir:contact ( [
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "www.aao.org" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "Percentage of patients aged 18 years and older with a diagnosis of diabetic retinopathy who had a dilated macular or fundus exam performed with documented communication to the physician who manages the ongoing care of the patient with diabetes mellitus regarding the findings of the macular or fundus exam at least once during the measurement period."] ; #
      fhir:purpose [ fhir:v "UNKNOWN"] ; #
      fhir:usage [ fhir:v "The measure, as written, does not specifically require documentation of laterality. Coding limitations in particular clinical terminologies do not currently allow for that level of specificity (ICD-10-CM includes laterality, but SNOMED-CT does not uniformly include this distinction). Therefore, at this time, it is not a requirement of this measure to indicate laterality of the diagnoses, findings or procedures. Available coding to capture the data elements specified in this measure has been provided. It is assumed that the eligible clinician will record laterality in the patient medical record, as quality care and clinical documentation should include laterality.\n\nThe communication of results to the primary care physician providing ongoing care of a patient's diabetes should be completed soon after the dilated exam is performed. Eligible clinicians reporting on this measure should note that all data for the reporting year is to be submitted by the deadline established by CMS. Therefore, eligible clinicians who see patients towards the end of the reporting period (i.e., December in particular), should communicate the results of the dilated macular exam as soon as possible in order for those patients to be counted in the measure numerator. Communicating the results as soon as possible after the date of the exam will ensure the data are included in the submission to CMS.\n\nThis eCQM is a patient-based measure.\n\nTelehealth encounters are not eligible for this measure because the measure requires a clinical action that cannot be conducted via telehealth.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS142v12.\n\nPlease refer to the HL7 QI-Core Implementation Guide (http://hl7.org/fhir/us/qicore/index.html) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (http://hl7.org/fhir/us/qicore/qdm-to-qicore.html)."] ; #
      fhir:copyright [ fhir:v "Copyright 2023 American Academy of Ophthalmology. All Rights Reserved."] ; #
      fhir:approvalDate [ fhir:v "2023-08-14"^^xsd:date] ; #
      fhir:lastReviewDate [ fhir:v "2023-08-14"^^xsd:date] ; #
      fhir:effectivePeriod [
    fhir:start [ fhir:v "2024-01-01"^^xsd:date ] ;
    fhir:end [ fhir:v "2024-12-31"^^xsd:date ]
      ] ; #
      fhir:author ( [
    fhir:name [ fhir:v "American Academy of Ophthalmology" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "www.aao.org" ]     ] )
      ] [
    fhir:name [ fhir:v "American Medical Association (AMA)" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://www.ama-assn.org/" ]     ] )
      ] ) ; #
      fhir:library ( [
    fhir:v "http://ecqi.healthit.gov/ecqms/Library/DRCommunicationWithPhysicianManagingDiabetesFHIR"^^xsd:anyURI ;
    fhir:l <http://ecqi.healthit.gov/ecqms/Library/DRCommunicationWithPhysicianManagingDiabetesFHIR>
      ] ) ; #
      fhir:disclaimer [ fhir:v "The Measure is not a clinical guideline, does not establish a standard of medical care, and has not been tested for all potential applications. \n\nThe Measure, while copyrighted, can be reproduced and distributed, without modification, for noncommercial purposes, e.g., use by health care providers in connection with their practices. Commercial use is defined as the sale, license, or distribution of the Measure for commercial gain, or incorporation of the Measure into a product or service that is sold, licensed or distributed for commercial gain. \n\nCommercial uses of the Measure require a license agreement between the user and the American Academy of Ophthalmology (Academy). Neither the Academy, its members, the American Medical Association (AMA), nor the former AMA-convened Physician Consortium for Performance Improvement(R) (AMA-PCPI), nor PCPI, nor their members shall be responsible for any use of the Measure.\n\nThe PCPI’s and AMA’s significant past efforts and contributions to the development and updating of the Measures are acknowledged. The National Committee for Quality Assurance's significant past efforts and contributions to the development and updating of the Measure is acknowledged. \n\nTHE MEASURE AND SPECIFICATIONS ARE PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND.\n\nLimited proprietary coding is contained in the Measure specifications for convenience. A license agreement must be entered prior to a third party’s use of Current Procedural Terminology (CPT[R]) or other proprietary code set contained in the Measures. Any other use of CPT or other coding by the third party is strictly prohibited. The Academy, the AMA, and former members of the PCPI disclaim all liability for use or accuracy of any CPT or other coding contained in the specifications. \n\nCPT(R) contained in the Measure specifications is copyright 2004-2022 American Medical Association. LOINC(R) is copyright 2004-2022 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2022 International Health Terminology Standards Development Organisation. ICD-10 is copyright 2022 World Health Organization. All Rights Reserved.\n\nDue to technical limitations, registered trademarks are indicated by (R) or [R]."] ; #
      fhir:rationale [ fhir:v "Diabetic retinopathy is a prevalent complication of diabetes, estimated to affect 28.5% of diabetic patients in the US (Zhang et al., 2010). Diabetic retinopathy is a key indicator of systemic complications of diabetes (Zhang et al., 2010). Coordination of care between the eye care specialist and the physician managing a patient’s ongoing diabetes care is essential in stemming the progression of vision loss. Communication from the eye care specialist to a primary care physician facilitates the exchange of information about the severity and progression of a patient’s diabetic retinopathy, adherence to recommended ocular care, need for follow-up visits, and treatment plans (Storey et al., 2016). Data from the Diabetes Control and Complications Trial showed that diabetic treatment and maintenance of glucose control delays the onset and slows the progression of diabetic retinopathy (Aiello & DCCT/EDIC Research Group, 2014)."] ; #
      fhir:clinicalRecommendationStatement [ fhir:v "The ophthalmologist should refer patients with diabetes to a primary care physician for appropriate management of their systemic condition and should communicate examination results to the physician managing the patient's ongoing diabetes care (III; Good Quality; Strong Recommendation) (Flaxel et al., 2020).\n\nOphthalmologists should communicate the ophthalmologic findings and level of retinopathy with the primary care physician as well as the need for optimizing metabolic control (III; Good Quality; Strong Recommendation) (Flaxel et al,, 2020). \n\nClose partnership with the primary care physician is important to make sure that the care of the patient is optimized (III; Good Quality; Strong Recommendation) (Flaxel et al., 2020)."] ; #
      fhir:group ( [
    fhir:id [ fhir:v "645a7029beb771640fc4cc37" ] ;
        ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring>       ] ;
    fhir:value [
    a fhir:CodeableConcept ;
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-scoring"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-scoring>           ] ;
    fhir:code [ fhir:v "proportion" ] ;
    fhir:display [ fhir:v "Proportion" ]         ] )       ]     ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis>       ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "boolean"       ]     ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type>       ] ;
    fhir:value [
    a fhir:CodeableConcept ;
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-type>           ] ;
    fhir:code [ fhir:v "outcome" ] ;
    fhir:display [ fhir:v "Outcome" ]         ] )       ]     ] ) ;
        ( fhir:population [
    fhir:id [ fhir:v "716D9EB9-48AD-4D92-B67C-CF6985DF631E" ] ;
    fhir:code [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
    fhir:code [ fhir:v "initial-population" ] ;
    fhir:display [ fhir:v "Initial Population" ]         ] )       ] ;
    fhir:description [ fhir:v "All patients aged 18 years and older with a diagnosis of diabetic retinopathy" ] ;
    fhir:criteria [
    fhir:language [ fhir:v "text/cql-identifier" ] ;
    fhir:expression [ fhir:v "Initial Population" ]       ]     ] [
    fhir:id [ fhir:v "8CEF1065-41F1-4AF8-B0C0-415F31E3F0CB" ] ;
    fhir:code [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
    fhir:code [ fhir:v "denominator" ] ;
    fhir:display [ fhir:v "Denominator" ]         ] )       ] ;
    fhir:description [ fhir:v "Equals Initial Population who had a dilated macular or fundus exam performed" ] ;
    fhir:criteria [
    fhir:language [ fhir:v "text/cql-identifier" ] ;
    fhir:expression [ fhir:v "Denominator" ]       ]     ] [
    fhir:id [ fhir:v "2682b2c5-083d-4b56-9746-75f66d46778f" ] ;
    fhir:code [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
    fhir:code [ fhir:v "denominator-exclusion" ] ;
    fhir:display [ fhir:v "Denominator Exclusion" ]         ] )       ] ;
    fhir:criteria [
    fhir:language [ fhir:v "text/cql-identifier" ]       ]     ] [
    fhir:id [ fhir:v "60B3780B-77DA-4908-8D2E-32759767D3A1" ] ;
    fhir:code [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
    fhir:code [ fhir:v "numerator" ] ;
    fhir:display [ fhir:v "Numerator" ]         ] )       ] ;
    fhir:description [ fhir:v "Patients with documentation, at least once within the measurement period, of the findings of the dilated macular or fundus exam via communication to the physician who manages the patient's diabetic care" ] ;
    fhir:criteria [
    fhir:language [ fhir:v "text/cql-identifier" ] ;
    fhir:expression [ fhir:v "Numerator" ]       ]     ] [
    fhir:id [ fhir:v "75a7b945-33d1-4d8f-a195-9ae8c7e82d01" ] ;
    fhir:code [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
    fhir:code [ fhir:v "numerator-exclusion" ] ;
    fhir:display [ fhir:v "Numerator Exclusion" ]         ] )       ] ;
    fhir:criteria [
    fhir:language [ fhir:v "text/cql-identifier" ]       ]     ] [
    fhir:id [ fhir:v "263226A4-54BD-43A7-8C11-30D202F4291D" ] ;
    fhir:code [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
    fhir:code [ fhir:v "denominator-exception" ] ;
    fhir:display [ fhir:v "Denominator Exception" ]         ] )       ] ;
    fhir:description [ fhir:v "Documentation of medical reason(s) for not communicating the findings of the dilated macular or fundus exam to the physician who manages the ongoing care of the patient with diabetes.\n\nDocumentation of patient reason(s) for not communicating the findings of the dilated macular or fundus exam to the physician who manages the ongoing care of the patient with diabetes." ] ;
    fhir:criteria [
    fhir:language [ fhir:v "text/cql-identifier" ] ;
    fhir:expression [ fhir:v "Denominator Exceptions" ]       ]     ] )
      ] ) ; #
      fhir:supplementalData ( [
    fhir:id [ fhir:v "sde-ethnicity" ] ;
        ( fhir:usage [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>         ] ;
    fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
    fhir:description [ fhir:v "SDE Ethnicity" ] ;
    fhir:criteria [
    fhir:language [ fhir:v "text/cql-identifier" ] ;
    fhir:expression [ fhir:v "SDE Ethnicity" ]     ]
      ] [
    fhir:id [ fhir:v "sde-payer" ] ;
        ( fhir:usage [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>         ] ;
    fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
    fhir:description [ fhir:v "SDE Payer" ] ;
    fhir:criteria [
    fhir:language [ fhir:v "text/cql-identifier" ] ;
    fhir:expression [ fhir:v "SDE Payer" ]     ]
      ] [
    fhir:id [ fhir:v "sde-race" ] ;
        ( fhir:usage [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>         ] ;
    fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
    fhir:description [ fhir:v "SDE Race" ] ;
    fhir:criteria [
    fhir:language [ fhir:v "text/cql-identifier" ] ;
    fhir:expression [ fhir:v "SDE Race" ]     ]
      ] [
    fhir:id [ fhir:v "sde-sex" ] ;
        ( fhir:usage [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>         ] ;
    fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
    fhir:description [ fhir:v "SDE Sex" ] ;
    fhir:criteria [
    fhir:language [ fhir:v "text/cql-identifier" ] ;
    fhir:expression [ fhir:v "SDE Sex" ]     ]
      ] ) . #