|
Inserting Message Data into the DatabaseThe next step is to put some message data into your database to trigger the message generation process.
To insert a message into the database:
![]() MySQL Database Screenshot: PatientRegistration Table
![]() MySQL Database Screenshot: PatientRegister Table 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: ![]() MySQL Database Screenshot: PatientRegister Table 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. |