Skip to main content
POST
/
v1
/
medication-dispenses
Create medication dispense
curl --request POST \
  --url https://api.clinikapi.com/v1/medication-dispenses \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "medication": "<string>",
  "patientId": "<string>",
  "encounterId": "<string>",
  "statusReasonCodeableConcept": "<string>",
  "category": "<string>",
  "performer": [
    {
      "actorId": "<string>",
      "function": "<string>"
    }
  ],
  "locationId": "<string>",
  "authorizingPrescriptionIds": [
    "<string>"
  ],
  "type": "<string>",
  "quantity": {
    "value": 123,
    "unit": "<string>"
  },
  "daysSupply": 123,
  "whenPrepared": "<string>",
  "whenHandedOver": "<string>",
  "dosageText": "<string>",
  "note": "<string>"
}
'

Authorizations

x-api-key
string
header
required

Your ClinikAPI secret key (clk_live_* or clk_test_*)

Body

application/json
status
enum<string>
required
Available options:
preparation,
in-progress,
cancelled,
on-hold,
completed,
stopped,
declined
medication
required
Maximum string length: 200
patientId
string
required
Maximum string length: 128
encounterId
string
Maximum string length: 128
statusReasonCodeableConcept
string
Maximum string length: 500
category
string
Maximum string length: 200
performer
object[]
Maximum array length: 20
locationId
string
Maximum string length: 128
authorizingPrescriptionIds
string[]
Maximum array length: 10
Maximum string length: 128
type
string
Maximum string length: 200
quantity
object
daysSupply
number
whenPrepared
string
whenHandedOver
string
dosageText
string
Maximum string length: 2000
substitution
object
note
string
Maximum string length: 5000

Response

201

Medication dispense created