CDS Hooks Library, published by Clinical Decision Support WG. This guide is not an authorized publication; it is the continuous build for version 2.0.0-cibuild built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cds-hooks-library/ and changes regularly. See the Directory of published versions
Page standards status: Informative |
medication-verify
This page defines a workflow hook for the purpose of providing clinical decision support using CDS Hooks. This is a build at the level of Trial Use.
Metadata | Value |
---|---|
specificationVersion | 1.0 |
hookVersion | 0.1.0 |
hookMaturity | 1 - Submitted |
The medication-verify hook fires when a pharmacist is ready to verify a medication order for a patient in either ambulatory or inpatient settings. This hook applies to already signed orders that are in an active status. Use this hook when your service needs to present in order context to a pharmacist. Pharmacist workflow varies geographically, such that this hook will not be relevant in some locales.
Field | Optionality | Prefetch Token | Type | Description |
---|---|---|---|---|
userId | REQUIRED | Yes | string | The id of the current user. For this hook, the user is expected to be of type Practitioner or PractitionerRole. For example, PractitionerRole/123 or Practitioner/abc. |
patientId | REQUIRED | Yes | string | The FHIR Patient.id of the current patient in context |
encounterId | OPTIONAL | Yes | string | The FHIR Encounter.id of the current encounter in context |
medication | REQUIRED | No | object | A FHIR MedicationRequest resource (MedicationOrder in DSTU2) with active status, representing a single signed order which is about to be verified by a pharmacist. |
{
"context": {
"userId": "PractitionerRole/123",
"patientId": "1288992",
"encounterId": "89284",
"order": {
"resource": {
"resourceType": "MedicationRequest",
"id": "smart-MedicationRequest-103",
"meta": {
"lastUpdated": "2018-04-30T13:25:40.845-04:00"
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Amoxicillin 120 MG/ML / clavulanate potassium 8.58 MG/ML Oral Suspension (rxnorm: 617993)</div>"
},
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"coding": [
{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "617993",
"display": "Amoxicillin 120 MG/ML / clavulanate potassium 8.58 MG/ML Oral Suspension"
}
],
"text": "Amoxicillin 120 MG/ML / clavulanate potassium 8.58 MG/ML Oral Suspension"
},
"subject": {
"reference": "Patient/1288992"
},
"dosageInstruction": [
{
"text": "5 mL bid x 10 days",
"timing": {
"repeat": {
"boundsPeriod": {
"start": "2005-01-04"
},
"frequency": 2,
"period": 1,
"periodUnit": "d"
}
},
"doseQuantity": {
"value": 5,
"unit": "mL",
"system": "http://unitsofmeasure.org",
"code": "mL"
}
}
],
"dispenseRequest": {
"numberOfRepeatsAllowed": 1,
"quantity": {
"value": 1,
"unit": "mL",
"system": "http://unitsofmeasure.org",
"code": "mL"
},
"expectedSupplyDuration": {
"value": 10,
"unit": "days",
"system": "http://unitsofmeasure.org",
"code": "d"
}
}
}
}
}
}
{
"context": {
"userId": "PractitionerRole/123",
"patientId": "1288992",
"encounterId": "89284",
"order": {
"resource": {
"resourceType": "MedicationRequest",
"id": "smart-MedicationRequest-103",
"meta": {
"lastUpdated": "2018-04-30T13:25:40.845-04:00"
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Amoxicillin 120 MG/ML / clavulanate potassium 8.58 MG/ML Oral Suspension (rxnorm: 617993)</div>"
},
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"coding": [
{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "617993",
"display": "Amoxicillin 120 MG/ML / clavulanate potassium 8.58 MG/ML Oral Suspension"
}
],
"text": "Amoxicillin 120 MG/ML / clavulanate potassium 8.58 MG/ML Oral Suspension"
},
"subject": {
"reference": "Patient/1288992"
},
"dosageInstruction": [
{
"text": "5 mL bid x 10 days",
"timing": {
"repeat": {
"boundsPeriod": {
"start": "2005-01-04"
},
"frequency": 2,
"period": 1,
"periodUnit": "d"
}
},
"doseQuantity": {
"value": 5,
"unit": "mL",
"system": "http://unitsofmeasure.org",
"code": "mL"
}
}
],
"dispenseRequest": {
"numberOfRepeatsAllowed": 1,
"quantity": {
"value": 1,
"unit": "mL",
"system": "http://unitsofmeasure.org",
"code": "mL"
},
"expectedSupplyDuration": {
"value": 10,
"unit": "days",
"system": "http://unitsofmeasure.org",
"code": "d"
}
}
}
}
}
}
{
"context": {
"userId": "PractitionerRole/123",
"patientId": "1288992",
"encounterId": "89284",
"order": {
"resource": {
"resourceType": "MedicationOrder",
"id": "smart-MedicationOrder-103",
"status": "active",
"patient":{
"reference":"Patient/1288992"
},
"medicationCodeableConcept": {
"coding": [
{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "617993",
"display": "Amoxicillin 120 MG/ML / clavulanate potassium 8.58 MG/ML Oral Suspension"
}
],
"text": "Amoxicillin 120 MG/ML / clavulanate potassium 8.58 MG/ML Oral Suspension"
},
"dosageInstruction": [
{
"text": "5 mL bid x 10 days",
"timing": {
"repeat": {
"boundsPeriod": {
"start": "2005-01-04"
},
"frequency": 2,
"period": 1,
"periodUnit": "d"
}
},
"doseQuantity": {
"value": 5,
"unit": "mL",
"system": "http://unitsofmeasure.org",
"code": "mL"
}
}
],
"dispenseRequest": {
"numberOfRepeatsAllowed": 1,
"quantity": {
"value": 1,
"unit": "mL",
"system": "http://unitsofmeasure.org",
"code": "mL"
},
"expectedSupplyDuration": {
"value": 10,
"unit": "days",
"system": "http://unitsofmeasure.org",
"code": "d"
}
}
}
}
}
}
Version | Description |
---|---|
1.0 | Initial Release |