This scenario follows a general practitioner who arranges physiotherapy for a patient with a straightforward musculoskeletal complaint. The referral narrative is constructive: the patient is stable for community rehabilitation, expectations are clear, and the specialist hand-off is orderly.
from zato_fhir.test.r4.v1 import Scenarios, TestData
for referral in Scenarios.referral_letter:
for name in referral.patient.name:
print(name.text)
for name in referral.practitioner.name:
print(name.text)
print(referral.organization.name)
for enc in referral.encounters:
print(enc.status)
print(referral.communication.status)
print(referral.communication_request.status)
print(referral.document_manifest.status)
print(referral.task.status)
print(referral.flag.status)
for comm in TestData.Communication:
print(comm.status)This scenario follows a general practitioner who arranges physiotherapy for a patient with a straightforward musculoskeletal complaint. The referral narrative is constructive: the patient is stable for community rehabilitation, expectations are clear, and the specialist hand-off is orderly.
Communications and requests carry the referral intent, while a document manifest groups the letter and attachments for the receiving site. Tasks remind staff to send and confirm receipt, and flags highlight outstanding coordination items without implying harm or urgency beyond normal care management.
11 resources per instance, 110 total across 10 instances.
| FHIR resource type | Role in this scenario |
|---|---|
Patient | Person referred to physiotherapy |
Practitioner | Referring primary care clinician |
Organization | Sending or receiving organization |
Encounter | Context for the referral decision |
Communication | Sent referral message or update |
CommunicationRequest | Order to produce or send communication |
DocumentManifest | Package of referral documents |
Task | Workflow step such as send or review |
Flag | Visible reminder for care coordination |
FHIR resources per instance | 11 |
Total resources (10 instances) | 110 |
Distinct resource types | 9 |
Scenario identifier | `Scenarios.referral_letter` |
Get started with Zato and connect your systems in minutes.