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.
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)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.
9 resources per instance, 90 total across 10 instances.
| FHIR resource type | Role in this scenario |
|---|---|
Patient | Student or individual associated with the school health context |
Organization | School clinic or ordering facility |
Encounter | Wellness or administrative encounter framing the supply activity |
SupplyRequest | Request for adhesive bandages from the supplier |
SupplyDelivery | Fulfillment and delivery of the ordered supplies |
OrganizationAffiliation | Relationship between supplier and receiving or affiliated sites |
FHIR resources per instance | 9 |
Total resources (10 instances) | 90 |
Distinct resource types | 6 |
Scenario identifier | `Scenarios.supply_order` |
Get started with Zato and connect your systems in minutes.