|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The first thing you need to do is create a global string variable and ensure it is initialized to be empty each time a new HL7 message comes in. To get started:
This code ensures that the global string is populated with the data found in field 5 of the OBX segment. Every time field 5 of the OBX segment is encountered, its value will be concatenated with the existing value of CompleteResult (preceded by a carriage return and line feed character). The next step is to create a new field for the ResultInformation table, called Result, and assign it the value you built up in the CompleteResult Python variable.
|