Create patient
nexhealth_create_patientCREATE a new patient record in a location. MUTATES DATA — writes to the connected EHR/PMS. GET the patient back to confirm. POST /patients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npi | No | Provider NPI, sent as provider.npi in the body. | |
| Yes | Patient email address. | ||
| gender | No | Patient gender. | |
| last_name | Yes | Patient last name. | |
| subdomain | No | Institution subdomain. Defaults to NEXHEALTH_SUBDOMAIN if unset. | |
| first_name | Yes | Patient first name. | |
| location_id | Yes | Location id to create the patient in (REQUIRED). | |
| provider_id | Yes | Provider id to associate the patient with (REQUIRED). | |
| phone_number | No | Patient phone number. | |
| date_of_birth | No | Date of birth, yyyy-mm-dd. |