2022 CDC Clinical Practice Guideline for Prescribing Opioids Implementation Guide, published by Centers for Disease Control and Prevention (CDC). This guide is not an authorized publication; it is the continuous build for version 2022.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/opioid-cds-r4/ and changes regularly. See the Directory of published versions
Draft as of 2024-04-22 |
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix sct: <http://snomed.info/id/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:PlanDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "opioidcds-10-order-sign"] ; # fhir:meta [ ( fhir:profile [ fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recommendationdefinition"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recommendationdefinition> ] [ fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-publishableplandefinition"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-publishableplandefinition> ] ) ] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <table class=\"grid dict\">\n \n <tr>\n <th scope=\"row\"><b>Id: </b></th>\n <td style=\"padding-left: 4px;\">opioidcds-10-order-sign</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Url: </b></th>\n <td style=\"padding-left: 4px;\"><a href=\"PlanDefinition-opioidcds-10-order-sign.html\">Recommendation #10 - Urine Drug Testing (order-sign)</a></td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Version: </b></th>\n <td style=\"padding-left: 4px;\">2022.1.0</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Identifier: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n <p style=\"margin-bottom: 5px;\">\n <b>value: </b> <span>cdc-opioid-guidance</span>\n </p>\n \n </td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Name: </b></th>\n <td style=\"padding-left: 4px;\">PlanDefinition_Recommendation_10_Order_Sign</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Title: </b></th>\n <td style=\"padding-left: 4px;\">Recommendation #10 - Urine Drug Testing (order-sign)</td>\n </tr>\n \n \n \n <tr>\n <th scope=\"row\"><b>Status: </b></th>\n <td style=\"padding-left: 4px;\">draft</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Experimental: </b></th>\n <td style=\"padding-left: 4px;\">true</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Type: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n \n <p style=\"margin-bottom: 5px;\">\n <b>system: </b> <span><a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-plan-definition-type.html\">PlanDefinitionType</a></span>\n </p>\n \n \n <p style=\"margin-bottom: 5px;\">\n <b>code: </b> <span>eca-rule</span>\n </p>\n \n \n <p style=\"margin-bottom: 5px;\">\n <b>display: </b> <span>ECA Rule</span>\n </p>\n \n \n \n \n </td>\n </tr>\n \n \n \n <tr>\n <th scope=\"row\"><b>Date: </b></th>\n <td style=\"padding-left: 4px;\">2024-04-22</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Publisher: </b></th>\n <td style=\"padding-left: 4px;\">Centers for Disease Control and Prevention (CDC)</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Description: </b></th>\n <td style=\"padding-left: 4px;\">When prescribing opioids for subacute or chronic pain, clinicians should consider the benefits and risks of toxicology testing to assess for prescribed medications as well as other prescribed and nonprescribed controlled substances.</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><a name=\"effective-data-requirements\"> </a><b>Logic Definitions: </b></th>\n <td style=\"padding-left: 4px;\">\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10OrderSign</td>\n \n \n <td>Subacute or Chronic Pain Opioid Analgesic with Ambulatory Misuse Potential Prescriptions</td>\n \n \n <td>0</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Subacute or Chronic Pain Opioid Analgesic with Ambulatory Misuse Potential Prescriptions&quot;:\n ( Common.&quot;Is Opioid Analgesic with Ambulatory Misuse Potential?&quot;( ContextPrescriptions ) ) AmbulatoryOpioidPrescription\n where Routines.&quot;Is Subacute or Chronic Pain Prescription?&quot;( AmbulatoryOpioidPrescription )</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10OrderSign</td>\n \n \n <td>Patient Is Being Prescribed Opioid Analgesic with Ambulatory Misuse Potential</td>\n \n \n <td>1</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Patient Is Being Prescribed Opioid Analgesic with Ambulatory Misuse Potential&quot;:\n exists( &quot;Subacute or Chronic Pain Opioid Analgesic with Ambulatory Misuse Potential Prescriptions&quot; )</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSRoutines</td>\n \n \n <td>Patient Age Less Than 18</td>\n \n \n <td>2</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Patient Age Less Than 18&quot;:\n if (Config.&quot;Age Less than 18 Years Is Enabled&quot;) then\n AgeInYearsAt(Today()) &lt; 18\n else\n false</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSRoutines</td>\n \n \n <td>Condition Positive for Sickle Cell</td>\n \n \n <td>3</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Condition Positive for Sickle Cell&quot;:\n if (Config.&quot;Sickle Cell Check Enabled&quot;) then\n exists(\n Common.&quot;Positive Sickle Cell Condition&quot;\n ) else\n false</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSCommon</td>\n \n \n <td>US Core-Categorized Conditions</td>\n \n \n <td>4</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// 3. Medications indicating end of life\n /* or exists (\n &quot;Medications Indicating End of Life&quot;\n ) */\ndefine &quot;US Core-Categorized Conditions&quot;:\n [Condition: category in &quot;Encounter Diagnosis Condition Category&quot;]\n union [Condition: category in &quot;Problem List Condition Category&quot;]\n union [Condition: category in &quot;US Core Health Concern Condition Category&quot;]</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSRoutines</td>\n \n \n <td>Conditions Indicating End Of Life Present</td>\n \n \n <td>5</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Conditions Indicating End Of Life Present&quot;:\n exists (\n Common.&quot;US Core-Categorized Conditions&quot; LLEC\n where LLEC.code in Common.&quot;Limited life expectancy conditions&quot;\n and LLEC.clinicalStatus in Common.&quot;Active Condition&quot;\n )</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSRoutines</td>\n \n \n <td>Is Active Cancer Treatment?</td>\n \n \n <td>6</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Is Active Cancer Treatment?&quot;:\n if (Config.&quot;Active Cancer Treatment Encounters Condition Is Enabled&quot;) then\n &quot;Has Two or More Encounters with Cancer Diagnosis During Encounter Period&quot;\n else\n false</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSRoutines</td>\n \n \n <td>Conditions Including Cancer To Exclude Opioid Management Indicating End-Stage Disease Present</td>\n \n \n <td>7</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Conditions Including Cancer To Exclude Opioid Management Indicating End-Stage Disease Present&quot;:\n if (Config.&quot;End-Stage Disease Criteria Enabled&quot;) then\n exists (\n Common.&quot;US Core-Categorized Conditions&quot; EOLC\n where EOLC.code in Common.&quot;Conditions likely terminal for opioid prescribing&quot;\n and EOLC.clinicalStatus in Common.&quot;Active Condition&quot;\n )\n else\n false</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSRoutines</td>\n \n \n <td>Is Opioid Review Useful?</td>\n \n \n <td>8</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Is Opioid Review Useful?&quot;:\n not &quot;Patient Age Less Than 18&quot;\n and not &quot;Condition Positive for Sickle Cell&quot;\n and not &quot;Conditions Indicating End Of Life Present&quot;\n and not &quot;Is Active Cancer Treatment?&quot;\n and not &quot;Conditions Including Cancer To Exclude Opioid Management Indicating End-Stage Disease Present&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>UDS Lookback Period</td>\n \n \n <td>9</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Constants\ndefine &quot;UDS Lookback Period&quot;:\n Interval[Today() - 12 months - 1 days, Today()]</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>All Opioid or Non-opioid UDS in Lookback Period</td>\n \n \n <td>10</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;All Opioid or Non-opioid UDS in Lookback Period&quot;:\n (\n [Observation: Common.&quot;All Drug Urine Screening&quot;] Lab\n where date from Lab.effective in day of &quot;UDS Lookback Period&quot;\n and not (Lab.status.value in { 'unknown', 'entered-in-error', 'cancelled' })\n ) X sort by date from FHIRHelpers.ToDateTime(effective as FHIR.dateTime) desc</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Inclusion Criteria For UDS Recommendation</td>\n \n \n <td>11</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">/*\n@description: Determines whether an opioid review is appropriate for the patient and whether they had a UDS performed in the past year\n*/\ndefine &quot;Inclusion Criteria For UDS Recommendation&quot;:\n Routines.&quot;Is Opioid Review Useful?&quot;\n and not exists (&quot;All Opioid or Non-opioid UDS in Lookback Period&quot;)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSCommon</td>\n \n \n <td>Conditions Indicating End of Life or With Limited Life Expectancy</td>\n \n \n <td>12</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Conditions Indicating End of Life or With Limited Life Expectancy&quot;:\n (\n &quot;US Core-Categorized Conditions&quot; C\n where C.code in &quot;Conditions likely terminal for opioid prescribing&quot;\n and C.clinicalStatus in &quot;Active Condition&quot;\n )\n union\n (\n &quot;US Core-Categorized Conditions&quot; C\n where C.code in &quot;Limited life expectancy conditions&quot;\n and C.clinicalStatus in &quot;Active Condition&quot;\n )</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSCommon</td>\n \n \n <td>Admitted/Referred/Discharged to Hospice Care</td>\n \n \n <td>13</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Admitted/Referred/Discharged to Hospice Care&quot;:\n (\n if (Config.&quot;Hospice Findings Exclusion Enabled&quot;) then\n [Observation: code in &quot;Hospice Finding Codes&quot;] O\n where not (O.status.value in { 'unknown', 'entered-in-error', 'cancelled' })\n else\n {}\n )\n union\n (\n [Encounter] E\n where date from E.period.start 1 year or less on or before Today()\n and (\n if E.hospitalization.dischargeDisposition.coding is null\n or not exists (E.hospitalization.dischargeDisposition.coding)\n then false\n else E.hospitalization.dischargeDisposition in &quot;Hospice Disposition&quot;\n )\n and E.status.value in { 'planned', 'arrived', 'in-progress', 'finished', 'onleave' }\n )</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSCommon</td>\n \n \n <td>End of Life Assessment</td>\n \n \n <td>14</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;End of Life Assessment&quot;:\n // 1. Conditions indicating end of life or with limited life expectancy\n exists (\n &quot;Conditions Indicating End of Life or With Limited Life Expectancy&quot;\n )\n // 2. Admitted/referred/discharged to hospice care\n or exists (\n &quot;Admitted/Referred/Discharged to Hospice Care&quot;\n )</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Exclusion Criteria</td>\n \n \n <td>15</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Exclusion Criteria&quot;:\n Common.&quot;End of Life Assessment&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10OrderSign</td>\n \n \n <td>Is Perform Drug Screen Recommendation Applicable?</td>\n \n \n <td>16</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Is Perform Drug Screen Recommendation Applicable?&quot;:\n &quot;Patient Is Being Prescribed Opioid Analgesic with Ambulatory Misuse Potential&quot;\n and Rec10Common.&quot;Inclusion Criteria For UDS Recommendation&quot;\n and not Rec10Common.&quot;Exclusion Criteria&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Amphetamine Simple Identifier</td>\n \n \n <td>17</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Amphetamine Simple Identifier&quot;: 'Amphetamine'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Amphetamine Screenings In Lookback Period</td>\n \n \n <td>18</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Amphetamines\ndefine &quot;Amphetamine Screenings In Lookback Period&quot;:\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; Lab\n where Lab.code in Common.&quot;Amphetamine Urine Tests&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Positive Amphetamine Screenings In Lookback Period</td>\n \n \n <td>19</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Positive Amphetamine Screenings In Lookback Period&quot;:\n GetPositiveLabsInLookbackPeriod(&quot;Amphetamine Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Negative Amphetamine Screenings In Lookback Period</td>\n \n \n <td>20</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Negative Amphetamine Screenings In Lookback Period&quot;:\n GetNegativeLabsInLookbackPeriod(&quot;Amphetamine Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Rx Lookback Period</td>\n \n \n <td>21</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Rx Lookback Period&quot;:\n Interval[Today() - 12 months - 31 days, Today()]</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Normalize Rx In Lookback Period</td>\n \n \n <td>22</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Normalize Rx In Lookback Period&quot;:\n Common.&quot;Get MedicationRequest Medication as Code&quot;(\n [MedicationRequest: status in { 'active', 'completed', 'stopped' }] Rx\n where Rx.category in Common.&quot;Community&quot;\n and Rx.intent = 'order'\n and Rx.authoredOn.value in day of &quot;Rx Lookback Period&quot;\n )</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Amphetamine Rx In Lookback Period</td>\n \n \n <td>23</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Amphetamine Rx In Lookback Period&quot;:\n &quot;Normalize Rx In Lookback Period&quot; Rx\n where Rx.medication in Common.&quot;Amphetamine Medications&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Barbiturate Simple Identifier</td>\n \n \n <td>24</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Barbiturate Simple Identifier&quot;: 'Barbiturate'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Barbiturate Screenings In Lookback Period</td>\n \n \n <td>25</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Barbiturates\ndefine &quot;Barbiturate Screenings In Lookback Period&quot;:\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; Lab\n where Lab.code in Common.&quot;Barbiturate Urine Tests&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Positive Barbiturate Screenings In Lookback Period</td>\n \n \n <td>26</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Positive Barbiturate Screenings In Lookback Period&quot;:\n GetPositiveLabsInLookbackPeriod(&quot;Barbiturate Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Negative Barbiturate Screenings In Lookback Period</td>\n \n \n <td>27</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Negative Barbiturate Screenings In Lookback Period&quot;:\n GetNegativeLabsInLookbackPeriod(&quot;Barbiturate Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Barbiturate Rx In Lookback Period</td>\n \n \n <td>28</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Barbiturate Rx In Lookback Period&quot;:\n &quot;Normalize Rx In Lookback Period&quot; Rx\n where Rx.medication in Common.&quot;Barbiturate Medications&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Benzodiazepine Simple Identifier</td>\n \n \n <td>29</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Benzodiazepine Simple Identifier&quot;: 'Benzodiazepine'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Benzodiazepine Screenings In Lookback Period</td>\n \n \n <td>30</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Benzodiazepines\ndefine &quot;Benzodiazepine Screenings In Lookback Period&quot;:\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; Lab\n where Lab.code in Common.&quot;Benzodiazepine Urine Tests&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Positive Benzodiazepine Screenings In Lookback Period</td>\n \n \n <td>31</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Positive Benzodiazepine Screenings In Lookback Period&quot;:\n GetPositiveLabsInLookbackPeriod(&quot;Benzodiazepine Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Negative Benzodiazepine Screenings In Lookback Period</td>\n \n \n <td>32</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Negative Benzodiazepine Screenings In Lookback Period&quot;:\n GetNegativeLabsInLookbackPeriod(&quot;Benzodiazepine Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Benzodiazepine Rx In Lookback Period</td>\n \n \n <td>33</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Benzodiazepine Rx In Lookback Period&quot;:\n &quot;Normalize Rx In Lookback Period&quot; Rx\n where Rx.medication in Common.&quot;Benzodiazepine medications&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Buprenorphine Simple Identifier</td>\n \n \n <td>34</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Buprenorphine Simple Identifier&quot;: 'Buprenorphine'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Buprenorphine Screenings In Lookback Period</td>\n \n \n <td>35</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Buprenorphine\ndefine &quot;Buprenorphine Screenings In Lookback Period&quot;:\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; Lab\n where Lab.code in Common.&quot;Buprenorphine Urine Tests&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Positive Buprenorphine Screenings In Lookback Period</td>\n \n \n <td>36</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Positive Buprenorphine Screenings In Lookback Period&quot;:\n GetPositiveLabsInLookbackPeriod(&quot;Buprenorphine Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Negative Buprenorphine Screenings In Lookback Period</td>\n \n \n <td>37</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Negative Buprenorphine Screenings In Lookback Period&quot;:\n GetNegativeLabsInLookbackPeriod(&quot;Buprenorphine Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Buprenorphine Rx In Lookback Period</td>\n \n \n <td>38</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Buprenorphine Rx In Lookback Period&quot;:\n &quot;Normalize Rx In Lookback Period&quot; Rx\n where Rx.medication in Common.&quot;Buprenorphine Medications&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Cannabinoid Simple Identifier</td>\n \n \n <td>39</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Cannabinoid Simple Identifier&quot;: 'Cannabinoid'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Cannabinoid Screenings In Lookback Period</td>\n \n \n <td>40</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Cannabinoids\ndefine &quot;Cannabinoid Screenings In Lookback Period&quot;:\n if Config.&quot;Cannabinoid Urine Screening Check Enabled&quot;\n then (\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; Lab\n where Lab.code in Common.&quot;Cannabinoid Urine Tests&quot;\n ) else null</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSCommonConfig</td>\n \n \n <td>Cannabinoid Urine Screening Check Enabled</td>\n \n \n <td>41</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Cannabinoid Urine Screening Check Enabled&quot;:\n false</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Positive Cannabinoid Screenings In Lookback Period</td>\n \n \n <td>42</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Positive Cannabinoid Screenings In Lookback Period&quot;:\n GetPositiveLabsInLookbackPeriod(&quot;Cannabinoid Screenings In Lookback Period&quot;, Config.&quot;Cannabinoid Urine Screening Check Enabled&quot;)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Negative Cannabinoid Screenings In Lookback Period</td>\n \n \n <td>43</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Negative Cannabinoid Screenings In Lookback Period&quot;:\n GetNegativeLabsInLookbackPeriod(&quot;Cannabinoid Screenings In Lookback Period&quot;, Config.&quot;Cannabinoid Urine Screening Check Enabled&quot;)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Cocaine Simple Identifier</td>\n \n \n <td>44</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Cocaine Simple Identifier&quot;: 'Cocaine'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Cocaine Screenings In Lookback Period</td>\n \n \n <td>45</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Cocaine\ndefine &quot;Cocaine Screenings In Lookback Period&quot;:\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; Lab\n where Lab.code in Common.&quot;Cocaine Urine Tests&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Positive Cocaine Screenings In Lookback Period</td>\n \n \n <td>46</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Positive Cocaine Screenings In Lookback Period&quot;:\n GetPositiveLabsInLookbackPeriod(&quot;Cocaine Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Negative Cocaine Screenings In Lookback Period</td>\n \n \n <td>47</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Negative Cocaine Screenings In Lookback Period&quot;:\n GetNegativeLabsInLookbackPeriod(&quot;Cocaine Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Fentanyl Simple Identifier</td>\n \n \n <td>48</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Fentanyl Simple Identifier&quot;: 'Fentanyl'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Fentanyl Screenings In Lookback Period</td>\n \n \n <td>49</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Fentanyl\ndefine &quot;Fentanyl Screenings In Lookback Period&quot;:\n if Config.&quot;Opiate Urine Screening Check Enabled&quot;\n then (\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; AllLabs\n where AllLabs.code in Common.&quot;Fentanyl Urine Tests&quot;\n ) else null</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSCommonConfig</td>\n \n \n <td>Opiate Urine Screening Check Enabled</td>\n \n \n <td>50</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Recommendation 10\ndefine &quot;Opiate Urine Screening Check Enabled&quot;:\n true</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Positive Fentanyl Screenings In Lookback Period</td>\n \n \n <td>51</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Positive Fentanyl Screenings In Lookback Period&quot;:\n GetPositiveLabsInLookbackPeriod(&quot;Fentanyl Screenings In Lookback Period&quot;, Config.&quot;Opiate Urine Screening Check Enabled&quot;)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Negative Fentanyl Screenings In Lookback Period</td>\n \n \n <td>52</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Negative Fentanyl Screenings In Lookback Period&quot;:\n GetNegativeLabsInLookbackPeriod(&quot;Fentanyl Screenings In Lookback Period&quot;, Config.&quot;Opiate Urine Screening Check Enabled&quot;)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Fentanyl Rx In Lookback Period</td>\n \n \n <td>53</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Fentanyl Rx In Lookback Period&quot;:\n &quot;Normalize Rx In Lookback Period&quot; Rx\n where Rx.medication in Common.&quot;Fentanyl Medications&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Heroin Simple Identifier</td>\n \n \n <td>54</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Heroin Simple Identifier&quot;: 'Heroin (6-AM)'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Heroin Screenings In Lookback Period</td>\n \n \n <td>55</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Heroin\ndefine &quot;Heroin Screenings In Lookback Period&quot;:\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; Lab\n where Lab.code in Common.&quot;Heroin Urine Tests&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Positive Heroin Screenings In Lookback Period</td>\n \n \n <td>56</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Positive Heroin Screenings In Lookback Period&quot;:\n GetPositiveLabsInLookbackPeriod(&quot;Heroin Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Negative Heroin Screenings In Lookback Period</td>\n \n \n <td>57</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Negative Heroin Screenings In Lookback Period&quot;:\n GetNegativeLabsInLookbackPeriod(&quot;Heroin Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Methadone Simple Identifier</td>\n \n \n <td>58</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Methadone Simple Identifier&quot;: 'Methadone'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Methadone Screenings In Lookback Period</td>\n \n \n <td>59</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Methadone\ndefine &quot;Methadone Screenings In Lookback Period&quot;:\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; Lab\n where Lab.code in Common.&quot;Methadone Urine Tests&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Positive Methadone Screenings In Lookback Period</td>\n \n \n <td>60</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Positive Methadone Screenings In Lookback Period&quot;:\n GetPositiveLabsInLookbackPeriod(&quot;Methadone Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Negative Methadone Screenings In Lookback Period</td>\n \n \n <td>61</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Negative Methadone Screenings In Lookback Period&quot;:\n GetNegativeLabsInLookbackPeriod(&quot;Methadone Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Methadone Rx In Lookback Period</td>\n \n \n <td>62</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Methadone Rx In Lookback Period&quot;:\n &quot;Normalize Rx In Lookback Period&quot; Rx\n where Rx.medication in Common.&quot;Methadone Medications&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Opiate Simple Identifier</td>\n \n \n <td>63</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Opiate Simple Identifier&quot;: 'Opiate'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Opiate Screenings In Lookback Period</td>\n \n \n <td>64</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Opiates\ndefine &quot;Opiate Screenings In Lookback Period&quot;:\n if Config.&quot;Opiate Urine Screening Check Enabled&quot;\n then (\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; Lab\n where Lab.code in Common.&quot;General Opiate Urine Tests&quot;\n ) else null</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Positive Opiate Screenings In Lookback Period</td>\n \n \n <td>65</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Positive Opiate Screenings In Lookback Period&quot;:\n GetPositiveLabsInLookbackPeriod(&quot;Opiate Screenings In Lookback Period&quot;, Config.&quot;Opiate Urine Screening Check Enabled&quot;)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Negative Opiate Screenings In Lookback Period</td>\n \n \n <td>66</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Negative Opiate Screenings In Lookback Period&quot;:\n GetNegativeLabsInLookbackPeriod(&quot;Opiate Screenings In Lookback Period&quot;, Config.&quot;Opiate Urine Screening Check Enabled&quot;)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Opiate Rx In Lookback Period</td>\n \n \n <td>67</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Opiate Rx In Lookback Period&quot;:\n &quot;Normalize Rx In Lookback Period&quot; Rx\n where Rx.medication in Common.&quot;Opiate Medications&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Oxycodone Simple Identifier</td>\n \n \n <td>68</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Oxycodone Simple Identifier&quot;: 'Oxycodone'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Oxycodone Screenings In Lookback Period</td>\n \n \n <td>69</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Oxycodone\ndefine &quot;Oxycodone Screenings In Lookback Period&quot;:\n if Config.&quot;Opiate Urine Screening Check Enabled&quot;\n then (\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; Lab\n where Lab.code in Common.&quot;Oxycodone Urine Tests&quot;\n ) else null</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Positive Oxycodone Screenings In Lookback Period</td>\n \n \n <td>70</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Positive Oxycodone Screenings In Lookback Period&quot;:\n GetPositiveLabsInLookbackPeriod(&quot;Oxycodone Screenings In Lookback Period&quot;, Config.&quot;Opiate Urine Screening Check Enabled&quot;)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Negative Oxycodone Screenings In Lookback Period</td>\n \n \n <td>71</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Negative Oxycodone Screenings In Lookback Period&quot;:\n GetNegativeLabsInLookbackPeriod(&quot;Oxycodone Screenings In Lookback Period&quot;, Config.&quot;Opiate Urine Screening Check Enabled&quot;)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Oxycodone Rx In Lookback Period</td>\n \n \n <td>72</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Oxycodone Rx In Lookback Period&quot;:\n &quot;Normalize Rx In Lookback Period&quot; Rx\n where Rx.medication in Common.&quot;Oxycodone Medications&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>PCP Simple Identifier</td>\n \n \n <td>73</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;PCP Simple Identifier&quot;: 'Phencyclidine (PCP)'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>PCP Screenings In Lookback Period</td>\n \n \n <td>74</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// PCP\ndefine &quot;PCP Screenings In Lookback Period&quot;:\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; AllLabs\n where AllLabs.code in Common.&quot;PCP Urine Tests&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Positive PCP Screenings In Lookback Period</td>\n \n \n <td>75</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Positive PCP Screenings In Lookback Period&quot;:\n GetPositiveLabsInLookbackPeriod(&quot;PCP Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Negative PCP Screenings In Lookback Period</td>\n \n \n <td>76</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Negative PCP Screenings In Lookback Period&quot;:\n GetNegativeLabsInLookbackPeriod(&quot;PCP Screenings In Lookback Period&quot;, true)</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Unexpected Details</td>\n \n \n <td>77</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// Details Logic\ndefine &quot;Unexpected Details&quot;:\n {\n CreateDetailWithPossibleUnexpectedNegative(\n &quot;Amphetamine Simple Identifier&quot;, &quot;Positive Amphetamine Screenings In Lookback Period&quot;, \n &quot;Negative Amphetamine Screenings In Lookback Period&quot;, &quot;Amphetamine Rx In Lookback Period&quot;\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n &quot;Barbiturate Simple Identifier&quot;, &quot;Positive Barbiturate Screenings In Lookback Period&quot;, \n &quot;Negative Barbiturate Screenings In Lookback Period&quot;, &quot;Barbiturate Rx In Lookback Period&quot;\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n &quot;Benzodiazepine Simple Identifier&quot;, &quot;Positive Benzodiazepine Screenings In Lookback Period&quot;, \n &quot;Negative Benzodiazepine Screenings In Lookback Period&quot;, &quot;Benzodiazepine Rx In Lookback Period&quot;\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n &quot;Buprenorphine Simple Identifier&quot;, &quot;Positive Buprenorphine Screenings In Lookback Period&quot;, \n &quot;Negative Buprenorphine Screenings In Lookback Period&quot;, &quot;Buprenorphine Rx In Lookback Period&quot;\n ),\n CreateDetailWithoutPossibleUnexpectedNegative(\n &quot;Cannabinoid Simple Identifier&quot;, &quot;Positive Cannabinoid Screenings In Lookback Period&quot;, \n &quot;Negative Cannabinoid Screenings In Lookback Period&quot;\n ),\n CreateDetailWithoutPossibleUnexpectedNegative(\n &quot;Cocaine Simple Identifier&quot;, &quot;Positive Cocaine Screenings In Lookback Period&quot;, \n &quot;Negative Cocaine Screenings In Lookback Period&quot;\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n &quot;Fentanyl Simple Identifier&quot;, &quot;Positive Fentanyl Screenings In Lookback Period&quot;, \n &quot;Negative Fentanyl Screenings In Lookback Period&quot;, &quot;Fentanyl Rx In Lookback Period&quot;\n ),\n CreateDetailWithoutPossibleUnexpectedNegative(\n &quot;Heroin Simple Identifier&quot;, &quot;Positive Heroin Screenings In Lookback Period&quot;, \n &quot;Negative Heroin Screenings In Lookback Period&quot;\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n &quot;Methadone Simple Identifier&quot;, &quot;Positive Methadone Screenings In Lookback Period&quot;, \n &quot;Negative Methadone Screenings In Lookback Period&quot;, &quot;Methadone Rx In Lookback Period&quot;\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n &quot;Opiate Simple Identifier&quot;, &quot;Positive Opiate Screenings In Lookback Period&quot;, \n &quot;Negative Opiate Screenings In Lookback Period&quot;, &quot;Opiate Rx In Lookback Period&quot;\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n &quot;Oxycodone Simple Identifier&quot;, &quot;Positive Oxycodone Screenings In Lookback Period&quot;, \n &quot;Negative Oxycodone Screenings In Lookback Period&quot;, &quot;Oxycodone Rx In Lookback Period&quot;\n ),\n CreateDetailWithoutPossibleUnexpectedNegative(\n &quot;PCP Simple Identifier&quot;, &quot;Positive PCP Screenings In Lookback Period&quot;, \n &quot;Negative PCP Screenings In Lookback Period&quot;\n )\n }</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Inclusion Criteria For Unexpected Results</td>\n \n \n <td>78</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Inclusion Criteria For Unexpected Results&quot;:\n AnyTrue(\n &quot;Unexpected Details&quot; Details\n return (exists Details.unexpectedPosDetails) or (exists Details.unexpectedNegDetails)\n )</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10OrderSign</td>\n \n \n <td>Applicable Because of Unexpected Results</td>\n \n \n <td>79</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Applicable Because of Unexpected Results&quot;:\n &quot;Patient Is Being Prescribed Opioid Analgesic with Ambulatory Misuse Potential&quot;\n and Rec10Common.&quot;Inclusion Criteria For Unexpected Results&quot;\n and not Rec10Common.&quot;Exclusion Criteria&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSCommon</td>\n \n \n <td>Style Header</td>\n \n \n <td>80</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Style Header&quot;:\n '&lt;style&gt;\\r\\n .alert-body {\\r\\n width: 670px;\\r\\n font-family: segoe-ui, sans-serif;\\r\\n background-color: #FEFFF1;\\r\\n }\\r\\n\\r\\n .details-table {\\r\\n border-collapse:collapse;\\r\\n border-style: ridge;\\r\\n background-color: #FEFFF1;\\r\\n padding: 2px;\\r\\n }\\r\\n\\r\\n .details-caption {\\r\\n border-style: ridge;\\r\\n border-bottom: none;\\r\\n background-color: #FEFFF1;\\r\\n padding: 2px;\\r\\n }\\r\\n\\r\\n .details-table-header {\\r\\n border-style: ridge;\\r\\n padding: 5px;\\r\\n }\\r\\n\\r\\n .details-table-cell {\\r\\n border-style: ridge;\\r\\n padding: 5px;\\r\\n }\\r\\n\\r\\n .details-table-footer-cell {\\r\\n border-style: ridge;\\r\\n padding: 5px;\\r\\n font-size: small;\\r\\n }\\r\\n\\r\\n .details-table-cell-unexpected {\\r\\n border-style: ridge;\\r\\n padding: 5px;\\r\\n color: red;\\r\\n font-weight: bold;\\r\\n }\\r\\n\\r\\n .more-text {\\r\\n position: relative;\\r\\n margin-bottom: 2em;\\r\\n }\\r\\n \\r\\n .more {\\r\\n display:none;\\r\\n }\\r\\n\\r\\n #box .show-more:checked + .more {\\r\\n display:block;\\r\\n }\\r\\n&lt;\\/style&gt;'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Unexpected Div Start</td>\n \n \n <td>81</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Unexpected Div Start&quot;:\n '&lt;div class=\\&quot;alert-body\\&quot;&gt;&lt;div&gt;&lt;p&gt;Patient may have &lt;strong&gt;unexpected urine toxicology test results&lt;\\/strong&gt; in the past year.&lt;\\/p&gt;&lt;\\/div&gt;'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Table Start</td>\n \n \n <td>82</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Table Start&quot;:\n '&lt;div&gt;&lt;table class=\\&quot;details-table\\&quot;&gt;&lt;caption class=\\&quot;details-caption\\&quot;&gt;Urine Toxicology Results&lt;\\/caption&gt;&lt;tr&gt;&lt;th class=\\&quot;details-table-header\\&quot;&gt;Substance&lt;\\/th&gt;'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>All Lab Dates in Lookback Period</td>\n \n \n <td>83</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;All Lab Dates in Lookback Period&quot;:\n (\n &quot;All Opioid or Non-opioid UDS in Lookback Period&quot; Lab\n return date from FHIRHelpers.ToDateTime(Lab.effective as FHIR.dateTime)\n ) X sort desc</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Table Headers</td>\n \n \n <td>84</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Table Headers&quot;:\n &quot;All Lab Dates in Lookback Period&quot; LabDate\n return '&lt;th class=\\&quot;details-table-header\\&quot;&gt;' + ToString(LabDate) + '&lt;\\/th&gt;'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Generate Table Rows</td>\n \n \n <td>85</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Generate Table Rows&quot;:\n &quot;Unexpected Details&quot; BOT\n let row: ToString(IndexOf(&quot;Unexpected Details&quot;, BOT) + 1)\n return '&lt;tr&gt;' + GetExpectedColumn(BOT.ingredient) + Combine(\n &quot;All Lab Dates in Lookback Period&quot; LabDate\n let col: ToString(IndexOf(&quot;All Lab Dates in Lookback Period&quot;, LabDate) + 2)\n return all (\n if BOT.unexpectedPosDetails.date contains LabDate\n then GetUnexpectedColumn('pos', row + ':' + col)\n else if BOT.unexpectedNegDetails.udsDate contains LabDate\n then GetUnexpectedColumn('neg', row + ':' + col)\n else if BOT.posDates contains LabDate\n then GetExpectedColumn('pos')\n else if BOT.negDates contains LabDate\n then GetExpectedColumn('neg')\n else GetExpectedColumn('n/a')\n )\n ) + '&lt;\\/tr&gt;'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Generate Footer Rows</td>\n \n \n <td>86</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Generate Footer Rows&quot;:\n &quot;Unexpected Details&quot; BOT\n let row: ToString(IndexOf(&quot;Unexpected Details&quot;, BOT) + 1),\n colspan: Length(&quot;All Lab Dates in Lookback Period&quot;) + 1\n return Combine(\n &quot;All Lab Dates in Lookback Period&quot; LabDate\n let col: ToString(IndexOf(&quot;All Lab Dates in Lookback Period&quot;, LabDate) + 2)\n return all (\n if BOT.unexpectedPosDetails.date contains LabDate\n then singleton from (\n BOT.unexpectedPosDetails PosDetail\n where PosDetail.date = LabDate\n return '&lt;tr&gt;' + GetFooterColumn(colspan, row + ':' + col + ' - Possible unprescribed substance found: ' + PosDetail.udsDetail) + '&lt;\\/tr&gt;'\n )\n else if BOT.unexpectedNegDetails.udsDate contains LabDate\n then singleton from (\n BOT.unexpectedNegDetails NegDetail\n where NegDetail.udsDate = LabDate\n return '&lt;tr&gt;' + GetFooterColumn(colspan, row + ':' + col + ' - Possible unexpected negative result found: prescribed ' + NegDetail.rxDetail + ' on ' + ToString(NegDetail.rxDate)) + '&lt;\\/tr&gt;'\n )\n else ''\n )\n )</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Table End</td>\n \n \n <td>87</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Table End&quot;:\n '&lt;\\/table&gt;&lt;\\/div&gt;'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Details Table</td>\n \n \n <td>88</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Details Table&quot;: \n &quot;Table Start&quot; + Combine(&quot;Table Headers&quot;) \n + '&lt;tbody&gt;' + Combine(&quot;Generate Table Rows&quot;) + '&lt;/tbody&gt;' \n + '&lt;tfoot&gt;' + Combine(&quot;Generate Footer Rows&quot;) + '&lt;\\/tfoot&gt;' \n + &quot;Table End&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Details More Info</td>\n \n \n <td>89</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Details More Info&quot;:\n '&lt;div id=\\&quot;box\\&quot;&gt;\\r\\n &lt;p&gt;Note on false positives and unexpected negative results...&lt;\\/p&gt;\\r\\n &lt;input type=\\&quot;checkbox\\&quot; class=\\&quot;show-more\\&quot;&gt; Show more\\r\\n &lt;div class=\\&quot;more\\&quot;&gt;\\r\\n &lt;p&gt;Positive results may be a false positives or could represent occasional use or possible substance use disorder.&lt;br\\/&gt;&lt;br\\/&gt;For a review regarding interpreting possible false positive urine toxicology results, see &lt;a target=\\&quot;_blank\\&quot; href=\\&quot;https:\\/\\/pubmed.ncbi.nlm.nih.gov\\/24986836\\&quot;&gt;http:\\/\\/pubmed.ncbi.nlm.nih.gov\\/24986836&lt;\\/a&gt;. It is unknown if the findings reported in this article can be extrapolated to other laboratory analyzers that were not used in the referenced studies.&lt;br\\/&gt;&lt;br\\/&gt;For guidance regarding evaluating and addressing unexpected toxicology tests results, see &lt;a target=\\&quot;_blank\\&quot; href=\\&quot;https:\\/\\/www.cdc.gov\\/mmwr\\/volumes\\/71\\/rr\\/rr7103a1.htm#Recommendation10\\&quot;&gt;Recommendation 10 of the 22 CDC Clinical Practice Guideiline&lt;\\/a&gt;.&lt;\\/p&gt;\\r\\n &lt;p&gt;An unexpectedly negative test may be due to diversion, intermittent use, aberrant drug use behavior, or other factors, including a false negative result. Clinicians should interpret this result in the context of the overall treatment plan.&lt;\\/p&gt;\\r\\n &lt;\\/div&gt;\\r\\n&lt;\\/div&gt;'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Div End</td>\n \n \n <td>90</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Div End&quot;: '&lt;\\/div&gt;'</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10Common</td>\n \n \n <td>Get HTML Details</td>\n \n \n <td>91</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">// HTML Generation\ndefine &quot;Get HTML Details&quot;:\n Common.&quot;Style Header&quot; + &quot;Unexpected Div Start&quot; + &quot;Details Table&quot; + &quot;Details More Info&quot; + &quot;Div End&quot;</code></pre>\n \n <br/><br/>\n \n <table class=\"grid-dict\">\n <tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>\n <tr>\n \n <td>OpioidCDSREC10OrderSign</td>\n \n \n <td>Detail</td>\n \n \n <td>92</td>\n \n </tr>\n </table>\n \n <pre><code class=\"language-cql\">define &quot;Detail&quot;:\n Rec10Common.&quot;Get HTML Details&quot;</code></pre>\n \n <br/><br/>\n \n </td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Knowledge Capability: </b></th>\n <td style=\"padding-left: 4px;\">\n shareable computable executable publishable \n </td>\n </tr>\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><th><b>code</b></th><th><b>value</b></th><th><b>display</b></th></tr>\n \n <tr>\n <td>focus</td>\n <td>182888003</td>\n <td>Medication requested (situation)</td>\n </tr>\n \n <tr>\n <td>focus</td>\n <td>82423001</td>\n <td>Chronic pain (finding)</td>\n </tr>\n \n <tr>\n <td>focus</td>\n <td/>\n <td/>\n </tr>\n \n </table>\n </td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Jurisdiction: </b></th>\n <td style=\"padding-left: 4px;\">US</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Purpose: </b></th>\n <td style=\"padding-left: 4px;\"><div><p>The 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain is intended to improve communication between clinicians and patients about the benefits and risks of pain treatments, including opioid therapy; improve the effectiveness and safety of pain treatment; mitigate pain; improve function and quality of life for patients with pain; and reduce risks associated with opioid pain therapy, including opioid use disorder, overdose, and death. The recommendations do not apply to pain related to sickle cell disease or cancer or to patients receiving palliative or end-of-life care.</p>\n</div></td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Usage: </b></th>\n <td style=\"padding-left: 4px;\">Before starting opioids and periodically (at least annually) during opioid therapy, clinicians should consider the benefits and risks of toxicology testing to assess for prescribed opioids and other prescription and nonprescription controlled substances that increase risk for overdose when combined with opioids, including nonprescribed and illicit opioids and benzodiazepines.</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Copyright: </b></th>\n <td style=\"padding-left: 4px;\"><div><p>© CDC 2016+.</p>\n</div></td>\n </tr>\n \n \n \n \n \n \n <tr>\n <th scope=\"row\"><b>Related Artifacts: </b></th>\n <td style=\"padding-left: 4px;\">\n \n <p><b>Documentation</b></p>\n <ul>\n \n <li>\n <a href=\"https://www.cdc.gov/mmwr/volumes/71/rr/pdfs/rr7103a1-H.pdf\"> 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain</a>\n </li>\n \n </ul>\n \n \n \n \n \n \n \n </td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Libraries: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n \n <tr><td><a href=\"Library-OpioidCDSREC10OrderSign.html\">Library - Recommendation #10 - Urine Drug Testing</a></td></tr>\n \n </table>\n </td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Actions: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n \n <tr>\n <td>\n <b>1. Consider the Benefits and Risks of Conducting a Urine Toxicology Screen:</b> Consider the benefits and risks of toxicology testing to assess for prescribed medications as well as other prescribed and nonprescribed controlled substances.\r\n\r\nFor guidance regarding utilizing toxicology tests when prescribing opioids, see [Recommendation 10 of the 2022 CDC Clinical Practice Guideline](https://www.cdc.gov/mmwr/volumes/71/rr/rr7103a1.htm#Recommendation10).<br/>\n <b>When:</b> <i>named-event:</i> order-sign<br/>\n <b>If:</b> <i>applicability:</i> Patient has not had a urine screening in the past 12 months <i>(Is Perform Drug Screen Recommendation Applicable?)</i><br/>\n <b>Then:</b>\n \n <table class=\"grid-dict\">\n \n <tr>\n <td>\n <b> :</b> Document - Ordered toxicology screen<br/>\n \n \n <b>Then:</b>\n \n \n \n \n </td>\n </tr>\n \n <tr>\n <td>\n <b> :</b> Document - Risks outweigh benefits<br/>\n \n \n <b>Then:</b>\n \n \n \n \n </td>\n </tr>\n \n <tr>\n <td>\n <b> :</b> Snooze* - N/A see comment, snooze 3 months<br/>\n \n \n <b>Then:</b>\n \n \n \n \n </td>\n </tr>\n \n </table>\n \n </td>\n </tr>\n \n <tr>\n <td>\n <b>2. Patient May Have Unexpected Toxicology Test Results:</b> Patient may have unexpected urine toxicology test results in the past year<br/>\n <b>When:</b> <i>named-event:</i> order-sign<br/>\n <b>If:</b> <i>applicability:</i> Patient may have unexpected urine toxicology test results in the past year <i>(Applicable Because of Unexpected Results)</i><br/>\n <b>Then:</b>\n \n <table class=\"grid-dict\">\n \n <tr>\n <td>\n <b> :</b> Document - Will repeat urine drug screen more frequently<br/>\n \n \n <b>Then:</b>\n \n \n \n \n </td>\n </tr>\n \n <tr>\n <td>\n <b> :</b> Document - Will assess patient for substance use disorder<br/>\n \n \n <b>Then:</b>\n \n \n \n \n </td>\n </tr>\n \n <tr>\n <td>\n <b> :</b> Snooze* - Patient's test results were expected, snooze for 3 months<br/>\n \n \n <b>Then:</b>\n \n \n \n \n </td>\n </tr>\n \n <tr>\n <td>\n <b> :</b> Snooze* - N/A snooze for 3 months<br/>\n \n \n <b>Then:</b>\n \n \n \n \n </td>\n </tr>\n \n </table>\n \n </td>\n </tr>\n \n </table>\n </td>\n </tr>\n \n </table>\n</div>" ] ; # fhir:contained ( [ a fhir:Library ; fhir:id [ fhir:v "effective-data-requirements" ] ; fhir:status [ fhir:v "active" ] ; fhir:type [ ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "module-definition" ] ] ) ] ; ( fhir:relatedArtifact [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library Common" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommon|2022.1.0"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommon|2022.1.0> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library FHIRHelpers" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/Library/FHIRHelpers|4.0.1"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/Library/FHIRHelpers|4.0.1> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library Routines" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSRoutines|2022.1.0"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSRoutines|2022.1.0> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library Rec10Common" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSREC10Common|2022.1.0"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSREC10Common|2022.1.0> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library Routines" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSRoutines|2022.1.0"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSRoutines|2022.1.0> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Library Config" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommonConfig|2022.1.0"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommonConfig|2022.1.0> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Opioid analgesics with ambulatory misuse potential" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-analgesics-with-ambulatory-misuse-potential"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-analgesics-with-ambulatory-misuse-potential> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Community" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Encounter Diagnosis Condition Category" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-encounter-diagnosis-category"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-encounter-diagnosis-category> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Problem List Condition Category" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-problem-list-category"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-problem-list-category> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set US Core Health Concern Condition Category" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-us-core-health-concern-category"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-us-core-health-concern-category> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Limited life expectancy conditions" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/limited-life-expectancy-conditions"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/limited-life-expectancy-conditions> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Active Condition" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-clinical-status-active"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-clinical-status-active> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set All Drug Urine Screening" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Conditions likely terminal for opioid prescribing" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/conditions-likely-terminal-for-opioid-prescribing"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/conditions-likely-terminal-for-opioid-prescribing> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Amphetamine Urine Tests" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/amphetamine-drug-urine-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/amphetamine-drug-urine-screening-tests> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Amphetamine Medications" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/amphetamines-class-medications"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/amphetamines-class-medications> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Barbiturate Urine Tests" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/barbiturate-drug-urine-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/barbiturate-drug-urine-screening-tests> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Barbiturate Medications" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/barbiturate-medications"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/barbiturate-medications> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Benzodiazepine Urine Tests" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/benzodiazepine-drug-urine-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/benzodiazepine-drug-urine-screening-tests> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Benzodiazepine medications" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/benzodiazepine-medications"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/benzodiazepine-medications> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Buprenorphine Urine Tests" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/buprenorphine-drug-urine-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/buprenorphine-drug-urine-screening-tests> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Buprenorphine Medications" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/buprenorphine-medications"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/buprenorphine-medications> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Cocaine Urine Tests" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/cocaine-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/cocaine-urine-drug-screening-tests> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Fentanyl Medications" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/fentanyl-type-medications"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/fentanyl-type-medications> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Heroin Urine Tests" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/heroin-drug-urine-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/heroin-drug-urine-screening-tests> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Methadone Urine Tests" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/methadone-drug-urine-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/methadone-drug-urine-screening-tests> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Methadone Medications" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/methadone-medications"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/methadone-medications> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Opiate Medications" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/non-synthetic-opioid-medications"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/non-synthetic-opioid-medications> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set Oxycodone Medications" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/oxycodone-medications"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/oxycodone-medications> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Value set PCP Urine Tests" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/phencyclidine-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/phencyclidine-urine-drug-screening-tests> ] ] ) ; ( fhir:parameter [ fhir:name [ fhir:v "ContextPrescriptions" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "*" ] ; fhir:type [ fhir:v "MedicationRequest" ] ] [ fhir:name [ fhir:v "Is Perform Drug Screen Recommendation Applicable?" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "boolean" ] ] [ fhir:name [ fhir:v "Applicable Because of Unexpected Results" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "boolean" ] ] [ fhir:name [ fhir:v "Detail" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "string" ] ] ) ; ( fhir:dataRequirement [ fhir:type [ fhir:v "Medication" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Medication"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Medication> ] ) ; ( fhir:mustSupport [ fhir:v "id" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "id" ] ] ) ] [ fhir:type [ fhir:v "Condition" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Condition"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Condition> ] ) ; ( fhir:mustSupport [ fhir:v "category" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "category" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-encounter-diagnosis-category"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-encounter-diagnosis-category> ] ] ) ] [ fhir:type [ fhir:v "Condition" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Condition"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Condition> ] ) ; ( fhir:mustSupport [ fhir:v "category" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "category" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-problem-list-category"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-problem-list-category> ] ] ) ] [ fhir:type [ fhir:v "Condition" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Condition"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Condition> ] ) ; ( fhir:mustSupport [ fhir:v "category" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "category" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-us-core-health-concern-category"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-us-core-health-concern-category> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Encounter" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Encounter> ] ) ; ( fhir:mustSupport [ fhir:v "period" ] [ fhir:v "period.start" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "Observation" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ) ; ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "code" ] ; fhir:valueSet [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests> ] ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ; ( fhir:mustSupport [ fhir:v "status" ] [ fhir:v "category" ] [ fhir:v "intent" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "medication" ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "status" ] ; ( fhir:code [ fhir:code [ fhir:v "active" ] ] [ fhir:code [ fhir:v "completed" ] ] [ fhir:code [ fhir:v "stopped" ] ] ) ] ) ] ) ] ) ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "shareable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "computable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "executable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "publishable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Device/cqf-tooling" ] ] ] [ fhir:id [ fhir:v "effective-data-requirements" ] ; fhir:url [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/effectiveDataRequirements"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "#effective-data-requirements" ] ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Device/cqf-tooling" ] ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10OrderSign" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Subacute or Chronic Pain Opioid Analgesic with Ambulatory Misuse Potential Prescriptions" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Subacute or Chronic Pain Opioid Analgesic with Ambulatory Misuse Potential Prescriptions\":\n ( Common.\"Is Opioid Analgesic with Ambulatory Misuse Potential?\"( ContextPrescriptions ) ) AmbulatoryOpioidPrescription\n where Routines.\"Is Subacute or Chronic Pain Prescription?\"( AmbulatoryOpioidPrescription )" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "0"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10OrderSign" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Patient Is Being Prescribed Opioid Analgesic with Ambulatory Misuse Potential" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Patient Is Being Prescribed Opioid Analgesic with Ambulatory Misuse Potential\":\n exists( \"Subacute or Chronic Pain Opioid Analgesic with Ambulatory Misuse Potential Prescriptions\" )" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "1"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSRoutines" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Patient Age Less Than 18" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Patient Age Less Than 18\":\n if (Config.\"Age Less than 18 Years Is Enabled\") then\n AgeInYearsAt(Today()) < 18\n else\n false" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "2"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSRoutines" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Condition Positive for Sickle Cell" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Condition Positive for Sickle Cell\":\n if (Config.\"Sickle Cell Check Enabled\") then\n exists(\n Common.\"Positive Sickle Cell Condition\"\n ) else\n false" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "3"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSCommon" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "US Core-Categorized Conditions" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// 3. Medications indicating end of life\n /* or exists (\n \"Medications Indicating End of Life\"\n ) */\ndefine \"US Core-Categorized Conditions\":\n [Condition: category in \"Encounter Diagnosis Condition Category\"]\n union [Condition: category in \"Problem List Condition Category\"]\n union [Condition: category in \"US Core Health Concern Condition Category\"]" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "4"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSRoutines" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Conditions Indicating End Of Life Present" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Conditions Indicating End Of Life Present\":\n exists (\n Common.\"US Core-Categorized Conditions\" LLEC\n where LLEC.code in Common.\"Limited life expectancy conditions\"\n and LLEC.clinicalStatus in Common.\"Active Condition\"\n )" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "5"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSRoutines" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Is Active Cancer Treatment?" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Is Active Cancer Treatment?\":\n if (Config.\"Active Cancer Treatment Encounters Condition Is Enabled\") then\n \"Has Two or More Encounters with Cancer Diagnosis During Encounter Period\"\n else\n false" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "6"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSRoutines" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Conditions Including Cancer To Exclude Opioid Management Indicating End-Stage Disease Present" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Conditions Including Cancer To Exclude Opioid Management Indicating End-Stage Disease Present\":\n if (Config.\"End-Stage Disease Criteria Enabled\") then\n exists (\n Common.\"US Core-Categorized Conditions\" EOLC\n where EOLC.code in Common.\"Conditions likely terminal for opioid prescribing\"\n and EOLC.clinicalStatus in Common.\"Active Condition\"\n )\n else\n false" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "7"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSRoutines" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Is Opioid Review Useful?" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Is Opioid Review Useful?\":\n not \"Patient Age Less Than 18\"\n and not \"Condition Positive for Sickle Cell\"\n and not \"Conditions Indicating End Of Life Present\"\n and not \"Is Active Cancer Treatment?\"\n and not \"Conditions Including Cancer To Exclude Opioid Management Indicating End-Stage Disease Present\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "8"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "UDS Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Constants\ndefine \"UDS Lookback Period\":\n Interval[Today() - 12 months - 1 days, Today()]" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "9"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "All Opioid or Non-opioid UDS in Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"All Opioid or Non-opioid UDS in Lookback Period\":\n (\n [Observation: Common.\"All Drug Urine Screening\"] Lab\n where date from Lab.effective in day of \"UDS Lookback Period\"\n and not (Lab.status.value in { 'unknown', 'entered-in-error', 'cancelled' })\n ) X sort by date from FHIRHelpers.ToDateTime(effective as FHIR.dateTime) desc" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "10"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Inclusion Criteria For UDS Recommendation" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "/*\n@description: Determines whether an opioid review is appropriate for the patient and whether they had a UDS performed in the past year\n*/\ndefine \"Inclusion Criteria For UDS Recommendation\":\n Routines.\"Is Opioid Review Useful?\"\n and not exists (\"All Opioid or Non-opioid UDS in Lookback Period\")" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "11"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSCommon" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Conditions Indicating End of Life or With Limited Life Expectancy" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Conditions Indicating End of Life or With Limited Life Expectancy\":\n (\n \"US Core-Categorized Conditions\" C\n where C.code in \"Conditions likely terminal for opioid prescribing\"\n and C.clinicalStatus in \"Active Condition\"\n )\n union\n (\n \"US Core-Categorized Conditions\" C\n where C.code in \"Limited life expectancy conditions\"\n and C.clinicalStatus in \"Active Condition\"\n )" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "12"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSCommon" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Admitted/Referred/Discharged to Hospice Care" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Admitted/Referred/Discharged to Hospice Care\":\n (\n if (Config.\"Hospice Findings Exclusion Enabled\") then\n [Observation: code in \"Hospice Finding Codes\"] O\n where not (O.status.value in { 'unknown', 'entered-in-error', 'cancelled' })\n else\n {}\n )\n union\n (\n [Encounter] E\n where date from E.period.start 1 year or less on or before Today()\n and (\n if E.hospitalization.dischargeDisposition.coding is null\n or not exists (E.hospitalization.dischargeDisposition.coding)\n then false\n else E.hospitalization.dischargeDisposition in \"Hospice Disposition\"\n )\n and E.status.value in { 'planned', 'arrived', 'in-progress', 'finished', 'onleave' }\n )" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "13"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSCommon" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "End of Life Assessment" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"End of Life Assessment\":\n // 1. Conditions indicating end of life or with limited life expectancy\n exists (\n \"Conditions Indicating End of Life or With Limited Life Expectancy\"\n )\n // 2. Admitted/referred/discharged to hospice care\n or exists (\n \"Admitted/Referred/Discharged to Hospice Care\"\n )" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "14"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Exclusion Criteria" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Exclusion Criteria\":\n Common.\"End of Life Assessment\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "15"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10OrderSign" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Is Perform Drug Screen Recommendation Applicable?" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Is Perform Drug Screen Recommendation Applicable?\":\n \"Patient Is Being Prescribed Opioid Analgesic with Ambulatory Misuse Potential\"\n and Rec10Common.\"Inclusion Criteria For UDS Recommendation\"\n and not Rec10Common.\"Exclusion Criteria\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "16"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Amphetamine Simple Identifier" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Amphetamine Simple Identifier\": 'Amphetamine'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "17"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Amphetamine Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Amphetamines\ndefine \"Amphetamine Screenings In Lookback Period\":\n \"All Opioid or Non-opioid UDS in Lookback Period\" Lab\n where Lab.code in Common.\"Amphetamine Urine Tests\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "18"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive Amphetamine Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive Amphetamine Screenings In Lookback Period\":\n GetPositiveLabsInLookbackPeriod(\"Amphetamine Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "19"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Negative Amphetamine Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Negative Amphetamine Screenings In Lookback Period\":\n GetNegativeLabsInLookbackPeriod(\"Amphetamine Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "20"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Rx Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Rx Lookback Period\":\n Interval[Today() - 12 months - 31 days, Today()]" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "21"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Normalize Rx In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Normalize Rx In Lookback Period\":\n Common.\"Get MedicationRequest Medication as Code\"(\n [MedicationRequest: status in { 'active', 'completed', 'stopped' }] Rx\n where Rx.category in Common.\"Community\"\n and Rx.intent = 'order'\n and Rx.authoredOn.value in day of \"Rx Lookback Period\"\n )" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "22"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Amphetamine Rx In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Amphetamine Rx In Lookback Period\":\n \"Normalize Rx In Lookback Period\" Rx\n where Rx.medication in Common.\"Amphetamine Medications\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "23"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Barbiturate Simple Identifier" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Barbiturate Simple Identifier\": 'Barbiturate'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "24"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Barbiturate Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Barbiturates\ndefine \"Barbiturate Screenings In Lookback Period\":\n \"All Opioid or Non-opioid UDS in Lookback Period\" Lab\n where Lab.code in Common.\"Barbiturate Urine Tests\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "25"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive Barbiturate Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive Barbiturate Screenings In Lookback Period\":\n GetPositiveLabsInLookbackPeriod(\"Barbiturate Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "26"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Negative Barbiturate Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Negative Barbiturate Screenings In Lookback Period\":\n GetNegativeLabsInLookbackPeriod(\"Barbiturate Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "27"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Barbiturate Rx In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Barbiturate Rx In Lookback Period\":\n \"Normalize Rx In Lookback Period\" Rx\n where Rx.medication in Common.\"Barbiturate Medications\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "28"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Benzodiazepine Simple Identifier" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Benzodiazepine Simple Identifier\": 'Benzodiazepine'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "29"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Benzodiazepine Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Benzodiazepines\ndefine \"Benzodiazepine Screenings In Lookback Period\":\n \"All Opioid or Non-opioid UDS in Lookback Period\" Lab\n where Lab.code in Common.\"Benzodiazepine Urine Tests\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "30"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive Benzodiazepine Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive Benzodiazepine Screenings In Lookback Period\":\n GetPositiveLabsInLookbackPeriod(\"Benzodiazepine Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "31"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Negative Benzodiazepine Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Negative Benzodiazepine Screenings In Lookback Period\":\n GetNegativeLabsInLookbackPeriod(\"Benzodiazepine Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "32"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Benzodiazepine Rx In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Benzodiazepine Rx In Lookback Period\":\n \"Normalize Rx In Lookback Period\" Rx\n where Rx.medication in Common.\"Benzodiazepine medications\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "33"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Buprenorphine Simple Identifier" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Buprenorphine Simple Identifier\": 'Buprenorphine'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "34"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Buprenorphine Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Buprenorphine\ndefine \"Buprenorphine Screenings In Lookback Period\":\n \"All Opioid or Non-opioid UDS in Lookback Period\" Lab\n where Lab.code in Common.\"Buprenorphine Urine Tests\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "35"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive Buprenorphine Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive Buprenorphine Screenings In Lookback Period\":\n GetPositiveLabsInLookbackPeriod(\"Buprenorphine Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "36"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Negative Buprenorphine Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Negative Buprenorphine Screenings In Lookback Period\":\n GetNegativeLabsInLookbackPeriod(\"Buprenorphine Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "37"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Buprenorphine Rx In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Buprenorphine Rx In Lookback Period\":\n \"Normalize Rx In Lookback Period\" Rx\n where Rx.medication in Common.\"Buprenorphine Medications\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "38"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Cannabinoid Simple Identifier" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Cannabinoid Simple Identifier\": 'Cannabinoid'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "39"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Cannabinoid Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Cannabinoids\ndefine \"Cannabinoid Screenings In Lookback Period\":\n if Config.\"Cannabinoid Urine Screening Check Enabled\"\n then (\n \"All Opioid or Non-opioid UDS in Lookback Period\" Lab\n where Lab.code in Common.\"Cannabinoid Urine Tests\"\n ) else null" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "40"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSCommonConfig" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Cannabinoid Urine Screening Check Enabled" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Cannabinoid Urine Screening Check Enabled\":\n false" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "41"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive Cannabinoid Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive Cannabinoid Screenings In Lookback Period\":\n GetPositiveLabsInLookbackPeriod(\"Cannabinoid Screenings In Lookback Period\", Config.\"Cannabinoid Urine Screening Check Enabled\")" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "42"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Negative Cannabinoid Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Negative Cannabinoid Screenings In Lookback Period\":\n GetNegativeLabsInLookbackPeriod(\"Cannabinoid Screenings In Lookback Period\", Config.\"Cannabinoid Urine Screening Check Enabled\")" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "43"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Cocaine Simple Identifier" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Cocaine Simple Identifier\": 'Cocaine'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "44"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Cocaine Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Cocaine\ndefine \"Cocaine Screenings In Lookback Period\":\n \"All Opioid or Non-opioid UDS in Lookback Period\" Lab\n where Lab.code in Common.\"Cocaine Urine Tests\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "45"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive Cocaine Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive Cocaine Screenings In Lookback Period\":\n GetPositiveLabsInLookbackPeriod(\"Cocaine Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "46"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Negative Cocaine Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Negative Cocaine Screenings In Lookback Period\":\n GetNegativeLabsInLookbackPeriod(\"Cocaine Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "47"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Fentanyl Simple Identifier" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Fentanyl Simple Identifier\": 'Fentanyl'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "48"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Fentanyl Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Fentanyl\ndefine \"Fentanyl Screenings In Lookback Period\":\n if Config.\"Opiate Urine Screening Check Enabled\"\n then (\n \"All Opioid or Non-opioid UDS in Lookback Period\" AllLabs\n where AllLabs.code in Common.\"Fentanyl Urine Tests\"\n ) else null" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "49"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSCommonConfig" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Opiate Urine Screening Check Enabled" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Recommendation 10\ndefine \"Opiate Urine Screening Check Enabled\":\n true" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "50"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive Fentanyl Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive Fentanyl Screenings In Lookback Period\":\n GetPositiveLabsInLookbackPeriod(\"Fentanyl Screenings In Lookback Period\", Config.\"Opiate Urine Screening Check Enabled\")" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "51"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Negative Fentanyl Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Negative Fentanyl Screenings In Lookback Period\":\n GetNegativeLabsInLookbackPeriod(\"Fentanyl Screenings In Lookback Period\", Config.\"Opiate Urine Screening Check Enabled\")" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "52"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Fentanyl Rx In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Fentanyl Rx In Lookback Period\":\n \"Normalize Rx In Lookback Period\" Rx\n where Rx.medication in Common.\"Fentanyl Medications\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "53"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Heroin Simple Identifier" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Heroin Simple Identifier\": 'Heroin (6-AM)'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "54"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Heroin Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Heroin\ndefine \"Heroin Screenings In Lookback Period\":\n \"All Opioid or Non-opioid UDS in Lookback Period\" Lab\n where Lab.code in Common.\"Heroin Urine Tests\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "55"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive Heroin Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive Heroin Screenings In Lookback Period\":\n GetPositiveLabsInLookbackPeriod(\"Heroin Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "56"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Negative Heroin Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Negative Heroin Screenings In Lookback Period\":\n GetNegativeLabsInLookbackPeriod(\"Heroin Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "57"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Methadone Simple Identifier" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Methadone Simple Identifier\": 'Methadone'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "58"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Methadone Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Methadone\ndefine \"Methadone Screenings In Lookback Period\":\n \"All Opioid or Non-opioid UDS in Lookback Period\" Lab\n where Lab.code in Common.\"Methadone Urine Tests\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "59"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive Methadone Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive Methadone Screenings In Lookback Period\":\n GetPositiveLabsInLookbackPeriod(\"Methadone Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "60"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Negative Methadone Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Negative Methadone Screenings In Lookback Period\":\n GetNegativeLabsInLookbackPeriod(\"Methadone Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "61"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Methadone Rx In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Methadone Rx In Lookback Period\":\n \"Normalize Rx In Lookback Period\" Rx\n where Rx.medication in Common.\"Methadone Medications\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "62"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Opiate Simple Identifier" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Opiate Simple Identifier\": 'Opiate'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "63"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Opiate Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Opiates\ndefine \"Opiate Screenings In Lookback Period\":\n if Config.\"Opiate Urine Screening Check Enabled\"\n then (\n \"All Opioid or Non-opioid UDS in Lookback Period\" Lab\n where Lab.code in Common.\"General Opiate Urine Tests\"\n ) else null" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "64"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive Opiate Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive Opiate Screenings In Lookback Period\":\n GetPositiveLabsInLookbackPeriod(\"Opiate Screenings In Lookback Period\", Config.\"Opiate Urine Screening Check Enabled\")" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "65"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Negative Opiate Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Negative Opiate Screenings In Lookback Period\":\n GetNegativeLabsInLookbackPeriod(\"Opiate Screenings In Lookback Period\", Config.\"Opiate Urine Screening Check Enabled\")" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "66"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Opiate Rx In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Opiate Rx In Lookback Period\":\n \"Normalize Rx In Lookback Period\" Rx\n where Rx.medication in Common.\"Opiate Medications\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "67"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Oxycodone Simple Identifier" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Oxycodone Simple Identifier\": 'Oxycodone'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "68"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Oxycodone Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Oxycodone\ndefine \"Oxycodone Screenings In Lookback Period\":\n if Config.\"Opiate Urine Screening Check Enabled\"\n then (\n \"All Opioid or Non-opioid UDS in Lookback Period\" Lab\n where Lab.code in Common.\"Oxycodone Urine Tests\"\n ) else null" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "69"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive Oxycodone Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive Oxycodone Screenings In Lookback Period\":\n GetPositiveLabsInLookbackPeriod(\"Oxycodone Screenings In Lookback Period\", Config.\"Opiate Urine Screening Check Enabled\")" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "70"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Negative Oxycodone Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Negative Oxycodone Screenings In Lookback Period\":\n GetNegativeLabsInLookbackPeriod(\"Oxycodone Screenings In Lookback Period\", Config.\"Opiate Urine Screening Check Enabled\")" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "71"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Oxycodone Rx In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Oxycodone Rx In Lookback Period\":\n \"Normalize Rx In Lookback Period\" Rx\n where Rx.medication in Common.\"Oxycodone Medications\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "72"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "PCP Simple Identifier" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"PCP Simple Identifier\": 'Phencyclidine (PCP)'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "73"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "PCP Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// PCP\ndefine \"PCP Screenings In Lookback Period\":\n \"All Opioid or Non-opioid UDS in Lookback Period\" AllLabs\n where AllLabs.code in Common.\"PCP Urine Tests\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "74"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive PCP Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive PCP Screenings In Lookback Period\":\n GetPositiveLabsInLookbackPeriod(\"PCP Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "75"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Negative PCP Screenings In Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Negative PCP Screenings In Lookback Period\":\n GetNegativeLabsInLookbackPeriod(\"PCP Screenings In Lookback Period\", true)" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "76"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Unexpected Details" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Details Logic\ndefine \"Unexpected Details\":\n {\n CreateDetailWithPossibleUnexpectedNegative(\n \"Amphetamine Simple Identifier\", \"Positive Amphetamine Screenings In Lookback Period\", \n \"Negative Amphetamine Screenings In Lookback Period\", \"Amphetamine Rx In Lookback Period\"\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n \"Barbiturate Simple Identifier\", \"Positive Barbiturate Screenings In Lookback Period\", \n \"Negative Barbiturate Screenings In Lookback Period\", \"Barbiturate Rx In Lookback Period\"\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n \"Benzodiazepine Simple Identifier\", \"Positive Benzodiazepine Screenings In Lookback Period\", \n \"Negative Benzodiazepine Screenings In Lookback Period\", \"Benzodiazepine Rx In Lookback Period\"\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n \"Buprenorphine Simple Identifier\", \"Positive Buprenorphine Screenings In Lookback Period\", \n \"Negative Buprenorphine Screenings In Lookback Period\", \"Buprenorphine Rx In Lookback Period\"\n ),\n CreateDetailWithoutPossibleUnexpectedNegative(\n \"Cannabinoid Simple Identifier\", \"Positive Cannabinoid Screenings In Lookback Period\", \n \"Negative Cannabinoid Screenings In Lookback Period\"\n ),\n CreateDetailWithoutPossibleUnexpectedNegative(\n \"Cocaine Simple Identifier\", \"Positive Cocaine Screenings In Lookback Period\", \n \"Negative Cocaine Screenings In Lookback Period\"\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n \"Fentanyl Simple Identifier\", \"Positive Fentanyl Screenings In Lookback Period\", \n \"Negative Fentanyl Screenings In Lookback Period\", \"Fentanyl Rx In Lookback Period\"\n ),\n CreateDetailWithoutPossibleUnexpectedNegative(\n \"Heroin Simple Identifier\", \"Positive Heroin Screenings In Lookback Period\", \n \"Negative Heroin Screenings In Lookback Period\"\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n \"Methadone Simple Identifier\", \"Positive Methadone Screenings In Lookback Period\", \n \"Negative Methadone Screenings In Lookback Period\", \"Methadone Rx In Lookback Period\"\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n \"Opiate Simple Identifier\", \"Positive Opiate Screenings In Lookback Period\", \n \"Negative Opiate Screenings In Lookback Period\", \"Opiate Rx In Lookback Period\"\n ),\n CreateDetailWithPossibleUnexpectedNegative(\n \"Oxycodone Simple Identifier\", \"Positive Oxycodone Screenings In Lookback Period\", \n \"Negative Oxycodone Screenings In Lookback Period\", \"Oxycodone Rx In Lookback Period\"\n ),\n CreateDetailWithoutPossibleUnexpectedNegative(\n \"PCP Simple Identifier\", \"Positive PCP Screenings In Lookback Period\", \n \"Negative PCP Screenings In Lookback Period\"\n )\n }" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "77"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Inclusion Criteria For Unexpected Results" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Inclusion Criteria For Unexpected Results\":\n AnyTrue(\n \"Unexpected Details\" Details\n return (exists Details.unexpectedPosDetails) or (exists Details.unexpectedNegDetails)\n )" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "78"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10OrderSign" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Applicable Because of Unexpected Results" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Applicable Because of Unexpected Results\":\n \"Patient Is Being Prescribed Opioid Analgesic with Ambulatory Misuse Potential\"\n and Rec10Common.\"Inclusion Criteria For Unexpected Results\"\n and not Rec10Common.\"Exclusion Criteria\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "79"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSCommon" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Style Header" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Style Header\":\n '<style>\\r\\n .alert-body {\\r\\n width: 670px;\\r\\n font-family: segoe-ui, sans-serif;\\r\\n background-color: #FEFFF1;\\r\\n }\\r\\n\\r\\n .details-table {\\r\\n border-collapse:collapse;\\r\\n border-style: ridge;\\r\\n background-color: #FEFFF1;\\r\\n padding: 2px;\\r\\n }\\r\\n\\r\\n .details-caption {\\r\\n border-style: ridge;\\r\\n border-bottom: none;\\r\\n background-color: #FEFFF1;\\r\\n padding: 2px;\\r\\n }\\r\\n\\r\\n .details-table-header {\\r\\n border-style: ridge;\\r\\n padding: 5px;\\r\\n }\\r\\n\\r\\n .details-table-cell {\\r\\n border-style: ridge;\\r\\n padding: 5px;\\r\\n }\\r\\n\\r\\n .details-table-footer-cell {\\r\\n border-style: ridge;\\r\\n padding: 5px;\\r\\n font-size: small;\\r\\n }\\r\\n\\r\\n .details-table-cell-unexpected {\\r\\n border-style: ridge;\\r\\n padding: 5px;\\r\\n color: red;\\r\\n font-weight: bold;\\r\\n }\\r\\n\\r\\n .more-text {\\r\\n position: relative;\\r\\n margin-bottom: 2em;\\r\\n }\\r\\n \\r\\n .more {\\r\\n display:none;\\r\\n }\\r\\n\\r\\n #box .show-more:checked + .more {\\r\\n display:block;\\r\\n }\\r\\n<\\/style>'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "80"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Unexpected Div Start" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Unexpected Div Start\":\n '<div class=\\\"alert-body\\\"><div><p>Patient may have <strong>unexpected urine toxicology test results<\\/strong> in the past year.<\\/p><\\/div>'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "81"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Table Start" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Table Start\":\n '<div><table class=\\\"details-table\\\"><caption class=\\\"details-caption\\\">Urine Toxicology Results<\\/caption><tr><th class=\\\"details-table-header\\\">Substance<\\/th>'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "82"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "All Lab Dates in Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"All Lab Dates in Lookback Period\":\n (\n \"All Opioid or Non-opioid UDS in Lookback Period\" Lab\n return date from FHIRHelpers.ToDateTime(Lab.effective as FHIR.dateTime)\n ) X sort desc" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "83"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Table Headers" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Table Headers\":\n \"All Lab Dates in Lookback Period\" LabDate\n return '<th class=\\\"details-table-header\\\">' + ToString(LabDate) + '<\\/th>'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "84"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Generate Table Rows" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Generate Table Rows\":\n \"Unexpected Details\" BOT\n let row: ToString(IndexOf(\"Unexpected Details\", BOT) + 1)\n return '<tr>' + GetExpectedColumn(BOT.ingredient) + Combine(\n \"All Lab Dates in Lookback Period\" LabDate\n let col: ToString(IndexOf(\"All Lab Dates in Lookback Period\", LabDate) + 2)\n return all (\n if BOT.unexpectedPosDetails.date contains LabDate\n then GetUnexpectedColumn('pos', row + ':' + col)\n else if BOT.unexpectedNegDetails.udsDate contains LabDate\n then GetUnexpectedColumn('neg', row + ':' + col)\n else if BOT.posDates contains LabDate\n then GetExpectedColumn('pos')\n else if BOT.negDates contains LabDate\n then GetExpectedColumn('neg')\n else GetExpectedColumn('n/a')\n )\n ) + '<\\/tr>'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "85"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Generate Footer Rows" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Generate Footer Rows\":\n \"Unexpected Details\" BOT\n let row: ToString(IndexOf(\"Unexpected Details\", BOT) + 1),\n colspan: Length(\"All Lab Dates in Lookback Period\") + 1\n return Combine(\n \"All Lab Dates in Lookback Period\" LabDate\n let col: ToString(IndexOf(\"All Lab Dates in Lookback Period\", LabDate) + 2)\n return all (\n if BOT.unexpectedPosDetails.date contains LabDate\n then singleton from (\n BOT.unexpectedPosDetails PosDetail\n where PosDetail.date = LabDate\n return '<tr>' + GetFooterColumn(colspan, row + ':' + col + ' - Possible unprescribed substance found: ' + PosDetail.udsDetail) + '<\\/tr>'\n )\n else if BOT.unexpectedNegDetails.udsDate contains LabDate\n then singleton from (\n BOT.unexpectedNegDetails NegDetail\n where NegDetail.udsDate = LabDate\n return '<tr>' + GetFooterColumn(colspan, row + ':' + col + ' - Possible unexpected negative result found: prescribed ' + NegDetail.rxDetail + ' on ' + ToString(NegDetail.rxDate)) + '<\\/tr>'\n )\n else ''\n )\n )" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "86"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Table End" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Table End\":\n '<\\/table><\\/div>'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "87"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Details Table" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Details Table\": \n \"Table Start\" + Combine(\"Table Headers\") \n + '<tbody>' + Combine(\"Generate Table Rows\") + '</tbody>' \n + '<tfoot>' + Combine(\"Generate Footer Rows\") + '<\\/tfoot>' \n + \"Table End\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "88"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Details More Info" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Details More Info\":\n '<div id=\\\"box\\\">\\r\\n <p>Note on false positives and unexpected negative results...<\\/p>\\r\\n <input type=\\\"checkbox\\\" class=\\\"show-more\\\"> Show more\\r\\n <div class=\\\"more\\\">\\r\\n <p>Positive results may be a false positives or could represent occasional use or possible substance use disorder.<br\\/><br\\/>For a review regarding interpreting possible false positive urine toxicology results, see <a target=\\\"_blank\\\" href=\\\"https:\\/\\/pubmed.ncbi.nlm.nih.gov\\/24986836\\\">http:\\/\\/pubmed.ncbi.nlm.nih.gov\\/24986836<\\/a>. It is unknown if the findings reported in this article can be extrapolated to other laboratory analyzers that were not used in the referenced studies.<br\\/><br\\/>For guidance regarding evaluating and addressing unexpected toxicology tests results, see <a target=\\\"_blank\\\" href=\\\"https:\\/\\/www.cdc.gov\\/mmwr\\/volumes\\/71\\/rr\\/rr7103a1.htm#Recommendation10\\\">Recommendation 10 of the 22 CDC Clinical Practice Guideiline<\\/a>.<\\/p>\\r\\n <p>An unexpectedly negative test may be due to diversion, intermittent use, aberrant drug use behavior, or other factors, including a false negative result. Clinicians should interpret this result in the context of the overall treatment plan.<\\/p>\\r\\n <\\/div>\\r\\n<\\/div>'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "89"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Div End" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Div End\": '<\\/div>'" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "90"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10Common" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Get HTML Details" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// HTML Generation\ndefine \"Get HTML Details\":\n Common.\"Style Header\" + \"Unexpected Div Start\" + \"Details Table\" + \"Details More Info\" + \"Div End\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "91"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC10OrderSign" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Detail" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Detail\":\n Rec10Common.\"Get HTML Details\"" ] ] [ fhir:url [ fhir:v "displaySequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "92"^^xsd:integer ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ] ] [ fhir:id [ fhir:v "effective-data-requirements" ] ; fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "#effective-data-requirements" ] ] ] ) ; # fhir:url [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/PlanDefinition/opioidcds-10-order-sign"^^xsd:anyURI] ; # fhir:identifier ( [ fhir:use [ fhir:v "official" ] ; fhir:value [ fhir:v "cdc-opioid-guidance" ] ] ) ; # fhir:version [ fhir:v "2022.1.0"] ; # fhir:name [ fhir:v "PlanDefinition_Recommendation_10_Order_Sign"] ; # fhir:title [ fhir:v "Recommendation #10 - Urine Drug Testing (order-sign)"] ; # fhir:type [ ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/plan-definition-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "eca-rule" ] ; fhir:display [ fhir:v "ECA Rule" ] ] ) ] ; # fhir:status [ fhir:v "draft"] ; # fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # fhir:date [ fhir:v "2024-04-22"^^xsd:date] ; # fhir:publisher [ fhir:v "Centers for Disease Control and Prevention (CDC)"] ; # fhir:contact ( [ ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "https://www.cdc.gov" ] ] ) ] ) ; # fhir:description [ fhir:v "When prescribing opioids for subacute or chronic pain, clinicians should consider the benefits and risks of toxicology testing to assess for prescribed medications as well as other prescribed and nonprescribed controlled substances."] ; # fhir:useContext ( [ fhir:code [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "focus" ] ; fhir:display [ fhir:v "Clinical Focus" ] ] ; fhir:value [ a fhir:CodeableConcept ; ( fhir:coding [ a sct:182888003 ; fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ; fhir:code [ fhir:v "182888003" ] ; fhir:display [ fhir:v "Medication requested (situation)" ] ] ) ] ] [ fhir:code [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "focus" ] ; fhir:display [ fhir:v "Clinical Focus" ] ] ; fhir:value [ a fhir:CodeableConcept ; ( fhir:coding [ a sct:82423001 ; fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ; fhir:code [ fhir:v "82423001" ] ; fhir:display [ fhir:v "Chronic pain (finding)" ] ] ) ] ] [ fhir:code [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "focus" ] ; fhir:display [ fhir:v "Clinical Focus" ] ] ; fhir:value [ a fhir:CodeableConcept ; fhir:text [ fhir:v "Subacute pain" ] ] ] ) ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ; fhir:code [ fhir:v "US" ] ; fhir:display [ fhir:v "United States of America" ] ] ) ] ) ; # fhir:purpose [ fhir:v "The 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain is intended to improve communication between clinicians and patients about the benefits and risks of pain treatments, including opioid therapy; improve the effectiveness and safety of pain treatment; mitigate pain; improve function and quality of life for patients with pain; and reduce risks associated with opioid pain therapy, including opioid use disorder, overdose, and death. The recommendations do not apply to pain related to sickle cell disease or cancer or to patients receiving palliative or end-of-life care."] ; # fhir:usage [ fhir:v "Before starting opioids and periodically (at least annually) during opioid therapy, clinicians should consider the benefits and risks of toxicology testing to assess for prescribed opioids and other prescription and nonprescription controlled substances that increase risk for overdose when combined with opioids, including nonprescribed and illicit opioids and benzodiazepines."] ; # fhir:copyright [ fhir:v "© CDC 2016+."] ; # fhir:topic ( [ fhir:text [ fhir:v "Opioid Prescribing" ] ] ) ; # fhir:author ( [ fhir:name [ fhir:v "Kensaku Kawamoto, MD, PhD, MHS" ] ] [ fhir:name [ fhir:v "Bryn Rhodes" ] ] [ fhir:name [ fhir:v "Floyd Eisenberg, MD, MPH" ] ] [ fhir:name [ fhir:v "Robert McClure, MD, MPH" ] ] ) ; # fhir:relatedArtifact ( [ fhir:type [ fhir:v "documentation" ] ; fhir:display [ fhir:v "2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain" ] ; fhir:url [ fhir:v "https://www.cdc.gov/mmwr/volumes/71/rr/pdfs/rr7103a1-H.pdf"^^xsd:anyURI ] ; fhir:document [ fhir:contentType [ fhir:v "application/pdf" ] ; fhir:language [ fhir:v "en-US" ] ; fhir:url [ fhir:v "https://www.cdc.gov/mmwr/volumes/71/rr/pdfs/rr7103a1-H.pdf"^^xsd:anyURI ] ] ] ) ; # fhir:library ( [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSREC10OrderSign"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSREC10OrderSign> ] ) ; # fhir:action ( [ fhir:prefix [ fhir:v "1." ] ; fhir:title [ fhir:v "Consider the Benefits and Risks of Conducting a Urine Toxicology Screen" ] ; fhir:description [ fhir:v "Consider the benefits and risks of toxicology testing to assess for prescribed medications as well as other prescribed and nonprescribed controlled substances.\r\n\r\nFor guidance regarding utilizing toxicology tests when prescribing opioids, see [Recommendation 10 of the 2022 CDC Clinical Practice Guideline](https://www.cdc.gov/mmwr/volumes/71/rr/rr7103a1.htm#Recommendation10)." ] ; fhir:priority [ fhir:v "urgent" ] ; ( fhir:documentation [ fhir:type [ fhir:v "documentation" ] ; fhir:url [ fhir:v "https://www.cdc.gov/mmwr/volumes/71/rr/rr7103a1.htm#Recommendation10:~:text=nonprescribed%20controlled%20substances-,(recommendation%20category%3A%20B%3B%20evidence%20type%3A%204).,-Implementation%20Considerations"^^xsd:anyURI ] ; fhir:document [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation"^^xsd:anyURI ] ; fhir:value [ a fhir:CodeableConcept ; ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/recommendation-strength"^^xsd:anyURI ] ; fhir:code [ fhir:v "weak" ] ; fhir:display [ fhir:v "Weak" ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence"^^xsd:anyURI ] ; fhir:value [ a fhir:CodeableConcept ; ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/evidence-quality"^^xsd:anyURI ] ; fhir:code [ fhir:v "very-low" ] ; fhir:display [ fhir:v "Very Low quality" ] ] ) ] ] ) ; fhir:url [ fhir:v "https://www.cdc.gov/mmwr/volumes/71/rr/rr7103a1.htm#Recommendation10:~:text=nonprescribed%20controlled%20substances-,(recommendation%20category%3A%20B%3B%20evidence%20type%3A%204).,-Implementation%20Considerations"^^xsd:anyURI ] ] ] ) ; ( fhir:trigger [ fhir:type [ fhir:v "named-event" ] ; fhir:name [ fhir:v "order-sign" ] ] ) ; ( fhir:condition [ fhir:kind [ fhir:v "applicability" ] ; fhir:expression [ fhir:description [ fhir:v "Patient has not had a urine screening in the past 12 months" ] ; fhir:language [ fhir:v "text/cql.identifier" ] ; fhir:expression [ fhir:v "Is Perform Drug Screen Recommendation Applicable?" ] ] ] ) ; fhir:type [ ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/action-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "create" ] ; fhir:display [ fhir:v "Create" ] ] ) ] ; fhir:definition [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ActivityDefinition/opioidcds-urine-screening-request"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ActivityDefinition/opioidcds-urine-screening-request> ] ; ( fhir:action [ fhir:description [ fhir:v "Document - Ordered toxicology screen" ] ] [ fhir:description [ fhir:v "Document - Risks outweigh benefits" ] ] [ fhir:description [ fhir:v "Snooze* - N/A see comment, snooze 3 months" ] ] ) ] [ fhir:prefix [ fhir:v "2." ] ; fhir:title [ fhir:v "Patient May Have Unexpected Toxicology Test Results" ] ; fhir:description [ fhir:v "Patient may have unexpected urine toxicology test results in the past year" ] ; fhir:priority [ fhir:v "urgent" ] ; ( fhir:documentation [ fhir:type [ fhir:v "documentation" ] ; fhir:url [ fhir:v "https://www.cdc.gov/mmwr/volumes/71/rr/rr7103a1.htm#Recommendation10:~:text=nonprescribed%20controlled%20substances-,(recommendation%20category%3A%20B%3B%20evidence%20type%3A%204).,-Implementation%20Considerations"^^xsd:anyURI ] ; fhir:document [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation"^^xsd:anyURI ] ; fhir:value [ a fhir:CodeableConcept ; ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/recommendation-strength"^^xsd:anyURI ] ; fhir:code [ fhir:v "weak" ] ; fhir:display [ fhir:v "Weak" ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence"^^xsd:anyURI ] ; fhir:value [ a fhir:CodeableConcept ; ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/evidence-quality"^^xsd:anyURI ] ; fhir:code [ fhir:v "very-low" ] ; fhir:display [ fhir:v "Very Low quality" ] ] ) ] ] ) ; fhir:url [ fhir:v "https://www.cdc.gov/mmwr/volumes/71/rr/rr7103a1.htm#Recommendation10:~:text=nonprescribed%20controlled%20substances-,(recommendation%20category%3A%20B%3B%20evidence%20type%3A%204).,-Implementation%20Considerations"^^xsd:anyURI ] ] ] ) ; ( fhir:trigger [ fhir:type [ fhir:v "named-event" ] ; fhir:name [ fhir:v "order-sign" ] ] ) ; ( fhir:condition [ fhir:kind [ fhir:v "applicability" ] ; fhir:expression [ fhir:description [ fhir:v "Patient may have unexpected urine toxicology test results in the past year" ] ; fhir:language [ fhir:v "text/cql.identifier" ] ; fhir:expression [ fhir:v "Applicable Because of Unexpected Results" ] ] ] ) ; ( fhir:dynamicValue [ fhir:path [ fhir:v "action.description" ] ; fhir:expression [ fhir:language [ fhir:v "text/cql.identifier" ] ; fhir:expression [ fhir:v "Detail" ] ] ] ) ; ( fhir:action [ fhir:description [ fhir:v "Document - Will repeat urine drug screen more frequently" ] ] [ fhir:description [ fhir:v "Document - Will assess patient for substance use disorder" ] ] [ fhir:description [ fhir:v "Snooze* - Patient's test results were expected, snooze for 3 months" ] ] [ fhir:description [ fhir:v "Snooze* - N/A snooze for 3 months" ] ] ) ] ) . #
IG © 2019+ Centers for Disease Control and Prevention (CDC). Package fhir.cdc.opioid-cds-r4#2022.1.0 based on FHIR 4.0.1. Generated 2024-04-22
Links: Table of
Contents |
License |
QA Report
| New Issue | Issues
| Version History |