Creates a new patient record.
Documentation Index
Fetch the complete documentation index at: https://docs.usecobalt.com/llms.txt
Use this file to discover all available pages before exploring further.
ehr_id value from providers:
referred_to_provider_id (optional): Use the ehr_id from GET /v1/providers (not the id)id here. The id field from GET responses is Cobalt’s internal UUID, used only for updating provider settings via PATCH endpoints.referring_provider_id or pcp_id from GET /v1/referring-providers (UUID without dashes). This option:
responsible_party: "self"). For minors or patients whose billing is managed by another person, set responsible_party to one of the values below and include the guarantor’s demographic fields.
When a non-self responsible party is provided alongside insurance, Cobalt will:
| Value | eCW Code | Description |
|---|---|---|
self | 1 | Patient is the insured |
spouse | 2 | Patient is the spouse of the insured |
child | 3 | Natural Child — insured has financial responsibility |
adopted_child | 4 | Natural Child — insured does not have financial responsibility (includes legally adopted) |
step_child | 5 | Step Child |
foster_child | 6 | Foster Child |
ward_of_court | 7 | Ward of the Court |
employee | 8 | Employee |
unknown | 9 | Unknown / Other relationship |
handicapped_dependent | 10 | Handicapped Dependent |
organ_donor | 11 | Organ Donor |
cadaver_donor | 12 | Cadaver Donor |
grandchild | 13 | Grandchild |
niece_nephew | 14 | Niece/Nephew |
injured_plaintiff | 15 | Injured Plaintiff |
sponsored_dependent | 16 | Sponsored Dependent |
minor_dependent | 17 | Minor Dependent of a Minor Dependent |
parent | 18 | Parent |
grandparent | 19 | Grandparent |
life_partner | 53 | Life Partner |
other | 99 | Other |
responsible_party_first_name and responsible_party_last_name are required when using a non-self responsible party. The guarantor is created as a separate record in eCW — if a guarantor with those demographics already exists in your instance, a duplicate will be created.| Field | Type | Description |
|---|---|---|
language | string | Preferred language. Must match a valid language name in your eCW instance. |
race | string | Race. Must match a valid race name in your eCW instance. |
ethnicity | string | Ethnicity. Must match a valid ethnicity code or display name in your eCW instance. |
release_of_info | boolean | Consent for release of information. Defaults to true. |
rx_history_consent | boolean | Consent for pharmacy history sharing. Defaults to true. |
self_pay | boolean | Explicitly marks the patient as self-pay, overriding insurance-derived logic. |
default_facility_id | string | The eCW facility ID to set as the patient’s primary service location. |
insurance_provider_id from GET /v1/insurance-providers (UUID without dashes). This option:
patient.failed webhook event includes a failure_reason and may contain additional fields in the data object depending on the cause of the failure.
Duplicate Patient:
Address line 2 (apartment, suite, unit, etc.)
Whether to check insurance eligibility for the patient
true, false Patient email address
Reason why email was not provided. Can be used instead of email when email is required. Only available for certain EMRs.
The id of an insurance provider from GET /v1/insurance-providers (UUID without dashes). Can be used instead of insurance_name for enhanced matching. Currently only supported for eClinicalWorks.
primary, secondary, tertiary The id of a PCP provider from GET /v1/referring-providers (UUID without dashes). Can be used instead of pcp_first_name and pcp_last_name. Currently only supported for eClinicalWorks.
The ehr_id of the provider this patient is being referred to (rendering provider). Use the ehr_id from GET /v1/providers
First name of the referring provider
Last name of the referring provider
The id of a referring provider from GET /v1/referring-providers (UUID without dashes). Can be used instead of referring_provider_first_name and referring_provider_last_name. Currently only supported for eClinicalWorks.
The responsible party for the patient. Non-self values (spouse, parent, child, other, unknown) are currently supported for eClinicalWorks only and require responsible_party_* demographic fields.
self, spouse, child, adopted_child, step_child, foster_child, ward_of_court, employee, unknown, handicapped_dependent, organ_donor, cadaver_donor, grandchild, niece_nephew, injured_plaintiff, sponsored_dependent, minor_dependent, parent, grandparent, life_partner, other male, female, unknown First name of the responsible party. Required when responsible_party is not self (eClinicalWorks only).
Last name of the responsible party. Required when responsible_party is not self (eClinicalWorks only).
Sex of the responsible party (eClinicalWorks only).
male, female Date of birth of the responsible party in YYYY-MM-DD format (eClinicalWorks only).
Phone number of the responsible party (eClinicalWorks only).
Patient preferred language (eClinicalWorks only). Must match a valid language name in your eCW instance.
Patient race (eClinicalWorks only). Must match a valid race name in your eCW instance.
Patient ethnicity (eClinicalWorks only). Must match a valid ethnicity code or display name in your eCW instance.
Consent for release of information (eClinicalWorks only). Defaults to true.
Consent for pharmacy history sharing (eClinicalWorks only). Defaults to true.
Explicitly marks the patient as self-pay, overriding insurance-derived self-pay logic (eClinicalWorks only).
The eCW facility ID to set as the patient primary service location (eClinicalWorks only).