iNTERFACEWARE Products Manual > Learning Center > Tutorials and Sample Scenarios > Working With a Database > Database to HL7 > Step 3 - Generating Messages > Generating a Test Message > Inserting Message Data into the Database |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The next step is to put some message data into your database to trigger the message generation process.
To insert a message into the database:
Your Iguana channel will see the new entry in the PatientRegister status table and notice that its status is set to 'W'. Iguana will then attempt to extract the data from the PatientRegistration table that is associated with this entry. If the attempt is successful, an HL7 message appears in the window of your HL7 Listener. If an error occurs, the error message is written to the STATUS column.
In addition, the message table in your database is updated by Iguana to indicate that the message was successfully created: You have now used Iguana to generate a simple HL7 message directly from a database. In the next step, you will modify your VMD file from Step 1 and take advantage of some of Iguana's Python functionality. |