DocumentRetrieveResponse

Documents will be returned based on how they were requested which could either be via Bundles with Base64 encoded contents within a bundle, or as content streamed directly to the requestor in the format (without encoding) that was specified by the contentType of the requested document.

While the requestor’s preferred content type is expected to be included in the HTTP header of a FHIR DocumentRetrieveRequest message, the RLE FHIR product does supports the use of the “_format” parameter (see Section 3.1.0.1.11 of the FHIR® specification) as an override method in order to specify a preference to receive requested documents in a format other than what is included in the HTTP header.