DEA Schedules
The module treats a prescription as a controlled prescription when its medication has a DEA schedule.
Store a DEA Schedule
Store the schedule in the http://aidbox.app/ePrescription/FHIRSchema/medication-dea-schedule extension of the medication code:
MedicationRequest.medicationCodeableConceptfor a prescription without aMedicationresourceMedication.codeMedication.ingredient.itemCodeableConceptfor each scheduled ingredient of a compound (see Ingredient Schedules)
Schedule extension example
{
"url": "http://aidbox.app/ePrescription/FHIRSchema/medication-dea-schedule",
"valueCodeableConcept": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0477",
"code": "II",
"display": "Schedule II"
}
]
}
}
Schedules in NCPDP Messages
The module sends each schedule in DEASchedule/Code as its NCI Thesaurus (NCIt) code:
I:C48672II:C48675III:C48676IV:C48677V:C48679
DrugCoded/DEASchedule carries the schedule of the prescription:
- for a compound, the strictest ingredient schedule
- for any other medication, the schedule stored on its code
CompoundIngredient/DEASchedule carries the schedule of each ingredient.
Schedule Checks
When EPCS is disabled (EPCS_MODE=disabled), the module rejects a controlled prescription with epcs-disabled, including a compound with a scheduled ingredient.
A request that fails a check returns 422 with an OperationOutcome.
Error Responses
- The medication code (
Medication.codeorMedicationRequest.medicationCodeableConcept):medication-has-multiple-dea-schedules: the code has more than one schedule extension, or more than one coding underhttp://terminology.hl7.org/CodeSystem/v2-0477in one extension.dea-schedule-coding-system-is-not-supported: a schedule extension has codings, and none of them is a coding underhttp://terminology.hl7.org/CodeSystem/v2-0477that has a code.controlled-substance-invalid-dea-schedule: the schedule is not one ofItoV.
Example response for controlled-substance-invalid-dea-schedule:
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"details": {
"text": "Controlled substance DEASchedule must be one of I, II, III, IV, V"
},
"diagnostics": "null"
}
]
}