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) |
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).
|
CWE |
getCommentType()
Returns
NTE-4: "Comment Type" - creates it if necessary
|
DTM |
getEffectiveStartDate()
Returns
NTE-7: "Effective Start Date" - creates it if necessary
|
XCN |
getEnteredBy()
Returns
NTE-5: "Entered By" - creates it if necessary
|
DTM |
getEnteredDateTime()
Returns
NTE-6: "Entered Date/Time" - creates it if necessary
|
DTM |
getExpirationDate()
Returns
NTE-8: "Expiration Date" - 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()
Returns all repetitions of Comment (NTE-3).
|
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).
|
CWE |
getNte4_CommentType()
Returns
NTE-4: "Comment Type" - creates it if necessary
|
XCN |
getNte5_EnteredBy()
Returns
NTE-5: "Entered By" - creates it if necessary
|
DTM |
getNte6_EnteredDateTime()
Returns
NTE-6: "Entered Date/Time" - creates it if necessary
|
DTM |
getNte7_EffectiveStartDate()
Returns
NTE-7: "Effective Start Date" - creates it if necessary
|
DTM |
getNte8_ExpirationDate()
Returns
NTE-8: "Expiration Date" - 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
|
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetition
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public NTE(Group parent, ModelClassFactory factory)
public SI getSetIDNTE()
public SI getNte1_SetIDNTE()
public ID getSourceOfComment()
public ID getNte2_SourceOfComment()
public FT[] getComment()
public FT[] getNte3_Comment()
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 CWE getCommentType()
public CWE getNte4_CommentType()
public XCN getEnteredBy()
public XCN getNte5_EnteredBy()
public DTM getEnteredDateTime()
public DTM getNte6_EnteredDateTime()
public DTM getEffectiveStartDate()
public DTM getNte7_EffectiveStartDate()
public DTM getExpirationDate()
public DTM getNte8_ExpirationDate()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.