Package ca.uhn.hl7v2.model.v24.group
Class RQC_I05_PROVIDER
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractGroup
ca.uhn.hl7v2.model.v24.group.RQC_I05_PROVIDER
- All Implemented Interfaces:
Group,Structure,Visitable,Serializable
Represents a RQC_I05_PROVIDER 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: PRD (Provider Data)
- 2: CTD (Contact Data) optional repeating
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
ConstructorsConstructorDescriptionRQC_I05_PROVIDER(Group parent, ModelClassFactory factory) Creates a new RQC_I05_PROVIDER group -
Method Summary
Modifier and TypeMethodDescriptiongetCTD()Returns the first repetition of CTD (Contact Data) - creates it if necessarygetCTD(int rep) Returns a specific repetition of CTD (Contact Data) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of CTD.intReturns the number of existing repetitions of CTDgetPRD()Returns PRD (Provider Data) - creates it if necessaryReturns "2.4"insertCTD(int rep) Inserts a specific repetition of CTD (Contact Data)voidInserts a specific repetition of CTD (Contact Data)removeCTD(int rep) Removes a specific repetition of CTD (Contact Data)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
-
RQC_I05_PROVIDER
Creates a new RQC_I05_PROVIDER group
-
-
Method Details
-
getVersion
Returns "2.4" -
getPRD
Returns PRD (Provider Data) - creates it if necessary -
getCTD
Returns the first repetition of CTD (Contact Data) - creates it if necessary -
getCTD
Returns a specific repetition of CTD (Contact Data) - 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.
-
getCTDReps
Returns the number of existing repetitions of CTD -
getCTDAll
Returns a non-modifiable List containing all current existing repetitions of CTD.
Note that unlike
getCTD(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertCTD
Inserts a specific repetition of CTD (Contact Data)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertCTD
Inserts a specific repetition of CTD (Contact Data)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeCTD
Removes a specific repetition of CTD (Contact Data)- Throws:
HL7Exception- See Also:
-