Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Viewing Event Publications

An Event Publication is ????. The Each device in a Connexion channel fires off an "event" when it processes. Using a custom code device (such as the Template device), you can create custom validation routines for messages. For example, you may receive messages in a non-standar format. Using custom validation, you can accept these messages for processing even if they don't conform to an HL7 standard.

The Template device ships with two standard publications, the BeforeDecideProcessMessage and AfterDeviceProcessMessage. The right-click context menu provides options to copy the subscription code to use elsewhere and add references to the subscription (references are ?????)Event Publications: BeforeDecideProcessMessage and AfterDeviceProcessMessage.

Image Added

To use the event in your code:

  1. Select the code item you want to add the even to.
  2. Drag the event into the proper place in the code OR right-click on the event and choose Copy Event Subscription Code. The locate the place in the code where you want to insert the event, right-click, and choose Paste.
  3. Modify the event code as necessary and save the device.

As you modify, the device will check the compile. Any errors will be displayed on the Compile Errors tab of the Input pane.

Viewing Templates

The templates associated with the device will dictate how the HL7 message will be transformed into the target file. The device ships with two standard templates: one for HTML and one for CDA. Select the template in the tree node to view the template code. The standard templates include some basic help text (highlighted in yellow).

...