Administrations

Get administrations

get

Retrieves all medication administrations which requires patient information in the query params

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Query parameters
medicationRequestIdnumberOptional

The medication request id to filter by

Example: 1
medicationRequestExternalIdstringOptional

The medication request external id to filter by

Example: external-id
statusstring · enumOptional

The status to filter by

Example: IN_PROGRESSPossible values:
occurrenceDateTimestring · jsonOptional

The occurrence date time to filter by

Example: {"startDate":"2025-01-01T00:00:00Z","endDate":"2025-01-01T00:00:00Z"}
recordedDateTimestring · jsonOptional

The recorded date time to filter by

Example: {"startDate":"2025-01-01T00:00:00Z","endDate":"2025-01-01T00:00:00Z"}
medicationIdnumberOptional

The medication id to filter by

Example: 1
medicationExternalIdstringOptional

The medication external id to filter by

Example: external-id
consumerIdanyOptional

The consumer id to filter by

Example: 1
consumerExternalIdstringOptional

The consumer external id to filter by

Example: external-id
organizationIdanyOptional

The organization id to filter by

Example: 1
sortBystringOptional

The field to sort by

Example: startDate
sortOrderstring · enumRequired

The order to sort by

Example: ascPossible values:
pageNumbernumberOptional

The page number to filter by

Example: 1
pageSizenumberOptional

The page size to filter by

Example: 10
Responses
chevron-right
200Success
application/json
get
/api/medications/administrations
200Success

Create medication administration

post

Creates a new medication administration

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Body
medicationRequestIdnumberOptional

The medication request id to filter by

Example: 1
medicationRequestExternalIdstringOptional

The medication request external id to filter by

Example: external-id
statusstring · enumRequired

The status of the medication administration

Example: IN_PROGRESSPossible values:
occurrenceDateTimeone ofRequired

The occurrence date time of the medication administration

Example: 2025-01-01T00:00:00Z
string · dateOptional
or
string · date-timeOptional
recordedDateTimeone ofOptional

The recorded date time of the medication administration

Example: 2025-01-01T00:00:00Z
string · dateOptional
or
string · date-timeOptional
notestringOptional

The note of the medication administration

Example: Administered 10mg of medication
medicationIdnumberOptional

The medication id of the medication administration

Example: 1
medicationExternalIdstringOptional

The medication external id of the medication administration

Example: external-id
consumerIdnumberOptional

The consumer id of the medication administration

Example: 1
consumerExternalIdstringOptional

The consumer external id to filter by

Example: external-id
dosageDetailsanyRequired

The dosage details of the medication administration

Example: {"medicationRequestId":1,"status":"IN_PROGRESS","occurrenceDateTime":"2025-01-01T00:00:00Z"}
attributesanyOptional

The attributes of the medication administration

Example: {"key":"value"}
organizationIdanyOptional

The organization id of the medication administration

Example: 1
Responses
chevron-right
200Success
application/json
post
/api/medications/administrations
200Success

Get administration by ID

get

Retrieves a specific medication administration by ID

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
idstringRequiredPattern: [^\/#\?]+?
Responses
chevron-right
200Success
application/json
get
/api/medications/administrations/{id}
200Success

Update administration

put

Updates an existing medication administration

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
idstringRequiredPattern: [^\/#\?]+?
Body
medicationRequestIdnumberOptional

The medication request id to filter by

Example: 1
medicationRequestExternalIdstringOptional

The medication request external id to filter by

Example: external-id
statusstring · enumRequired

The status of the medication administration

Example: IN_PROGRESSPossible values:
occurrenceDateTimeone ofRequired

The occurrence date time of the medication administration

Example: 2025-01-01T00:00:00Z
string · dateOptional
or
string · date-timeOptional
recordedDateTimeone ofOptional

The recorded date time of the medication administration

Example: 2025-01-01T00:00:00Z
string · dateOptional
or
string · date-timeOptional
notestringOptional

The note of the medication administration

Example: Administered 10mg of medication
medicationIdnumberOptional

The medication id of the medication administration

Example: 1
medicationExternalIdstringOptional

The medication external id of the medication administration

Example: external-id
consumerIdnumberOptional

The consumer id of the medication administration

Example: 1
consumerExternalIdstringOptional

The consumer external id to filter by

Example: external-id
dosageDetailsanyRequired

The dosage details of the medication administration

Example: {"medicationRequestId":1,"status":"IN_PROGRESS","occurrenceDateTime":"2025-01-01T00:00:00Z"}
attributesanyOptional

The attributes of the medication administration

Example: {"key":"value"}
organizationIdanyOptional

The organization id of the medication administration

Example: 1
Responses
chevron-right
200Success
application/json
put
/api/medications/administrations/{id}
200Success

Was this helpful?