| Modifier and Type | Method and Description |
|---|---|
Message |
AbstractHL7Exception.populateResponse(Message response,
AcknowledgmentCode acknowledgmentCode,
int repetition)
Populates the generated response based on this exception.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
AbstractHL7Exception.populateResponse(Message response,
AcknowledgmentCode acknowledgmentCode,
int repetition)
Populates the generated response based on this exception.
|
| Modifier and Type | Method and Description |
|---|---|
static Message |
DefaultApplication.makeACK(Message message)
Deprecated.
use
generateACK() |
static Message |
DefaultApplication.makeACK(Segment inboundHeader)
Deprecated.
use
generateACK() |
Message |
MessageTypeRouter.processMessage(Message in)
Deprecated.
Forwards the given message to any Applications that have been registered
to accept messages of that type and trigger event.
|
Message |
DefaultApplication.processMessage(Message in)
Creates and returns a negative acknowledgement
|
Message |
Application.processMessage(Message in)
Uses the contents of the message for whatever purpose the Application
has for this message, and returns an appropriate response message.
|
Message |
DefaultApplication.processMessage(Message theMessage,
Map<String,Object> theMetadata) |
Message |
Initiator.sendAndReceive(Message out)
Sends a message to a responder system, receives the reply, and returns
the reply as a Message object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MessageTypeRouter.canProcess(Message in)
Deprecated.
Returns true if at least one application has been registered to accept
this type of message.
|
boolean |
DefaultApplication.canProcess(Message in)
Returns true.
|
boolean |
Application.canProcess(Message in)
Returns true if this Application wishes to accept the message.
|
void |
AcceptApplication.fillDetails(Message ack)
Supplies details of application accept (AA) acknowledgement.
|
static Message |
DefaultApplication.makeACK(Message message)
Deprecated.
use
generateACK() |
Message |
MessageTypeRouter.processMessage(Message in)
Deprecated.
Forwards the given message to any Applications that have been registered
to accept messages of that type and trigger event.
|
Message |
DefaultApplication.processMessage(Message in)
Creates and returns a negative acknowledgement
|
Message |
Application.processMessage(Message in)
Uses the contents of the message for whatever purpose the Application
has for this message, and returns an appropriate response message.
|
Message |
DefaultApplication.processMessage(Message theMessage,
Map<String,Object> theMetadata) |
Message |
Initiator.sendAndReceive(Message out)
Sends a message to a responder system, receives the reply, and returns
the reply as a Message object.
|
| Modifier and Type | Method and Description |
|---|---|
HL7Exception[] |
Validator.validate(Message message,
StaticDef profile)
Validates the given message against the given static definition from
a conformance profile.
|
HL7Exception[] |
DefaultValidator.validate(Message message,
StaticDef profile) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMessage
A default implementation of Message.
|
class |
AbstractSuperMessage
Base class for a
SuperStructure message. |
class |
GenericMessage
A generic HL7 message, meant for parsing message with unrecognized structures
into a flat list of segments.
|
static class |
GenericMessage.UnknownVersion |
static class |
GenericMessage.V21 |
static class |
GenericMessage.V22 |
static class |
GenericMessage.V23 |
static class |
GenericMessage.V231 |
static class |
GenericMessage.V24 |
static class |
GenericMessage.V25 |
static class |
GenericMessage.V251 |
static class |
GenericMessage.V26 |
| Modifier and Type | Method and Description |
|---|---|
Message |
AbstractMessage.fillResponseHeader(Message out,
AcknowledgmentCode code)
Populates certain required fields in a response message header, using
information from the corresponding inbound message.
|
Message |
Message.generateACK()
Generates and returns an ACK message which would be used to acknowledge this message
successfully, with an MSA-1 code of "AA".
|
Message |
AbstractMessage.generateACK()
Generates and returns an ACK message which would be used to acknowledge this message
successfully, with an MSA-1 code of "AA".
|
Message |
Message.generateACK(AcknowledgmentCode theAcknowlegementCode,
HL7Exception theException)
Generates and returns an ACK message which would be used to acknowledge this message
successfully.
|
Message |
AbstractMessage.generateACK(AcknowledgmentCode theAcknowledgementCode,
HL7Exception theException)
Generates and returns an ACK message which would be used to acknowledge this message
successfully.
|
Message |
Message.generateACK(String theAcknowldegementCode,
HL7Exception theException)
Deprecated.
|
Message |
AbstractMessage.generateACK(String theAcknowledgementCode,
HL7Exception theException)
Deprecated.
|
Message |
Varies.getMessage() |
Message |
Type.getMessage() |
Message |
Structure.getMessage()
Returns the Message object to which this structure belongs.
|
Message |
AbstractType.getMessage() |
Message |
AbstractStructure.getMessage()
Returns the parent group within which this structure exists (may be root
message group).
|
Message |
AbstractMessage.getMessage()
Returns this Message object.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Message> |
GenericMessage.getGenericMessageClass(String version)
Returns a subclass of GenericMessage corresponding to a certain version.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
AbstractMessage.fillResponseHeader(Message out,
AcknowledgmentCode code)
Populates certain required fields in a response message header, using
information from the corresponding inbound message.
|
| Constructor and Description |
|---|
AbstractComposite(Message message) |
AbstractPrimitive(Message message) |
AbstractType(Message message)
Creates a new instance of AbstractType
|
ExtraComponents(Message message) |
GenericComposite(Message message)
Creates a generic composite
|
GenericPrimitive(Message message)
Create a generic primitive
|
Varies(Message message)
Creates new Varies.
|
| Constructor and Description |
|---|
AbstractPersonNameComposite(Message theMessage)
Constructor
|
| Constructor and Description |
|---|
AbstractTextPrimitive(Message theMessage)
Constructor
|
DT(Message theMessage) |
ID(Message theMessage) |
ID(Message theMessage,
int theTable) |
ID(Message message,
Integer theTable) |
IDWithNamespace(Message theMessage,
String theHl7Version,
String theNamespace,
int theTable) |
IDWithNamespace(Message theMessage,
String theHl7Version,
String theNamespace,
Integer theTable) |
IS(Message theMessage) |
IS(Message theMessage,
int theTable) |
IS(Message theMessage,
Integer theTable) |
ISWithNamespace(Message theMessage,
String theHl7Version,
String theNamespace,
int theTable)
Constructor
|
ISWithNamespace(Message theMessage,
String theHl7Version,
String theNamespace,
Integer theTable)
Constructor
|
NULLDT(Message theMessage)
Constructor
|
TM(Message theMessage) |
TSComponentOne(Message theMessage) |
| Constructor and Description |
|---|
CM(Message message) |
DT(Message theMessage) |
ID(Message theMessage) |
ID(Message theMessage,
int theTable) |
ID(Message theMessage,
Integer theTable) |
TM(Message theMessage) |
TS(Message theMessage) |
| Constructor and Description |
|---|
DT(Message theMessage) |
ID(Message theMessage) |
ID(Message theMessage,
int theTable) |
ID(Message theMessage,
Integer theTable) |
IS(Message theMessage) |
IS(Message theMessage,
int theTable) |
IS(Message theMessage,
Integer theTable) |
TM(Message theMessage) |
TSComponentOne(Message theMessage) |
| Constructor and Description |
|---|
DT(Message theMessage) |
ID(Message theMessage) |
ID(Message theMessage,
int theTable) |
ID(Message theMessage,
Integer theTable) |
IS(Message theMessage) |
IS(Message theMessage,
int theTable) |
IS(Message theMessage,
Integer theTable) |
TM(Message theMessage) |
TSComponentOne(Message theMessage) |
| Constructor and Description |
|---|
DT(Message theMessage) |
ID(Message theMessage) |
ID(Message theMessage,
int theTable) |
ID(Message theMessage,
Integer theTable) |
IS(Message theMessage) |
IS(Message theMessage,
int theTable) |
IS(Message theMessage,
Integer theTable) |
TM(Message theMessage) |
TSComponentOne(Message theMessage) |
| Constructor and Description |
|---|
DT(Message theMessage) |
ID(Message theMessage) |
ID(Message theMessage,
int theTable) |
ID(Message theMessage,
Integer theTable) |
IS(Message theMessage) |
IS(Message theMessage,
int theTable) |
IS(Message theMessage,
Integer theTable) |
TM(Message theMessage) |
TSComponentOne(Message theMessage) |
| Constructor and Description |
|---|
DT(Message theMessage) |
DTM(Message theMessage) |
ID(Message theMessage) |
ID(Message theMessage,
int theTable) |
ID(Message theMessage,
Integer theTable) |
IS(Message theMessage) |
IS(Message theMessage,
int theTable) |
IS(Message theMessage,
Integer theTable) |
TM(Message theMessage) |
| Constructor and Description |
|---|
DT(Message theMessage) |
DTM(Message theMessage) |
ID(Message theMessage) |
ID(Message theMessage,
int theTable) |
ID(Message theMessage,
Integer theTable) |
IS(Message theMessage) |
IS(Message theMessage,
int theTable) |
IS(Message theMessage,
Integer theTable) |
NULLDT(Message theMessage)
Constructor
|
TM(Message theMessage) |
| Constructor and Description |
|---|
DT(Message theMessage) |
DTM(Message theMessage) |
ID(Message theMessage) |
ID(Message theMessage,
int theTable) |
ID(Message theMessage,
Integer theTable) |
IS(Message theMessage) |
IS(Message theMessage,
int theTable) |
IS(Message theMessage,
Integer theTable) |
NULLDT(Message theMessage)
Constructor
|
TM(Message theMessage) |
| Modifier and Type | Method and Description |
|---|---|
protected Message |
XMLParser.doParse(String message,
String version)
Parses a message string and returns the corresponding Message object.
|
protected Message |
PipeParser.doParse(String message,
String version)
Parses a message string and returns the corresponding Message object.
|
protected abstract Message |
Parser.doParse(String message,
String version)
Called by parse() to perform implementation-specific parsing work.
|
protected Message |
GenericParser.doParse(String message,
String version)
Parses a message string and returns the corresponding Message object.
|
protected Message |
XMLParser.doParseForSpecificPackage(String theMessage,
String theVersion,
String thePackageName)
Throws unsupported operation exception
|
protected Message |
PipeParser.doParseForSpecificPackage(String message,
String version,
String packageName)
Attempt the parse a message using a specific model package
|
protected abstract Message |
Parser.doParseForSpecificPackage(String message,
String version,
String packageName)
Attempt the parse a message using a specific model package
|
protected Message |
GenericParser.doParseForSpecificPackage(String theMessage,
String theVersion,
String thePackageName) |
protected Message |
Parser.instantiateMessage(String theName,
String theVersion,
boolean isExplicit)
Note that the validation context of the resulting message is set to this parser's validation
context.
|
protected Message |
Parser.instantiateMessageInASpecificPackage(String theName,
String theVersion,
boolean isExplicit,
String packageName)
Instantiate a message type using a specific package name
|
Message |
PipeParser.parse(String message)
Parses a message string and returns the corresponding Message object.
|
Message |
Parser.parse(String message)
Parses a message string and returns the corresponding Message object.
|
Message |
GenericParser.parse(String theMessage)
Parses a message string and returns the corresponding Message object.
|
abstract Message |
XMLParser.parseDocument(Document xmlMessage,
String version)
Creates and populates a Message object from an XML Document that contains an XML-encoded HL7
message.
|
Message |
DefaultXMLParser.parseDocument(Document XMLMessage,
String version)
Creates and populates a Message object from an XML Document that contains an XML-encoded HL7 message.
|
Message |
Parser.parseForSpecificPackage(String message,
String packageName)
Parse a message using a specific model package instead of the default, using
ModelClassFactory.getMessageClassInASpecificPackage(String, String, boolean, String)
. |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Message> |
ModelClassFactory.getMessageClass(String theName,
String theVersion,
boolean isExplicit) |
Class<? extends Message> |
GenericModelClassFactory.getMessageClass(String theName,
String theVersion,
boolean theIsExplicit) |
Class<? extends Message> |
DefaultModelClassFactory.getMessageClass(String theName,
String theVersion,
boolean isExplicit)
Attempts to return the message class corresponding to the given name, by
searching through default and user-defined (as per packageList()) packages.
|
Class<? extends Message> |
CustomModelClassFactory.getMessageClass(String name,
String version,
boolean isExplicit) |
Class<? extends Message> |
CanonicalModelClassFactory.getMessageClass(String theName,
String theVersion,
boolean theIsExplicit)
Attempts to return the message class corresponding to the given name, by
searching through default and user-defined (as per packageList()) packages.
|
Class<? extends Message> |
ModelClassFactory.getMessageClassInASpecificPackage(String theName,
String theVersion,
boolean isExplicit,
String packageName)
Retrieves a message class by looking in a specific java package for the message type.
|
Class<? extends Message> |
GenericModelClassFactory.getMessageClassInASpecificPackage(String theName,
String theVersion,
boolean theIsExplicit,
String thePackageName)
Retrieves a message class by looking in a specific java package for the message type.
|
Class<? extends Message> |
DefaultModelClassFactory.getMessageClassInASpecificPackage(String theName,
String theVersion,
boolean isExplicit,
String packageName)
Retrieves and instantiates a message class by looking in a specific java package for the
message type.
|
Class<? extends Message> |
CustomModelClassFactory.getMessageClassInASpecificPackage(String theName,
String theVersion,
boolean theIsExplicit,
String thePackageName)
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Parser.applySuperStructureName(Message theMessage) |
protected String |
XMLParser.doEncode(Message source)
Formats a Message object into an HL7 message string using this parser's default encoding (XML
encoding).
|
protected String |
PipeParser.doEncode(Message source)
Formats a Message object into an HL7 message string using this parser's
default encoding ("VB").
|
protected abstract String |
Parser.doEncode(Message source)
Called by encode(Message) to perform implementation-specific encoding work.
|
protected String |
GenericParser.doEncode(Message source)
Formats a Message object into an HL7 message string using this parser's default encoding.
|
protected String |
XMLParser.doEncode(Message source,
String encoding)
Formats a Message object into an HL7 message string using the given encoding.
|
protected String |
PipeParser.doEncode(Message source,
String encoding)
Formats a Message object into an HL7 message string using the given
encoding.
|
protected abstract String |
Parser.doEncode(Message source,
String encoding)
Called by encode(Message, String) to perform implementation-specific encoding work.
|
protected String |
GenericParser.doEncode(Message source,
String encoding)
Formats a Message object into an HL7 message string using the given encoding.
|
String |
PipeParser.encode(Message source)
Formats a Message object into an HL7 message string using this parser's default encoding.
|
String |
Parser.encode(Message source)
Formats a Message object into an HL7 message string using this parser's default encoding.
|
String |
Parser.encode(Message source,
String encoding)
Formats a Message object into an HL7 message string using the given encoding.
|
abstract Document |
XMLParser.encodeDocument(Message source)
Creates an XML Document that corresponds to the given Message object.
|
Document |
DefaultXMLParser.encodeDocument(Message source)
Creates an XML Document that corresponds to the given Message object.
|
static EncodingCharacters |
EncodingCharacters.getInstance(Message message)
Returns an instance using the MSH-1 and MSH-2 values of the given message
|
void |
PipeParser.parse(Message message,
String string) |
abstract void |
Parser.parse(Message message,
String string)
Parses a particular message and returns the encoded structure
|
void |
GenericParser.parse(Message message,
String string) |
void |
DefaultXMLParser.parse(Message theMessage,
String theString)
Parses a particular message and returns the encoded structure
|
| Constructor and Description |
|---|
MessageIterator(Message start,
IStructureDefinition startDefinition,
String direction,
boolean handleUnexpectedSegments)
Creates a new instance of MessageIterator
|
MessagePointer(PipeParser parser,
Message message,
EncodingCharacters encodingChars)
Deprecated.
Creates new GroupPointer
|
| Constructor and Description |
|---|
CanonicalModelClassFactory(Class<? extends Message> theClass)
Constructor for a model class factory which always returns the same
message type.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
ReceivingApplication.processMessage(Message theMessage,
Map<String,Object> theMetadata)
Uses the contents of the message for whatever purpose the application
has for this message, and returns an appropriate response message.
|
Message |
ApplicationWrapper.processMessage(Message theMessage,
Map<String,Object> theMetadata)
Uses the contents of the message for whatever purpose the application
has for this message, and returns an appropriate response message.
|
Message |
Initiator.sendAndReceive(Message theMessage)
Encodes a message, sends it to a remote system, awaits the response,
parses it, and returns it.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ReceivingApplication.canProcess(Message theMessage) |
boolean |
ApplicationWrapper.canProcess(Message theMessage) |
Message |
ReceivingApplication.processMessage(Message theMessage,
Map<String,Object> theMetadata)
Uses the contents of the message for whatever purpose the application
has for this message, and returns an appropriate response message.
|
Message |
ApplicationWrapper.processMessage(Message theMessage,
Map<String,Object> theMetadata)
Uses the contents of the message for whatever purpose the application
has for this message, and returns an appropriate response message.
|
Message |
Initiator.sendAndReceive(Message theMessage)
Encodes a message, sends it to a remote system, awaits the response,
parses it, and returns it.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
AppWrapper.processMessage(Message theMessage,
Map<String,Object> theMetadata) |
Message |
InitiatorImpl.sendAndReceive(Message theMessage) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AppWrapper.canProcess(Message theMessage) |
static void |
ParseChecker.checkParse(String originalMessageText,
Message parsedMessage,
Parser parser)
Encodes the given message and compares it to the given string.
|
static Map<String,String> |
MetadataExtractor.getFields(Message theMessage,
List<String> theTerserPaths) |
Message |
AppWrapper.processMessage(Message theMessage,
Map<String,Object> theMetadata) |
Message |
InitiatorImpl.sendAndReceive(Message theMessage) |
| Modifier and Type | Method and Description |
|---|---|
Message |
Hl7InputStreamMessageIterator.next() |
| Modifier and Type | Method and Description |
|---|---|
static MessageQuery.Result |
MessageQuery.query(Message theMessage,
String theQuery)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Hl7InputStreamMessageIterator.setMessageType(Class<? extends Message> theMessageType)
If set (default is
null), all messages will be parsed into
instances of this type. |
| Constructor and Description |
|---|
Terser(Message message)
Creates a new instance of Terser
|
| Modifier and Type | Method and Description |
|---|---|
protected Message |
RespondingValidationExceptionHandler.generateResponseMessage(Object request)
Generates an empty response message.
|
Message |
RespondingValidationExceptionHandler.result()
Returns the generated response message.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationExceptionHandler<Message> |
RespondingValidationExceptionHandler.getNewInstance(HapiContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RespondingValidationExceptionHandler.populateResponseMessage(Message response)
Populates the generated response based on the collected
ValidationExceptions. |
ValidationException[] |
MessageRule.test(Message msg)
Tests the given (fully populated) message against the criteria
defined by this rule class.
|
R |
Validator.validate(Message message)
Validates a
Message |
R |
AbstractValidator.validate(Message message)
Calls
AbstractValidator.initializeHandler() to obtain a default instance of a
ValidationExceptionHandler before starting the validation. |
R |
Validator.validate(Message message,
ValidationExceptionHandler<R> handler)
Validates a
Message using a custom ValidationExceptionHandler. |
R |
AbstractValidator.validate(Message message,
ValidationExceptionHandler<R> handler) |
| Modifier and Type | Method and Description |
|---|---|
Message |
TestApplication.processMessage(Message in)
Deprecated.
Calls test(Message in), routes resulting exceptions to configured destinations, and
returns an ack (which should not normally be used since the test app is intended
to operate in parallel with system-to-system communication).
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
TestApplication.canProcess(Message in)
Deprecated.
Returns true if this Application wishes to accept the message.
|
boolean |
ProfileTestApplication.canProcess(Message in)
Deprecated.
Returns true if this Application wishes to accept the message.
|
boolean |
MultiTestApplication.canProcess(Message in)
Deprecated.
Returns true if ANY of the delegates can accept the message.
|
Message |
TestApplication.processMessage(Message in)
Deprecated.
Calls test(Message in), routes resulting exceptions to configured destinations, and
returns an ack (which should not normally be used since the test app is intended
to operate in parallel with system-to-system communication).
|
abstract HL7Exception[] |
TestApplication.test(Message in)
Deprecated.
Tests the message in some way (as defined by implementing class).
|
HL7Exception[] |
ProfileTestApplication.test(Message in)
Deprecated.
Tests the message against a profile or profiles.
|
HL7Exception[] |
MultiTestApplication.test(Message in)
Deprecated.
Tests the message by passing it to all test apps that have been registered
using addTest().
|
| Modifier and Type | Method and Description |
|---|---|
ValidationException[] |
PredicateMessageRule.apply(Message msg) |
| Constructor and Description |
|---|
PredicateMessageRule(Predicate predicate,
Expression<Message> expression)
Create a new message rule
|
| Modifier and Type | Method and Description |
|---|---|
ValidationException[] |
WrongVersionRule.apply(Message msg) |
ValidationException[] |
OnlyKnownSegmentsRule.apply(Message msg) |
ValidationException[] |
OnlyAllowableSegmentsInSuperstructureRule.apply(Message msg) |
ValidationException[] |
ChoiceElementsRespectedRule.apply(Message theValue) |
| Modifier and Type | Method and Description |
|---|---|
ValidationException[] |
ConformanceProfileRule.apply(Message msg) |
ValidationException[] |
AbstractMessageRule.test(Message msg) |
| Modifier and Type | Method and Description |
|---|---|
Message |
TreePanel.getMessage()
Deprecated.
Returns the message that is currently displayed in the tree panel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TreePanel.setMessage(Message message)
Deprecated.
Updates the panel with a new Message.
|
static void |
TreePanel.showInNewWindow(Message message)
Deprecated.
A convenience method for displaying a message by creating a new
TreePanel and displaying the given message in a new window.
|
Copyright © 2001-2013 University Health Network. All Rights Reserved.