Schedule a demo
Care coordination

Care plan

This scenario describes a voluntary wellness improvement plan focused on sustainable exercise habits. Goals are measurable and optimistic, reflecting steady progress rather than crisis intervention. The care team includes primary care and coaching roles aligned on the same targets.

12resources / instance
10FHIR types
10instances
care_plan.py
from zato_fhir.test.r4.v1 import Scenarios, TestData

for plan_ctx in Scenarios.care_plan:
    for name in plan_ctx.patient.name:
        print(name.text)

    for name in plan_ctx.practitioner.name:
        print(name.text)

    print(plan_ctx.organization.name)

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

    print(plan_ctx.care_plan.status)
    print(plan_ctx.care_team.status)
    print(plan_ctx.goal.lifecycleStatus)
    print(plan_ctx.request_group.status)
    print(plan_ctx.plan_definition.status)
    print(plan_ctx.activity_definition.status)

for cp in TestData.CarePlan:
    print(cp.status)

About this scenario

This scenario describes a voluntary wellness improvement plan focused on sustainable exercise habits. Goals are measurable and optimistic, reflecting steady progress rather than crisis intervention. The care team includes primary care and coaching roles aligned on the same targets.

Request groups bundle the recurring activities that support the plan, while plan and activity definitions provide canonical descriptions that other programs can reuse. The overall tone remains supportive: the patient is engaged, metrics move in a favorable direction, and no setbacks appear in the synthetic data.

FHIR resources in this scenario

12 resources per instance, 120 total across 10 instances.

FHIR resource typeRole in this scenario
PatientPerson pursuing wellness goals
PractitionerClinician sponsoring the plan
OrganizationCare delivery organization
EncounterVisits where the plan is reviewed
CarePlanActive structured plan document
CareTeamParticipants coordinating the work
GoalExercise and lifestyle targets
RequestGroupGrouped requests supporting interventions
PlanDefinitionReusable protocol template
ActivityDefinitionAtomic activity specification
FHIR resources per instance12
Total resources (10 instances)120
Distinct resource types10
Scenario identifier`Scenarios.care_plan`

At a glance

12
FHIR resources per instance
120
Total resources (10 instances)
10
Distinct resource types
Scenarios.care_plan
Scenario identifier

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python