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.
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)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.
8 resources per instance, 80 total across 10 instances.
| FHIR resource type | Role in this scenario |
|---|---|
Patient | Index person in the household |
Encounter | Clinical visits anchoring context |
RelatedPerson | Spouse or partner as emergency contact |
FamilyMemberHistory | Parent’s well-controlled hypertension |
Person | Linked identity across roles |
Group | Household or family grouping |
FHIR resources per instance | 8 |
Total resources (10 instances) | 80 |
Distinct resource types | 6 |
Scenario identifier | `Scenarios.family_context` |
Get started with Zato and connect your systems in minutes.