This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Messaging Adapter

From HL7Wiki
Revision as of 10:36, 4 March 2006 by Rene spronk (talk | contribs) (new, from ATS, with remaned MA reject to accept level reject)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Message Adapters implement application level functionality tied to a specific Messaging Infrastructure (e.g. ebXML, Web Services, MLLP). Message Adapters have been identified as a distinct module in the application layer to separate transport related actions from the actual creation/processing of HL7 composite messages, which are managed by the HL7 Application at the business level.

Message Adapters are not required to posses any HL7 specific knowledge other than one or more particular ITSs needed to support the message delivery environment. In particular, they are not required to know anything about HL7 static and dynamic modeling rules and mechanisms, other than being aware of the HL7 Transmission Wrapper, which is where an HL7 application indicates the application level rules for message transport.

The Message Adapter may also play a role of serializing/deserializing transport-specific message representation into the application natively understood format. This could be as simple as passing through HL7 message as a string or as complicated as building a full object graph representing HL7 message before passing it to the application.

The Message Adapter may also play a role in the Validation process of interactions that it has received via the Messaging Infrastructure. The level of validation may vary from zero validation (in which case all validation is done by the HL7 Application), to a minimalist validation of syntax and interaction type, up to full syntactic validation (in which case the HL7 Application doesn't need to do any validation anymore).

A Message Adapter may generate its own HL7 error interaction: the Accept Level Reject (MCCI_IN000002). The Accept level Reject message only consists of a Transmission Wrapper; it contains neither a Trigger Event Control Act Wrapper nor a domain-defined payload. An Accept Level Reject may be generated by a Message Adapter if

  • a transmission issue was detected, e.g. the interaction contains an unknown receiver identification, or the sender isn't considered to be a trusted application.
  • a validation issue was detected, e.g. the interaction isn't supported, there are syntactical issues, or the interaction isn't formatted according to the agreed upon conformance profile. The level of validation is implementation dependent.

Message Adapters in general do not act any differently on initial messages (e.g. unsolicited update, query) as they do on the Application Responses. It is not within the scope of Message Adapters to process the receiver responsibility rules for interactions and their related responses; this is clearly the responsibility of the HL7 Application and appropriate Application Roles.