Skip to main content
POST
/
user
/
patient
/
doses
Create Dose
curl --request POST \
  --url https://api.decodahealth.com/user/patient/doses \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "name": "<string>",
  "patientId": "<string>",
  "unit": "<string>",
  "providerId": "<string>",
  "doseDate": "2023-11-07T05:31:56Z",
  "sideEffects": "<string>",
  "administrationLocation": "<string>",
  "amount": 123,
  "quantity": 1,
  "frequency": "<string>",
  "comment": "<string>",
  "lotNumber": "<string>",
  "stockId": "<string>",
  "noteId": "<string>",
  "signedOffProviderId": "<string>",
  "signedOffDate": "2023-11-07T05:31:56Z",
  "isUsedAsTemplate": false
}
'
{
  "medicationId": "<string>",
  "patientId": "<string>",
  "id": "<string>",
  "createdDate": "2023-11-07T05:31:56Z",
  "providerId": "<string>",
  "doseDate": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "unit": "<string>",
  "sideEffects": "<string>",
  "administrationLocation": "<string>",
  "amount": 123,
  "quantity": 1,
  "frequency": "<string>",
  "comment": "<string>",
  "lotNumber": "<string>",
  "stockId": "<string>",
  "noteId": "<string>",
  "signedOffProviderId": "<string>",
  "signedOffDate": "2023-11-07T05:31:56Z",
  "isArchived": false,
  "updatedDate": "2023-11-07T05:31:56Z",
  "provider": {
    "id": "<string>",
    "type": "PROVIDER",
    "firstName": "<string>",
    "lastName": "<string>",
    "phoneNumber": "<string>",
    "email": "<string>",
    "locationId": "<string>"
  },
  "signedOffProvider": {
    "id": "<string>",
    "type": "PROVIDER",
    "firstName": "<string>",
    "lastName": "<string>",
    "phoneNumber": "<string>",
    "email": "<string>",
    "locationId": "<string>"
  }
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json

Schema for creating a medication administration when the medication product may not exist.

name
string
required
patientId
string
required
unit
string | null
providerId
string | null
doseDate
string<date-time> | null
sideEffects
string | null
administrationLocation
string | null
amount
number | null
quantity
number
default:1
frequency
string | null
comment
string | null
lotNumber
string | null
stockId
string | null
noteId
string | null
signedOffProviderId
string | null
signedOffDate
string<date-time> | null
isUsedAsTemplate
boolean
default:false

Response

Successful Response

Schema for returning dose information with computed fields.

medicationId
string
required
patientId
string
required
id
string
required
createdDate
string<date-time>
required
providerId
string | null
doseDate
string<date-time> | null
name
string | null
unit
string | null
sideEffects
string | null
administrationLocation
string | null
amount
number | null
quantity
number
default:1
frequency
string | null
comment
string | null
lotNumber
string | null
stockId
string | null
noteId
string | null
signedOffProviderId
string | null
signedOffDate
string<date-time> | null
isArchived
boolean
default:false
updatedDate
string<date-time> | null
provider
UserTiny · object
signedOffProvider
UserTiny · object