iNTERFACEWARE Products Manual > Installing and Using Chameleon > Tutorials and Exercises > Switching Configurations Using the Sorting Engine > Tutorial Scenario |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
In a typical real-world scenario, let's assume that you are receiving one data stream arriving over a network from ACME Medical. Your application is interested in some or all of the data encoded in the messages. However, your interface requirements have now changed. Your interface is now expected to handle data streams from two different hospitals: (1) Acme Medical and (2) another hospital called Magic Health Systems. The two types of messages you expect to receive are shown below. Here is an SIU^S12 message:
And here is an ORM^O01 message:
Your interface has already been successfully handling SIU^S12 messages, so the goal is to be able to also parse ORM^O01 messages. As you can tell from the above examples, the two segment grammars are slightly different. The table below describes three ways to implement this, along with their advantages and disadvantages:
This tutorial will show you how to implement Option 3: create a new configuration to accommodate the other message. The following specifications are assumed for the application:
|