Schedule a demo
Clinical

Clinical document

This scenario captures a routine clinical consultation expressed as a structured FHIR document. The composition organizes sections appropriate to a straightforward visit note, linked to the patient and the encounter during which the consultation occurred. The clinical picture remains stable and favorable, supporting demonstration of document rendering and archival without sensitive adverse-event content.

6resources / instance
4FHIR types
10instances
clinical_document.py
from zato_fhir.test.r4.v1 import Scenarios, TestData

for instance in Scenarios.clinical_document:
    patient = instance.patient
    for name in patient.name:
        print(name.text)

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

    comp = instance.composition
    print(comp.status)

    catalog_entry = instance.catalog
    print(catalog_entry.status)

About this scenario

This scenario captures a routine clinical consultation expressed as a structured FHIR document. The composition organizes sections appropriate to a straightforward visit note, linked to the patient and the encounter during which the consultation occurred. The clinical picture remains stable and favorable, supporting demonstration of document rendering and archival without sensitive adverse-event content.

A catalog entry describes the service associated with the encounter so that scheduling, billing, and clinical systems can align on the same service identifier. The bundle is well suited for testing document repositories, CDA-on-FHIR style flows, and interfaces that consume Composition resources.

FHIR resources in this scenario

6 resources per instance, 60 total across 10 instances.

FHIR resource typeRole in this scenario
PatientSubject of the consultation note
EncounterVisit during which the document was produced
CompositionStructured clinical document for the consultation
CatalogEntryCatalog reference for the documented clinical service
FHIR resources per instance6
Total resources (10 instances)60
Distinct resource types4
Scenario identifier`Scenarios.clinical_document`

At a glance

6
FHIR resources per instance
60
Total resources (10 instances)
4
Distinct resource types
Scenarios.clinical_document
Scenario identifier

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python