
Power users can write custom code in C# to do almost anything the .NET framework will allow you to do. In this simple example we are appending the text “-test” to the existing value of MSH-3.
Included in HL7Spy are examples of how to de-identify patient information, generate messages, and other more complex message processing routines.