Uses of Interface
ca.uhn.hl7v2.model.Message
Packages that use Message
Package
Description
-
Uses of Message in ca.uhn.hl7v2
Methods in ca.uhn.hl7v2 with type parameters of type MessageModifier and TypeMethodDescription<T extends Message>
TDefaultHapiContext.newMessage(Class<T> clazz) <T extends Message>
THapiContext.newMessage(Class<T> clazz) Creates a new message of the provided message structure class, without further initializing the messageMethods in ca.uhn.hl7v2 that return MessageModifier and TypeMethodDescriptionAbstractHL7Exception.getResponseMessage()DefaultHapiContext.newMessage(String eventType, String triggerEvent, Version version) HapiContext.newMessage(String eventType, String triggerEvent, Version version) Creates a new message of the given event type, trigger and version, and initializes the message headerAbstractHL7Exception.populateResponse(Message emptyResponse, AcknowledgmentCode acknowledgmentCode, int repetition) Populates the generated response based on this exception.Methods in ca.uhn.hl7v2 with parameters of type MessageModifier and TypeMethodDescriptionAbstractHL7Exception.populateResponse(Message emptyResponse, AcknowledgmentCode acknowledgmentCode, int repetition) Populates the generated response based on this exception.voidAbstractHL7Exception.setResponseMessage(Message responseMessage) -
Uses of Message in ca.uhn.hl7v2.app
Classes in ca.uhn.hl7v2.app with type parameters of type MessageModifier and TypeInterfaceDescriptioninterfaceApplication<T extends Message>From an HL7 messaging perspective, an Application is a consumer of a messages.interfaceApplicationExceptionHandler<T extends Message>The Interface ApplicationExceptionHandler.Methods in ca.uhn.hl7v2.app that return MessageModifier and TypeMethodDescriptionstatic MessageDeprecated.static MessageDeprecated.usegenerateACK()Application.processMessage(T in) Uses the contents of the message for whatever purpose the Application has for this message, and returns an appropriate response message.DefaultApplication.processMessage(Message theMessage, Map<String, Object> theMetadata) ActiveInitiator.sendAndReceive(Message out) Sends a message to a responder system, receives the reply, and returns the reply as a Message object.Initiator.sendAndReceive(Message outgoing) Sends a message to a server and waits for the responseMethods in ca.uhn.hl7v2.app with parameters of type MessageModifier and TypeMethodDescriptionbooleanDefaultApplication.canProcess(Message in) Returns true.voidAcceptApplication.fillDetails(Message ack) Supplies details of application accept (AA) acknowledgement.static MessageDeprecated.usegenerateACK()DefaultApplication.processMessage(Message theMessage, Map<String, Object> theMetadata) ActiveInitiator.sendAndReceive(Message out) Sends a message to a responder system, receives the reply, and returns the reply as a Message object.Initiator.sendAndReceive(Message outgoing) Sends a message to a server and waits for the responseMethod parameters in ca.uhn.hl7v2.app with type arguments of type MessageModifier and TypeMethodDescriptionvoidHL7Service.registerApplication(ApplicationRouter.AppRoutingData appRouting, ReceivingApplication<? extends Message> application) Registers the given application to handle messages corresponding to ALL message types and trigger events.voidHL7Service.registerApplication(ReceivingApplication<? extends Message> application) Registers the given application to handle messages corresponding to ALL message types and trigger events.booleanHL7Service.unregisterApplication(ReceivingApplication<? extends Message> application) Unregisteres the passed application -
Uses of Message in ca.uhn.hl7v2.conf.check
Methods in ca.uhn.hl7v2.conf.check with parameters of type MessageModifier and TypeMethodDescriptionValidates the given message against the given static definition from a conformance profile. -
Uses of Message in ca.uhn.hl7v2.model
Classes in ca.uhn.hl7v2.model that implement MessageModifier and TypeClassDescriptionclassA default implementation of Message.classBase class for aSuperStructuremessage.classA generic HL7 message, meant for parsing message with unrecognized structures into a flat list of segments.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classMethods in ca.uhn.hl7v2.model that return MessageModifier and TypeMethodDescriptionAbstractMessage.fillResponseHeader(Message out, AcknowledgmentCode code) Populates certain required fields in a response message header, using information from the corresponding inbound 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".AbstractMessage.generateACK(AcknowledgmentCode theAcknowledgementCode, HL7Exception theException) Generates and returns an ACK message which would be used to acknowledge this message successfully.AbstractMessage.generateACK(String theAcknowledgementCode, HL7Exception theException) Deprecated.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.generateACK(AcknowledgmentCode theAcknowlegementCode, HL7Exception theException) Generates and returns an ACK message which would be used to acknowledge this message successfully.Message.generateACK(String theAcknowldegementCode, HL7Exception theException) Deprecated.AbstractMessage.getMessage()Returns this Message object.AbstractStructure.getMessage()Returns the parent group within which this structure exists (may be root message group).AbstractType.getMessage()ExtraComponents.getMessage()Structure.getMessage()Returns the Message object to which this structure belongs.Type.getMessage()Varies.getMessage()static MessageUnmodifiable.unmodifiableMessage(HapiContext context, String s) Parses the string to anUnmodifiable.UnmodifiableMessageusing the specific HapiContext.static MessageUnmodifiable.unmodifiableMessage(Message msg) Returns an unmodifiable wrapper around the message.Methods in ca.uhn.hl7v2.model that return types with arguments of type MessageModifier and TypeMethodDescriptionGenericMessage.getGenericMessageClass(String version) Returns a subclass of GenericMessage corresponding to a certain version.Methods in ca.uhn.hl7v2.model with parameters of type MessageModifier and TypeMethodDescriptionbooleanbooleanLeaves a messagebooleanAbstractMessage.fillResponseHeader(Message out, AcknowledgmentCode code) Populates certain required fields in a response message header, using information from the corresponding inbound message.booleanbooleanEnters a messagebooleanstatic MessageUnmodifiable.unmodifiableMessage(Message msg) Returns an unmodifiable wrapper around the message.Constructors in ca.uhn.hl7v2.model with parameters of type MessageModifierConstructorDescriptionAbstractComposite(Message message) AbstractPrimitive(Message message) AbstractType(Message message) Creates a new instance of AbstractTypeExtraComponents(Message message) GenericComposite(Message message) Creates a generic compositeGenericPrimitive(Message message) Create a generic primitiveCreates new Varies. -
Uses of Message in ca.uhn.hl7v2.model.composite
Constructors in ca.uhn.hl7v2.model.composite with parameters of type Message -
Uses of Message in ca.uhn.hl7v2.model.primitive
Constructors in ca.uhn.hl7v2.model.primitive with parameters of type MessageModifierConstructorDescriptionAbstractTextPrimitive(Message theMessage) ConstructorIDWithNamespace(Message theMessage, String theHl7Version, String theNamespace, int theTable) IDWithNamespace(Message theMessage, String theHl7Version, String theNamespace, Integer theTable) ISWithNamespace(Message theMessage, String theHl7Version, String theNamespace, int theTable) ConstructorISWithNamespace(Message theMessage, String theHl7Version, String theNamespace, Integer theTable) ConstructorConstructorTSComponentOne(Message theMessage) -
Uses of Message in ca.uhn.hl7v2.model.v21.datatype
Constructors in ca.uhn.hl7v2.model.v21.datatype with parameters of type Message -
Uses of Message in ca.uhn.hl7v2.model.v22.datatype
Constructors in ca.uhn.hl7v2.model.v22.datatype with parameters of type Message -
Uses of Message in ca.uhn.hl7v2.model.v23.datatype
Constructors in ca.uhn.hl7v2.model.v23.datatype with parameters of type Message -
Uses of Message in ca.uhn.hl7v2.model.v231.datatype
Constructors in ca.uhn.hl7v2.model.v231.datatype with parameters of type Message -
Uses of Message in ca.uhn.hl7v2.model.v24.datatype
Constructors in ca.uhn.hl7v2.model.v24.datatype with parameters of type Message -
Uses of Message in ca.uhn.hl7v2.model.v25.datatype
Constructors in ca.uhn.hl7v2.model.v25.datatype with parameters of type MessageModifierConstructorDescription -
Uses of Message in ca.uhn.hl7v2.model.v251.datatype
Constructors in ca.uhn.hl7v2.model.v251.datatype with parameters of type MessageModifierConstructorDescriptionConstructor -
Uses of Message in ca.uhn.hl7v2.model.v26.datatype
Constructors in ca.uhn.hl7v2.model.v26.datatype with parameters of type MessageModifierConstructorDescriptionConstructor -
Uses of Message in ca.uhn.hl7v2.model.v27.datatype
Constructors in ca.uhn.hl7v2.model.v27.datatype with parameters of type MessageModifierConstructorDescriptionConstructor -
Uses of Message in ca.uhn.hl7v2.model.v271.datatype
Constructors in ca.uhn.hl7v2.model.v271.datatype with parameters of type MessageModifierConstructorDescriptionConstructor -
Uses of Message in ca.uhn.hl7v2.model.v28.datatype
Constructors in ca.uhn.hl7v2.model.v28.datatype with parameters of type MessageModifierConstructorDescriptionConstructor -
Uses of Message in ca.uhn.hl7v2.model.v281.datatype
Constructors in ca.uhn.hl7v2.model.v281.datatype with parameters of type MessageModifierConstructorDescriptionConstructor -
Uses of Message in ca.uhn.hl7v2.parser
Methods in ca.uhn.hl7v2.parser that return MessageModifier and TypeMethodDescriptionprotected MessageParses a message string and returns the corresponding Message object.protected abstract MessageCalled by parse() to perform implementation-specific parsing work.protected MessageParses a message string and returns the corresponding Message object.protected MessageParses a message string and returns the corresponding Message object.protected MessageGenericParser.doParseForSpecificPackage(String theMessage, String theVersion, String thePackageName) protected abstract MessageParser.doParseForSpecificPackage(String message, String version, String packageName) Attempt the parse a message using a specific model packageprotected MessagePipeParser.doParseForSpecificPackage(String message, String version, String packageName) Attempt the parse a message using a specific model packageprotected MessageXMLParser.doParseForSpecificPackage(String theMessage, String theVersion, String thePackageName) Throws unsupported operation exceptionprotected MessageParser.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 MessageParser.instantiateMessageInASpecificPackage(String theName, String theVersion, boolean isExplicit, String packageName) Instantiate a message type using a specific package nameParses a message string and returns the corresponding Message object.Parses a message string and returns the corresponding Message object.Parses a message string and returns the corresponding Message object.DefaultXMLParser.parseDocument(Document xmlMessage, String version) Creates and populates a Message object from an XML Document that contains an XML-encoded HL7 message.abstract MessageXMLParser.parseDocument(Document xmlMessage, String version) Creates and populates a Message object from an XML Document that contains an XML-encoded HL7 message.Parser.parseForSpecificPackage(String message, String packageName) Parse a message using a specific model package instead of the default, usingModelClassFactory.getMessageClassInASpecificPackage(String, String, boolean, String).Methods in ca.uhn.hl7v2.parser that return types with arguments of type MessageModifier and TypeMethodDescriptionCanonicalModelClassFactory.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.CustomModelClassFactory.getMessageClass(String name, String version, boolean isExplicit) 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.GenericModelClassFactory.getMessageClass(String theName, String theVersion, boolean theIsExplicit) ModelClassFactory.getMessageClass(String theName, String theVersion, boolean isExplicit) CustomModelClassFactory.getMessageClassInASpecificPackage(String theName, String theVersion, boolean theIsExplicit, String thePackageName) 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.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.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.Methods in ca.uhn.hl7v2.parser with parameters of type MessageModifier and TypeMethodDescriptionprotected voidParser.applySuperStructureName(Message theMessage) protected StringFormats a Message object into an HL7 message string using this parser's default encoding.protected StringFormats a Message object into an HL7 message string using the given encoding.protected abstract StringCalled by encode(Message) to perform implementation-specific encoding work.protected abstract StringCalled by encode(Message, String) to perform implementation-specific encoding work.protected StringFormats a Message object into an HL7 message string using this parser's default encoding ("VB").protected StringFormats a Message object into an HL7 message string using the given encoding.protected StringFormats a Message object into an HL7 message string using this parser's default encoding (XML encoding).protected StringFormats a Message object into an HL7 message string using the given encoding.Formats a Message object into an HL7 message string using this parser's default encoding.Formats a Message object into an HL7 message string using the given encoding.Formats a Message object into an HL7 message string using this parser's default encoding.DefaultXMLParser.encodeDocument(Message source) Creates an XML Document that corresponds to the given Message object.abstract DocumentXMLParser.encodeDocument(Message source) Creates an XML Document that corresponds to the given Message object.static EncodingCharactersEncodingCharacters.getInstance(Message message) Returns an instance using the MSH-1 and MSH-2 values of the given messagevoidParses a particular message and returns the encoded structurevoidabstract voidParses a particular message and returns the encoded structurevoidConstructors in ca.uhn.hl7v2.parser with parameters of type MessageModifierConstructorDescriptionMessageIterator(Message start, IStructureDefinition startDefinition, String direction, boolean handleUnexpectedSegments) Creates a new instance of MessageIteratorConstructor parameters in ca.uhn.hl7v2.parser with type arguments of type MessageModifierConstructorDescriptionCanonicalModelClassFactory(Class<? extends Message> theClass) Constructor for a model class factory which always returns the same message type. -
Uses of Message in ca.uhn.hl7v2.protocol
Classes in ca.uhn.hl7v2.protocol with type parameters of type MessageModifier and TypeInterfaceDescriptioninterfaceReceivingApplication<T extends Message>From an HL7 messaging perspective, a ReceivingApplication is a consumer of a messages.Methods in ca.uhn.hl7v2.protocol that return MessageModifier and TypeMethodDescriptionApplicationWrapper.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.ReceivingApplication.processMessage(T 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.Initiator.sendAndReceive(Message theMessage) Encodes a message, sends it to a remote system, awaits the response, parses it, and returns it.Methods in ca.uhn.hl7v2.protocol with parameters of type MessageModifier and TypeMethodDescriptionbooleanApplicationWrapper.canProcess(Message theMessage) 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.Initiator.sendAndReceive(Message theMessage) Encodes a message, sends it to a remote system, awaits the response, parses it, and returns it.Method parameters in ca.uhn.hl7v2.protocol with type arguments of type MessageModifier and TypeMethodDescriptionvoidApplicationRouter.bindApplication(ApplicationRouter.AppRoutingData theRoutingData, ReceivingApplication<? extends Message> theApplication) Associates the given application with the given message parameters, so that messages with matching parameters will be sent there.booleanApplicationRouter.unbindApplication(ReceivingApplication<? extends Message> theApplication) Removes the binding for the given message parameters -
Uses of Message in ca.uhn.hl7v2.protocol.impl
Classes in ca.uhn.hl7v2.protocol.impl with type parameters of type MessageModifier and TypeClassDescriptionclassClassBasedReceivingApplication<T extends Message>Support class that allows process messages of the parameterized typeMethods in ca.uhn.hl7v2.protocol.impl that return MessageModifier and TypeMethodDescriptionAppWrapper.processMessage(Message theMessage, Map<String, Object> theMetadata) InitiatorImpl.sendAndReceive(Message theMessage) Methods in ca.uhn.hl7v2.protocol.impl with parameters of type MessageModifier and TypeMethodDescriptionbooleanAppWrapper.canProcess(Message theMessage) static voidParseChecker.checkParse(String originalMessageText, Message parsedMessage, Parser parser) Encodes the given message and compares it to the given string.AppWrapper.processMessage(Message theMessage, Map<String, Object> theMetadata) InitiatorImpl.sendAndReceive(Message theMessage) Method parameters in ca.uhn.hl7v2.protocol.impl with type arguments of type MessageModifier and TypeMethodDescriptionvoidApplicationRouterImpl.bindApplication(ApplicationRouter.AppRoutingData theRoutingData, ReceivingApplication<? extends Message> theApplication) booleanApplicationRouterImpl.unbindApplication(ReceivingApplication<? extends Message> theApplication) -
Uses of Message in ca.uhn.hl7v2.util
Methods in ca.uhn.hl7v2.util with type parameters of type MessageModifier and TypeMethodDescriptionstatic <T extends Message>
TReflectionUtil.instantiateMessage(Class<T> theType, ModelClassFactory theModelClassFactory) Methods in ca.uhn.hl7v2.util that return MessageMethods in ca.uhn.hl7v2.util with parameters of type MessageMethod parameters in ca.uhn.hl7v2.util with type arguments of type MessageModifier and TypeMethodDescriptionvoidHl7InputStreamMessageIterator.setMessageType(Class<? extends Message> theMessageType) If set (default isnull), all messages will be parsed into instances of this type.Constructors in ca.uhn.hl7v2.util with parameters of type Message -
Uses of Message in ca.uhn.hl7v2.validation
Methods in ca.uhn.hl7v2.validation that return MessageModifier and TypeMethodDescriptionprotected MessageRespondingValidationExceptionHandler.generateResponseMessage(Object request) Generates an empty response message.final MessageRespondingValidationExceptionHandler.result()Returns the generated response message.Methods in ca.uhn.hl7v2.validation that return types with arguments of type MessageModifier and TypeMethodDescriptionRespondingValidationExceptionHandler.getNewInstance(HapiContext context) Methods in ca.uhn.hl7v2.validation with parameters of type MessageModifier and TypeMethodDescriptionprotected voidRespondingValidationExceptionHandler.populateResponseMessage(Message response) Populates the generated response based on the collectedValidationExceptions.Tests the given (fully populated) message against the criteria defined by this rule class.CallsAbstractValidator.initializeHandler()to obtain a default instance of aValidationExceptionHandlerbefore starting the validation.AbstractValidator.validate(Message message, ValidationExceptionHandler<R> handler) Validates aMessageValidator.validate(Message message, ValidationExceptionHandler<R> handler) Validates aMessageusing a customValidationExceptionHandler. -
Uses of Message in ca.uhn.hl7v2.validation.builder
Methods in ca.uhn.hl7v2.validation.builder with parameters of type MessageConstructor parameters in ca.uhn.hl7v2.validation.builder with type arguments of type MessageModifierConstructorDescriptionPredicateMessageRule(Predicate predicate, Expression<Message> expression) Create a new message rule -
Uses of Message in ca.uhn.hl7v2.validation.builder.support
Methods in ca.uhn.hl7v2.validation.builder.support with parameters of type MessageModifier and TypeMethodDescription -
Uses of Message in ca.uhn.hl7v2.validation.impl
Methods in ca.uhn.hl7v2.validation.impl with parameters of type MessageModifier and TypeMethodDescription
generateACK()