Package ca.uhn.hl7v2.protocol
Interface AcceptValidator
public interface AcceptValidator
Determines whether messages are acceptable for storage. See HL7 v2.5 chapter 2 for relevant specifications. In original-mode processing, validation at this level includes checking whether MSH-9, 11, and 12 have appropriate values.
In enhanced mode, the above checks are optional. Checking for syntactical correctness is also optional. However storage availability and interface status must be checked.
- Version:
- $Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:38 $ by $Author: jamesagnew $
- Author:
- Bryan Tripp
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents a decision regarding whether a message can be initially accepted for further processing. -
Method Summary
Modifier and TypeMethodDescriptioncheck(Transportable theMessage) Returns a ruling regarding whether the given message can be accepted for further processing (ie determines CE, CR, or CA for enhanced mode, and AR for original mode).
-
Method Details
-
check
Returns a ruling regarding whether the given message can be accepted for further processing (ie determines CE, CR, or CA for enhanced mode, and AR for original mode).- Parameters:
theMessage- the message to check for acceptability.- Returns:
-