public class NTE extends AbstractSegment
Represents an HL7 NTE message segment (NOTES AND COMMENTS). This segment has the following fields:
log| Constructor and Description |
|---|
NTE(Group parent,
ModelClassFactory factory)
Creates a new NTE segment
|
| Modifier and Type | Method and Description |
|---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
TX[] |
getCOMMENT()
Returns all repetitions of COMMENT (NTE-3).
|
TX |
getCOMMENT(int rep)
Returns a specific repetition of
NTE-3: "COMMENT" - creates it if necessary
|
int |
getCOMMENTReps()
Returns a count of the current number of repetitions of COMMENT (NTE-3).
|
SI |
getNte1_SETIDNOTESANDCOMMENTS()
Returns
NTE-1: "SET ID - NOTES AND COMMENTS" - creates it if necessary
|
ID |
getNte2_SOURCEOFCOMMENT()
Returns
NTE-2: "SOURCE OF COMMENT" - creates it if necessary
|
TX[] |
getNte3_COMMENT()
Returns all repetitions of COMMENT (NTE-3).
|
TX |
getNte3_COMMENT(int rep)
Returns a specific repetition of
NTE-3: "COMMENT" - creates it if necessary
|
int |
getNte3_COMMENTReps()
Returns a count of the current number of repetitions of COMMENT (NTE-3).
|
SI |
getSETIDNOTESANDCOMMENTS()
Returns
NTE-1: "SET ID - NOTES AND COMMENTS" - creates it if necessary
|
ID |
getSOURCEOFCOMMENT()
Returns
NTE-2: "SOURCE OF COMMENT" - creates it if necessary
|
TX |
insertCOMMENT(int rep)
Inserts a repetition of
NTE-3: "COMMENT" at a specific index
|
TX |
insertNte3_COMMENT(int rep)
Inserts a repetition of
NTE-3: "COMMENT" at a specific index
|
TX |
removeCOMMENT(int rep)
Removes a repetition of
NTE-3: "COMMENT" at a specific index
|
TX |
removeNte3_COMMENT(int rep)
Removes a repetition of
NTE-3: "COMMENT" at a specific index
|
add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isRequired, main, numFields, parse, removeRepetitiongetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic NTE(Group parent, ModelClassFactory factory)
public SI getSETIDNOTESANDCOMMENTS()
public SI getNte1_SETIDNOTESANDCOMMENTS()
public ID getSOURCEOFCOMMENT()
public ID getNte2_SOURCEOFCOMMENT()
public TX[] getCOMMENT()
public TX[] getNte3_COMMENT()
public int getCOMMENTReps()
public TX getCOMMENT(int rep)
rep - The repetition index (0-indexed)public TX getNte3_COMMENT(int rep)
rep - The repetition index (0-indexed)public int getNte3_COMMENTReps()
public TX insertCOMMENT(int rep) throws HL7Exception
rep - The repetition index (0-indexed)HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)public TX insertNte3_COMMENT(int rep) throws HL7Exception
rep - The repetition index (0-indexed)HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)public TX removeCOMMENT(int rep) throws HL7Exception
rep - The repetition index (0-indexed)HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)public TX removeNte3_COMMENT(int rep) throws HL7Exception
rep - The repetition index (0-indexed)HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection in class AbstractSegmentCopyright © 2001-2012 University Health Network. All Rights Reserved.