Required attributes are
caregiver_practice. Before creating a chart we’ll attempt to locate a match first. We’ll use the fields
dob (if given) to do so. If we find a match, we’ll return an HTTP
409 "Conflict" response, with the redirect URL of the existing patient (e.x.:
/api/2.0/patients/1234) in the response body. In this case you would be expected to issue a
PUT at that url to update the record.
If no match is found, we’ll create the new chart and return a
201 response with the patient json in the body, including the newly issued
Note: We won’t allow the creation of a patient chart that matches
dob, so it’s a good idea to search for a match on those fields before attempting to create.
insurance_plan are read-only and should not be submitted.
If the other insurance fields e.g.
plan etc. exactly match an existing company and/or plan (See "Insurance API"), that company or plan will be linked to this patient. If there is no match found, a new company and/or plan will be created with the given attributes and linked to this patient.