Skip to main content
POST
Create Patient

Query Params

string
required
The ID of the Facility where the Patient is receiving care.

Body

The more demographic information you can provide about a Patient, the higher chances Metriport will be able to find a match. For example: nicknames, old addresses, multiple phone numbers, a pre-marital last name, etc.
You may provide a comma/space delimited string to specify multiple first and last names. For example, the following inputs would be equivalent: "John,Jonathan" & "John Jonathan" - these would translate to ["John", "Jonathan"].
string
required
The Patient's first name(s).
string
required
The Patient's last name(s).
string
required
The Patient's date of birth (DOB), formatted YYYY-MM-DD as per ISO 8601.
string
required
The Patient's gender at birth, can be one of M or F or O or U. Use O (other) when the patient's gender is known but it is not M or F, i.e intersex or hermaphroditic. Use U (unknown) when the patient's gender is not known.
PersonalIdentifier[]
An array of the Patient's personal IDs, such as a driver's license or SSN. May be empty.
Address[]
required
An array of Address objects, representing the Patient's current and/or previous addresses.
The first address in the array determines the primary address for the patient. The primary address is used for patient monitoring, specifically for ADT events. You can change which address is the primary address by simply re-ordering the address array using the PUT patient endpoint. Learn more about patient monitoring and cohorts.
Contact[]
An array of Contact objects, representing the Patient's current and/or previous contact information. May be empty.
string
An external Patient ID to associate to a Patient in Metriport.
If externalId is provided, it will be returned in webhook payloads and responses involving the Patient.
object
Patient status flags for HIE opt-out and treatment relationship consent.
Patients with consent (false) cannot be assigned to treatment cohorts. Setting this to false automatically removes the patient from treatment cohorts. See the Treatment Relationship API reference to update consent programmatically.
string[]
The list of cohort IDs this patient should be assigned to.
See Working With Cohorts to learn more about how to use this field.
object
When provided, kicks off a network query for the patient.

Response

string
required
The ID assigned to this Patient. This ID will be used to uniquely identify this Patient in medical documents.
string
The ID of the Patient on your internal system to associate to a Patient in Metriport.
object
required
Patient status flags.
AdditionalIdentifiers
A map containing additional external identifiers. If the patient is created or mapped in Metriport through one of our EHR apps - this property will be populated with the ID from the EHR, and included within the webhook payloads.
string[]
required
The Patient's first name(s).
string[]
required
The Patient's last name(s).
string
required
The Patient's date of birth (DOB), formatted YYYY-MM-DD as per ISO 8601.
string
required
The Patient's gender at birth, can be one of M or F or O or U. Use O (other) when the patient's gender is known but it is not M or F, i.e intersex or hermaphroditic. Use U (unknown) when the patient's gender is not known.
PersonalIdentifier[]
An array of the Patient's personal IDs, such as a driver's license. May be empty.
Address[]
required
Contact[]
string[]
required
Array of the IDs of the Facilities where the Patient is receiving care.
object
The status of the network query that was kicked off for the patient. Only present when the networkQuery field is included in the request.

Rate Limits

See limits and throttling