Skip to main content
GET
Fetch a universal prescription

Authorizations

Authorization
string
header
required

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

Path Parameters

universal_prescription_id
integer
required

The ID of the universal prescription to fetch.

Response

200 - application/json

OK

A universal prescription represents a medication or service prescribed to a patient by a veterinarian. Universal prescriptions unify three fulfillment types — home delivery, internal (in-clinic), and external (third-party pharmacy) — into a single record.

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.

fills_remaining
integer | null
required

The number of fills still available. None if PRN.

fills_used
integer
required

The number of fills consumed across all fulfillment channels.

id
integer
required

The unique identifier for this universal prescription.

is_deleted
boolean
required

Whether this record is soft deleted or not.

is_prn
boolean
required

Whether the prescription allows unlimited refills (PRN).

latest_fill_id
integer
required

The ID of the current universal prescription version. Use this to look up the full history via the history endpoint.

modified
string<date-time>
required

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

status
enum<string>
required

The visible status of the prescription.

Available options:
ACTIVE,
DISCONTINUED,
DEACTIVATED,
DECLINED,
EXPIRED,
DRAFT,
IMPORTED,
IMPORTED_VOIDED
allowed_uses
integer | null

The number of fills allowed. None if the prescription is PRN.

Required range: x >= 0
authorized_by
string | null

The name of the clinic user who authorized this prescription.

client_notes
string
default:""

Additional notes for the client.

directions
string
default:""

The directions for the prescription.

expiration_date
string<date-time> | null

When this prescription expires, if applicable.

external_prescription
External Prescription · object | null

External (third-party pharmacy) prescription details. Present when this is an external prescription.

hd_prescription
Home Delivery Prescription · object | null

Home delivery prescription details. Present when this is a home delivery prescription.

internal_prescription
Internal Prescription · object | null

Internal (in-clinic) prescription details. Present when this is an internal prescription.

original_created
string<date-time> | null

When the prescription was first created in the system. Null when the source system did not provide an issued date.

prescribed_by
string | null

The name of the prescribing doctor.

prescribed_by_doctor_id
integer | null

The ID of the prescribing doctor. Use with the Doctors endpoint to look up full doctor details.