Schedule a demo
Financial

Payment

This scenario walks through a straightforward financial event: the patient pays a modest copay at the time of a wellness visit. A payment notice records the remittance, and payment reconciliation aligns the payment with expected charges on the account. The invoice reflects the visit services and ties cleanly to the organizational payer or provider entity responsible for posting.

6resources / instance
6FHIR types
10instances
payment.py
from zato_fhir.test.r4.v1 import Scenarios, TestData

for instance in Scenarios.payment:
    patient = instance.patient
    for name in patient.name:
        print(name.text)

    org = instance.organization
    print(org.active)

    pn = instance.payment_notice
    print(pn.status)

    pr = instance.payment_reconciliation
    print(pr.status)

    inv = instance.invoice
    print(inv.status)

    acct = instance.account
    print(acct.status)

About this scenario

This scenario walks through a straightforward financial event: the patient pays a modest copay at the time of a wellness visit. A payment notice records the remittance, and payment reconciliation aligns the payment with expected charges on the account. The invoice reflects the visit services and ties cleanly to the organizational payer or provider entity responsible for posting.

Amounts reconcile without discrepancy, supporting demonstrations of billing integrity, accounts receivable workflows, and FHIR financial resource round-trips. The narrative stays positive: there are no denials, write-offs, or collections issues in the synthetic data.

FHIR resources in this scenario

6 resources per instance, 60 total across 10 instances.

FHIR resource typeRole in this scenario
PatientPerson paying the copay for the wellness visit
OrganizationBilling or collecting organization
PaymentNoticeNotice of payment received for the copay
PaymentReconciliationReconciliation of payment against charges
InvoiceInvoice documenting the visit charges
AccountPatient or guarantor billing account that balances
FHIR resources per instance6
Total resources (10 instances)60
Distinct resource types6
Scenario identifier`Scenarios.payment`

At a glance

6
FHIR resources per instance
60
Total resources (10 instances)
6
Distinct resource types
Scenarios.payment
Scenario identifier

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python