Skip to main content
PATCH
Update Patient Policy

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string
required

The patient policy ID

Body

application/json

PATCH a policy's identity fields, under optimistic locking.

Every field but version is optional; only the ones the request actually supplies are considered (exclude_unset), and the service further drops any that turn out equal to the current value. extra="forbid" (from BaseAPISchema) rejects an unknown field — verification fields belong to a VOB's result, which Solum writes.

subscriber follows the nested object's own rules: omitted leaves it untouched, an explicit null clears every subscriber_* column, and a partial object updates only the fields it names.

version
integer
required

Current version number for optimistic locking

insurance_id
string | null

The insurance carrier

member_number
string | null

The patient's member/subscriber ID

coverage_tier
enum<string> | null

Where this coverage ranks among the patient's coverages

Available options:
primary,
secondary,
tertiary,
quaternary
insurance_display_name
string | null

Chosen plan display name

group_number
string | null

Group number

group_description
string | null

Group description

medicaid_id
string | null

Medicaid ID

plan_name
string | null

Plan name

plan_type
enum<string> | null

The plan type, e.g. hmo or medicaid_mco; see the Plan Types guide

Available options:
ppo,
pos,
epo,
hmo,
commercial,
medicare_advantage,
original_medicare,
medigap,
medicaid_mco,
medicaid_straight,
other
start_date
string<date> | null

Coverage start date

end_date
string<date> | null

Coverage end date

relationship_to_subscriber
enum<string> | null

The patient's relationship to the subscriber

Available options:
spouse,
self,
child,
employee,
unknown,
organ_donor,
cadaver_donor,
life_partner,
other_relationship
subscriber
PolicySubscriber · object | null

Explicit null clears every subscriber field; a partial object updates only the fields it supplies.

external_id
string | null

Identifier for this coverage in an external system

insurance_card_front_file_id
string | null

A file of this patient (or one with no patient yet, which is then linked) showing the front of the insurance card. PDF or image. The same file as the back for a scan of both sides.

insurance_card_back_file_id
string | null

A file of this patient (or one with no patient yet, which is then linked) showing the back of the insurance card. PDF or image. The same file as the front for a scan of both sides.

Response

Successful Response

A patient policy: one coverage a patient holds.

Its verifications (its VOBs' results) are not nested here: each is read with its VOB, through /v1/verification-of-benefits (filter by patient_policy_id, include=result). current_version is the one exception: the policy's current verification — the result of its latest completed VOB — embedded for convenience, and null while the policy is not verified yet. latest_eligibility_check is the payer's latest answer on the policy, which can be newer than that verification.

id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
patient_id
string
required
insurance_id
string
required
member_number
string
required
coverage_tier
enum<string>
required

Insurance tier enum matching Prisma

Available options:
primary,
secondary,
tertiary,
quaternary
insurance_display_name
string | null
group_number
string | null
group_description
string | null
medicaid_id
string | null
plan_name
string | null
plan_type
enum<string> | null

Solum's own plan type list, the one place a plan's type is stored. Each X12 insurance type code maps to one (app.shared.plan_types.X12_PLAN_TYPE).

Available options:
ppo,
pos,
epo,
hmo,
commercial,
medicare_advantage,
original_medicare,
medigap,
medicaid_mco,
medicaid_straight,
other
start_date
string<date> | null
end_date
string<date> | null
relationship_to_subscriber
enum<string> | null

Relationship to subscriber enum matching Prisma @map values

Available options:
spouse,
self,
child,
employee,
unknown,
organ_donor,
cadaver_donor,
life_partner,
other_relationship
subscriber
PolicySubscriber · object | null

Null when every subscriber field is null

external_id
string | null
insurance_card_front_file_id
string | null

The file showing the front of the insurance card. The same file as the back for a scan of both sides.

insurance_card_back_file_id
string | null

The file showing the back of the insurance card.

active
boolean
default:true
version
integer
default:0
current_version
Payor · object | null

The current verification: the result of the policy's latest completed VOB. Null when no VOB of the policy has completed yet.

latest_eligibility_check
PolicyEligibilityCheck · object | null

The newest eligibility check whose answer (active or inactive) was written to this policy, by a match or by a VOB's eligibility step. It can be newer than current_version and disagree with it. Null when no such check exists.

expected_vob_type
ExpectedVobType · object | null

On GET: the type a new VOB of this policy is expected to get, from the policy's plan_type and your company's Full VOB settings. Null when the plan type is unknown. The policy's plan type once the VOB's eligibility check has written it decides, unless the request chooses a type.

insurance
PolicyInsurance · object | null

The policy's insurance. Present only with expand[]=insurance.

patient
PolicyPatient · object | null

The policy's patient. Present only with expand[]=patient.