Package ca.uhn.hl7v2.model.v24.group
Class OML_O21_ORDER
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractGroup
ca.uhn.hl7v2.model.v24.group.OML_O21_ORDER
- All Implemented Interfaces:
Group,Structure,Visitable,Serializable
Represents a OML_O21_ORDER 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: ORC (Common Order)
- 2: OML_O21_OBSERVATION_REQUEST (a Group object) optional
- 3: FT1 (Financial Transaction) optional repeating
- 4: CTI (Clinical Trial Identification) optional repeating
- 5: BLG (Billing) optional
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
ConstructorsConstructorDescriptionOML_O21_ORDER(Group parent, ModelClassFactory factory) Creates a new OML_O21_ORDER group -
Method Summary
Modifier and TypeMethodDescriptiongetBLG()Returns BLG (Billing) - creates it if necessarygetCTI()Returns the first repetition of CTI (Clinical Trial Identification) - creates it if necessarygetCTI(int rep) Returns a specific repetition of CTI (Clinical Trial Identification) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of CTI.intReturns the number of existing repetitions of CTIgetFT1()Returns the first repetition of FT1 (Financial Transaction) - creates it if necessarygetFT1(int rep) Returns a specific repetition of FT1 (Financial Transaction) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of FT1.intReturns the number of existing repetitions of FT1Returns OBSERVATION_REQUEST (a Group object) - creates it if necessarygetORC()Returns ORC (Common Order) - creates it if necessaryReturns "2.4"insertCTI(int rep) Inserts a specific repetition of CTI (Clinical Trial Identification)voidInserts a specific repetition of CTI (Clinical Trial Identification)insertFT1(int rep) Inserts a specific repetition of FT1 (Financial Transaction)voidInserts a specific repetition of FT1 (Financial Transaction)removeCTI(int rep) Removes a specific repetition of CTI (Clinical Trial Identification)removeFT1(int rep) Removes a specific repetition of FT1 (Financial Transaction)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
-
OML_O21_ORDER
Creates a new OML_O21_ORDER group
-
-
Method Details
-
getVersion
Returns "2.4" -
getORC
Returns ORC (Common Order) - creates it if necessary -
getOBSERVATION_REQUEST
Returns OBSERVATION_REQUEST (a Group object) - creates it if necessary -
getFT1
Returns the first repetition of FT1 (Financial Transaction) - creates it if necessary -
getFT1
Returns a specific repetition of FT1 (Financial Transaction) - 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.
-
getFT1Reps
Returns the number of existing repetitions of FT1 -
getFT1All
Returns a non-modifiable List containing all current existing repetitions of FT1.
Note that unlike
getFT1(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertFT1
Inserts a specific repetition of FT1 (Financial Transaction)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertFT1
Inserts a specific repetition of FT1 (Financial Transaction)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeFT1
Removes a specific repetition of FT1 (Financial Transaction)- Throws:
HL7Exception- See Also:
-
getCTI
Returns the first repetition of CTI (Clinical Trial Identification) - creates it if necessary -
getCTI
Returns a specific repetition of CTI (Clinical Trial Identification) - 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.
-
getCTIReps
Returns the number of existing repetitions of CTI -
getCTIAll
Returns a non-modifiable List containing all current existing repetitions of CTI.
Note that unlike
getCTI(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertCTI
Inserts a specific repetition of CTI (Clinical Trial Identification)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertCTI
Inserts a specific repetition of CTI (Clinical Trial Identification)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeCTI
Removes a specific repetition of CTI (Clinical Trial Identification)- Throws:
HL7Exception- See Also:
-
getBLG
Returns BLG (Billing) - creates it if necessary
-