Patients
Create Patient
Creates a patient. id, first_name, and last_name are required; all other fields are optional.
POST
cURL
Overview
Creates a patient record.id, first_name, and last_name are required; all
other fields are optional.
id is the patient’s external id, the same identifier used by the professional claim endpoints, so a patient
created here can be reused in later claim submissions.
This endpoint manages demographic data only. Insurance/policy data is not
accepted — a body containing a policies field (or any unknown field) is
rejected with a 400.
Authentication
JWT Bearer token from/api/token.
Request Body
string
required
External patient id.
string
required
Patient’s first name.
string
required
Patient’s last name.
string
Patient’s full name.
string
One of
male, female, other, or unknown.string
Date of birth in
yyyy-MM-dd format.string
Patient email address.
string
Patient phone number.
object
Patient address with
line1, line2, city, state, zip, and country.Example
Response
409 Conflict when a patient with the same id already exists. Use
PUT /api/patient/{patientId} to update an existing patient.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Patient demographics. id is the external patient id, keyed by the Cair customer-patient-id naming system (https://fhir.cairhealth.com/fhir/identifier/customer-patient-id)
External patient id
Patient's first name
Patient's last name
Patient's full name
Patient gender
Available options:
male, female, other, unknown Date of birth, yyyy-MM-dd
Patient email address
Patient phone number
Patient address

