|
| 1 | +# Examples |
| 2 | + |
| 3 | +## CDC Guideline for Prescribing Opioids for Chronic Pain |
| 4 | + |
| 5 | +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](https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420). |
| 6 | + |
| 7 | +This example is taken from the [Opioid Prescribing Support Implementation Guide](http://build.fhir.org/ig/cqframework/opioid-cds/), developed in partnership with the Centers for Disease Control and Prevention [(CDC)](https://www.cdc.gov/). |
| 8 | + |
| 9 | +The example illustrates a prescription for Acetaminophen/Hydrocodone Bitartrate for a patient that already has a prescription for Oxycodone Hydrochloride: |
| 10 | + |
| 11 | +```json |
| 12 | +{ |
| 13 | + "hookInstance": "d1577c69-dfbe-44ad-ba6d-3e05e953b2ea", |
| 14 | + "fhirServer": "http://fhirtest.uhn.ca/baseDstu2", |
| 15 | + "hook": "medication-prescribe", |
| 16 | + "user": "Practitioner/example", |
| 17 | + "context": [ |
| 18 | + { |
| 19 | + "resourceType": "MedicationOrder", |
| 20 | + "id": "medrx001", |
| 21 | + "dateWritten": "2017-05-05", |
| 22 | + "status": "draft", |
| 23 | + "patient": { |
| 24 | + "reference": "Patient/example" |
| 25 | + }, |
| 26 | + "medicationCodeableConcept": { |
| 27 | + "coding": [ |
| 28 | + { |
| 29 | + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", |
| 30 | + "code": "857001", |
| 31 | + "display": "Acetaminophen 325 MG / Hydrocodone Bitartrate 10 MG Oral Tablet" |
| 32 | + } |
| 33 | + ] |
| 34 | + }, |
| 35 | + "dosageInstruction": [ |
| 36 | + { |
| 37 | + "text": "Take 1 tablet Oral every 4 hours as needed", |
| 38 | + "timing": { |
| 39 | + "repeat": { |
| 40 | + "frequency": 6, |
| 41 | + "frequencyMax": 6, |
| 42 | + "period": 1, |
| 43 | + "unit": "d" |
| 44 | + } |
| 45 | + }, |
| 46 | + "asNeededBoolean": true, |
| 47 | + "doseQuantity": { |
| 48 | + "value": 10, |
| 49 | + "unit": "mg", |
| 50 | + "system": "http://unitsofmeasure.org", |
| 51 | + "code": "mg" |
| 52 | + } |
| 53 | + } |
| 54 | + ] |
| 55 | + } |
| 56 | + ], |
| 57 | + "patient": "Patient/Patient-12214", |
| 58 | + "prefetch": { |
| 59 | + "medication": { |
| 60 | + "response": { |
| 61 | + "status": "200 OK" |
| 62 | + }, |
| 63 | + "resource": { |
| 64 | + "resourceType": "MedicationOrder", |
| 65 | + "id": "medrx002", |
| 66 | + "dateWritten": "2017-04-25", |
| 67 | + "status": "active", |
| 68 | + "patient": { |
| 69 | + "reference": "Patient/Patient-12214" |
| 70 | + }, |
| 71 | + "medicationCodeableConcept": { |
| 72 | + "coding": [ |
| 73 | + { |
| 74 | + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", |
| 75 | + "code": "1049621", |
| 76 | + "display": "Oxycodone Hydrochloride 5 MG Oral Tablet" |
| 77 | + } |
| 78 | + ] |
| 79 | + }, |
| 80 | + "dosageInstruction": [ |
| 81 | + { |
| 82 | + "text": "Take 1 tablet by mouth every 4 hours as needed for pain.", |
| 83 | + "timing": { |
| 84 | + "repeat": { |
| 85 | + "frequency": 6, |
| 86 | + "period": 1, |
| 87 | + "periodUnits": "d" |
| 88 | + } |
| 89 | + }, |
| 90 | + "asNeededBoolean": true, |
| 91 | + "doseQuantity": { |
| 92 | + "value": 5, |
| 93 | + "unit": "mg", |
| 94 | + "system": "http://unitsofmeasure.org", |
| 95 | + "code": "mg" |
| 96 | + } |
| 97 | + } |
| 98 | + ] |
| 99 | + } |
| 100 | + } |
| 101 | + } |
| 102 | +} |
| 103 | +``` |
| 104 | + |
| 105 | +This request results in the following response: |
| 106 | + |
| 107 | +```json |
| 108 | +{ |
| 109 | + "summary": "High risk for opioid overdose - taper now", |
| 110 | + "indicator": "warning", |
| 111 | + "links": [ |
| 112 | + { |
| 113 | + "label": "CDC guideline for prescribing opioids for chronic pain", |
| 114 | + "type": "absolute", |
| 115 | + "url": "https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420" |
| 116 | + }, |
| 117 | + { |
| 118 | + "label": "MME Conversion Tables", |
| 119 | + "type": "absolute", |
| 120 | + "url": "https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf" |
| 121 | + } |
| 122 | + ], |
| 123 | + "detail": "Total morphine milligram equivalent (MME) is 125mg. Taper to less than 50." |
| 124 | +}``` |
| 125 | + |
| 126 | +## Radiology Appropriateness |
| 127 | + |
| 128 | +This example illustrates the use of the CDS Hooks `order-review` hook to implement Radiology Appropriateness scoring. |
| 129 | + |
| 130 | +```json |
| 131 | +{ |
| 132 | + "hookInstance": "d1577c69-dfbe-44ad-ba6d-3e05e953b2ea", |
| 133 | + "fhirServer": "http://fhirtest.uhn.ca/baseDstu2", |
| 134 | + "hook": "medication-prescribe", |
| 135 | + "user": "Practitioner/example", |
| 136 | + "context": [ |
| 137 | + { |
| 138 | + "resourceType": "ProcedureRequest", |
| 139 | + "id": "procedure-request-1", |
| 140 | + "status": "draft", |
| 141 | + "intent": "proposal", |
| 142 | + "priority": "routine", |
| 143 | + "code": |
| 144 | + "coding": [{ |
| 145 | + "system": "http://www.ama-assn.org/go/cpt", |
| 146 | + "code": "70450", |
| 147 | + "display": "CT, head, wo iv contrast" |
| 148 | + }], |
| 149 | + "subject": { |
| 150 | + "reference": "Patient/example" |
| 151 | + }, |
| 152 | + "requester": { |
| 153 | + "agent": { |
| 154 | + "reference": "Practitioner/exampmle" |
| 155 | + } |
| 156 | + } |
| 157 | + } |
| 158 | + ], |
| 159 | + "patient": "Patient/example" |
| 160 | +} |
| 161 | +``` |
| 162 | + |
| 163 | +The appropriateness score is communicated via an update of the procedure request: |
| 164 | + |
| 165 | +```json |
| 166 | +{ |
| 167 | + "cards": [ |
| 168 | + { |
| 169 | + "summary": "Usually appropriate", |
| 170 | + "indicator": "info", |
| 171 | + "detail": "The requested procedure is usually appropriate for the given indications.", |
| 172 | + "suggestions": [ |
| 173 | + { |
| 174 | + "label": "The appropriateness score for this procedure given these indications is 9, usually appropriate.", |
| 175 | + "actions": [ |
| 176 | + "type": "update", |
| 177 | + "description": "Update the order to record the appropriateness score.", |
| 178 | + "resource": { |
| 179 | + "resourceType": "ProcedureRequest", |
| 180 | + "id": "procedure-request-1", |
| 181 | + "extension": [ |
| 182 | + { |
| 183 | + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/procedurerequest-appropriatenessScore", |
| 184 | + "valueDecimal": "9" |
| 185 | + } |
| 186 | + ], |
| 187 | + "status": "draft", |
| 188 | + "intent": "proposal", |
| 189 | + "priority": "routine", |
| 190 | + "code": |
| 191 | + "coding": [{ |
| 192 | + "system": "http://www.ama-assn.org/go/cpt", |
| 193 | + "code": "70450", |
| 194 | + "display": "CT, head, wo iv contrast" |
| 195 | + }], |
| 196 | + "subject": { |
| 197 | + "reference": "Patient/example" |
| 198 | + }, |
| 199 | + "requester": { |
| 200 | + "agent": { |
| 201 | + "reference": "Practitioner/exampmle" |
| 202 | + } |
| 203 | + } |
| 204 | + } |
| 205 | + ] |
| 206 | + } |
| 207 | + ] |
| 208 | + } |
| 209 | + ] |
| 210 | +} |
| 211 | +``` |
0 commit comments