public class RDT extends Segment
The RDT segment contains the row data of the tabular data response message (TBR).
Represents an HL7 RDT message segment. This segment has the following fields:
RDT-1: Column Value (varies)Required
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 |
|---|
RDT()
Constructs the RDT segment.
|
| Modifier and Type | Method and Description |
|---|---|
ISingleCollection<IDataType> |
getColumnValue()
Retrieves the Data Type Column Value.
|
int |
parse(java.lang.String strSegmentStream,
IDelimiter objIDelimiter)
Parses HL7 Segment Strings from any Stream into HL7 Segment object.
|
int |
serialize(IHL7Stream objIHL7Stream,
IDelimiter objIDelimiter)
Serializes HL7 Message objects.
|
void |
setColumnValues(ISingleCollection<IDataType> objColumnValues)
Set the Data Type Column Value.
|
boolean |
validate()
Validates HL7 Message objects .
|
addUnRecognizedField, dumpSegment, getFields, getName, getUnrecognizedFields, moveToNextSegment, removeDataElement, removeDataElement, setName, setUnRecognizedField, updateDataElement, updateDataElement, writeToXMLpublic ISingleCollection<IDataType> getColumnValue()
public void setColumnValues(ISingleCollection<IDataType> objColumnValues)
objColumnValues - Use as ColumnValues.public int parse(java.lang.String strSegmentStream,
IDelimiter objIDelimiter)
throws InvalidSegmentException,
java.io.IOException
parse in interface ISegmentparse in class SegmentstrSegmentStream - String of HL7Stream.objIDelimiter - Object of class Delimiter.InvalidSegmentException - Thrown when Segment Validation Fails.java.io.IOException - Signals that an I/O exception of some sort has occurred.public int serialize(IHL7Stream objIHL7Stream, IDelimiter objIDelimiter) throws SerializeException, java.io.IOException
serialize in interface ISegmentserialize in class SegmentobjIHL7Stream - Object of HL7Stream classobjIDelimiter - Object of Delimiter class present as inner class in MSG classSerializeException - Thrown when serialization of Message fails.java.io.IOException - Signals that an I/O exception of some sort has occurred.public boolean validate()
throws InvalidSegmentException
validate in interface ISegmentvalidate in class SegmentInvalidSegmentException - Throws when Segment Validation fails.