Fhir Source
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Receive data from Fhir server.
Configuration Options
The following table summarizes the configuration options available for the fhir-source
Kamelet:
Property | Name | Description | Type | Default | Example |
---|---|---|---|---|---|
Password | Required The password to access the Fhir server. | string | |||
Server URL | Required The Fhir server url. | string | |||
Username | Required The username to access the Fhir server. | string | |||
Encoding | Encoding to use for all request. Enum values: * JSON * XML | string | JSON | ||
Fhir Version | The FHIR Version to use. Enum values: * DSTU2 * DSTU2_HL7ORG * DSTU2_1 * DSTU3 * R4 * R5 | string | R4 | ||
Json Pretty Print | Define if the Json must be pretty print or not. | boolean | true | ||
URL | The Fhir resource type url. | string | /Patient |
Dependencies
At runtime, the fhir-source
Kamelet relies upon the presence of the following dependencies:
-
camel:fhir
-
camel:kamelet
Camel JBang usage
Prerequisites
-
You’ve installed JBang.
-
You have executed the following command:
jbang app install camel@apache/camel
Supposing you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:fhir-source"
parameters:
.
.
.
steps:
- to:
uri: "kamelet:log-sink"
You can now run it directly through the following command
camel run route.yaml