Testing the Healthcare: Medical devices to EMR pattern

Use the following information to help you to test the Healthcare: Medical devices to EMR pattern.

Basic pattern instance setup

The main message flows of the pattern instance are:

You must ensure that you have all the queues set up for the pattern instance, see the "Queues" section in Managing a Healthcare: Medical devices to EMR pattern instance.

Flow of information through the pattern instance

When you deploy an instance of the Healthcare: Medical devices to EMR pattern, information flows in the following sequence:

  1. The MedicalDeviceInput node locates its configurable service to determine which medical devices to connect to and what measurements to collect.
  2. The MedicalDeviceInput reads a medical device measurement and propagates the information as a message into the MedicalDevices message flow.
  3. The MedicalDevices message flow adds an expiry time and sends the message to the RXF queue for the TransformAndRoute message flow.
  4. The TransformAndRoute message flow converts the device message into an HL7 observation result. The message is published out in an HL7 canonical format for other applications to consume. The observation result is associated with the current patient identifier for that device and then written to the DEST queue.
  5. The Sender message flow sends the HL7 message to the EMR, which responds with an ACK.
  6. The ACK message is processed by the Sender flow.

All flows also have an exception handling subflow that handles any problems that are caught by the flow.

The Pattern Test Application can be used during development to simulate the receiving EMR. Launch the test application and start a TCP/IP MLLP listener. The test application will receive and display the observation results sent by the pattern instance.

Back to the Healthcare: Medical devices to EMR pattern specification