POST
/
medical
/
v1
/
patient

Query Params

facilityId
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"].

firstName
string
required

The Patient's first name(s).

lastName
string
required

The Patient's last name(s).

dob
string
required

The Patient's date of birth (DOB), formatted YYYY-MM-DD as per ISO 8601.

genderAtBirth
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.

personalIdentifiers
PersonalIdentifier[]

An array of the Patient's personal IDs, such as a driver's license or SSN. May be empty.

address
Address[]
required

An array of Address objects, representing the Patient's current and/or previous addresses. May be empty.

contact
Contact[]

An array of Contact objects, representing the Patient's current and/or previous contact information. May be empty.

externalId
string

An external Patient ID to associate to a Patient in Metriport.

If the optional externalId param is provided, you can expect to see it returned in the responses involving the Patient. It will also be included within the webhook payloads.

Response

id
string
required

The ID assigned to this Patient. This ID will be used to uniquely identify this Patient in medical documents.

externalId
string

An external Patient ID to associate to a Patient in Metriport.

firstName
string[]
required

The Patient's first name(s).

lastName
string[]
required

The Patient's last name(s).

dob
string
required

The Patient's date of birth (DOB), formatted YYYY-MM-DD as per ISO 8601.

genderAtBirth
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.

personalIdentifiers
PersonalIdentifier[]

An array of the Patient's personal IDs, such as a driver's license. May be empty.

address
Address[]
required
contact
Contact[]
facilityIds
string[]
required

Array of the IDs of the Facilities where the Patient is receiving care.

{
  "id": "018a80c4-292a-7486-a1234-76yuhe23yu14",
  "firstName": "Jose",
  "lastName": "Juarez",
  "dob": "1951-05-05",
  "genderAtBirth": "M",
  "personalIdentifiers": [
    {
      "type": "driversLicense",
      "state": "CA",
      "value": "51227265"
    }
  ],
  "address": [
    {
      "zip": "12345",
      "city": "San Diego",
      "state": "CA",
      "country": "USA",
      "addressLine1": "Guadalajara St"
    }
  ],
  "contact": [
    {
      "phone": "1234567899",
      "email": "jose@domain.com"
    }
  ],
  "externalId": "1234567890",
  "facilityIds": ["018a80c4-292a-7486-a1234-9uiu76yhe234"]
}