iNTERFACEWARE Products Manual > Installing and Using Chameleon > HL7 <-> HL7 Transformation > Scripted Transformation > Example: Transforming Lab Message and Patient Update Messages > Examining the Patient Update Transformation Script |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The Patient Update transformation script works in the same way as the Lab Message transformation script that was described in the previous section. This script creates a segment iterator object, uses this object to access each segment of the message in turn, and builds the transformed message. To view the transformation script for Patient Update messages:
The Transformation Script window displays the Python code that performs the actual transformation. The following Python code is the transformation script used for Patient Update messages. Note that \ is the Python continuation character; it indicates that a statement continues on to the next line of code. This makes it easier to fit long statements onto a page.
|