PUT /api/patient/{patientId}

Changed on

Updates a patient's demographic fields, preserving all other data on the resource (identifiers, contacts, links, etc.). Insurance/policy data is not accepted.

Request

  • Base URL
    https://forecaster.cairhealth.com
  • URL
    https://forecaster.cairhealth.com/api/patient/{patientId}
  • Auth
    HTTP bearer

Path parameters

patientIdstring required

External patient id (must match body id)

Request body

idstring required

External patient id

first_namestring required

Patient's first name

last_namestring required

Patient's last name

namestring nullable

Patient's full name

gender'male' | 'female' | 'other' | 'unknown' nullable

Patient gender

dobstring nullable

Date of birth, yyyy-MM-dd

emailstring nullable

Patient email address

phone_numberstring nullable

Patient phone number

preferredContactMethodstring[] nullable

Preferred contact methods. Each value is one of text, email, or call. On update, an empty array clears the preference; omitting the field leaves it unchanged.

Response

Patient updated successfully

successboolean
messagestring

Changes