Skip to main content
PATCH
Update a patient

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

clinic_id
string<uuid>
required
patient_id
string<uuid>
required

Body

application/json

A key ABSENT from the body leaves that field unchanged; a key present with JSON null clears it where the column allows null, refused (naming the field) where it does not (first_name/last_name can never be cleared). Nested objects (next_of_kin/employment/billing) replace as a whole when present. Arrays (emails/phones/guardians) replace the set when present. allergies, current_medications and chronic_conditions cannot be changed here: they are refused by name. Use createAllergy / updateAllergy and createCondition / updateCondition, which a clinician confirms. They are still returned when you read a patient.

first_name
string
Minimum string length: 1
last_name
string
Minimum string length: 1
middle_name
string | null
preferred_name
string | null
title
string | null
suffix
string | null
client_type
enum<string>

Never couple.

Available options:
adult,
minor
date_of_birth
string<date> | null
gender
enum<string> | null
Available options:
male,
female,
other,
null
marital_status
enum<string> | null
Available options:
single,
married,
divorced,
widowed,
separated,
null
email
string<email> | null
phone
string | null
secondary_phone
string | null
country
string | null
nationality
string | null
occupation
string | null
residential_address
string | null
work_address
string | null
city
string | null
state
string | null
zip
string | null
next_of_kin
object | null
national_id
string | null
preferred_language
string | null
referred_by
string | null
referral_source_id
string<uuid> | null
employment
object | null
is_dependent
boolean
is_waitlist
boolean
sponsor_id
string<uuid> | null
billing
object | null
medical_history
string | null
blood_type
enum<string> | null
Available options:
O+,
O-,
A+,
A-,
B+,
B-,
AB+,
AB-,
null
genotype
enum<string> | null
Available options:
AA,
AS,
SS,
AC,
SC,
null
family_history
string | null
smoking_status
string | null
alcohol_use
string | null
recreational_drug_use
string | null
physical_activity
string | null
living_arrangement
string | null
status
enum<string> | null
Available options:
active,
prospect,
inactive,
blocked,
null
is_vip
boolean
primary_location_id
string<uuid> | null
emails
object[]
phones
object[]
guardians
object[]

Response

OK.

data
object
required