iNTERFACEWARE Products Manual > Learning Center > Tutorials and Sample Scenarios > Routing and Processing Messages > Splitting One Message Into Many Messages > Step 3 - Creating the Python Script |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
Now that you have a VMD file that recognizes incoming ADT^A17 messages, the next step is to write the Python transformation script that generates the ADT^A02 output messages.
Here's how this script works:
Here is a sample output ADT^A02 message generated by this script:
This file contains the MSH, SFT and EVN segments from the ADT^A17 input message, along with one PID segment and its associated PV1 and PV2 segments. Your VMD file is now able to split ADT^A17 input messages into multiple ADT^A02 output messages.
|