, create a mapping to read the XML data and write the data as HIPAA messages to a target.
The following image shows the data flow in the mapping:
The mapping contains the following transformations:
1. Source transformation
The Source transformation reads an XML file as a source. You can use a flat file connection or an SFTP connection to a remote server.
2. Data Services transformation
The Data Services transformation uses a HIPAA serializer data service from the data services repository. The HIPAA serializer reads the incoming patient and health information in the XML file and converts the data to an HIPAA message.
You can get the name of the HIPAA serializer data service by using the following format:
The Target transformation writes the HIPAA messages to a target. You can use a flat file connection or an SFTP connection to a remote server to write the HIPAA messages to a flat file.