DocumentSearchResponse

The DocumentSearch Response uses the FHIR® Bundle, and DocumentReference resources. Listed below are links to the FHIR® documentation for the resources.

Document Search Response Sample Explained

When one or more documents are found for a patient, the Document Search response consists of the following resources.

FHIR Resource Hierarchy Cardinality/Description
Bundle Response with document information will contain 1 bundle.
DocumentReference There will be one DocumentReference for each document found.
Patient (contained resource) Each document will have a single Patient (subject of the document).
Organization (contained resource) When author information is included for the document, there will be a single Organization resource with the name of the organization where the document was authored.

When no documents are found, an OperationOutcome will be returned instead of a Bundle of DocumentReference resources.