iNTERFACEWARE Products Manual > Installing and Using Chameleon > Using Python Scripting > Chameleon Python API > Environment Variable > Iterating Over Message Segments |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
You can use the environment variable to iterate over the segments in an incoming HL7 message. To do this, use the input_segment_iterator() function. This function returns a segment iterator object that controls the iteration process. For more details on the segment iterator object, see Segment Iterator Object.
To view a script that uses input_segment_iterator(), see the Data Scrubbing example. |