Schedule a demo
Care coordination

Referral letter

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.

11resources / instance
9FHIR types
10instances
referral_letter.py
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)

About this scenario

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.

FHIR resources in this scenario

11 resources per instance, 110 total across 10 instances.

FHIR resource typeRole in this scenario
PatientPerson referred to physiotherapy
PractitionerReferring primary care clinician
OrganizationSending or receiving organization
EncounterContext for the referral decision
CommunicationSent referral message or update
CommunicationRequestOrder to produce or send communication
DocumentManifestPackage of referral documents
TaskWorkflow step such as send or review
FlagVisible reminder for care coordination
FHIR resources per instance11
Total resources (10 instances)110
Distinct resource types9
Scenario identifier`Scenarios.referral_letter`

At a glance

11
FHIR resources per instance
110
Total resources (10 instances)
9
Distinct resource types
Scenarios.referral_letter
Scenario identifier

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python