Class NMR_N02_CLOCK_AND_STATS_WITH_NOTES_ALT
- All Implemented Interfaces:
Group,Structure,Visitable,Serializable
Represents a NMR_N02_CLOCK_AND_STATS_WITH_NOTES_ALT group structure (a Group object). A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together. This Group contains the following elements:
- 1: NCK (System Clock) optional
- 2: NTE (NOTES AND COMMENTS) optional repeating
- 3: NST (Statistics) optional
- 4: NTE (NOTES AND COMMENTS) optional repeating
- 5: NSC (STATUS CHANGE) optional
- 6: NTE (NOTES AND COMMENTS) optional repeating
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
ConstructorsConstructorDescriptionNMR_N02_CLOCK_AND_STATS_WITH_NOTES_ALT(Group parent, ModelClassFactory factory) Creates a new NMR_N02_CLOCK_AND_STATS_WITH_NOTES_ALT group -
Method Summary
Modifier and TypeMethodDescriptiongetNCK()Returns NCK (System Clock) - creates it if necessarygetNSC()Returns NSC (STATUS CHANGE) - creates it if necessarygetNST()Returns NST (Statistics) - creates it if necessarygetNTE()Returns the first repetition of NTE (NOTES AND COMMENTS) - creates it if necessarygetNTE(int rep) Returns a specific repetition of NTE (NOTES AND COMMENTS) - creates it if necessarygetNTE2()Returns the first repetition of NTE2 (NOTES AND COMMENTS) - creates it if necessarygetNTE2(int rep) Returns a specific repetition of NTE (NOTES AND COMMENTS) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of NTE2.intReturns the number of existing repetitions of NTE2getNTE3()Returns the first repetition of NTE3 (NOTES AND COMMENTS) - creates it if necessarygetNTE3(int rep) Returns a specific repetition of NTE (NOTES AND COMMENTS) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of NTE3.intReturns the number of existing repetitions of NTE3Returns a non-modifiable List containing all current existing repetitions of NTE.intReturns the number of existing repetitions of NTEReturns "2.2"insertNTE(int rep) Inserts a specific repetition of NTE (NOTES AND COMMENTS)voidInserts a specific repetition of NTE (NOTES AND COMMENTS)insertNTE2(int rep) Inserts a specific repetition of NTE2 (NOTES AND COMMENTS)voidinsertNTE2(NTE structure, int rep) Inserts a specific repetition of NTE2 (NOTES AND COMMENTS)insertNTE3(int rep) Inserts a specific repetition of NTE3 (NOTES AND COMMENTS)voidinsertNTE3(NTE structure, int rep) Inserts a specific repetition of NTE3 (NOTES AND COMMENTS)removeNTE(int rep) Removes a specific repetition of NTE (NOTES AND COMMENTS)removeNTE2(int rep) Removes a specific repetition of NTE2 (NOTES AND COMMENTS)removeNTE3(int rep) Removes a specific repetition of NTE3 (NOTES AND COMMENTS)Methods inherited from class ca.uhn.hl7v2.model.AbstractGroup
accept, add, add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getName, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insert, insertRepetition, insertRepetition, isChoiceElement, isEmpty, isGroup, isRepeating, isRequired, provideLocation, removeRepetition, tryToInstantiateStructure, visitNestedStructuresMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
NMR_N02_CLOCK_AND_STATS_WITH_NOTES_ALT
Creates a new NMR_N02_CLOCK_AND_STATS_WITH_NOTES_ALT group
-
-
Method Details
-
getVersion
Returns "2.2" -
getNCK
Returns NCK (System Clock) - creates it if necessary -
getNTE
Returns the first repetition of NTE (NOTES AND COMMENTS) - creates it if necessary -
getNTE
Returns a specific repetition of NTE (NOTES AND COMMENTS) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getNTEReps
Returns the number of existing repetitions of NTE -
getNTEAll
Returns a non-modifiable List containing all current existing repetitions of NTE.
Note that unlike
getNTE(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertNTE
Inserts a specific repetition of NTE (NOTES AND COMMENTS)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertNTE
Inserts a specific repetition of NTE (NOTES AND COMMENTS)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeNTE
Removes a specific repetition of NTE (NOTES AND COMMENTS)- Throws:
HL7Exception- See Also:
-
getNST
Returns NST (Statistics) - creates it if necessary -
getNTE2
Returns the first repetition of NTE2 (NOTES AND COMMENTS) - creates it if necessary -
getNTE2
Returns a specific repetition of NTE (NOTES AND COMMENTS) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getNTE2Reps
Returns the number of existing repetitions of NTE2 -
getNTE2All
Returns a non-modifiable List containing all current existing repetitions of NTE2.
Note that unlike
getNTE2(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertNTE2
Inserts a specific repetition of NTE2 (NOTES AND COMMENTS)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertNTE2
Inserts a specific repetition of NTE2 (NOTES AND COMMENTS)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeNTE2
Removes a specific repetition of NTE2 (NOTES AND COMMENTS)- Throws:
HL7Exception- See Also:
-
getNSC
Returns NSC (STATUS CHANGE) - creates it if necessary -
getNTE3
Returns the first repetition of NTE3 (NOTES AND COMMENTS) - creates it if necessary -
getNTE3
Returns a specific repetition of NTE (NOTES AND COMMENTS) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getNTE3Reps
Returns the number of existing repetitions of NTE3 -
getNTE3All
Returns a non-modifiable List containing all current existing repetitions of NTE3.
Note that unlike
getNTE3(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertNTE3
Inserts a specific repetition of NTE3 (NOTES AND COMMENTS)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertNTE3
Inserts a specific repetition of NTE3 (NOTES AND COMMENTS)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeNTE3
Removes a specific repetition of NTE3 (NOTES AND COMMENTS)- Throws:
HL7Exception- See Also:
-