Prescription Controller

Create or update one or multiple entities.

Changed on

A uuid will be generated for any entity that doesn't have one yet. Posting entities without uuid multiple times will also create them multiple times.

post/prescriptions/push

Request

  • Base URL
    /sormas-rest (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /sormas-rest/prescriptions/push
  • Auth
    none declared

Request body

additionalNotesstring
changeDatestring date-time
creationDatestring date-time
dosestring
frequencystring
inJurisdictionboolean
prescribingClinicianstring
prescriptionDatestring date-time
prescriptionDetailsstring
prescriptionEndstring date-time
prescriptionStartstring date-time
prescriptionType'DRUG_INTAKE' | 'ORAL_REHYDRATION_SALTS' | 'BLOOD_TRANSFUSION' | 'RENAL_REPLACEMENT_THERAPY' | 'IV_FLUID_THERAPY' | 'OXYGEN_THERAPY' | 'INVASIVE_MECHANICAL_VENTILATION' | 'VASOPRESSORS_INOTROPES' | 'OTHER'
pseudonymizedboolean
route'ORAL' | 'IV' | 'RECTAL' | 'TOPICAL' | 'OTHER'
routeDetailsstring
typeOfDrug'ANTIMICROBIAL' | 'ANTIVIRAL' | 'ANTIBIOTIC' | 'OTHER'
uuidstring

Response

Array of responses, matching the posted array of entities. Provides an HTML status code for every entity and an optional body (e.g. a string with an error message).

bodyobject
statusCodeinteger

Changes