iNTERFACEWARE Products Manual > Installing and Using Chameleon > Tutorials and Exercises > Application to HL7 > Step 2 - Mapping Data To HL7 > Mapping the Data |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The final step in defining the table grammar is to specify the mappings from the tables into the HL7 message fields. You have already seen which field you want to associate with each item of data, but you have not yet included that information in your VMD file. To begin mapping the data:
The left pane of the Table Mapping window displays the Column Name and Data Type fields from the MessageInfo table you defined earlier; here, these fields are displayed under the headings Name and Type. There is also a new column called Mapping. The right pane displays the segments you included in the message's segment grammar. In this part of the tutorial, your task is to associate fields in the segments with the entries in your table. To do this, drag fields from the right pane of the Table Mapping window to the Mapping column in the table.
After you have completed the mappings, the MessageInfo table should look like this: You will need to repeat this process for the other tables you have created. To specify mappings for the Patient table:
The Patient table should now look like this:
To specify mappings for the ObservationRequest table:
The ObservationRequest table should now look like this: To specify mappings for the ObservationResult table:
The ObservationResult table should now look like this:
At this point, you have specified how data will be mapped from your table structure into generated HL7 messages. The next step is to consider how this table structure can be translated into conventional data structures accessible from within an application. |