Schedule a demo
Conformance and infrastructure

Test execution

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.

3resources / instance
3FHIR types
10instances
test_execution.py
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)

About this scenario

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.

FHIR resources in this scenario

3 resources per instance, 30 total across 10 instances.

FHIR resource typeRole in this scenario
TestScriptExecutable definition of steps and assertions for the immunization workflow
TestReportOutcome of the test run with passing status in the synthetic dataset
VerificationResultRecord that validation completed successfully for the tested system
FHIR resources per instance3
Total resources (10 instances)30
Distinct resource types3
Scenario identifier`Scenarios.test_execution`

At a glance

3
FHIR resources per instance
30
Total resources (10 instances)
3
Distinct resource types
Scenarios.test_execution
Scenario identifier

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python