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
| Draft as of 2023-08-17 |
@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 "SafeUseofOpioidsConcurrentPrescribingFHIR"] ; # 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;\">Safe Use of Opioids - Concurrent PrescribingFHIR</td>\n </tr>\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Id: </b></th>\n <td style=\"padding-left: 4px;\">SafeUseofOpioidsConcurrentPrescribingFHIR</td>\n </tr>\n \n <tr>\n <th scope=\"row\"><b>Download cql: </b></th>\n <td style=\"padding-left: 4px;\"><a href=\"Library-SafeUseofOpioidsConcurrentPrescribingFHIR.cql\">SafeUseofOpioidsConcurrentPrescribingFHIR.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.1.000</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-SafeUseofOpioidsConcurrentPrescribingFHIR.html\">Safe Use of Opioids - Concurrent PrescribingFHIR</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>CMS506FHIR</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:95d529af-66b4-4cfd-bc1f-f43704dc47ad</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:4adc0abd-6de0-42e7-ab1a-37f53d3ddd1f</span>\n </p>\n \n </td>\n </tr>\n \n <tr>\n <th scope=\"row\">\n <b>\n \n \n endorser (NQF) identifier:\n \n \n </b>\n </th>\n\n <td style=\"padding-left: 4px;\">\n \n <p style=\"margin-bottom: 5px;\">\n <span>3316e</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>506FHIR</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-08-17 18:49:02+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-18</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-18</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Name: </b></th>\n <td style=\"padding-left: 4px;\">SafeUseofOpioidsConcurrentPrescribingFHIR</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Publisher: </b></th>\n <td style=\"padding-left: 4px;\">Centers for Medicare & Medicaid Services (CMS)</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Author: </b></th>\n <td style=\"padding-left: 4px;\">Mathematica: <a href=\"https://www.mathematica.org/\">https://www.mathematica.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>Proportion of inpatient hospitalizations for patients 18 years of age and older prescribed, or continued on, two or more opioids or an opioid and benzodiazepine concurrently at discharge</p>\n</div></td>\n </tr>\n \n\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Use Context: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n <tr>\n <th><b>code</b></th>\n <th><b>value</b></th>\n </tr>\n \n <tr>\n <td>program</td>\n <td/>\n </tr>\n \n </table>\n </td>\n </tr>\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>Limited proprietary coding is contained in the Measure specifications for user convenience. Users of proprietary code sets should obtain all necessary licenses from the owners of the code sets. Mathematica disclaims all liability for use or accuracy of any third party codes contained in the specifications.</p>\n<p>CPT(R) contained in the measure specifications is copyright 2004-2022 American Medical Association. LOINC(R) 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 copyright 2022 World Health Organization. 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>These performance measures are not clinical guidelines, do not establish a standard of medical care, and have not been tested for all potential applications.</p>\n<p>THE MEASURES AND SPECIFICATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND.</p>\n<p>Due to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM].</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>Unintentional opioid overdose fatalities have become a major public health concern in the United States (Rudd et al., 2016). Reducing the number of unintentional overdoses has become a priority for numerous federal organizations including, but not limited to, the Centers for Disease Control and Prevention (CDC), the Federal Interagency Workgroup for Opioid Adverse Drug Events, and the Substance Abuse and Mental Health Services Administration.</p>\n<p>Concurrent prescriptions of opioids or opioids and benzodiazepines places patients at a greater risk of unintentional overdose due to the increased risk of respiratory depression (Dowell, Haegerich, & Chou, 2016 and Dowell, Ragan, Jones, Baldwin, & Chou, 2022). An analysis of national prescribing patterns shows that more than half of patients who received an opioid prescription in 2009 had filled another opioid prescription within the previous 30 days (National Institute on Drug Abuse, 2011). Studies of multiple claims and prescription databases have shown that between 5%-15% of patients receive concurrent opioid prescriptions and 5%-20% of patients receive concurrent opioid and benzodiazepine prescriptions across various settings (Liu et al., 2013; Mack et al., 2015, Park et al., 2015). Patients who have multiple opioid prescriptions have an increased risk for overdose (Jena et al., 2014). Rates of fatal overdose are ten times higher in patients who are co-dispensed opioid analgesics and benzodiazepines than opioids alone (Dasgupta et al., 2015). The number of opioid overdose deaths involving benzodiazepines increased 14% on average each year from 2006 to 2011, while the number of opioid analgesic overdose deaths not involving benzodiazepines did not change significantly (Jones & McAninch, 2015). Furthermore, concurrent use of benzodiazepines with opioids was prevalent in 31%-51% of fatal overdoses (Dowell, Haegerich, & Chou, 2016). One study found that eliminating concurrent use of opioids and benzodiazepines could reduce the risk of opioid overdose-related emergency department (ED) and inpatient visits by 15% and potentially could have prevented an estimated 2,630 deaths related to opioid painkiller overdoses in 2015 (Sun et al., 2017).</p>\n<p>A study on The Opioid Safety Initiative in the Veterans Health Administration (VHA), which includes an opioid and benzodiazepine concurrent prescribing measure that this measure is based on, was associated with a decrease of 20.67% overall and 0.86% patients per month (781 patients per month) receiving concurrent benzodiazepine with an opioid among all adult VHA patients who filled outpatient opioid prescriptions from October 2012 to September 2014 (Lin et al., 2017).</p>\n<p>Adopting a measure that calculates the proportion of patients with two or more opioids or opioids and benzodiazepines concurrently has the potential to reduce preventable mortality and reduce the costs associated with adverse events related to opioid use by (1) encouraging providers to identify patients with concurrent prescriptions of opioids or opioids and benzodiazepines and (2) discouraging providers from prescribing two or more opioids or opioids and benzodiazepines concurrently.</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 CDC Clinical Practice Guideline for Prescribing Opioids for Pain — United States, 2022 recommends that clinicians should:</p>\n<ul>\n<li>“[Use strategies minimizing] opioid use…for both opioid-naïve and opioid-tolerant patients with acute pain when possible. If patients receiving long-term opioid therapy require additional medication for acute pain, nonopioid medications should be used when possible.”</li>\n<li>”Use particular caution when prescribing opioid pain medication and benzodiazepines concurrently.\"</li>\n<li>“Review increased risks for respiratory depression when opioids are taken with benzodiazepines, other sedatives, alcohol, nonprescribed or illicit drugs (e.g., heroin), or other opioids (see Recommendations 8 and 11)”</li>\n<li>“Closely monitor patients who are unable to taper and who continue on high-dose or otherwise high-risk opioid regimens (e.g., opioids prescribed concurrently with benzodiazepines) and should work with patients to mitigate overdose risk (e.g., by providing overdose education and naloxone) (see Recommendation 8).”</li>\n<li>\"Discuss information from the PDMP with the patient and confirm that the patient is aware of any additional prescriptions.”</li>\n<li>“Discuss safety concerns, including increased risk for respiratory depression and overdose, with patients found to be receiving overlapping prescription opioids from multiple clinicians who are not coordinating the patient’s care or patients who are receiving medications that increase risk when combined with opioids (e.g., benzodiazepines) (see Recommendation 11), and offer naloxone (see Recommendation 8).</li>\n<li>\"Discuss safety concerns with other clinicians who are prescribing controlled substances for the patient. Ideally, clinicians should first discuss concerns with the patient and inform them that they plan to coordinate care with their other clinicians to improve the patient’s safety.”</li>\n</ul>\n<p>In addition to the 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain, opioid prescribing guidelines issued by various state agencies and professional societies for various settings agree with the recommendation to avoid concurrently prescribing opioids (American Academy of Emergency Medicine and Washington Agency Medical Directors’ Group (WAMDG)), and opioids and benzodiazepines (WAMDG, American Society of Interventional Pain Physicians, and New York City Department Of Health and Mental Hygiene) whenever possible as the combination of these medications may potentiate opioid-induced respiratory depression.</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;\">Clinician judgement, clinical appropriateness, or both may indicate concurrent prescribing of two unique opioids or an opioid and benzodiazepine is medically necessary, thus the measure is not expected to have a zero rate. \n\nInpatient hospitalizations with discharge medications of a new or continuing opioid or a new or continuing benzodiazepine prescription should be included in the initial population. \n\nInpatient hospitalizations with discharge medications of two or more new or continuing opioids or new or continuing opioid and benzodiazepine resulting in concurrent therapy at discharge should be included in the numerator. Each benzodiazepine and opioid included on the medication discharge list is considered a unique prescription.\n\nThe denominator population includes patients with inpatient hospitalizations and patients from Acute Hospital Care at Home programs, who are treated and billed as inpatients but receive care in their home.\n\nThis eCQM is an episode-based measure. An episode is defined as each inpatient hospitalization or encounter that ends during the measurement period.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS506v6. \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>64345d297c12bd4a0fdf28b2</b></th>\n </tr>\n \n \n <tr>\n <td>Initial Population:</td>\n \n <td>Inpatient hospitalizations (inpatient stay less than or equal to 120 days) that end during the measurement period, where the patient is 18 years of age and older at the start of the encounter and prescribed one or more new or continuing opioid or benzodiazepine at discharge</td>\n \n </tr>\n \n <tr>\n <td>Denominator:</td>\n \n <td>Initial Population</td>\n \n </tr>\n \n <tr>\n <td>Denominator Exclusion:</td>\n \n <td>Inpatient hospitalizations where patients have cancer that begins prior to or during the encounter or are ordered or are receiving palliative or hospice care (including comfort measures, terminal care, and dying care) during the hospitalization or in an emergency department encounter or observation stay immediately prior to hospitalization, patients discharged to another inpatient care facility, and patients who expire during the inpatient stay.</td>\n \n </tr>\n \n <tr>\n <td>Numerator:</td>\n \n <td>Inpatient hospitalizations where the patient is prescribed or continuing to take two or more opioids or an opioid and benzodiazepine at discharge</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>None</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-SafeUseofOpioidsConcurrentPrescribingFHIR.html\">SafeUseofOpioidsConcurrentPrescribingFHIR</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><code>Library/SupplementalDataElements|3.4.000</code></li>\n \n <li><code>Library/CQMCommon|1.4.000</code></li>\n \n <li><code>Library/FHIRHelpers|4.3.000</code></li>\n \n <li><code>Library/FHIRHelpers|4.3.000</code></li>\n \n <li><code>Library/QICoreCommon|1.5.000</code></li>\n \n <li><code>Library/FHIRHelpers|4.3.000</code></li>\n \n <li><code>Library/FHIRHelpers|4.3.000</code></li>\n \n <li><code>Library/QICoreCommon|1.5.000</code></li>\n \n <li><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-medicationrequest-category.html\">MedicationRequest Category Codes</a></li>\n \n <li><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-category.html\">Condition Category Codes</a></li>\n \n <li><a href=\"http://hl7.org/fhir/us/core/STU3.1.1/CodeSystem-condition-category.html\">US Core Condition Category Extension Codes</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=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.165/expansion\">Schedule II and III Opioid Medications</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1125.1/expansion\">Schedule IV Benzodiazepines</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.113762.1.4.1111.161/expansion\">All Primary and Secondary Cancer</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1.1579/expansion\">Palliative or Hospice Care</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.143/expansion\">Observation Services</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion\">Emergency Department Visit</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.87/expansion\">Discharge To Acute Care Facility</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1116.365/expansion\">Hospice Care Referral or Admission</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.309/expansion\">Patient Expired</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>*</td>\n <td>Resource</td>\n </tr>\n \n <tr>\n <td>Denominator</td>\n <td>Out</td>\n <td>0</td>\n <td>*</td>\n <td>Resource</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>*</td>\n <td>Resource</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>Denominator Exclusion</td>\n <td>Out</td>\n <td>0</td>\n <td>*</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 </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 </td>\n <td>\n \n </td>\n <td/>\n </tr>\n \n <tr>\n <td>Patient(<code>http://hl7.org/fhir/Patient</code>)</td>\n <td>\n \n gender\n \n gender.value\n \n birthDate\n \n birthDate.value\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 status\n \n status.value\n \n period\n \n </td>\n <td>\n \n \n Encounter Inpatient\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></td>\n </tr>\n \n <tr>\n <td>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n <td>\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 status\n \n status.value\n \n period\n \n </td>\n <td>\n \n \n Encounter Inpatient\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></td>\n </tr>\n \n <tr>\n <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationrequest.html\">QICoreMedicationRequest</a>)</td>\n <td>\n \n medication\n \n </td>\n <td>\n \n \n Schedule II, III Opioid Medications\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.165/expansion\">Schedule II and III Opioid Medications</a></td>\n </tr>\n \n <tr>\n <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationrequest.html\">QICoreMedicationRequest</a>)</td>\n <td>\n \n medication\n \n </td>\n <td>\n \n \n Schedule II, III Opioid Medications\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.165/expansion\">Schedule II and III Opioid Medications</a></td>\n </tr>\n \n <tr>\n <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationrequest.html\">QICoreMedicationRequest</a>)</td>\n <td>\n \n medication\n \n </td>\n <td>\n \n \n Schedule IV Benzodiazepines\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1125.1/expansion\">Schedule IV Benzodiazepines</a></td>\n </tr>\n \n <tr>\n <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationrequest.html\">QICoreMedicationRequest</a>)</td>\n <td>\n \n medication\n \n status\n \n status.value\n \n intent\n \n intent.value\n \n authoredOn\n \n authoredOn.value\n \n </td>\n <td>\n \n \n Schedule IV Benzodiazepines\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1125.1/expansion\">Schedule IV Benzodiazepines</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 status\n \n status.value\n \n period\n \n </td>\n <td>\n \n \n Encounter Inpatient\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></td>\n </tr>\n \n <tr>\n <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationrequest.html\">QICoreMedicationRequest</a>)</td>\n <td>\n \n medication\n \n status\n \n status.value\n \n intent\n \n intent.value\n \n authoredOn\n \n authoredOn.value\n \n </td>\n <td>\n \n \n Schedule IV Benzodiazepines\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1125.1/expansion\">Schedule IV Benzodiazepines</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 status\n \n status.value\n \n period\n \n </td>\n <td>\n \n \n Encounter Inpatient\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></td>\n </tr>\n \n <tr>\n <td>Encounter(<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 status\n \n status.value\n \n period\n \n </td>\n <td>\n \n \n Encounter Inpatient\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></td>\n </tr>\n \n <tr>\n <td>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>uri(<code>http://hl7.org/fhir/uri</code>)</td>\n <td>\n \n value\n \n </td>\n <td>\n \n </td>\n <td/>\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 url\n \n extension\n \n </td>\n <td>\n \n </td>\n <td/>\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 url\n \n extension\n \n </td>\n <td>\n \n </td>\n <td/>\n </tr>\n \n <tr>\n <td>Condition(<code>http://hl7.org/fhir/Condition</code>)</td>\n <td>\n \n clinicalStatus\n \n </td>\n <td>\n \n </td>\n <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 id\n \n id.value\n \n </td>\n <td>\n \n </td>\n <td/>\n </tr>\n \n <tr>\n <td>ServiceRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-servicerequest.html\">QICoreServiceRequest</a>)</td>\n <td>\n \n code\n \n </td>\n <td>\n \n \n Palliative or Hospice Care\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1.1579/expansion\">Palliative or Hospice Care</a></td>\n </tr>\n \n <tr>\n <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n <td>\n \n code\n \n </td>\n <td>\n \n \n Palliative or Hospice Care\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1.1579/expansion\">Palliative or Hospice Care</a></td>\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 </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 status\n \n status.value\n \n period\n \n </td>\n <td>\n \n \n Observation Services\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.143/expansion\">Observation 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 status\n \n status.value\n \n period\n \n </td>\n <td>\n \n \n Emergency Department Visit\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion\">Emergency Department 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 status\n \n status.value\n \n period\n \n </td>\n <td>\n \n \n Observation Services\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.143/expansion\">Observation 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 status\n \n status.value\n \n period\n \n </td>\n <td>\n \n \n Emergency Department Visit\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion\">Emergency Department 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 </td>\n <td>\n \n \n All Primary and Secondary Cancer\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.161/expansion\">All Primary and Secondary Cancer</a></td>\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 url\n \n extension\n \n </td>\n <td>\n \n </td>\n <td/>\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 url\n \n extension\n \n </td>\n <td>\n \n </td>\n <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>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n <td>\n \n url\n \n extension\n \n </td>\n <td>\n \n </td>\n <td/>\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 url\n \n extension\n \n </td>\n <td>\n \n </td>\n <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>Community</td>\n <td>community</td>\n <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-medicationrequest-category.html\">http://terminology.hl7.org/CodeSystem/medicationrequest-category</a></td>\n </tr>\n \n <tr>\n <td>Discharge</td>\n <td>discharge</td>\n <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-medicationrequest-category.html\">http://terminology.hl7.org/CodeSystem/medicationrequest-category</a></td>\n </tr>\n \n <tr>\n <td>Problem List Item</td>\n <td>problem-list-item</td>\n <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-category.html\">http://terminology.hl7.org/CodeSystem/condition-category</a></td>\n </tr>\n \n <tr>\n <td>Health Concern</td>\n <td>health-concern</td>\n <td><a href=\"http://hl7.org/fhir/us/core/STU3.1.1/CodeSystem-condition-category.html\">http://hl7.org/fhir/us/core/CodeSystem/condition-category</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 </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> 64345d297c12bd4a0fdf28b2 </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 \"Inpatient Encounters with an Opioid or Benzodiazepine at Discharge\"</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\"</code></pre>\n \n </td>\n </tr>\n \n <tr>\n <td/>\n <td/>\n <td>Denominator Exclusion</td>\n <td>\n \n <pre><code class=\"language-cql\">define \"Denominator Exclusion\":\n /*Excludes encounters of patients with cancer or who are receiving palliative or hospice care at the time of the encounter*/\n \n \"Inpatient Encounters with an Opioid or Benzodiazepine at Discharge\" InpatientEncounter\n where exists ( [Condition: \"All Primary and Secondary Cancer\"] Cancer\n where ( Cancer.isProblemListItem ( )\n or Cancer.isHealthConcern ( )\n )\n and Cancer.isActive ( )\n and Cancer.prevalenceInterval ( ) overlaps InpatientEncounter.period\n )\n or exists ( ( InpatientEncounter.encounterDiagnosis ( ) ) InpatientEncounterDiagnosis\n where InpatientEncounterDiagnosis.code in \"All Primary and Secondary Cancer\"\n )\n or exists ( \"Intervention Palliative or Hospice Care\" PalliativeOrHospiceCare\n where Coalesce(PalliativeOrHospiceCare.performed.toInterval(), PalliativeOrHospiceCare.authoredOn.toInterval()) during day of CQMCommon.\"HospitalizationWithObservation\" ( InpatientEncounter )\n )\n or ( InpatientEncounter.hospitalization.dischargeDisposition in \"Discharge To Acute Care Facility\"\n or InpatientEncounter.hospitalization.dischargeDisposition in \"Hospice Care Referral or Admission\"\n or InpatientEncounter.hospitalization.dischargeDisposition in \"Patient Expired\"\n )</code></pre>\n \n </td>\n </tr>\n \n <tr>\n <td/>\n <td/>\n <td>Numerator</td>\n <td>\n \n <pre><code class=\"language-cql\">define \"Numerator\":\n /*Encounters of patients prescribed two or more opioids or an opioid and benzodiazepine at discharge.*/\n \n ( \"Inpatient Encounter with Age Greater than or Equal to 18\" InpatientEncounter\n where ( Count(\"Opioid at Discharge\" Opioids\n return distinct Opioids.medication\n ) >= 2\n )\n )\n union ( \"Inpatient Encounter with Age Greater than or Equal to 18\" InpatientEncounter\n with \"Opioid at Discharge\" OpioidsDischarge\n such that OpioidsDischarge.authoredOn during InpatientEncounter.period\n with \"Benzodiazepine at Discharge\" BenzodiazepinesDischarge\n such that BenzodiazepinesDischarge.authoredOn during day of InpatientEncounter.period\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 None\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 Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\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>SafeUseofOpioidsConcurrentPrescribingFHIR</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>CQMCommon</td>\n \n \n <td>Inpatient Encounter</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Inpatient Encounter\":\n [Encounter: \"Encounter Inpatient\"] EncounterInpatient\n where EncounterInpatient.status = 'finished'\n and EncounterInpatient.period ends during day of \"Measurement Period\"</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>SafeUseofOpioidsConcurrentPrescribingFHIR</td>\n \n \n <td>Inpatient Encounter with Age Greater than or Equal to 18</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Inpatient Encounter with Age Greater than or Equal to 18\":\n CQMCommon.\"Inpatient Encounter\" InpatientHospitalEncounter\n where AgeInYearsAt(date from start of InpatientHospitalEncounter.period) >= 18</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>SafeUseofOpioidsConcurrentPrescribingFHIR</td>\n \n \n <td>Opioid at Discharge</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Opioid at Discharge\":\n ( [MedicationRequest: \"Schedule II & III Opioid Medications\"] OpioidMedications\n where ( OpioidMedications.isCommunity ( )\n or OpioidMedications.isDischarge ( )\n ) ) OpioidDischargeMedication\n where OpioidDischargeMedication.status in { 'active', 'completed' }\n and OpioidDischargeMedication.intent = 'order'</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>SafeUseofOpioidsConcurrentPrescribingFHIR</td>\n \n \n <td>Benzodiazepine at Discharge</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Benzodiazepine at Discharge\":\n ( [MedicationRequest: medication in \"Schedule IV Benzodiazepines\"] BenzoMedications\n where ( BenzoMedications.isCommunity ( )\n or BenzoMedications.isDischarge ( )\n ) ) BenzodiazepineDischargeMedication\n where BenzodiazepineDischargeMedication.status in { 'active', 'completed' }\n and BenzodiazepineDischargeMedication.intent = 'order'</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>SafeUseofOpioidsConcurrentPrescribingFHIR</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 /*Encounters of patients prescribed two or more opioids or an opioid and benzodiazepine at discharge.*/\n \n ( \"Inpatient Encounter with Age Greater than or Equal to 18\" InpatientEncounter\n where ( Count(\"Opioid at Discharge\" Opioids\n return distinct Opioids.medication\n ) >= 2\n )\n )\n union ( \"Inpatient Encounter with Age Greater than or Equal to 18\" InpatientEncounter\n with \"Opioid at Discharge\" OpioidsDischarge\n such that OpioidsDischarge.authoredOn during InpatientEncounter.period\n with \"Benzodiazepine at Discharge\" BenzodiazepinesDischarge\n such that BenzodiazepinesDischarge.authoredOn during day of InpatientEncounter.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>SafeUseofOpioidsConcurrentPrescribingFHIR</td>\n \n \n <td>Inpatient Encounters with an Opioid or Benzodiazepine at Discharge</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Inpatient Encounters with an Opioid or Benzodiazepine at Discharge\":\n \"Inpatient Encounter with Age Greater than or Equal to 18\" InpatientEncounter\n with ( \"Opioid at Discharge\"\n union \"Benzodiazepine at Discharge\" ) OpioidOrBenzodiazepineAtDischarge\n such that OpioidOrBenzodiazepineAtDischarge.authoredOn during day of InpatientEncounter.period</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>SafeUseofOpioidsConcurrentPrescribingFHIR</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 \"Inpatient Encounters with an Opioid or Benzodiazepine at Discharge\"</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>SafeUseofOpioidsConcurrentPrescribingFHIR</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\"</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>SafeUseofOpioidsConcurrentPrescribingFHIR</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>SafeUseofOpioidsConcurrentPrescribingFHIR</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>SafeUseofOpioidsConcurrentPrescribingFHIR</td>\n \n \n <td>Intervention Palliative or Hospice Care</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Intervention Palliative or Hospice Care\":\n [ServiceRequest: \"Palliative or Hospice Care\"]\n union [Procedure: \"Palliative or Hospice Care\"]</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>SafeUseofOpioidsConcurrentPrescribingFHIR</td>\n \n \n <td>Denominator Exclusion</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Denominator Exclusion\":\n /*Excludes encounters of patients with cancer or who are receiving palliative or hospice care at the time of the encounter*/\n \n \"Inpatient Encounters with an Opioid or Benzodiazepine at Discharge\" InpatientEncounter\n where exists ( [Condition: \"All Primary and Secondary Cancer\"] Cancer\n where ( Cancer.isProblemListItem ( )\n or Cancer.isHealthConcern ( )\n )\n and Cancer.isActive ( )\n and Cancer.prevalenceInterval ( ) overlaps InpatientEncounter.period\n )\n or exists ( ( InpatientEncounter.encounterDiagnosis ( ) ) InpatientEncounterDiagnosis\n where InpatientEncounterDiagnosis.code in \"All Primary and Secondary Cancer\"\n )\n or exists ( \"Intervention Palliative or Hospice Care\" PalliativeOrHospiceCare\n where Coalesce(PalliativeOrHospiceCare.performed.toInterval(), PalliativeOrHospiceCare.authoredOn.toInterval()) during day of CQMCommon.\"HospitalizationWithObservation\" ( InpatientEncounter )\n )\n or ( InpatientEncounter.hospitalization.dischargeDisposition in \"Discharge To Acute Care Facility\"\n or InpatientEncounter.hospitalization.dischargeDisposition in \"Hospice Care Referral or Admission\"\n or InpatientEncounter.hospitalization.dischargeDisposition in \"Patient Expired\"\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>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>SafeUseofOpioidsConcurrentPrescribingFHIR</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 </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://terminology.hl7.org/CodeSystem/medicationrequest-category"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/medicationrequest-category> ] ; fhir:code [ fhir:v "community" ] ; fhir:display [ fhir:v "Community" ] ] ] [ 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/medicationrequest-category"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/medicationrequest-category> ] ; fhir:code [ fhir:v "discharge" ] ; fhir:display [ fhir:v "Discharge" ] ] ] [ 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-category"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/condition-category> ] ; fhir:code [ fhir:v "problem-list-item" ] ; fhir:display [ fhir:v "Problem List Item" ] ] ] [ 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/us/core/CodeSystem/condition-category"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/us/core/CodeSystem/condition-category> ] ; fhir:code [ fhir:v "health-concern" ] ; fhir:display [ fhir:v "Health Concern" ] ] ] [ 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: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 Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ 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 "CQMCommon" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Inpatient Encounter" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "define \"Inpatient Encounter\":\n [Encounter: \"Encounter Inpatient\"] EncounterInpatient\n where EncounterInpatient.status = 'finished'\n and EncounterInpatient.period ends during day of \"Measurement Period\"" ] ] [ 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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Inpatient Encounter with Age Greater than or Equal to 18" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "define \"Inpatient Encounter with Age Greater than or Equal to 18\":\n CQMCommon.\"Inpatient Encounter\" InpatientHospitalEncounter\n where AgeInYearsAt(date from start of InpatientHospitalEncounter.period) >= 18" ] ] [ 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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Opioid at Discharge" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "define \"Opioid at Discharge\":\n ( [MedicationRequest: \"Schedule II & III Opioid Medications\"] OpioidMedications\n where ( OpioidMedications.isCommunity ( )\n or OpioidMedications.isDischarge ( )\n ) ) OpioidDischargeMedication\n where OpioidDischargeMedication.status in { 'active', 'completed' }\n and OpioidDischargeMedication.intent = 'order'" ] ] [ 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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Benzodiazepine at Discharge" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "define \"Benzodiazepine at Discharge\":\n ( [MedicationRequest: medication in \"Schedule IV Benzodiazepines\"] BenzoMedications\n where ( BenzoMedications.isCommunity ( )\n or BenzoMedications.isDischarge ( )\n ) ) BenzodiazepineDischargeMedication\n where BenzodiazepineDischargeMedication.status in { 'active', 'completed' }\n and BenzodiazepineDischargeMedication.intent = 'order'" ] ] [ 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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ 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 /*Encounters of patients prescribed two or more opioids or an opioid and benzodiazepine at discharge.*/\n \n ( \"Inpatient Encounter with Age Greater than or Equal to 18\" InpatientEncounter\n where ( Count(\"Opioid at Discharge\" Opioids\n return distinct Opioids.medication\n ) >= 2\n )\n )\n union ( \"Inpatient Encounter with Age Greater than or Equal to 18\" InpatientEncounter\n with \"Opioid at Discharge\" OpioidsDischarge\n such that OpioidsDischarge.authoredOn during InpatientEncounter.period\n with \"Benzodiazepine at Discharge\" BenzodiazepinesDischarge\n such that BenzodiazepinesDischarge.authoredOn during day of InpatientEncounter.period\n )" ] ] [ 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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Inpatient Encounters with an Opioid or Benzodiazepine at Discharge" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "define \"Inpatient Encounters with an Opioid or Benzodiazepine at Discharge\":\n \"Inpatient Encounter with Age Greater than or Equal to 18\" InpatientEncounter\n with ( \"Opioid at Discharge\"\n union \"Benzodiazepine at Discharge\" ) OpioidOrBenzodiazepineAtDischarge\n such that OpioidOrBenzodiazepineAtDischarge.authoredOn during day of InpatientEncounter.period" ] ] [ 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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ 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 \"Inpatient Encounters with an Opioid or Benzodiazepine at Discharge\"" ] ] [ 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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ 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\"" ] ] [ 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 "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 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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ 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 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 "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 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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ 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 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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Intervention Palliative or Hospice Care" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "define \"Intervention Palliative or Hospice Care\":\n [ServiceRequest: \"Palliative or Hospice Care\"]\n union [Procedure: \"Palliative or Hospice Care\"]" ] ] [ 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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ; fhir:l fhir:name ] ; fhir:value [ a fhir:String ; fhir:v "Denominator Exclusion" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ; fhir:l fhir:statement ] ; fhir:value [ a fhir:String ; fhir:v "define \"Denominator Exclusion\":\n /*Excludes encounters of patients with cancer or who are receiving palliative or hospice care at the time of the encounter*/\n \n \"Inpatient Encounters with an Opioid or Benzodiazepine at Discharge\" InpatientEncounter\n where exists ( [Condition: \"All Primary and Secondary Cancer\"] Cancer\n where ( Cancer.isProblemListItem ( )\n or Cancer.isHealthConcern ( )\n )\n and Cancer.isActive ( )\n and Cancer.prevalenceInterval ( ) overlaps InpatientEncounter.period\n )\n or exists ( ( InpatientEncounter.encounterDiagnosis ( ) ) InpatientEncounterDiagnosis\n where InpatientEncounterDiagnosis.code in \"All Primary and Secondary Cancer\"\n )\n or exists ( \"Intervention Palliative or Hospice Care\" PalliativeOrHospiceCare\n where Coalesce(PalliativeOrHospiceCare.performed.toInterval(), PalliativeOrHospiceCare.authoredOn.toInterval()) during day of CQMCommon.\"HospitalizationWithObservation\" ( InpatientEncounter )\n )\n or ( InpatientEncounter.hospitalization.dischargeDisposition in \"Discharge To Acute Care Facility\"\n or InpatientEncounter.hospitalization.dischargeDisposition in \"Hospice Care Referral or Admission\"\n or InpatientEncounter.hospitalization.dischargeDisposition in \"Patient Expired\"\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 "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 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 "SafeUseofOpioidsConcurrentPrescribingFHIR" ] ] [ 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 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: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 "Library/SupplementalDataElements|3.4.000"^^xsd:anyURI ; fhir:l fhir:Library/SupplementalDataElements?version=3.4.000 ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library CQMCommon" ] ; fhir:resource [ fhir:v "Library/CQMCommon|1.4.000"^^xsd:anyURI ; fhir:l fhir:Library/CQMCommon?version=1.4.000 ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library FHIRHelpers" ] ; fhir:resource [ fhir:v "Library/FHIRHelpers|4.3.000"^^xsd:anyURI ; fhir:l fhir:Library/FHIRHelpers?version=4.3.000 ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library FHIRHelpers" ] ; fhir:resource [ fhir:v "Library/FHIRHelpers|4.3.000"^^xsd:anyURI ; fhir:l fhir:Library/FHIRHelpers?version=4.3.000 ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library QICoreCommon" ] ; fhir:resource [ fhir:v "Library/QICoreCommon|1.5.000"^^xsd:anyURI ; fhir:l fhir:Library/QICoreCommon?version=1.5.000 ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library FHIRHelpers" ] ; fhir:resource [ fhir:v "Library/FHIRHelpers|4.3.000"^^xsd:anyURI ; fhir:l fhir:Library/FHIRHelpers?version=4.3.000 ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library FHIRHelpers" ] ; fhir:resource [ fhir:v "Library/FHIRHelpers|4.3.000"^^xsd:anyURI ; fhir:l fhir:Library/FHIRHelpers?version=4.3.000 ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library QICoreCommon" ] ; fhir:resource [ fhir:v "Library/QICoreCommon|1.5.000"^^xsd:anyURI ; fhir:l fhir:Library/QICoreCommon?version=1.5.000 ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Code system MedicationRequestCategory" ] ; fhir:resource [ fhir:v "http://terminology.hl7.org/CodeSystem/medicationrequest-category"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/medicationrequest-category> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Code system ConditionCategory" ] ; fhir:resource [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-category"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/condition-category> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Code system USCoreConditionCategoryExtensionCodes" ] ; fhir:resource [ fhir:v "http://hl7.org/fhir/us/core/CodeSystem/condition-category"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/us/core/CodeSystem/condition-category> ] ] [ 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 "Value set Encounter Inpatient" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Schedule II & III Opioid Medications" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.165"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.165> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Schedule IV Benzodiazepines" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1125.1"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1125.1> ] ] [ 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 All Primary and Secondary Cancer" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.161"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.161> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Palliative or Hospice Care" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1579"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1579> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Observation Services" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Emergency Department Visit" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Discharge To Acute Care Facility" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Hospice Care Referral or Admission" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.365"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1116.365> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Patient Expired" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309> ] ] ) ; ( 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 "*" ] ; fhir:type [ fhir:v "Resource" ] ] [ fhir:name [ fhir:v "Denominator" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 0 ] ; fhir:max [ fhir:v "*" ] ; fhir:type [ fhir:v "Resource" ] ] [ 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 "*" ] ; fhir:type [ fhir:v "Resource" ] ] [ 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 "Denominator Exclusion" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 0 ] ; fhir:max [ fhir:v "*" ] ; 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: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:type [ fhir:v "Patient" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/Patient"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/Patient> ] ) ; ( fhir:mustSupport [ fhir:v "gender" ] [ fhir:v "gender.value" ] [ fhir:v "birthDate" ] [ fhir:v "birthDate.value" ] ) ] [ 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 "status" ] [ fhir:v "status.value" ] [ 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.113883.3.666.5.307"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307> ] ] ) ] [ 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: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 "status" ] [ fhir:v "status.value" ] [ 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.113883.3.666.5.307"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest> ] ) ; ( fhir:mustSupport [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "medication" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.165"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.165> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest> ] ) ; ( fhir:mustSupport [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "medication" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.165"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.165> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest> ] ) ; ( fhir:mustSupport [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "medication" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1125.1"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1125.1> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest> ] ) ; ( fhir:mustSupport [ fhir:v "medication" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "intent" ] [ fhir:v "intent.value" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "medication" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1125.1"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1125.1> ] ] ) ] [ 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 "status" ] [ fhir:v "status.value" ] [ 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.113883.3.666.5.307"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest> ] ) ; ( fhir:mustSupport [ fhir:v "medication" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "intent" ] [ fhir:v "intent.value" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "medication" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1125.1"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1125.1> ] ] ) ] [ 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 "status" ] [ fhir:v "status.value" ] [ 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.113883.3.666.5.307"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307> ] ] ) ] [ fhir:type [ fhir:v "Encounter" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/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 "status" ] [ fhir:v "status.value" ] [ 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.113883.3.666.5.307"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307> ] ] ) ] [ 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 "uri" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/uri"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/uri> ] ) ; ( fhir:mustSupport [ fhir:v "value" ] ) ] [ 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 "url" ] [ fhir:v "extension" ] ) ] [ 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 "url" ] [ fhir:v "extension" ] ) ] [ fhir:type [ fhir:v "Condition" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/Condition"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/Condition> ] ) ; ( fhir:mustSupport [ fhir:v "clinicalStatus" ] ) ] [ 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 "id" ] [ fhir:v "id.value" ] ) ] [ fhir:type [ fhir:v "ServiceRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1579"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1579> ] ] ) ] [ fhir:type [ fhir:v "Procedure" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1579"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1.1579> ] ] ) ] [ 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: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 "status" ] [ fhir:v "status.value" ] [ 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.113762.1.4.1111.143"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143> ] ] ) ] [ 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 "status" ] [ fhir:v "status.value" ] [ 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.113883.3.117.1.7.1.292"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292> ] ] ) ] [ 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 "status" ] [ fhir:v "status.value" ] [ 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.113762.1.4.1111.143"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143> ] ] ) ] [ 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 "status" ] [ fhir:v "status.value" ] [ 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.113883.3.117.1.7.1.292"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292> ] ] ) ] [ 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:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.161"^^xsd:anyURI ; fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.161> ] ] ) ] [ 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 "url" ] [ fhir:v "extension" ] ) ] [ 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 "url" ] [ fhir:v "extension" ] ) ] [ 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 "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 "url" ] [ fhir:v "extension" ] ) ] [ 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 "url" ] [ fhir:v "extension" ] ) ] ) ] ) ; # 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-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/SafeUseofOpioidsConcurrentPrescribingFHIR"^^xsd:anyURI ; fhir:l <http://ecqi.healthit.gov/ecqms/Measure/SafeUseofOpioidsConcurrentPrescribingFHIR> ] ; # 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 "CMS506FHIR" ] ] [ 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:95d529af-66b4-4cfd-bc1f-f43704dc47ad" ] ] [ 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:4adc0abd-6de0-42e7-ab1a-37f53d3ddd1f" ] ] [ 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 "endorser" ] ] ) ] ; fhir:system [ fhir:v "https://madie.cms.gov/measure/nqfId"^^xsd:anyURI ; fhir:l <https://madie.cms.gov/measure/nqfId> ] ; fhir:value [ fhir:v "3316e" ] ; fhir:assigner [ fhir:display [ fhir:v "NQF" ] ] ] [ 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 "506FHIR" ] ; fhir:assigner [ fhir:display [ fhir:v "CMS" ] ] ] ) ; # fhir:version [ fhir:v "0.1.000"] ; # fhir:name [ fhir:v "SafeUseofOpioidsConcurrentPrescribingFHIR"] ; # fhir:title [ fhir:v "Safe Use of Opioids - Concurrent PrescribingFHIR"] ; # fhir:status [ fhir:v "draft"] ; # fhir:experimental [ fhir:v false] ; # fhir:date [ fhir:v "2023-08-17T18:49:02+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "Centers for Medicare & Medicaid Services (CMS)"] ; # fhir:contact ( [ ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "https://www.cms.gov/" ] ] ) ] ) ; # fhir:description [ fhir:v "Proportion of inpatient hospitalizations for patients 18 years of age and older prescribed, or continued on, two or more opioids or an opioid and benzodiazepine concurrently at discharge"] ; # fhir:useContext ( [ fhir:code [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type> ] ; fhir:code [ fhir:v "program" ] ] ; fhir:value [ a fhir:CodeableConcept ; ( fhir:coding [ fhir:system [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/quality-programs"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/quality-programs> ] ; fhir:code [ fhir:v "eh-cah" ] ; fhir:display [ fhir:v "EH/CAH" ] ] ) ] ] ) ; # fhir:purpose [ fhir:v "UNKNOWN"] ; # fhir:usage [ fhir:v "Clinician judgement, clinical appropriateness, or both may indicate concurrent prescribing of two unique opioids or an opioid and benzodiazepine is medically necessary, thus the measure is not expected to have a zero rate. \n\nInpatient hospitalizations with discharge medications of a new or continuing opioid or a new or continuing benzodiazepine prescription should be included in the initial population. \n\nInpatient hospitalizations with discharge medications of two or more new or continuing opioids or new or continuing opioid and benzodiazepine resulting in concurrent therapy at discharge should be included in the numerator. Each benzodiazepine and opioid included on the medication discharge list is considered a unique prescription.\n\nThe denominator population includes patients with inpatient hospitalizations and patients from Acute Hospital Care at Home programs, who are treated and billed as inpatients but receive care in their home.\n\nThis eCQM is an episode-based measure. An episode is defined as each inpatient hospitalization or encounter that ends during the measurement period.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS506v6. \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 "Limited proprietary coding is contained in the Measure specifications for user convenience. Users of proprietary code sets should obtain all necessary licenses from the owners of the code sets. Mathematica disclaims all liability for use or accuracy of any third party codes contained in the specifications.\n\nCPT(R) contained in the measure specifications is copyright 2004-2022 American Medical Association. LOINC(R) 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 copyright 2022 World Health Organization. All Rights Reserved."] ; # fhir:approvalDate [ fhir:v "2023-08-18"^^xsd:date] ; # fhir:lastReviewDate [ fhir:v "2023-08-18"^^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 "Mathematica" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "https://www.mathematica.org/" ] ] ) ] ) ; # fhir:library ( [ fhir:v "http://ecqi.healthit.gov/ecqms/Library/SafeUseofOpioidsConcurrentPrescribingFHIR"^^xsd:anyURI ; fhir:l <http://ecqi.healthit.gov/ecqms/Library/SafeUseofOpioidsConcurrentPrescribingFHIR> ] ) ; # fhir:disclaimer [ fhir:v "These performance measures are not clinical guidelines, do not establish a standard of medical care, and have not been tested for all potential applications.\n\nTHE MEASURES AND SPECIFICATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND.\n\nDue to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM]."] ; # fhir:rationale [ fhir:v "Unintentional opioid overdose fatalities have become a major public health concern in the United States (Rudd et al., 2016). Reducing the number of unintentional overdoses has become a priority for numerous federal organizations including, but not limited to, the Centers for Disease Control and Prevention (CDC), the Federal Interagency Workgroup for Opioid Adverse Drug Events, and the Substance Abuse and Mental Health Services Administration. \n\nConcurrent prescriptions of opioids or opioids and benzodiazepines places patients at a greater risk of unintentional overdose due to the increased risk of respiratory depression (Dowell, Haegerich, & Chou, 2016 and Dowell, Ragan, Jones, Baldwin, & Chou, 2022). An analysis of national prescribing patterns shows that more than half of patients who received an opioid prescription in 2009 had filled another opioid prescription within the previous 30 days (National Institute on Drug Abuse, 2011). Studies of multiple claims and prescription databases have shown that between 5%-15% of patients receive concurrent opioid prescriptions and 5%-20% of patients receive concurrent opioid and benzodiazepine prescriptions across various settings (Liu et al., 2013; Mack et al., 2015, Park et al., 2015). Patients who have multiple opioid prescriptions have an increased risk for overdose (Jena et al., 2014). Rates of fatal overdose are ten times higher in patients who are co-dispensed opioid analgesics and benzodiazepines than opioids alone (Dasgupta et al., 2015). The number of opioid overdose deaths involving benzodiazepines increased 14% on average each year from 2006 to 2011, while the number of opioid analgesic overdose deaths not involving benzodiazepines did not change significantly (Jones & McAninch, 2015). Furthermore, concurrent use of benzodiazepines with opioids was prevalent in 31%-51% of fatal overdoses (Dowell, Haegerich, & Chou, 2016). One study found that eliminating concurrent use of opioids and benzodiazepines could reduce the risk of opioid overdose-related emergency department (ED) and inpatient visits by 15% and potentially could have prevented an estimated 2,630 deaths related to opioid painkiller overdoses in 2015 (Sun et al., 2017). \n\nA study on The Opioid Safety Initiative in the Veterans Health Administration (VHA), which includes an opioid and benzodiazepine concurrent prescribing measure that this measure is based on, was associated with a decrease of 20.67% overall and 0.86% patients per month (781 patients per month) receiving concurrent benzodiazepine with an opioid among all adult VHA patients who filled outpatient opioid prescriptions from October 2012 to September 2014 (Lin et al., 2017).\n\nAdopting a measure that calculates the proportion of patients with two or more opioids or opioids and benzodiazepines concurrently has the potential to reduce preventable mortality and reduce the costs associated with adverse events related to opioid use by (1) encouraging providers to identify patients with concurrent prescriptions of opioids or opioids and benzodiazepines and (2) discouraging providers from prescribing two or more opioids or opioids and benzodiazepines concurrently."] ; # fhir:clinicalRecommendationStatement [ fhir:v "The CDC Clinical Practice Guideline for Prescribing Opioids for Pain — United States, 2022 recommends that clinicians should:\n- “[Use strategies minimizing] opioid use…for both opioid-naïve and opioid-tolerant patients with acute pain when possible. If patients receiving long-term opioid therapy require additional medication for acute pain, nonopioid medications should be used when possible.”\n- ”Use particular caution when prescribing opioid pain medication and benzodiazepines concurrently.\"\n- “Review increased risks for respiratory depression when opioids are taken with benzodiazepines, other sedatives, alcohol, nonprescribed or illicit drugs (e.g., heroin), or other opioids (see Recommendations 8 and 11)”\n- “Closely monitor patients who are unable to taper and who continue on high-dose or otherwise high-risk opioid regimens (e.g., opioids prescribed concurrently with benzodiazepines) and should work with patients to mitigate overdose risk (e.g., by providing overdose education and naloxone) (see Recommendation 8).”\n- \"Discuss information from the PDMP with the patient and confirm that the patient is aware of any additional prescriptions.”\n- “Discuss safety concerns, including increased risk for respiratory depression and overdose, with patients found to be receiving overlapping prescription opioids from multiple clinicians who are not coordinating the patient’s care or patients who are receiving medications that increase risk when combined with opioids (e.g., benzodiazepines) (see Recommendation 11), and offer naloxone (see Recommendation 8).\n- \"Discuss safety concerns with other clinicians who are prescribing controlled substances for the patient. Ideally, clinicians should first discuss concerns with the patient and inform them that they plan to coordinate care with their other clinicians to improve the patient’s safety.” \n\nIn addition to the 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain, opioid prescribing guidelines issued by various state agencies and professional societies for various settings agree with the recommendation to avoid concurrently prescribing opioids (American Academy of Emergency Medicine and Washington Agency Medical Directors’ Group (WAMDG)), and opioids and benzodiazepines (WAMDG, American Society of Interventional Pain Physicians, and New York City Department Of Health and Mental Hygiene) whenever possible as the combination of these medications may potentiate opioid-induced respiratory depression."] ; # fhir:group ( [ fhir:id [ fhir:v "64345d297c12bd4a0fdf28b2" ] ; ( 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 "Encounter" ] ] [ 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 "process" ] ; fhir:display [ fhir:v "Process" ] ] ) ] ] ) ; fhir:description [ fhir:v "Proportion of inpatient hospitalizations for patients 18 years of age and older prescribed, or continued on, two or more opioids or an opioid and benzodiazepine concurrently at discharge." ] ; ( fhir:population [ fhir:id [ fhir:v "345E1255-3623-402A-9016-2B5C9E096C26" ] ; 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 "Inpatient hospitalizations (inpatient stay less than or equal to 120 days) that end during the measurement period, where the patient is 18 years of age and older at the start of the encounter and prescribed one or more new or continuing opioid or benzodiazepine at discharge" ] ; fhir:criteria [ fhir:language [ fhir:v "text/cql-identifier" ] ; fhir:expression [ fhir:v "Initial Population" ] ] ] [ fhir:id [ fhir:v "9ED4F80C-B465-4CDB-BFDD-CE376A165DD0" ] ; 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 "Initial Population" ] ; fhir:criteria [ fhir:language [ fhir:v "text/cql-identifier" ] ; fhir:expression [ fhir:v "Denominator" ] ] ] [ fhir:id [ fhir:v "25C57870-241A-428F-BDA8-63C5B4685EE4" ] ; 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:description [ fhir:v "Inpatient hospitalizations where patients have cancer that begins prior to or during the encounter or are ordered or are receiving palliative or hospice care (including comfort measures, terminal care, and dying care) during the hospitalization or in an emergency department encounter or observation stay immediately prior to hospitalization, patients discharged to another inpatient care facility, and patients who expire during the inpatient stay." ] ; fhir:criteria [ fhir:language [ fhir:v "text/cql-identifier" ] ; fhir:expression [ fhir:v "Denominator Exclusion" ] ] ] [ fhir:id [ fhir:v "C36B952C-8CCF-436F-A9E2-423A00C56A1A" ] ; 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 "Inpatient hospitalizations where the patient is prescribed or continuing to take two or more opioids or an opioid and benzodiazepine at discharge" ] ; fhir:criteria [ fhir:language [ fhir:v "text/cql-identifier" ] ; fhir:expression [ fhir:v "Numerator" ] ] ] [ fhir:id [ fhir:v "b5a6188c-71a1-44d9-8fe5-3baec041d757" ] ; 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 "64afdf85-7565-4485-980c-51672c8f759d" ] ; 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:criteria [ fhir:language [ fhir:v "text/cql-identifier" ] ] ] ) ] ) ; # 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" ] ] ] ) . #
IG © 2023+ cqframework. Package gov.healthit.ecqi.ecqms#2023.0.0 based on FHIR 4.0.1. Generated 2026-05-13
Links: Table of Contents |
QA Report
| Version History
|