Integration

MPI and Insurance Lifecycle Workflows

Manage patient identifiers and insurance coverage, including expiry checks, alerts, and review tasks.

How identity and coverage fit together

AMCDR provides an internal MPI when no external MPI is connected, while remaining able to use an external MPI through configured PDQ, PIX, and FHIR Patient connectors. The internal MPI owns duplicate prevention, person and patient resolution, identifier lifecycle tracking, patient links, merge review, and reconciliation workflows.

Insurance and payer details belong to the patient's administrative record. Keep them alongside the clinical documentation so registration and billing teams can review coverage. When a registration template is used, AMCDR can store the openEHR registration composition after the patient and EHR context exist, while the MPI and coverage records remain available for operational workflows, billing readiness, eligibility checks, and expiry monitoring.

Production registration and lifecycle flow
Registry resolutionSearch, match, select existing or continue as new
->
Patient and EHRCreate or reuse patient context
->
MPI dataIdentifiers, verification, relationships
->
Coverage dataPayer, plan, policy, subscriber, dates
->
MonitoringAlerts and worklist review tasks

Identifier Lifecycle Fields

Record enough detail to check an identifier's origin, validity and expiry. Each identifier can carry the type, assigning authority, use, status, verification status, issue date, expiry date, verification date, and implementation-specific details.

FieldPurposeExamples
identifier_typeHuman or coded identity type used by registry and review workflows.National ID, passport, MRN, refugee ID, facility birth number.
systemStable identifier namespace used for matching, PIX, FHIR identifiers, and AQL/reporting joins.urn:national-id, urn:facility-mrn:site-a.
assigning_authorityAuthority or facility responsible for the identifier.National registration authority, hospital, UNHCR, insurer.
valueThe identifier value exactly as issued, normalized only by approved registry rules.MRN-UG-2026-0002, B1234567.
useOperational use classification.Official, usual, secondary, old.
statusIdentifier lifecycle status.Active, inactive, expired, entered-in-error.
verification_statusRegistry confidence for the identifier.Pending, verified, unverified, failed.
issued_dateDate the identifier was issued, when available.2026-01-15.
expiry_dateDate used by expiry monitoring and review task creation.2027-01-15.
verification_dateDate the identifier was last verified.2026-06-03.

Insurance Workflow Fields

Coverage records support insurance, self-pay, government, donor, and other payer workflows. Capture the payer, plan, policy, subscriber, priority, coverage dates, verification status, authorization reference, and notes. Coverage expiry is monitored through the coverage end date.

FieldPurpose
payer_organization_idLinked payer organisation for insurance, government, employer, charity, or other payment authority.
plan_idOptional payer plan or product.
guarantor_idOptional guarantor responsible for payment support.
coverage_modeInsurance, self-pay, government, donor, or local configured mode.
policy_number and subscriber_numberPolicy and subscriber identifiers used for eligibility and claims workflows.
subscriber_name and relationship_to_subscriberSubscriber context when the patient is not the policy holder.
coverage_priorityPrimary, secondary, or tertiary coverage ordering.
start_date and end_dateEffective coverage period. end_date drives expiry monitoring.
status and verification_statusOperational status and eligibility verification state.
authorization_referencePre-authorization or claim authorization reference when applicable.

Dependent and family coverage

Coverage belongs to the patient receiving care. When a newborn or another dependent is covered by a parent's policy, create a separate PatientCoverage record for that dependent, select the same governed payer and plan where applicable, repeat the policy and subscriber identifiers supplied by the payer, set subscriber_name to the policy holder, set relationship_to_subscriber to the locally governed dependent value, and link the applicable guarantor. Verify eligibility for every dependent independently because payer rules and effective dates can differ.

The mother-newborn relationship is stored through the birth and patient-relationship workflow; the matching policy, subscriber and guarantor fields provide financial traceability. These records do not currently create a formal family/master financial account, a consolidated family statement, or a payment that can be allocated across different patient accounts. Mother and newborn claims, accounts and invoices therefore remain separate even when one subscriber or insurer is responsible.

RecordMother/policy holderNewborn/dependent
Patient and clinical relationshipMother patient and birth eventSeparate patient/EHR linked to the mother through the birth relationship
CoverageHer own coverage recordSeparate coverage record with the applicable shared policy/subscriber metadata
Relationship to subscriberSelf or local equivalentChild/dependent or local equivalent
EligibilityVerified for the motherVerified separately for each newborn
FinanceSeparate account, invoice and claimSeparate account, invoice and claim; no cross-account allocation

Expiry Monitoring Workflow

The identity and coverage expiry monitor scans patient identifiers and insurance coverage records. When an identifier or coverage has expired, or will expire within the configured warning window, AMCDR creates a clinical alert and, when enabled, a worklist task for MPI or coverage review.

TargetAlert TypeTask TypeDefault Review Queue
Expired identifieridentifier.expiredidentifier.expiry.reviewidentity_coverage_review
Identifier expiring soonidentifier.expiring_soonidentifier.expiry.reviewidentity_coverage_review
Expired coveragecoverage.expiredcoverage.expiry.reviewidentity_coverage_review
Coverage expiring sooncoverage.expiring_sooncoverage.expiry.reviewidentity_coverage_review

While a review remains active, the scanner does not create another alert or task for the same patient, target type and record.

Operational Endpoint

Platform administrators can run the scanner manually or schedule it through an authenticated operations job. Production deployments run the scan at least daily and route the generated worklist queue to MPI, registration, and coverage administrators.

POST /workflows/identity-coverage-expiry/scan?warning_days=30&create_tasks=true
ParameterMeaning
warning_daysNumber of days before expiry treated as requiring review. Allowed range: 0 to 365.
create_tasksWhen true, AMCDR creates review worklist tasks in addition to alerts. When false, only alerts are created.

Worklist Handling

Review tasks are assigned to the identity_coverage_review queue. The queue is created automatically if it does not exist. Eligible roles include MPI administrators, registration supervisors, and coverage administrators. The default workflow definition is identity_coverage_expiry_review.

Completing a review means updating the identifier or coverage record, marking verification status appropriately, documenting an override, or retiring the expired record. The alert remains active until the operational issue is resolved or intentionally closed according to local governance policy.

When the registration composition is saved

Registration can be captured through a bound openEHR registration template, but the registration composition is persisted only after AMCDR has a patient and EHR context. The UI acknowledgement states both the created or selected patient ID and the EHR ID. API callers receive a structured 201 response for creation flows that includes the same identifiers and registration artifact summary when a companion composition is stored.

Template fields can bind to MPI foundation targets such as registry search query, selected existing patient, duplicate override reason, identity type, identifier value, expiry dates, coverage plan, subscriber details, verification status, and operational review flags. These bindings allow an openEHR-first registration form to drive the MPI workflow without making the composition the only source of operational truth.

Registration and review rules