Skip to main content
POST
Notify the admission's pharmacies of a discharge

Headers

auth
string
required

Path Parameters

admission_id
string
required

Id of the IPD admission.

Minimum string length: 1

Body

application/json
only
object[]

Notify only these pharmacies (as provider + pharmacy_id, the same values as in targets) — for example to resend to one pharmacy. Omit to notify every pharmacy the admission ordered from.

by
object

Actor recorded against the attempt; defaults to the authenticated operator.

Response

OK

state
required

Rolled-up state across every pharmacy.

Available options:
none
targets
object
required

Per-pharmacy state, keyed by "provider:pharmacyId".

skipped

Set when the round was a deliberate no-op.

Available options:
no-ipid