iNTERFACEWARE Products Manual > Learning Center > Tutorials and Sample Scenarios > Working With a Database > Database to HL7 > Step 4 - Using Python to go Beyond Mapping > Creating a Unique ID for MSH.10 |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
As previously stated, the goal is to ensure that field 10 of the MSH segment has a unique ID in it. This ID will then be sent back to Iguana by the receiving party in an ACK message. In this example, you will use the current time as a unique ID. To create a unique ID:
This uses the current system time to generate a unique ID for your message.
|