This scenario captures how an automated conformance or integration suite exercises an immunization workflow and records the outcome for operators. A test script describes fixtures, actions, and assertions in a structured way so the same run can be repeated in staging or continuous integration. The narrative assumes everything behaves as designed: assertions succeed and the system under test is validated rather than faulted.
from zato_fhir.test.r4.v1 import Scenarios, TestData
for run in Scenarios.test_execution:
report = run.test_report
print(report.status)
print(report.result)
script = run.test_script
print(script.status)
verification = run.verification_result
print(verification.status)This scenario captures how an automated conformance or integration suite exercises an immunization workflow and records the outcome for operators. A test script describes fixtures, actions, and assertions in a structured way so the same run can be repeated in staging or continuous integration. The narrative assumes everything behaves as designed: assertions succeed and the system under test is validated rather than faulted.
The test report aggregates the run status and links back to the script definition, while a verification result records attestation-style confirmation that validation completed cleanly. No patient instance appears because these resources document the testing process itself, which is ideal for pipelines that must prove readiness before promoting builds.
3 resources per instance, 30 total across 10 instances.
| FHIR resource type | Role in this scenario |
|---|---|
TestScript | Executable definition of steps and assertions for the immunization workflow |
TestReport | Outcome of the test run with passing status in the synthetic dataset |
VerificationResult | Record that validation completed successfully for the tested system |
FHIR resources per instance | 3 |
Total resources (10 instances) | 30 |
Distinct resource types | 3 |
Scenario identifier | `Scenarios.test_execution` |
Get started with Zato and connect your systems in minutes.