---
title: "Update a patient"
method: PATCH
path: "/healthcare/{connection_id}/patient/{id}"
tags: ["healthcare", "patient"]
---

# Update a patient

`PATCH /healthcare/{connection_id}/patient/{id}`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/healthcare/{connection_id}/patient/{id}`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- HealthcarePatient
  - `id` string: Unique identifier for the patient
  - `created_at` string, date-time: When the patient record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: When the patient record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `name` string: Full name of the patient
  - `first_name` string: Given name of the patient
  - `last_name` string: Family name of the patient
  - `gender` 'MALE' | 'FEMALE' | 'OTHER' | 'UNKNOWN': Administrative gender of the patient
  - `birthdate` string: Date of birth (YYYY-MM-DD)
  - `is_deceased` boolean: Whether the patient is deceased
  - `deceased_at` string, date-time: When the patient died (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `emails` HealthcareEmail[]: Email addresses of the patient
    - `email` string, required: The email address
    - `type` 'WORK' | 'HOME' | 'OTHER': The kind of email address (work, home or other)
  - `telephones` HealthcareTelephone[]: Phone numbers of the patient
    - `telephone` string, required: The telephone number
    - `type` 'WORK' | 'HOME' | 'MOBILE' | 'FAX' | 'OTHER': The kind of telephone number (work, home, mobile, fax or other)
  - `address` HealthcarePatientAddress: Home address of the patient
    - `address1` string: First line of the street address
    - `address2` string: Second line of the street address
    - `city` string: City or locality
    - `region` string: Regional area (e.g., state in the U.S., province in Canada)
    - `postal_code` string: Postal or ZIP code
    - `country` string: Country
  - `language` string: Preferred language code of the patient
  - `identifiers` HealthcareIdentifier[]: Business identifiers (e.g. MRN)
    - `value` string, required: The identifier value
    - `type` 'MRN' | 'NPI' | 'SSN' | 'DRIVERS_LICENSE' | 'PASSPORT' | 'INSURANCE' | 'OTHER': The kind of identifier
    - `system` string: The namespace/system URI that issued the identifier
  - `practitioner_ids` string[]: The patient's primary care practitioners
  - `is_active` boolean: Whether the patient record is in active use
  - `metadata` HealthcareMetadata[]: Custom field values
    - `id` string: Identifier of the custom field
    - `value` unknown
    - `namespace` string: The scope or origin of the custom field
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'ARRAY' | 'OBJECT': The data type of the value
    - `extra_data` unknown
    - `slug` string: The custom field key
  - `raw` unknown

## Response `200`

Successful

- HealthcarePatient
  - `id` string: Unique identifier for the patient
  - `created_at` string, date-time: When the patient record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: When the patient record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `name` string: Full name of the patient
  - `first_name` string: Given name of the patient
  - `last_name` string: Family name of the patient
  - `gender` 'MALE' | 'FEMALE' | 'OTHER' | 'UNKNOWN': Administrative gender of the patient
  - `birthdate` string: Date of birth (YYYY-MM-DD)
  - `is_deceased` boolean: Whether the patient is deceased
  - `deceased_at` string, date-time: When the patient died (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `emails` HealthcareEmail[]: Email addresses of the patient
    - `email` string, required: The email address
    - `type` 'WORK' | 'HOME' | 'OTHER': The kind of email address (work, home or other)
  - `telephones` HealthcareTelephone[]: Phone numbers of the patient
    - `telephone` string, required: The telephone number
    - `type` 'WORK' | 'HOME' | 'MOBILE' | 'FAX' | 'OTHER': The kind of telephone number (work, home, mobile, fax or other)
  - `address` HealthcarePatientAddress: Home address of the patient
    - `address1` string: First line of the street address
    - `address2` string: Second line of the street address
    - `city` string: City or locality
    - `region` string: Regional area (e.g., state in the U.S., province in Canada)
    - `postal_code` string: Postal or ZIP code
    - `country` string: Country
  - `language` string: Preferred language code of the patient
  - `identifiers` HealthcareIdentifier[]: Business identifiers (e.g. MRN)
    - `value` string, required: The identifier value
    - `type` 'MRN' | 'NPI' | 'SSN' | 'DRIVERS_LICENSE' | 'PASSPORT' | 'INSURANCE' | 'OTHER': The kind of identifier
    - `system` string: The namespace/system URI that issued the identifier
  - `practitioner_ids` string[]: The patient's primary care practitioners
  - `is_active` boolean: Whether the patient record is in active use
  - `metadata` HealthcareMetadata[]: Custom field values
    - `id` string: Identifier of the custom field
    - `value` unknown
    - `namespace` string: The scope or origin of the custom field
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'ARRAY' | 'OBJECT': The data type of the value
    - `extra_data` unknown
    - `slug` string: The custom field key
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
