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 2023-05-01 |
@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-12-patient-view"] ; # 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-12-patient-view</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-12-patient-view.html\">PlanDefinition - 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain: Recommendation #12 (patient-view)</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_12_Patient_View</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Title: </b></th>\n <td style=\"padding-left: 4px;\">PlanDefinition - 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain: Recommendation #12 (patient-view)</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://hl7.org/fhir/R4/codesystem-plan-definition-type.html\">http://terminology.hl7.org/CodeSystem/plan-definition-type</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;\">2023-05-01</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;\">Arrange evidence-based treatment (usually medication-assisted treatment with buprenorphine or methadone in combination with behavioral therapies) for patients with opioid use disorder.</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>OpioidCDSREC12PatientView</td>\n \n \n <td>Get Summary</td>\n \n \n <td>0</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">define "Get Summary":\n if "Is Recommendation Applicable?"\n then 'Recommend opioid agonist or partial agonist treatment with methadone maintenance therapy or buprenorphine'/* and/or behavioral therapy' */\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>Age Less than 18 Years Is Enabled</td>\n \n \n <td>1</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">// Opioid Review Useful\ndefine "Age Less than 18 Years Is Enabled":\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>OpioidCDSCommon</td>\n \n \n <td>Patient 18 or Older?</td>\n \n \n <td>2</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">define "Patient 18 or Older?":\n Config."Age Less than 18 Years Is Enabled"\n and AgeInYears() >= 18</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>Evidence Based Treatment Criteria For Opioid Use Disorder</td>\n \n \n <td>3</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">// Recommendation 12\ndefine "Evidence Based Treatment Criteria For Opioid Use Disorder":\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>OpioidCDSREC12PatientView</td>\n \n \n <td>Not Receiving Evidence-Based Treatment for Opioid Use Disorder</td>\n \n \n <td>4</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">define "Not Receiving Evidence-Based Treatment for Opioid Use Disorder":\n Config."Evidence Based Treatment Criteria For Opioid Use Disorder"\n and not (\n if Config."Can the implementing EHR support queries for past medications by date range?" then\n exists (\n [MedicationRequest: Common."Buprenorphine and methadone medications"] MR\n where MR.status in { 'active', 'completed' }\n and date from MR.authoredOn during day of "Opioid Use Disorder Lookback Period"\n )\n else\n true\n /* update 2022 removes "behavioral therapy condition"\n or exists (\n [Procedure: Common."Substance misuse behavioral counseling"] P\n where P.status ~ 'completed'\n and (\n case\n when P.performed is FHIR.dateTime then\n Interval[FHIRHelpers.ToDateTime(P.performed as FHIR.dateTime), FHIRHelpers.ToDateTime(P.performed as FHIR.dateTime)]\n when P.performed is FHIR.Period then\n FHIRHelpers.ToInterval(P.performed as FHIR.Period)\n else\n null as Interval<DateTime>\n end\n ) during day of "Opioid Use Disorder Lookback Period"\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>OpioidCDSCommon</td>\n \n \n <td>US Core-Categorized Conditions</td>\n \n \n <td>5</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">// 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"]</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>OpioidCDSREC12PatientView</td>\n \n \n <td>Opioid Use Disorder Lookback Period</td>\n \n \n <td>6</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">define "Opioid Use Disorder Lookback Period":\n Interval[Today() - 90 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>OpioidCDSREC12PatientView</td>\n \n \n <td>Presence of Diagnosis of Opioid Use Disorder</td>\n \n \n <td>7</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">define "Presence of Diagnosis of Opioid Use Disorder":\n exists (\n Common."US Core-Categorized Conditions" C\n where C.code in Common."Opioid misuse disorders"\n and C.clinicalStatus in Common."Active Condition"\n and date from C.recordedDate during day of "Opioid Use Disorder Lookback Period"\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>OpioidCDSREC12PatientView</td>\n \n \n <td>Positive Result from Opioid Use Disorder Evaluation Tool</td>\n \n \n <td>8</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">define "Positive Result from Opioid Use Disorder Evaluation Tool":\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>OpioidCDSREC12PatientView</td>\n \n \n <td>Inclusion Criteria</td>\n \n \n <td>9</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">define "Inclusion Criteria":\n Common."Patient 18 or Older?"\n and "Not Receiving Evidence-Based Treatment for Opioid Use Disorder"\n and "Presence of Diagnosis of Opioid Use Disorder"\n and "Positive Result from Opioid Use Disorder Evaluation Tool"</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>OpioidCDSREC12PatientView</td>\n \n \n <td>Exclusion Criteria</td>\n \n \n <td>10</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">define "Exclusion Criteria":\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>OpioidCDSREC12PatientView</td>\n \n \n <td>Is Recommendation Applicable?</td>\n \n \n <td>11</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">define "Is Recommendation Applicable?":\n "Inclusion Criteria"\n and not "Exclusion Criteria"</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>OpioidCDSREC12PatientView</td>\n \n \n <td>Get Detail</td>\n \n \n <td>12</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">define "Get Detail":\n if "Is Recommendation Applicable?"\n then null\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>OpioidCDSREC12PatientView</td>\n \n \n <td>Get Indicator</td>\n \n \n <td>13</td>\n \n </tr>\n </table>\n \n <pre style=\"max-width: 990px;\"><code class=\"language-cql\">define "Get Indicator":\n if "Is Recommendation Applicable?"\n then 'warning'\n else null</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 </table>\n </td>\n </tr>\n \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 providers and patients about the risks and benefits of opioid therapy for chronic pain, improve the safety and effectiveness of pain treatment, and reduce the risks associated with long-term opioid therapy, including opioid use disorder and overdose. The Guideline is not intended for patients who are in active cancer treatment, palliative care, 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;\">Clinicians should offer or arrange evidence-based treatment (usually medication-assisted treatment with buprenorphine or methadone) for patients with opioid use disorder.</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/rr7103a1.htm\"> 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-OpioidCDSREC12PatientView.html\">Library - Recommendation #12 (patient-view) - Evidence-based Treatment for Patients with Opioid Use Disorder</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> Current patient is 18 or older and recieving evidence-based treatment for Opioid Misuse Disorders.:</b> Checking if the trigger prescription meets the inclusion criteria for recommendation #12 workflow.<br/>\n <b>When:</b> <i>Named Event:</i> patient-view<br/>\n <b>If:</b> <i>Applicability:</i> Check whether the current patient is 18 or older and recieving evidence-based treatment for Opioid Misuse Disorders. <i>(Is Recommendation Applicable?)</i><br/>\n <b>Then:</b>\n \n <table class=\"grid-dict\">\n \n <tr>\n <td>\n <b> :</b> Will order methadone or buprenorphine<br/>\n \n \n <b>Then:</b>\n \n \n \n \n </td>\n </tr>\n \n <tr>\n <td>\n <b> :</b> 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 </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 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 "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 "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 Opioid misuse disorders" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-misuse-disorders"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-misuse-disorders> ] ] [ 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:parameter [ fhir:name [ fhir:v "Get Summary" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "string" ] ] [ fhir:name [ fhir:v "Is 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 "Get Detail" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Resource" ] ] [ fhir:name [ fhir:v "Get Indicator" ] ; 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 "Patient" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Patient> ] ) ] [ 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: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:extension [ fhir:url [ fhir:v "libraryName"^^xsd:anyURI ] ; fhir:value [ fhir:v "OpioidCDSREC12PatientView" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Get Summary" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Get Summary\":\n if \"Is Recommendation Applicable?\"\n then 'Recommend opioid agonist or partial agonist treatment with methadone maintenance therapy or buprenorphine'/* and/or behavioral therapy' */\n else null" ] ] [ 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 "OpioidCDSCommonConfig" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Age Less than 18 Years Is Enabled" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Opioid Review Useful\ndefine \"Age Less than 18 Years Is Enabled\":\n true" ] ] [ 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 "OpioidCDSCommon" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Patient 18 or Older?" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Patient 18 or Older?\":\n Config.\"Age Less than 18 Years Is Enabled\"\n and AgeInYears() >= 18" ] ] [ 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 "OpioidCDSCommonConfig" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Evidence Based Treatment Criteria For Opioid Use Disorder" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "// Recommendation 12\ndefine \"Evidence Based Treatment Criteria For Opioid Use Disorder\":\n true" ] ] [ 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 "OpioidCDSREC12PatientView" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Not Receiving Evidence-Based Treatment for Opioid Use Disorder" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Not Receiving Evidence-Based Treatment for Opioid Use Disorder\":\n Config.\"Evidence Based Treatment Criteria For Opioid Use Disorder\"\n and not (\n if Config.\"Can the implementing EHR support queries for past medications by date range?\" then\n exists (\n [MedicationRequest: Common.\"Buprenorphine and methadone medications\"] MR\n where MR.status in { 'active', 'completed' }\n and date from MR.authoredOn during day of \"Opioid Use Disorder Lookback Period\"\n )\n else\n true\n /* update 2022 removes \"behavioral therapy condition\"\n or exists (\n [Procedure: Common.\"Substance misuse behavioral counseling\"] P\n where P.status ~ 'completed'\n and (\n case\n when P.performed is FHIR.dateTime then\n Interval[FHIRHelpers.ToDateTime(P.performed as FHIR.dateTime), FHIRHelpers.ToDateTime(P.performed as FHIR.dateTime)]\n when P.performed is FHIR.Period then\n FHIRHelpers.ToInterval(P.performed as FHIR.Period)\n else\n null as Interval<DateTime>\n end\n ) during day of \"Opioid Use Disorder Lookback Period\"\n )*/\n )" ] ] [ 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 "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 "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 "OpioidCDSREC12PatientView" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Opioid Use Disorder Lookback Period" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Opioid Use Disorder Lookback Period\":\n Interval[Today() - 90 days, Today()]" ] ] [ 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 "OpioidCDSREC12PatientView" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Presence of Diagnosis of Opioid Use Disorder" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Presence of Diagnosis of Opioid Use Disorder\":\n exists (\n Common.\"US Core-Categorized Conditions\" C\n where C.code in Common.\"Opioid misuse disorders\"\n and C.clinicalStatus in Common.\"Active Condition\"\n and date from C.recordedDate during day of \"Opioid Use Disorder Lookback Period\"\n )" ] ] [ 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 "OpioidCDSREC12PatientView" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Positive Result from Opioid Use Disorder Evaluation Tool" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Positive Result from Opioid Use Disorder Evaluation Tool\":\n true" ] ] [ 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 "OpioidCDSREC12PatientView" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Inclusion Criteria" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Inclusion Criteria\":\n Common.\"Patient 18 or Older?\"\n and \"Not Receiving Evidence-Based Treatment for Opioid Use Disorder\"\n and \"Presence of Diagnosis of Opioid Use Disorder\"\n and \"Positive Result from Opioid Use Disorder Evaluation Tool\"" ] ] [ 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 "OpioidCDSREC12PatientView" ] ] [ 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 false" ] ] [ 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 "OpioidCDSREC12PatientView" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Is Recommendation Applicable?" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Is Recommendation Applicable?\":\n \"Inclusion Criteria\"\n and not \"Exclusion Criteria\"" ] ] [ 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 "OpioidCDSREC12PatientView" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Get Detail" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Get Detail\":\n if \"Is Recommendation Applicable?\"\n then null\n else null" ] ] [ 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 "OpioidCDSREC12PatientView" ] ] [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ fhir:v "Get Indicator" ] ] [ fhir:url [ fhir:v "statement"^^xsd:anyURI ] ; fhir:value [ fhir:v "define \"Get Indicator\":\n if \"Is Recommendation Applicable?\"\n then 'warning'\n else null" ] ] [ 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: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://fhir.org/guides/cdc/opioid-cds/PlanDefinition/opioidcds-12-patient-view"^^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_12_Patient_View"] ; # fhir:title [ fhir:v "PlanDefinition - 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain: Recommendation #12 (patient-view)"] ; # 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 "2023-05-01"^^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 "Arrange evidence-based treatment (usually medication-assisted treatment with buprenorphine or methadone in combination with behavioral therapies) for patients with opioid use disorder."] ; # 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:purpose [ fhir:v "The 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain is intended to improve communication between providers and patients about the risks and benefits of opioid therapy for chronic pain, improve the safety and effectiveness of pain treatment, and reduce the risks associated with long-term opioid therapy, including opioid use disorder and overdose. The Guideline is not intended for patients who are in active cancer treatment, palliative care, or end-of-life care."] ; # fhir:usage [ fhir:v "Clinicians should offer or arrange evidence-based treatment (usually medication-assisted treatment with buprenorphine or methadone) for patients with opioid use disorder."] ; # 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/rr7103a1.htm"^^xsd:anyURI ] ; fhir:document [ fhir:url [ fhir:v "https://www.cdc.gov/mmwr/volumes/71/rr/rr7103a1.htm"^^xsd:anyURI ] ] ] ) ; # fhir:library ( [ fhir:v "http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSREC12PatientView"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSREC12PatientView> ] ) ; # fhir:action ( [ ( 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 "strong" ] ; fhir:display [ fhir:v "Strong" ] ] ) ] ] [ 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 "high" ] ; fhir:display [ fhir:v "High quality" ] ] ) ] ] ) ; fhir:title [ fhir:v "Current patient is 18 or older and recieving evidence-based treatment for Opioid Misuse Disorders." ] ; fhir:description [ fhir:v "Checking if the trigger prescription meets the inclusion criteria for recommendation #12 workflow." ] ; ( fhir:trigger [ fhir:type [ fhir:v "named-event" ] ; fhir:name [ fhir:v "patient-view" ] ] ) ; ( fhir:condition [ fhir:kind [ fhir:v "applicability" ] ; fhir:expression [ fhir:description [ fhir:v "Check whether the current patient is 18 or older and recieving evidence-based treatment for Opioid Misuse Disorders." ] ; fhir:language [ fhir:v "text/cql.identifier" ] ; fhir:expression [ fhir:v "Is Recommendation Applicable?" ] ] ] ) ; fhir:groupingBehavior [ fhir:v "visual-group" ] ; fhir:selectionBehavior [ fhir:v "any" ] ; ( fhir:dynamicValue [ fhir:path [ fhir:v "action.title" ] ; fhir:expression [ fhir:language [ fhir:v "text/cql.identifier" ] ; fhir:expression [ fhir:v "Get Summary" ] ] ] [ fhir:path [ fhir:v "action.description" ] ; fhir:expression [ fhir:language [ fhir:v "text/cql.identifier" ] ; fhir:expression [ fhir:v "Get Detail" ] ] ] [ fhir:path [ fhir:v "activity.extension" ] ; fhir:expression [ fhir:language [ fhir:v "text/cql.identifier" ] ; fhir:expression [ fhir:v "Get Indicator" ] ] ] ) ; ( fhir:action [ fhir:description [ fhir:v "Will order methadone or buprenorphine" ] ] [ fhir:description [ fhir:v "N/A - see comment, snooze 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-11-25
Links: Table of Contents |
QA Report
| New Issue | Issues
| Version History |