Skip to main content
POST
/
v1
/
prescriptions
Create prescription
curl --request POST \
  --url https://api.clinikapi.com/v1/prescriptions \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "patientId": "<string>",
  "prescriberId": "<string>",
  "medication": "<string>",
  "encounterId": "<string>",
  "intent": "order",
  "status": "active",
  "statusReason": "<string>",
  "category": "<string>",
  "doNotPerform": true,
  "authoredOn": "2023-11-07T05:31:56Z",
  "dosageText": "<string>",
  "dosage": {
    "dose": {
      "value": 123,
      "unit": "<string>"
    },
    "frequency": 123,
    "period": 123,
    "route": "<string>"
  },
  "refills": 49,
  "quantity": {
    "value": 123,
    "unit": "<string>"
  },
  "supplyDays": 123,
  "substitutionAllowed": true,
  "reason": "<string>",
  "note": "<string>",
  "performerId": "<string>",
  "courseOfTherapy": "<string>",
  "priorPrescriptionId": "<string>"
}
'

Authorizations

x-api-key
string
header
required

Your ClinikAPI secret key (clk_live_* or clk_test_*)

Body

application/json
patientId
string
required
prescriberId
string
required
medication
required
encounterId
string
intent
enum<string>
default:order
Available options:
proposal,
plan,
order,
original-order
status
enum<string>
default:active
Available options:
active,
on-hold,
cancelled,
completed,
draft
statusReason
string

Reason for current status (e.g. why on-hold or cancelled)

Maximum string length: 500
priority
enum<string>
Available options:
routine,
urgent,
asap,
stat
category
string

Category of medication usage (inpatient, outpatient, community, discharge)

Maximum string length: 200
doNotPerform
boolean

True if this is a "do not perform" order

authoredOn
string<date-time>

When the prescription was authored (defaults to now)

dosageText
string
Maximum string length: 1000
dosage
object
refills
integer
Required range: 0 <= x <= 99
quantity
object
supplyDays
integer
substitutionAllowed
boolean
reason
string
Maximum string length: 500
note
string
Maximum string length: 2000
performerId
string

Intended performer of administration (Practitioner ID)

courseOfTherapy
string

Course of therapy type (continuous, acute, seasonal)

Maximum string length: 200
priorPrescriptionId
string

Reference to a prior prescription being replaced

Response

201

Prescription created