The FHIR component enables standardized healthcare data exchange between systems, ensuring interoperability and consistency in communication. It defines a flexible structure based on resources that represent clinical, administrative, and financial entities, enabling standardized communication across different platforms.
URI Syntax: fhir:apiName/methodName
Path parameters
Name | Description | Default | Type |
|---|---|---|---|
apiName (common) | (required) Type of operation to be executed. Possible values: CAPABILITIES, CREATE, DELETE, HISTORY, LOAD_PAGE, META, OPERATION, PATCH, READ, SEARCH, TRANSACTION, UPDATE, VALIDATE. | — | FhirApiName |
methodName (common) | (required) Sub-operation to be used for the selected operation. | — | String |
Query parameters
Name | Description | Default | Type |
|---|---|---|---|
serverUrl | The base URL of the FHIR server. | — | String |
The flow below queries patient data based on their ID:
The example flow fetches a specific patient from the FHIR server by ID 596526 and returns the data in JSON format.
The integration is triggered from a GET request to a specific endpoint.
The request is forwarded to a FHIR server.
The resource type being fetched is Patient and the patient identifier is 596526.
The data returned by the FHIR server is processed by the marshal EIP, which converts the response to JSON format.

The component's response will be inserted into the Exchange body as a Java object.
To use the object in other components, it must be converted to JSON using the marshal EIP.
fhirJson Data Format.Component parameters do not support expressions to obtain a payload from the body.
In this example, we are indicating that the resourceAsString parameter should be obtained from the body.
We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more