Transformation Converter Example
The Transformation process demonstrates how to transform health data in legacy formats to FHIR format. The transformation is done with the help of the mapping rule and a structure map.
For more information about the FHIR Transformation activity, see FHIR Transformation Activity.
FHIR Converter Handlebars and Liquid Engine
-
Ensure to install .NET Core 3.1 on your system to run the converter plug-in.
-
Ensure to have the FHIR-Converter-main. folder that is downloaded and extracted on your system that is used in the FHIR converter path.
-
Ensure to install the FHIR Converter API locally to run this example. If not, provide the external URL in the Converter URL field on the General tab of the Transformation activity.
Note: Ensure to give 777 permissions to the FHIR-Converter-main folder on Linux.
- Procedure
- The FHIR Transformation activity is updated to support the FHIR Converter Liquid Engine.
- Select the FHIRTransformation activity from FHIR Client palette and a Read file for reading Input Data.
- Go to General > Filename, select the Input data file in the Read file activity.
- Select FHIRConverter from the General section of the FHIRtransformation activity.
- Select Conversion Type as Liquid Engine from the General section.
- Enter the location of the FHIR-Converter-main path in FHIR Converter Path.
- Select conversion operation from drop-down, and then select Liquid Template.
- In the FHIRTransformation activity, go to the Input tab and map the fullName of ReadInputData of Input Data to source.
- Run the process.
Process Output
Select the desired activity and click the Output tab. You can see that all the activities have converted the input data to FHIR format.