Schedule a demo
Financial

Supply order

This scenario describes a school-based wellness clinic that replenishes basic first-aid supplies through a routine procurement channel. A modest order of adhesive bandages is placed with a trusted healthcare supplier, reflecting everyday operations rather than an emergency stock-out. The narrative stays administrative and positive: the request is accepted, fulfilled, and received without delays or discrepancies.

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

for order in Scenarios.supply_order:
    patient = order.patient
    for name in patient.name:
        print(name.text)

    organization = order.organization
    print(organization.name)

    for encounter in order.encounters:
        print(encounter.status)

    request = order.supply_request
    print(request.status)

    delivery = order.supply_delivery
    print(delivery.status)

    receiving = order.receiving_organization
    print(receiving.name)

    affiliation = order.organization_affiliation
    print(affiliation.active)

About this scenario

This scenario describes a school-based wellness clinic that replenishes basic first-aid supplies through a routine procurement channel. A modest order of adhesive bandages is placed with a trusted healthcare supplier, reflecting everyday operations rather than an emergency stock-out. The narrative stays administrative and positive: the request is accepted, fulfilled, and received without delays or discrepancies.

The patient context anchors the encounter to the school health setting while organizations represent the clinic and its supplier network. Supply request and delivery resources model the end-to-end logistics loop, and organization affiliation clarifies how the receiving site relates to the broader supplier organization, which helps test routing, identifiers, and reference resolution across entities.

FHIR resources in this scenario

9 resources per instance, 90 total across 10 instances.

FHIR resource typeRole in this scenario
PatientStudent or individual associated with the school health context
OrganizationSchool clinic or ordering facility
EncounterWellness or administrative encounter framing the supply activity
SupplyRequestRequest for adhesive bandages from the supplier
SupplyDeliveryFulfillment and delivery of the ordered supplies
OrganizationAffiliationRelationship between supplier and receiving or affiliated sites
FHIR resources per instance9
Total resources (10 instances)90
Distinct resource types6
Scenario identifier`Scenarios.supply_order`

At a glance

9
FHIR resources per instance
90
Total resources (10 instances)
6
Distinct resource types
Scenarios.supply_order
Scenario identifier

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python