Create patient
metriport_create_patientCreates a Patient in Metriport (writes PHI and initiates health-information-exchange queries). Medical API: POST /medical/v1/patient (facilityId is a required query param).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dob | Yes | Date of birth, yyyy-mm-dd. | |
| address | Yes | One or more addresses for the Patient. | |
| contact | No | Optional contact info (phone / email). | |
| lastName | Yes | The Patient's last name(s). | |
| firstName | Yes | The Patient's first name(s). | |
| facilityId | Yes | REQUIRED. The Facility ID where the Patient receives care. | |
| middleName | No | The Patient's middle name(s). | |
| genderAtBirth | Yes | Gender at birth: M, F, O (other), or U (unknown). | |
| personalIdentifiers | No | Optional personal IDs (driver's license / SSN). |