Patients

Get outside medications (out-of-band, e.g. filled at an online/outside pharmacy) recorded on a patient for tracking. Intentionally separate from inventory and Rx governance — there may be no matching inventory item. NOTE: the "external-medications" route (and the external_medication_requests table) are kept stable across the OutsideMedication rename — the rename freed "MedicationRequest" for the stateful request entity (docs/medication-request-lifecycle-design.md).

Changed on
get/Patients/{id}/external-medications

Request

Path parameters

idstring required

The patient ID

Response

OK

idstring
patientIdstring
medicationNamestring
quantitystring nullable
sigstring nullable
statusstring

One of: Requested, Filled, Cancelled, Sending, Sent, Failed (the last three are eRx-only).

kindstring

One of: Medication, Diet. Diets are charted in their own section.

requestedDatestring date-time
sourcestring nullable
notesstring nullable
createdByNamestring nullable
createdAtstring date-time
updatedAtstring date-time
filledAtstring date-time nullable

When staff confirmed the pharmacy filled it. Set/cleared by the status endpoint.

filledByNamestring nullable

Changes

    • info

      added the optional property / to the response with the status (media type: text/plain)

    • info

      added the optional property / to the response with the status (media type: application/json)

    • info

      added the optional property / to the response with the status (media type: text/json)

    • info

      added the optional property / to the response with the status (media type: text/plain)

    • info

      added the optional property / to the response with the status (media type: application/json)

    • info

      added the optional property / to the response with the status (media type: text/json)

    • info

      added the optional property / to the response with the status (media type: text/plain)

    • info

      added the optional property / to the response with the status (media type: application/json)

    • info

      added the optional property / to the response with the status (media type: text/json)

    • info

      added the optional property / to the response with the status (media type: text/plain)

    • info

      added the optional property / to the response with the status (media type: application/json)

    • info

      added the optional property / to the response with the status (media type: text/json)