Skip to main content
POST
Create Patient Policy

Authorizations

X-API-Key
string
header
required

Body

application/json

Create a coverage: a policy and its blank version 1 (spec §5.2).

An active policy of this patient already holding coverage_tier moves to the first free tier and is logged (409 when none is free); an external_id another active policy holds is refused (409).

patient_id
string
required

The patient this coverage belongs to

insurance_id
string
required

The insurance carrier

member_number
string
required

The patient's member/subscriber ID with this carrier

coverage_tier
enum<string>
required

Where this coverage ranks among the patient's coverages

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

Chosen plan display name (must be one of the insurance's aliases)

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

The policy holder, when known to differ from the patient

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.