> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.joincandidhealth.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.joincandidhealth.com/_mcp/server.

# export_patient_merge

> Synchronizes and tracks patient identities across multiple EMRs, ensuring a cleaner single source of truth for patient data

Synchronizes and tracks patient identities across multiple EMRs, ensuring a cleaner single source of truth for patient data.

**Primary Key:** `patient_merge_id`

## Identifiers

**`patient_merge_id`** `STRING` — required

Consolidated patient object (based on all inputs from EMRs)

---

**`updating_user_id`** `STRING`

Individual who made the change to the merged patient object

---

## Timestamps

**`updated_at`** `TIMESTAMP`

Time at which the merged patient entity was updated. Use this for incremental ingestion.

---

## Organization

**`organization_id`** `STRING`

Unique ID for the organization as defined in the Candid system

---

**`organization_name`** `STRING`

Organization name (Company name)

---

**`external_organization_id`** `STRING`

Organization's External ID - the ID that the organization uses to map to their own upstream system

---

## Other

**`version`** `INTEGER`

Sequential version of the patient merged object as it is in the Candid system

---

**`deactivated`** `BOOLEAN`

Whether the patient version has been deactivated

---

**`primary_patient_mrn`** `STRING`

Patient Medical Record Number - the current MRN

---

**`alternative_patient_mrn`** `STRING`

Alternative Medical Record Number - prior MRN

---