R6 Ballot (2nd Draft)

Publish-box (todo)

Example PlanDefinition/opioidcds-11 (Turtle)

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Opioid CDS Recommendation 11 ECA Rule

@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-11"] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "cds" ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.11.2" ]
  ] [
     fhir:use [ fhir:v "official" ] ;
     fhir:value [ fhir:v "cdc-opioid-guidance" ]
  ] ) ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "Cdcopioid11"] ; # 
  fhir:title [ fhir:v "CDC Opioid Prescribing Guideline Recommendation #11"] ; # 
  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:date [ fhir:v "2018-03-19"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Concurrently prescribing opioid medications with benzodiazepines increases the risk of harm for the patient."] ; # 
  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: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 "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."] ; # 
  fhir:usage [ fhir:v "Clinicians should avoid prescribing opioid pain medication and benzodiazepines concurrently whenever possible."] ; # 
  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 "CDC guideline for prescribing opioids for chronic pain" ] ;
     fhir:document [
       fhir:url [ fhir:v "https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420"^^xsd:anyURI ]
     ]
  ] [
     fhir:type [ fhir:v "documentation" ] ;
     fhir:display [ fhir:v "MME Conversion Tables" ] ;
     fhir:document [
       fhir:url [ fhir:v "https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf"^^xsd:anyURI ]
     ]
  ] ) ; # 
  fhir:library ( [
     fhir:v "http://example.org/fhir/Library/opioidcds-recommendation-11"^^xsd:anyURI ;
     fhir:link <http://example.org/fhir/Library/opioidcds-recommendation-11>
  ] ) ; # 
  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 "low" ] ;
           fhir:display [ fhir:v "Low quality" ]
         ] )
       ]
     ] ) ;
     fhir:title [ fhir:v "Existing patient has concurrent opioid and benzodiazepine prescriptions." ] ;
     fhir:description [ fhir:v "Checking if the trigger prescription meets the inclusion criteria for recommendation #11 workflow." ] ;
     fhir:documentation ( [
       fhir:type [ fhir:v "documentation" ]
     ] ) ;
     fhir:trigger ( [
       fhir:type [ fhir:v "named-event" ] ;
       fhir:name [ fhir:v "medication-prescribe" ]
     ] ) ;
     fhir:condition ( [
       fhir:kind [ fhir:v "applicability" ] ;
       fhir:expression [
         fhir:description [ fhir:v "Check whether the existing patient is using opioids concurrently with benzodiazepines." ] ;
         fhir:language [ fhir:v "text/cql" ] ;
         fhir:expression [ fhir:v "Inclusion Criteria" ]
       ]
     ] ) ;
     fhir:groupingBehavior [ fhir:v "visual-group" ] ;
     fhir:selectionBehavior [ fhir:v "exactly-one" ] ;
     fhir:dynamicValue ( [
       fhir:path [ fhir:v "action.description" ] ;
       fhir:expression [
         fhir:language [ fhir:v "text/cql" ] ;
         fhir:expression [ fhir:v "Get Detail" ]
       ]
     ] [
       fhir:path [ fhir:v "action.title" ] ;
       fhir:expression [
         fhir:language [ fhir:v "text/cql" ] ;
         fhir:expression [ fhir:v "Get Summary" ]
       ]
     ] [
       fhir:path [ fhir:v "action.extension" ] ;
       fhir:expression [
         fhir:language [ fhir:v "text/cql" ] ;
         fhir:expression [ fhir:v "Get Indicator" ]
       ]
     ] ) ;
     fhir:action ( [
       fhir:description [ fhir:v "Will revise" ]
     ] [
       fhir:description [ fhir:v "Risk of overdose carefully considered and outweighed by benefit; snooze 3 mo" ]
     ] [
       fhir:description [ fhir:v "N/A - see comment; snooze 3 mo" ]
     ] )
  ] )] . # 

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.