Create a Patient
POST /businesses/{businessId}/patients
Create a patient. By default, if a patient with the same email already exists, they will be updated (upsert behavior). Set mode to “create” to return an error instead.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
When set to “create”, returns an error if a patient with the same email exists. When set to “upsert” (default), updates the existing patient.
Responses
Section titled “ Responses ”The created Patient
object
object
Unique identifier for the given patient.
Time when the resource was created (ISO 8601 format).
Time when the resource was created (ISO 8601 format).
Time when the resource was archived (ISO 8601 format).
Reason for archiving the patient.
The email address of the patient.
The full legal name of the patient.
The mobile phone number of the patient.
The gender of the patient
Timezone string.
Example
UTCThe date of birth of the patient (YYYY-MM-DD)
The height of the patient in centimeters
The weight of the patient in kilograms
The activity level of the patient
The total cholesterol level of the patient
The HDL cholesterol level of the patient
The LDL cholesterol level of the patient
The chronic medication status of the patient
The diabetes status of the patient
The hypertension treatment status of the patient
The race/ethnicity of the patient
The smoking status of the patient
The waist circumference of the patient in centimeters
The family diabetes history of the patient
The parental hypertension history of the patient
Whether the patient has a history of high glucose
Whether the patient has a history of hypertension
Whether the patient consumes vegetables and fruits daily
The fasting glucose level of the patient
The triglyceride level of the patient
Conflict - A patient with this email already exists (when mode is “create”)