Patient Prescriptions

Discontinue a patient medication

Marks a patient's medication prescription as discontinued. This does not delete the record - the medication will remain in the patient's history with a discontinued status.

patch/patients/{pt_id}/rxs/{pt_rx_id}/discontinue

Request

  • Base URL: https://clinic-subdomain.md-hq.com/api/v1
  • URL: https://clinic-subdomain.md-hq.com/api/v1/patients/{pt_id}/rxs/{pt_rx_id}/discontinue
  • Auth: HTTP basic

Path parameters

pt_idinteger required

ID of the patient

pt_rx_idinteger required

ID of the patient's medication prescription to discontinue

Request body

discontinued_datestring date-time

Date and time when the medication was discontinued. If not provided, defaults to the current date/time.

discontinued_reasonstring required

Reason for discontinuing the medication (required)

Example request

{
  "discontinued_date": "2024-01-15T14:30:00Z",
  "discontinued_reason": "Patient experiencing adverse side effects"
}

Response

Medication successfully discontinued

object'medication_prescribed'
idinteger

ID of the discontinued prescription

drug_idinteger
drug_namestring
status'Discontinued'
discontinued_datestring date-time
discontinued_reasonstring

Changes

No recorded changes to this operation across all 1 revision of this API.