This scenario models a routine annual eye examination in a wellness-oriented clinic. The patient completes standard visual assessment, and findings indicate mild myopia that is well within the range typically managed with corrective lenses. The encounter closes with a clear plan for comfortable daily vision and follow-up as appropriate.
from zato_fhir.test.r4.v1 import Scenarios, TestData
for checkup in Scenarios.vision_checkup:
patient = checkup.patient
for name in patient.name:
print(name.text)
practitioner = checkup.practitioner
for name in practitioner.name:
print(name.text)
organization = checkup.organization
print(organization.name)
for encounter in checkup.encounters:
print(encounter.status)
prescription = checkup.vision_prescription
print(prescription.prescriber)
device = checkup.device
print(device.statusReason)
definition = checkup.device_definition
print(definition.modelNumber)
metric = checkup.device_metric
print(metric.type_)
request = checkup.device_request
print(request.groupIdentifier)
use_stmt = checkup.device_use
print(use_stmt.subject)This scenario models a routine annual eye examination in a wellness-oriented clinic. The patient completes standard visual assessment, and findings indicate mild myopia that is well within the range typically managed with corrective lenses. The encounter closes with a clear plan for comfortable daily vision and follow-up as appropriate.
The record includes the prescribing clinician, the care organization, and the encounter that frames the visit. A vision prescription documents the lens correction, while device-related resources describe the phoropter and related equipment used during refraction. Device requests, use statements, definitions, and metrics support interoperability with equipment and analytics pipelines without implying any urgent pathology.
12 resources per instance, 120 total across 10 instances.
| FHIR resource type | Role in this scenario |
|---|---|
Patient | Person receiving the eye examination |
Practitioner | Clinician or optometrist conducting the visit |
Organization | Clinic or practice providing vision care |
Encounter | Each visit instance for the eye examination |
VisionPrescription | Corrective lens prescription for mild myopia |
Device | Phoropter or related equipment instance |
DeviceDefinition | Catalog definition for the documented device |
DeviceMetric | Measurements or operational metrics from the device |
DeviceRequest | Order or request context for device use |
DeviceUseStatement | Assertion that the device was used for the patient |
FHIR resources per instance | 12 |
Total resources (10 instances) | 120 |
Distinct resource types | 10 |
Scenario identifier | `Scenarios.vision_checkup` |
Get started with Zato and connect your systems in minutes.