Examples

CDC Guideline for Prescribing Opioids for Chronic Pain

CDS Service Request

The example illustrates a prescription for Acetaminophen/Hydrocodone Bitartrate for a patient that already has a prescription for Oxycodone Hydrochloride:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
  "hookInstance": "d1577c69-dfbe-44ad-ba6d-3e05e953b2ea",
  "fhirServer": "http://fhir.example.com",
  "hook": "order-sign",
  "context": {
    "userId": "Practitioner/example",
    "medications": [
      {
        "resourceType": "MedicationOrder",
        "id": "medrx001",
        "dateWritten": "2017-05-05",
        "status": "draft",
        "patient": {
          "reference": "Patient/example"
        },
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
              "code": "857001",
              "display": "Acetaminophen 325 MG / Hydrocodone Bitartrate 10 MG Oral Tablet"
            }
          ]
        },
        "dosageInstruction": [
          {
            "text": "Take 1 tablet Oral every 4 hours as needed",
            "timing": {
              "repeat": {
                "frequency": 6,
                "frequencyMax": 6,
                "period": 1,
                "unit": "d"
              }
            },
            "asNeededBoolean": true,
            "doseQuantity": {
              "value": 10,
              "unit": "mg",
              "system": "http://unitsofmeasure.org",
              "code": "mg"
            }
          }
        ]
      }
    ],
    "patientId": "1288992"
  },
  "prefetch": {
    "medication": {
      "response": {
        "status": "200 OK"
      },
      "resource": {
        "resourceType": "MedicationOrder",
        "id": "medrx002",
        "dateWritten": "2017-04-25",
        "status": "active",
        "patient": {
          "reference": "Patient/example"
        },
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
              "code": "1049621",
              "display": "Oxycodone Hydrochloride 5 MG Oral Tablet"
            }
          ]
        },
        "dosageInstruction": [
          {
            "text": "Take 1 tablet by mouth every 4 hours as needed for pain.",
            "timing": {
              "repeat": {
                "frequency": 6,
                "period": 1,
                "periodUnits": "d"
              }
            },
            "asNeededBoolean": true,
            "doseQuantity": {
              "value": 5,
              "unit": "mg",
              "system": "http://unitsofmeasure.org",
              "code": "mg"
            }
          }
        ]
      }
    }
  }
}

This example illustrates the use of the CDS Hooks medication-prescribe hook to implement Recommendation #5 from the CDC guideline for prescribing opioids for chronic pain.

This example is taken from the Opioid Prescribing Support Implementation Guide, developed in partnership with the Centers for Disease Control and Prevention (CDC).

CDS Service Response

The opioid guideline request results in the following response that indicates the patient is at high risk for opioid overdose according to the CDC guidelines, and the dosage should be tapered to less than 50 MME. Links are provided to the guideline, as well as to the MME conversion tables provided by CDC.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
{
  "summary": "High risk for opioid overdose - taper now",
  "indicator": "warning",
  "links": [
    {
      "label": "CDC guideline for prescribing opioids for chronic pain",
      "type": "absolute",
      "url": "https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420"
    },
    {
      "label": "MME Conversion Tables",
      "type": "absolute",
      "url": "https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf"
    }
  ],
  "detail": "Total morphine milligram equivalent (MME) is 125mg. Taper to less than 50."
}

Radiology Appropriateness

CDS Service Request

This example illustrates the use of the CDS Hooks order-select hook to implement Radiology Appropriateness scoring.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
  "hook": "order-select",
  "hookInstance": "d1577c69-dfbe-44ad-ba6d-3e05e953b2ea",
  "fhirServer": "http://hooks.smarthealthit.org:9080",
  "context": {
    "userId": "Practitioner/123",
    "patientId": "MRI-59879846",
    "encounterId": "89284",
    "selections": [
      "ServiceRequest/example-MRI-59879846"
    ],
    "draftOrders": {
      "resourceType": "Bundle",
      "entry": [
        {
          "resource": {
            "resourceType": "ServiceRequest",
            "id": "example-MRI-59879846",
            "status": "draft",
            "intent": "plan",
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "36801-9"
                }
              ],
              "text": "MRA Knee Vessels Right"
            },
            "subject": {
              "reference": "Patient/MRI-59879846"
            },
            "reasonCode": [
              {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/sid/icd-10",
                    "code": "S83.511",
                    "display": "Sprain of anterior cruciate ligament of right knee"
                  }
                ]
              }
            ]
          }
        }
      ]
    }
  }
}

CDS Service Response

The appropriateness score is communicated via a systemAction of the ServiceRequest that adds an extension element to indicate the appropriateness rating. See the CDS Hooks for PAMA Argonaut specification for more.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
   "cards":[

   ],
   "systemActions":[
      {
         "type":"update",
         "resource":{
            "resourceType":"ServiceRequest",
            "id":"example-MRI-59879846",
            "extension":[
               {
                  "url":"http://fhir.org/argonaut/Extension/pama-rating",
                  "valueCodeableConcept":{
                     "coding":[
                        {
                           "system":"http://fhir.org/argonaut/CodeSystem/pama-rating",
                           "code":"appropriate"
                        }
                     ]
                  }
               },
               {
                  "url":"http://fhir.org/argonaut/Extension/pama-rating-consult-id",
                  "valueUri":"urn:uuid:55f3b7fc-9955-420e-a460-ff284b2956e6"
               }
            ],
            "status":"draft",
            "intent":"plan",
            "code":{
               "coding":[
                  {
                     "system":"http://loinc.org",
                     "code":"36801-9"
                  }
               ],
               "text":"MRA Knee Vessels Right"
            },
            "subject":{
               "reference":"Patient/MRI-59879846"
            },
            "reasonCode":[
               {
                  "coding":[
                     {
                        "system":"http://hl7.org/fhir/sid/icd-10",
                        "code":"S83.511",
                        "display":"Sprain of anterior cruciate ligament of right knee"
                     }
                  ]
               }
            ]
         }
      }
   ]
}