iNTERFACEWARE Products Manual > Learning Center > Tutorials and Sample Scenarios > Working With a Database > HL7 to Database > Step 2 - Setting Up the VMD File > Setting Up the Table Grammar |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
Now that you have defined a table to hold the data you want to extract, the next step is to specify a table grammar for this table. This table grammar will map fields in the message to columns in the table. To set up the table grammar:
The Table Grammar Panel displays an error, indicating that the grammar root has not yet been set.
The left pane of the Table Mapping window displays the table you defined earlier, together with a new column called Mapping. The right pane contains the segments you included in the message's segment grammar. In the following steps, you will drag fields from the segments to the Mapping column of the table.
When you have finished the table mappings, the Table Mapping window should look like this:
This VMD file is now ready to be used by Iguana. Save the VMD file at this point, and give it any name you wish. (To save the file, select Save from the File menu.) So far, you have accomplished the following:
|