patientId, prescriberId, and medication (as a code or coded concept). Optionally specify dosage instructions, refill count, supply duration, and whether substitution is permitted.
Request
POST https://api.clinikapi.com/v1/prescriptions
Headers
Your ClinikAPI secret key (
clk_live_* or clk_test_*).Must be
application/json.Body
ID of the patient receiving the prescription.
ID of the prescribing practitioner.
The medication being prescribed. Pass a string shorthand or a full
{ system, code, display } object (e.g. RxNorm code).ID of the associated encounter.
Prescription intent. One of:
proposal, plan, order, original-order. Defaults to order.Prescription status. One of:
active, on-hold, cancelled, completed, draft. Defaults to active.Dispensing priority. One of:
routine, urgent, asap, stat.Free-text dosage instructions (e.g.
Take 1 tablet by mouth twice daily with food). Maximum 1000 characters.Structured dosage details.
Number of authorized refills. Minimum:
0, Maximum: 99.Total quantity dispensed with
value and unit (e.g. { value: 30, unit: "tablets" }).Days of medication supply.
Whether generic substitution is permitted.
Clinical reason for the prescription. Maximum 500 characters.
Additional notes. Maximum 2000 characters.
Response
Returns201 Created with the new prescription resource.
Generated prescription ID.
Prescription status.
Patient ID.
Prescriber ID.
Standard response metadata.