Add a non-primary contact (co-owner, emergency contact, etc.) to a patient (PAW-659/PAW-650).
post/Patients/{id}/contacts
Path parameters
idstring required
Request body
clientIdstring
relationshipTypeinteger
Describes who a contact (Client) is in relation to a specific patient.
One contact per patient is the PrimaryOwner; all others are additional
relationships (co-owners, agents, emergency contacts, etc.).
Stored as text on patient_contacts.relationship_type.
permissionsstring[]
Permission flag names to grant (e.g. ["PickUpPatient"]). Empty grants none.
Response
OK
idstring
patientIdstring
clientIdstring
relationshipTypeinteger
Describes who a contact (Client) is in relation to a specific patient.
One contact per patient is the PrimaryOwner; all others are additional
relationships (co-owners, agents, emergency contacts, etc.).
Stored as text on patient_contacts.relationship_type.
isPrimaryboolean
permissionsstring[]
The set permission flags by name (e.g. "ApproveTreatment"). Exposed as a list
rather than the raw ContactPermissions bitmask so clients can check
individual permissions without bit math.
verificationMethodinteger
How a patient contact's identity was verified by clinic staff.
Stored as text on patient_contacts.verification_method.