ca.uhn.hl7v2.protocol
Interface Transportable

All Known Implementing Classes:
TransportableImpl

public interface Transportable

An HL7 message in text form, with optional metadata, which can be handled in a transport layer.

Version:
$Revision: 1.1 $ updated on $Date: 2007/02/19 02:24:38 $ by $Author: jamesagnew $
Author:
Bryan Tripp

Method Summary
 java.lang.String getMessage()
           
 java.util.Map getMetadata()
           
 

Method Detail

getMessage

java.lang.String getMessage()
Returns:
the text of an HL7 message (either ER7 or XML encoding).

getMetadata

java.util.Map getMetadata()
Returns:
metadata associated with the message. If the message is being sent to a TransportLayer, this may include selected message fields (eg to facilitate routing based on MSH fields without re-parsing the message). If the message is being received, this may include information such as the IP address of the server from which the message was received (this depends on the underlying TransportLayer used). Message fields are keyed with Terser path names.


Copyright © 2001-2011 University Health Network. All Rights Reserved.