(create-patient opts patient)
Create a new patient.
Create a new patient.
(get-patient opts id)
Retrieve a specific patient.
Retrieve a specific patient.
(get-patient-id-by-url url)
(get-patients opts params)
Retrieve a specific patient.
Retrieve a specific patient.
(insert-updates patient updates)
Given a patient response (i.e. a map conforming to patent-schema-read) and a set of updates (i.e. a map conforming to patient-schema-update) returns a new map that satisfies the patient/{id}/PUT endpoint.
Given a patient response (i.e. a map conforming to patent-schema-read) and a set of updates (i.e. a map conforming to patient-schema-update) returns a new map that satisfies the patient/{id}/PUT endpoint.
(update-patient opts id updates)
Update an existing patient. Differs slightly from the OTH API in that it supports partial updates rather than wholesale replacement of every value. N.B. Patient groups and relatives will be replaced wholesale if provided.
Update an existing patient. Differs slightly from the OTH API in that it supports partial updates rather than wholesale replacement of every value. N.B. Patient groups and relatives will be replaced wholesale if provided.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close