Industry solutions for healthcare include pre-built data services that allow you to provide message data in XML format and translate it to a HIPAA message. These data services are called serializers and you can find the XSD file that each serializer requires in the data services repository.
To send patient data or any other healthcare data through HIPAA, you create a mapping that generates the required XML structure and passes it to the Data Services transformation. The Data Services transformation uses the appropriate serializer data service, such as HIPAA_5010A1_270_Serializer, to format and output the HIPAA message. Then, you write the message to a target.
Perform the following tasks:
1Download the XSD file for the serializer data service.
2Create a source connection.
3Create a target connection.
4Create a mapping.
5Create and run a mapping task
Step 1. Download the XSD file for the serializer data service
To identify the XML structure that the HIPAA serializer data service requires to convert XML data to a HIPAA message, download the XSD file for the serializer data service from the data services repository in Administrator.
To determine the name of the serializer data service, you can find the information in a sample HIPAA file. The data service name uses the following format:
When you download the serializer data service, use the XSD file to determine the XML structure that the data service requires.
Step 2. Create the source connection
To read the XML data, create a source connection that accesses the XML files.
If the data is already formatted in the expected XML structure, you can create any source connection that reads an XML file as a source, such as a flat file connection or an SFTP connection to a remote server.
If the data is in relational format, create a source connection that reads a relational source. In this case, you also need to create a mapping that uses a Hierarchy Builder transformation to map the relational data to the XML structure that the serializer data service requires.
Step 3. Create the target connection
To send the HIPAA messages, create a target connection to write the HIPAA messages to a target.
You can use a flat file or an SFTP connection to a remote server.
Step 4. Create the mapping
In Data Integration, 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.
Step 5. Create and run a mapping task
After you configure the mapping, create and run a mapping task to process the data flow logic in the mapping.