clinik.coverages
Coverages (FHIRCoverage) represent a patient’s insurance plan details. ClinikAPI exposes the most commonly used fields — use the FHIR passthrough for advanced coverage scenarios.
create
| Field | Type | Required | Description |
|---|---|---|---|
status | string | Yes | active, cancelled, draft |
patientId | string | Yes | Patient (beneficiary) ID |
type | string | No | medical, dental, vision, pharmacy |
subscriberId | string | No | Subscriber ID on insurance card |
subscriberRef | string | No | Subscriber reference (Patient/RelatedPerson) |
policyHolderRef | string | No | Policy holder reference |
relationship | string | No | self, spouse, child, other |
period | { start?, end? } | No | Coverage period |
payorIds | string[] | Yes | Payor Organization IDs |
class | Array | No | Coverage classes (group, plan, etc.) |
order | number | No | Relative order of coverage |
network | string | No | Insurance plan network |
dependent | string | No | Dependent number |
subrogation | boolean | No | Subrogation flag |
Class Object
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Class type (group, plan, subplan, etc.) |
value | string | Yes | Class value |
name | string | No | Human-readable name |
Example
read / update / delete / search
Same pattern as other resources. Update supportsstatus, period, network. Search supports patientId, status, type, payorId filters.