public class ADD extends Segment
The ADD segment is used to define the continuation of the prior segment in a continuation message.
Represents an HL7 ADD message segment. This segment has the following fields:
ADD-1: Addendum Continuation Pointer (ST)Optional
This class provides mechanism to validate message against HL7 v 2.8.2 standard. The class provides accessors & mutators for the elements mentioned above. The class has validate method which validates Message against HL7 v 2.8.2 standard.
User can also create Segment through SegmentFactory
| Constructor and Description |
|---|
ADD()
Constructs the ADD segment.
|
| Modifier and Type | Method and Description |
|---|---|
ST |
getAddendumContinuationPointer()
Retrieves the Addendum Continuation Pointer which defines the continuation of the prior segment in a continuation message
|
void |
setAddendumContinuationPointer(ST addendumContinuationPointer)
Sets the Addendum Continuation Pointer which defines the continuation of the prior segment in a continuation message
|
void |
setAddendumContinuationPointer(java.lang.String strAddendumContinuationPointer)
Sets the Addendum Continuation Pointer which defines the continuation of the prior segment in a continuation message
|
boolean |
validate()
Validates HL7 Message objects .
|
addUnRecognizedField, dumpSegment, getFields, getName, getUnrecognizedFields, moveToNextSegment, parse, removeDataElement, removeDataElement, serialize, setName, setUnRecognizedField, updateDataElement, updateDataElement, writeToXMLpublic ST getAddendumContinuationPointer()
public void setAddendumContinuationPointer(java.lang.String strAddendumContinuationPointer)
strAddendumContinuationPointer - Contains the addendum continuation pointer.public void setAddendumContinuationPointer(ST addendumContinuationPointer)
addendumContinuationPointer - Contains the addendum continuation pointer.public boolean validate()
throws InvalidSegmentException
validate in interface ISegmentvalidate in class SegmentInvalidSegmentException - Thrown when Segment Validation Fails.