iNTERFACEWARE Products Manual > Installing and Using Chameleon > Tutorials and Exercises > HL7 to Application > Step 2 - Mapping Data From HL7 > Setting Up the Table Grammar |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
In Chameleon, a table is a data structure that holds data that has been extracted from HL7 messages. For a given message, you may want to map data into one or more tables. The set of such tables is called the table grammar of the message. In this section of the tutorial, you will define a simple table grammar for the message type you have defined in the previous sections. Defining a table grammar consists of two steps:
In this tutorial application, the following fields must be extracted from each incoming message:
In your application's data table, each of these fields will be a column of the table. In your table grammar, you will specify these table columns. To create and define a table grammar:
Each row of this Patient Table window will represent a column of the data table it is defining. To fill in the Patient Table, perform the following steps:
When you are finished defining the table, it should look like this: The values in the Data Type column of the table correspond to the HL7 type definitions for these fields.
Now that you have defined a table, the next step is to associate it with your message. To do this:
The table is now associated with the message.
|