UNDERSCORE

API Documentation

HTTP API Base https://[?].dombi.ca/api/

GET/patients/

Returns a list of existing patients. Will only return patients the doctor has access to see.

GET/patients/{patient}/

PATIENT variable is of type ULONG.

Returns a patient object. If Doctor doesn't have permission to view the patient file, will return an HTTP 403

POST/patients/

BODY should contain patient's data as JSON

Will create a new patient in system. Returns new patient's ID.

PUT/patients/{patient}

PATIENT variable is of type ULONG.

Will Overwrite server data of patient with local copy. Send data as JSON