Transformation Example

The Transformation process demonstrates how you can transform health data in legacy formats to FHIR format by using a mapping rule and a structure map.

For more information about the FHIR Transformation activity, see FHIR Transformation Activity.

Transformation Process

The Transformation process is illustrated here:

Prerequisite

You must have FHIR Converter API installed locally to run this example. If it is not installed, provide the external URL in the Converter URL field on the General tab of the Transformation activity.

Process Definition

The process demonstrates the conversion of health data in legacy formats to FHIR format. The following operations are performed when you run the process:
  1. The Timer activity starts the process.
  2. The MappingRuleTransformation activity uses the FHIRMappingLanguage tool and the MappingRule option to transform the input data. A Patient resource and a mapping rule file are provided as an input to this activity.
  3. Then the FHIRConverter activity converts the input data to FHIR format. A ClinicalDocument resource, a converter URL, and a template are provided to the activity.
  4. The StructureMapTransformation activity uses the FHIRMappingLanguage tool to map and the StructureMap option to transform input data to FHIR format. A MedicationRequest resource and structure map files are provided as an input to this activity.
  5. After the process executes successfully, a Success message is written to the Console. Select Window > Show Console in TIBCO Business Studio to view the log messages.

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.