{
  "resourceType": "PlanDefinition",
  "id": "opioidcds-10",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "cds"
    }
  ],
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.11.3"
    },
    {
      "use": "official",
      "value": "cdc-opioid-guidance"
    }
  ],
  "version": "0.1.0",
  "name": "Cdcopioid10",
  "title": "CDC Opioid Prescribing Guideline Recommendation #10",
  "type": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/plan-definition-type",
        "code": "eca-rule",
        "display": "ECA Rule"
      }
    ]
  },
  "status": "draft",
  "date": "2017-04-23",
  "publisher": "HL7 International / Clinical Decision Support",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/dss"
        }
      ]
    }
  ],
  "description": "When prescribing opioids for chronic pain, providers should use urine drug testing before starting opioid therapy and consider urine drug testing at least annually to assess for prescribed medications as well as other controlled prescription drugs and illicit drugs.",
  "useContext": [
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus",
        "display": "Clinical Focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "182888003",
            "display": "Medication requested (situation)"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus",
        "display": "Clinical Focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "82423001",
            "display": "Chronic pain (finding)"
          }
        ]
      }
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States of America"
        }
      ]
    }
  ],
  "purpose": "CDC’s Guideline for Prescribing Opioids for Chronic 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.",
  "usage": "Providers should be aware if patients are taking other prescription drugs or illicit drugs that might increase their risk of an overdose.",
  "copyright": "© CDC 2016+.",
  "topic": [
    {
      "text": "Opioid Prescribing"
    }
  ],
  "author": [
    {
      "name": "Kensaku Kawamoto, MD, PhD, MHS"
    },
    {
      "name": "Bryn Rhodes"
    },
    {
      "name": "Floyd Eisenberg, MD, MPH"
    },
    {
      "name": "Robert McClure, MD, MPH"
    }
  ],
  "relatedArtifact": [
    {
      "type": "documentation",
      "display": "CDC guideline for prescribing opioids for chronic pain",
      "document": {
        "url": "https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420"
      }
    }
  ],
  "library": [
    "http://example.org/fhir/Library/opioidcds-recommendation-10"
  ],
  "action": [
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/recommendation-strength",
                "code": "strong",
                "display": "Strong"
              }
            ]
          }
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/evidence-quality",
                "code": "low",
                "display": "Low quality"
              }
            ]
          }
        }
      ],
      "title": "Annual Urine Screening Check",
      "description": "Patient has not had a urine screening in the past 12 months",
      "documentation": [
        {
          "type": "documentation"
        }
      ],
      "trigger": [
        {
          "type": "named-event",
          "name": "medication-prescribe"
        }
      ],
      "condition": [
        {
          "kind": "applicability",
          "expression": {
            "description": "Patient has not had a urine screening in the past 12 months",
            "language": "text/cql-identifier",
            "expression": "No Screenings in Past Year"
          }
        }
      ],
      "dynamicValue": [
        {
          "path": "activity.extension",
          "expression": {
            "language": "text/cql-identifier",
            "expression": "Get Indicator"
          }
        }
      ],
      "action": [
        {
          "description": "Will perform urine screening"
        },
        {
          "description": "Not for chronic pain management. Snooze 3 months"
        }
      ]
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/recommendation-strength",
                "code": "strong",
                "display": "Strong"
              }
            ]
          }
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/evidence-quality",
                "code": "low",
                "display": "Low quality"
              }
            ]
          }
        }
      ],
      "title": "Positive Urine Screening Check",
      "description": "Patient has a urine screening testing positive for either unprescribed opioids or illicit drugs in the past 12 months",
      "documentation": [
        {
          "type": "documentation"
        }
      ],
      "condition": [
        {
          "kind": "applicability",
          "expression": {
            "description": "Patient has a positive urine screening in the past 12 months",
            "language": "text/cql-identifier",
            "expression": "Has Positive Screening?"
          }
        }
      ],
      "action": [
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/recommendation-strength",
                    "code": "strong",
                    "display": "Strong"
                  }
                ]
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/evidence-quality",
                    "code": "low",
                    "display": "Low quality"
                  }
                ]
              }
            }
          ],
          "title": "Unprescribed Opioids Found In Urine Screening",
          "description": "Patient has a positive urine screening in the past 12 months for opioid(s), which is not prescribed",
          "documentation": [
            {
              "type": "documentation"
            }
          ],
          "condition": [
            {
              "kind": "applicability",
              "expression": {
                "description": "Patient has a positive urine screening in the past 12 months for opioid(s), which is not prescribed",
                "language": "text/cql-identifier",
                "expression": "Has Unprescribed Opioids?"
              }
            }
          ],
          "dynamicValue": [
            {
              "path": "activity.extension",
              "expression": {
                "language": "text/cql-identifier",
                "expression": "Get Indicator"
              }
            },
            {
              "path": "action.description",
              "expression": {
                "language": "text/cql-identifier",
                "expression": "Inconsistent Unprescribed Opioids"
              }
            }
          ],
          "action": [
            {
              "description": "Not for chronic pain management. Snooze 3 months"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/recommendation-strength",
                    "code": "strong",
                    "display": "Strong"
                  }
                ]
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/evidence-quality",
                    "code": "low",
                    "display": "Low quality"
                  }
                ]
              }
            }
          ],
          "title": "Prescribed Opioids Not Found In Urine Screening",
          "description": "Patient has a positive urine screening in the past 12 months, which does not include prescribed opioids",
          "documentation": [
            {
              "type": "documentation"
            }
          ],
          "condition": [
            {
              "kind": "applicability",
              "expression": {
                "description": "Patient has a positive urine screening in the past 12 months, which does not include prescribed opioids",
                "language": "text/cql-identifier",
                "expression": "Has Missing Opioids?"
              }
            }
          ],
          "dynamicValue": [
            {
              "path": "activity.extension",
              "expression": {
                "language": "text/cql-identifier",
                "expression": "Get Indicator"
              }
            },
            {
              "path": "action.description",
              "expression": {
                "language": "text/cql-identifier",
                "expression": "Inconsistent Missing Opioids"
              }
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/recommendation-strength",
                    "code": "strong",
                    "display": "Strong"
                  }
                ]
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/evidence-quality",
                    "code": "low",
                    "display": "Low quality"
                  }
                ]
              }
            }
          ],
          "title": "Illicit Drugs Found In Urine Screening",
          "description": "Patient has a positive urine screening in the past 12 months for illicit drugs",
          "documentation": [
            {
              "type": "documentation"
            }
          ],
          "condition": [
            {
              "kind": "applicability",
              "expression": {
                "description": "Patient has a positive urine screening in the past 12 months for illicit drugs",
                "language": "text/cql-identifier",
                "expression": "Has Illicit Drugs in Screening?"
              }
            }
          ],
          "dynamicValue": [
            {
              "path": "activity.extension",
              "expression": {
                "language": "text/cql-identifier",
                "expression": "Get Indicator"
              }
            },
            {
              "path": "action.description",
              "expression": {
                "language": "text/cql-identifier",
                "expression": "Inconsistent Illicit Drugs"
              }
            }
          ],
          "action": [
            {
              "description": "Not for chronic pain management. Snooze 3 months"
            }
          ]
        }
      ]
    }
  ],
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}