Skip to main content
GET
Fetch a prescription

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

prescription_id
integer
required

The ID of the prescription to fetch

Response

200 - application/json

OK

A medication prescribed to a patient by a doctor.

clinic_id
integer
required

The ID of the clinic where this prescription was created.

clinic_patient_id
integer
required

The ID of the clinic patient that this prescription is for.

created
string<date-time>
required

The datetime this object was created.

deleted
string<date-time> | null
required

The datetime this record was soft deleted.

id
integer
required

The unique identifier for the prescription.

is_deleted
boolean
required

Whether this record is soft deleted or not.

item
ConnectPrescriptionItemSchema · object
required

The item this prescription is for.

modified
string<date-time>
required

The datetime this object was last modified; changes to related entities will not update this field.

allowed_uses
integer | null

The number of fills allowed for this prescript, each with the specified quantity.

Required range: x >= 0
client_notes
string | null

Additional notes for the prescription.

days_supply
integer | null

How many days one unit of this prescription is itended to last for.

Required range: x >= 0
directions
string | null

The directions for the prescription.

expiration_date
string<date-time> | null

When this prescription expires, if applicable.

is_prn
boolean | null

Whether the prescription is PRN.

last_filled_at
string<date-time> | null

The date and time when the last fill was dispensed.

prescribed_at
string<date-time> | null

The date and time when the prescription was prescribed.

prescribed_by
string | null

The name of the doctor who prescribed the prescription.

prescribed_by_doctor_id
integer | null

The ID of the doctor who prescribed the prescription. Use with the Doctors endpoint to look up full doctor details.

quantity
integer | null

How many of the items should be provided for each fill.

Required range: x >= 0
remaining_fills
integer | null

The number of fills remaining for this prescription.

status
enum<string> | null

The status of the prescription.

Available options:
ACTIVE,
DRAFT,
DECLINED,
IMPORTED
total_allowed_uses
integer | null

The total quantity for which the prescription can be used for the item. None if the prescription is PRN.

total_order_item_count
integer | null

The count of order items placed against this prescription. Each order consumes one full fill.

total_uses
integer | null

The total quantity of the item that has been used for this prescription.