iNTERFACEWARE Products Manual > Installing and Using Chameleon > Tutorials and Exercises > HL7 to Application > Step 6 - Python Scripts |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The application built in this tutorial currently processes HL7 messages as is. However, there are circumstances in which you might want to modify the HL7 message data before you extract it and load it into your data tables. You might want to modify HL7 message data if you want to:
Chameleon allows you to write scripts to modify the message data while it is being processed. These scripts are written in Python, a popular programming language that is in use all over the world.
For an example of how Python scripts can be used: in the test message file, you may have noticed that the names extracted from the messages are in all capitals. For instance, the output from one message is:
Suppose that you mant to modify your application to only capitalize the first letter of any name. You can easily use Python scripts to alter these names. |