|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.NTE
public class NTE
Represents an HL7 NTE message segment (Notes and Comments). This segment has the following fields:
| Constructor Summary | |
|---|---|
NTE(Group parent,
ModelClassFactory factory)
Creates a new NTE segment |
|
| Method Summary | |
|---|---|
protected Type |
createNewTypeWithoutReflection(int field)
|
FT[] |
getComment()
Returns all repetitions of Comment (NTE-3). |
FT |
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). |
CE |
getCommentType()
Returns NTE-4: "Comment Type" - creates it if necessary |
SI |
getNte1_SetIDNTE()
Returns NTE-1: "Set ID - NTE" - creates it if necessary |
ID |
getNte2_SourceOfComment()
Returns NTE-2: "Source of Comment" - creates it if necessary |
FT |
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). |
CE |
getNte4_CommentType()
Returns NTE-4: "Comment Type" - creates it if necessary |
SI |
getSetIDNTE()
Returns NTE-1: "Set ID - NTE" - creates it if necessary |
ID |
getSourceOfComment()
Returns NTE-2: "Source of Comment" - creates it if necessary |
FT |
insertComment(int rep)
Inserts a repetition of NTE-3: "Comment" at a specific index |
FT |
insertNte3_Comment(int rep)
Inserts a repetition of NTE-3: "Comment" at a specific index |
FT |
removeComment(int rep)
Removes a repetition of NTE-3: "Comment" at a specific index |
FT |
removeNte3_Comment(int rep)
Removes a repetition of NTE-3: "Comment" at a specific index |
| Methods inherited from class ca.uhn.hl7v2.model.AbstractSegment |
|---|
add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getMessage, getName, getNames, getParent, insertRepetition, isRequired, main, numFields, parse, removeRepetition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NTE(Group parent,
ModelClassFactory factory)
| Method Detail |
|---|
public SI getSetIDNTE()
public SI getNte1_SetIDNTE()
public ID getSourceOfComment()
public ID getNte2_SourceOfComment()
public FT[] getComment()
public int getCommentReps()
public FT getComment(int rep)
rep - The repetition index (0-indexed)public FT getNte3_Comment(int rep)
rep - The repetition index (0-indexed)public int getNte3_CommentReps()
public FT 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 FT 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 FT 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 FT 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)public CE getCommentType()
public CE getNte4_CommentType()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection in class AbstractSegment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||