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.

  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"

 

Step 1: Click the + button in the menu bar of the translator:

Then follow this screenshot:

Step 2: Navigate back to the dashboard and open the component card, change the commit to the one you just made:

Step 3: Run 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 or back to !

Â