Prescriptions

Create Patient Prescription

Changed on

Records an order/send event with a persisted medication snapshot. Later medication edits do not update this snapshot. This endpoint does not track fulfillment, dispensing, or remaining refills; refills are the number authorized at order time. Use medication endpoints to migrate historical medication data, rather than creating prescription events. Nested medication data has no medication ID or lifecycle fields. Find the current chart entry through List Patient Medications. See https://developers.hint.com/docs/prescriptions-and-medications for the snapshot and medication lookup workflow.

post/provider/patients/{patient_id}/prescriptions

Request

  • Base URL
    https://api.sandbox.hint.com/api
  • URL
    https://api.sandbox.hint.com/api/provider/patients/{patient_id}/prescriptions
  • Auth
    API key in header AUTHORIZATION

Path parameters

patient_idstring required

Unique Patient ID

Request body

rx_idstring required

The prescription identifier in the partner system.

medicationobject required

The medication being prescribed. Accepts the same fields as Create Patient Medication, without the integration record fields.

quantityinteger

The quantity prescribed. Must be a positive integer (at least 1) when supplied.

refillsinteger

The number of refills authorized. Must be a non-negative integer (0 or greater) when supplied; 0 means no refills.

event_timestampstring date-time

The time the prescription was written.

integration_record_idstring
integration_error_messagestring
integration_web_linkstring

Response

Successful response

idstring
typestring
patientobject
created_atstring date-time
updated_atstring date-time
event_timestampstring date-time
rx_idstring nullable
quantityinteger nullable
refillsinteger nullable

Changes