Created
June 20, 2023 17:11
-
-
Save ivan-c/23997575781f334b6353c8061ba8ecb7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"hookInstance": "f4727518-0a3e-11ee-98c9-e604a017f41a", | |
"fhirServer": "https://fhir-test.epic.medical.washington.edu/FHIR_POC/api/FHIR/R4", | |
"hook": "order-sign", | |
"fhirAuthorization": { | |
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ1cm46dXdtZWRpY2luZTpwb2MiLCJjbGllbnRfaWQiOiI0M2JmNGIwYS00YmVmLTQ5MzYtODVjYi00MDc1ZmRhYjgyMTYiLCJlcGljLmVjaSI6InVybjplcGljOlBPQyIsImVwaWMubWV0YWRhdGEiOiJiMDNyVDAyek9QNTNhQXU5M2FSay14UGdxZmM1S08zWUFiYW56RENqM3ZJcnBEQWJjMzdBTFE0cV9JQndjcTZGWlJFWjlOLWNwZ2IwQ0dWOFBVZElKSU5OS0FWdU5OTHlIXy0wVF9xUjVQS0U3QzhUd2lqTGdSTEtSc3hNOFlvYSIsImVwaWMudG9rZW50eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjg2NzAxMjAwLCJpYXQiOjE2ODY2OTc2MDAsImlzcyI6InVybjp1d21lZGljaW5lOnBvYyIsImp0aSI6IjYxNzE2ZDRiLTA4MWYtNDcwNS05ODI5LTJlZDljN2NlNmIyZiIsIm5iZiI6MTY4NjY5NzYwMCwic3ViIjoiZWdRQ0xBYTdCakVEaWszQTdOdEgwMXZZb1I0NW5NWEY0TWxESDYtTWs4b1kzIn0.N3arrFOz8_62mM1q19ren7e3-h-laKVjJ9Eedap5FTovSStPm5XWRK-q_B9_Y1e77IZ1MF0bqfcdnWxwuKHUZmWoJo6IE66Fw-UBIMUn3USTb5XjR-M__W0LYvCei0xEwrx24OHaQtXcEdWAfid7XChQ4ISN60AfhNayGPbHDXrwLNDilSyN6C1AiZOMaojannqQ7R8iOiiL-7rVdnyQLABAAh4gJP7zlo5GAqBaN8aQZurhrV0Gma4CLzIJYLNQQeO2AtKRgzrX2IEmEOtixF0fxPIKK5CU0UeFVcrbbdhsEixVqV2H8Rt7pr_7vtSaIXn2RUCtKB0dyYdcPNxzTA", | |
"token_type": "Bearer", | |
"expires_in": 3600, | |
"scope": "user/AdverseEvent.Read user/AdverseEvent.read user/AllergyIntolerance.read user/AllergyIntolerance.write user/Appointment.read user/Binary.read user/CarePlan.read user/CareTeam.read user/Communication.read user/Condition.Read user/Condition.Write user/Condition.read user/Consent.read user/Coverage.read user/Device.read user/DeviceRequest.read user/DeviceUseStatement.read user/DiagnosticReport.read user/DocumentReference.read user/DocumentReference.write user/Encounter.Read user/Encounter.read user/Endpoint.read user/Goal.Write user/Goal.read user/Immunization.read user/ImmunizationRecommendation.read user/List.read user/Location.read user/Medication.read user/MedicationAdministration.read user/MedicationDispense.read user/MedicationRequest.Read user/MedicationRequest.read user/MedicationStatement.Read user/MedicationStatement.read user/NutritionOrder.read user/Observation.Read user/Observation.Write user/Observation.read user/Observation.write user/Patient.read user/Patient.write user/Practitioner.Read user/Practitioner.read user/PractitionerRole.read user/Procedure.read user/ProcedureRequest.Read user/ProcedureRequest.read user/Questionnaire.read user/QuestionnaireResponse.Read user/ResearchStudy.read user/ResearchSubject.read user/Schedule.read user/ServiceRequest.Read user/Slot.read", | |
"subject": "43bf4b0a-4bef-4936-85cb-4075fdab8216" | |
}, | |
"context": { | |
"patientId": "ePOrL9b-O76Mrr0-4-kQxIg3", | |
"encounterId": "eefJv50U7AqQDL2c0hySVIA3", | |
"userId": "Practitioner/egQCLAa7BjEDik3A7NtH01vYoR45nMXF4MlDH6-Mk8oY3", | |
"draftOrders": { | |
"resourceType": "Bundle", | |
"type": "collection", | |
"entry": [ | |
{ | |
"resource": { | |
"resourceType": "MedicationRequest", | |
"id": "e15Dd6-tXyfqDDzbVyXsfYPrzHiz2mZYG7riVg6R7UWQLO6lltTGaJHQrXV6hKMDc2Y2qZcRhfJpus0CfhBv3yeEYaul29mOkHnuZUD4ZsJDVkAbmqv77l1H9adnsDX2Ckf7dCKrI3HmJ7GZ3lM6nGswCZ4x7Al7nWnG4T-xFAAxmvTtL-fBr0Ym5A.tS9E9.WZbfARRB9k560imI0uMQXQ3", | |
"status": "draft", | |
"intent": "order", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category", | |
"code": "community", | |
"display": "Community" | |
} | |
], | |
"text": "Community" | |
} | |
], | |
"priority": "routine", | |
"medicationReference": { | |
"reference": "Medication/ePedkEgGTAP7pvcH-D8Y3rw3", | |
"display": "OXYCODONE-ACETAMINOPHEN 5-325 MG OR TABS" | |
}, | |
"subject": { | |
"reference": "Patient/ePOrL9b-O76Mrr0-4-kQxIg3", | |
"display": "zzResearch, OpioidOne" | |
}, | |
"encounter": { | |
"reference": "Encounter/eefJv50U7AqQDL2c0hySVIA3", | |
"display": "Orders Only" | |
}, | |
"requester": { | |
"reference": "Practitioner/ezxw2..QMHqt-r1c2EQtGFw3", | |
"type": "Practitioner", | |
"display": "B Jane Fellner, MD" | |
}, | |
"recorder": { | |
"reference": "Practitioner/ezxw2..QMHqt-r1c2EQtGFw3", | |
"type": "Practitioner", | |
"display": "B Jane Fellner, MD" | |
}, | |
"reasonCode": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://snomed.info/sct", | |
"code": "242630004", | |
"display": "Bite of turtle (event)" | |
}, | |
{ | |
"system": "urn:oid:2.16.840.1.113883.6.90", | |
"code": "W59.21XA", | |
"display": "Turtle bite, initial encounter" | |
} | |
], | |
"text": "Turtle bite, initial encounter" | |
} | |
], | |
"dosageInstruction": [ | |
{ | |
"text": "Take 1 tablet by mouth every 4 hours as needed for severe pain.", | |
"patientInstruction": "Take 1 tablet by mouth every 4 hours as needed for severe pain.", | |
"timing": { | |
"repeat": { | |
"boundsPeriod": { | |
"start": "2023-06-13T07:00:00Z" | |
}, | |
"frequency": 1, | |
"period": 4, | |
"periodUnit": "h" | |
}, | |
"code": { | |
"text": "every 4 hours as needed" | |
} | |
}, | |
"asNeededBoolean": true, | |
"route": { | |
"coding": [ | |
{ | |
"system": "urn:oid:1.2.840.114350.1.13.91.3.7.4.798268.7025", | |
"code": "15", | |
"display": "Oral" | |
} | |
], | |
"text": "Oral" | |
}, | |
"method": { | |
"text": "Take" | |
}, | |
"doseAndRate": [ | |
{ | |
"type": { | |
"coding": [ | |
{ | |
"system": "http://epic.com/CodeSystem/dose-rate-type", | |
"code": "calculated", | |
"display": "calculated" | |
} | |
], | |
"text": "calculated" | |
}, | |
"doseQuantity": { | |
"value": 1, | |
"unit": "tablet", | |
"system": "http://unitsofmeasure.org", | |
"code": "{tbl}" | |
} | |
}, | |
{ | |
"type": { | |
"coding": [ | |
{ | |
"system": "http://epic.com/CodeSystem/dose-rate-type", | |
"code": "admin-amount", | |
"display": "admin-amount" | |
} | |
], | |
"text": "admin-amount" | |
}, | |
"doseQuantity": { | |
"value": 1, | |
"unit": "tablet", | |
"system": "http://unitsofmeasure.org", | |
"code": "{tbl}" | |
} | |
}, | |
{ | |
"type": { | |
"coding": [ | |
{ | |
"system": "http://epic.com/CodeSystem/dose-rate-type", | |
"code": "ordered", | |
"display": "ordered" | |
} | |
], | |
"text": "ordered" | |
}, | |
"doseQuantity": { | |
"value": 1, | |
"unit": "tablet", | |
"system": "http://unitsofmeasure.org", | |
"code": "{tbl}" | |
} | |
} | |
] | |
} | |
], | |
"dispenseRequest": { | |
"validityPeriod": { | |
"start": "2023-06-13T07:00:00Z" | |
}, | |
"numberOfRepeatsAllowed": 0, | |
"quantity": { | |
"value": 1, | |
"unit": "tablet" | |
}, | |
"expectedSupplyDuration": { | |
"value": 1, | |
"unit": "Day", | |
"system": "http://unitsofmeasure.org", | |
"code": "d" | |
} | |
} | |
} | |
} | |
] | |
} | |
}, | |
"extension": { | |
"com.epic.cdshooks.request.bpa-trigger-action": "23", | |
"com.epic.cdshooks.request.cds-hooks-specification-version": "1.1", | |
"com.epic.cdshooks.request.fhir-version": "R4", | |
"com.epic.cdshooks.request.criteria-id": "3664", | |
"com.epic.cdshooks.request.epic-version": "10.2", | |
"com.epic.cdshooks.request.cds-hooks-implementation-version": "1.4", | |
"com.epic.cdshooks.request.cds-hooks-su-version": "0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment