The patient object contains a record of all available patients that belong to a clinic.
The API allows you to create and update patients. It also allows you to list all patients and find individual patients.
This resource allows you to retrieve all dependents linked to a guardian patient.
patient_idstring
Required
The ID of the guardian patient to list dependents for.
curl "https://api-us-snd.fullscript.io/api/clinic/patients/{patient_id}/dependents" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX'This resource allows you to list all of a clinic's patients.
patient_typestring
The type of patient to filter by. Valid options are all, dependent, or guardian. If not provided, all patients will be returned.
curl "https://api-us-snd.fullscript.io/api/clinic/patients" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX'Creates a new patient
emailstring
Required
Unique Email for the Patient
first_namestring
Required
Patient's first name
last_namestring
Required
Patient's last name
date_of_birthstring
Patient's date of birth in the format yyyy-mm-dd
genderstring
Biological sex of the patient. Valid options are 'male', 'female', or 'x'.
mobile_numberstring
Patient's mobile number in the format +12223334444
send_welcome_emailstring
Sends a welcome email to the patient upon successful creation. Defaults to true.
discountstring
Patient discount level (in percentage). This discount does not include the clinic discount. Defaults to 0.
metadataobject
Metadata to be attached to the patient.
idstring
Your system's unique patient identifier.
curl -X 'POST' "https://api-us-snd.fullscript.io/api/clinic/patients" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX' \
-d $'{
"email": "string",
"first_name": "string",
"last_name": "string",
"date_of_birth": "string",
"gender": "string",
"mobile_number": "string",
"send_welcome_email": "string",
"discount": "string",
"metadata": {
"id": "string"
}
}'Retrieves an existing patient. You need to supply the unique ID for the patient.
idstring
Required
Unique ID for the Patient
curl "https://api-us-snd.fullscript.io/api/clinic/patients/{id}" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX'Updates a specific patient with the attributes that you pass in. Parameters not provided will remain unchanged.
idstring
Required
Unique ID for the Patient
emailstring
Unique Email for the Patient
first_namestring
Patient's first name
last_namestring
Patient's last name
date_of_birthstring
Patient's date of birth in the format yyyy-mm-dd
genderstring
Biological sex of the patient. Valid options are 'male', 'female', or 'x'.
mobile_numberstring
Patient's mobile number in the format +12223334444
discountstring
Patient discount level (in percentage). This discount does not include the clinic discount. Defaults to 0.
metadataobject
Metadata to be attached to the patient.
idstring
Your system's unique patient identifier.
curl -X 'PATCH' "https://api-us-snd.fullscript.io/api/clinic/patients/{id}" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX' \
-d $'{
"email": "string",
"first_name": "string",
"last_name": "string",
"date_of_birth": "string",
"gender": "string",
"mobile_number": "string",
"discount": "string",
"metadata": {
"id": "string"
}
}'This resource allows you to search for patients by first_name, last_name, or by email.
querystring
Search for patients matching a query string.
patient_typestring
Filter by patient type. Valid options are all, dependent, or guardian. If not provided, patients with no dependents will be returned.
curl "https://api-us-snd.fullscript.io/api/clinic/search/patients" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXX'