Customizing the HL7 Server Component

What do you do when a component almost does what you need but not quite?

That’s where customization comes in. Iguana components are deliberately made as simple as possible to make the code easy to understand and modify. Let’s try customizing an HL7 Server component to change the ACKnowledgement message it produces.

  1. Stop the component.

  2. Make the HL7 Server editable.

    1. Click Customize → Copy and Edit.

Screen Shot 2024-09-18 at 6.34.56 PM.png
  1. Enter the translator by the Edit Script button.

Copy and paste the following line to replace line 10 of your code:

A.MSH[4][1] = "THANK YOU FOR TESTING WITH US"
Screen Shot 2024-09-18 at 6.40.04 PM.png

Click the commit button in the menu bar of the translator. Then follow the screenshot below:

  1. Notice changes made

  2. Add commit message

  3. Commit changes

Navigate back to the dashboard and open the component card, change the commit to the one you just made, and START the component.

The source code of the HL7 Server is deliberately written to make it easy to customize. Consider how you would do the same customization in Iguana 6?

Next Understanding Databases in Iguana or back to Getting Started!

Â