Chapter 99. FHIR XML DataFormat
Available as of Camel version 2.21Available as of Camel version 2.21
The FHIR-XML Data Format leverages HAPI-FHIR’s XML parser to parse to/from XML format to/from a HAPI-FHIR’s IBaseResource.
99.1. FHIR XML Format Options
The FHIR XML dataformat supports 2 options which are listed below.
| Name | Default | Java Type | Description |
|---|---|---|---|
| fhirVersion |
|
| The version of FHIR to use. Possible values are: DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4 |
| contentTypeHeader |
|
| Whether the data format should set the Content-Type header with the type from the data format if the data format is capable of doing so. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSon etc. |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.