Schedule a demo
Care coordination

Family context

This scenario enriches a patient chart with trusted contacts and family history that help clinicians reach the right people quickly and understand inherited risk calmly. A spouse appears as an emergency contact with accurate demographics and relationship coding.

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

for ctx in Scenarios.family_context:
    for name in ctx.patient.name:
        print(name.text)

    for enc in ctx.encounters:
        print(enc.status)

    for name in ctx.related_person.name:
        print(name.text)

    print(ctx.family_member_history.status)
    print(ctx.person.active)
    print(ctx.group.active)

for rp in TestData.RelatedPerson:
    for name in rp.name:
        print(name.text)

About this scenario

This scenario enriches a patient chart with trusted contacts and family history that help clinicians reach the right people quickly and understand inherited risk calmly. A spouse appears as an emergency contact with accurate demographics and relationship coding.

A parent’s hypertension is documented as longstanding yet well controlled on therapy, which frames prevention conversations constructively. A person resource and a family group tie individuals together for access policies, care team visibility, or patient portal features without introducing acute events.

FHIR resources in this scenario

8 resources per instance, 80 total across 10 instances.

FHIR resource typeRole in this scenario
PatientIndex person in the household
EncounterClinical visits anchoring context
RelatedPersonSpouse or partner as emergency contact
FamilyMemberHistoryParent’s well-controlled hypertension
PersonLinked identity across roles
GroupHousehold or family grouping
FHIR resources per instance8
Total resources (10 instances)80
Distinct resource types6
Scenario identifier`Scenarios.family_context`

At a glance

8
FHIR resources per instance
80
Total resources (10 instances)
6
Distinct resource types
Scenarios.family_context
Scenario identifier

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python