Class ADT_AXX
- All Implemented Interfaces:
Group,Message,Structure,SuperStructure,Visitable,Serializable
Represents a ADT_AXX message structure (see chapter ). This structure contains the following elements:
- 1: MSH ()
- Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37]
- 2: EVN ()
- Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37]
- 3: PID () optional
- Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37]
- 4: MRG () optional
- Used for the following structures: [ADT_A06, ADT_A07, ADT_A18, ADT_A30, ADT_A34, ADT_A35, ADT_A36]
- 5: NK1 () optional repeating
- Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]
- 6: PV1 () optional
- Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A37]
- 7: PV2 () optional
- Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33]
- 8: OBX () optional repeating
- Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33]
- 9: AL1 () optional repeating
- Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]
- 10: DG1 () optional repeating
- Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31]
- 11: PR1 () optional repeating
- Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]
- 12: GT1 () optional repeating
- Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]
- 13: ADT_AXX_INSURANCE () optional repeating
- 14: ACC () optional
- Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]
- 15: UB1 () optional
- Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]
- 16: UB2 () optional
- Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]
- 17: PID () optional
- Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
- 18: PV1 () optional
- Used for the following structures: [ADT_A17, ADT_A24, ADT_A37]
- 19: PV2 () optional
- Used for the following structures: [ADT_A17]
- 20: OBX () optional repeating
- Used for the following structures: [ADT_A17]
- 21: NPU () optional
- Used for the following structures: [ADT_A20]
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
ConstructorsConstructorDescriptionADT_AXX()Creates a new ADT_AXX message with DefaultModelClassFactory.ADT_AXX(ModelClassFactory factory) Creates a new ADT_AXX message with custom ModelClassFactory. -
Method Summary
Modifier and TypeMethodDescriptiongetACC()Returns ACC () - creates it if necessarygetAL1()Returns the first repetition of AL1 () - creates it if necessarygetAL1(int rep) Returns a specific repetition of AL1 () - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of AL1.intReturns the number of existing repetitions of AL1getChildNamesForStructure(String theStructure) getDG1()Returns the first repetition of DG1 () - creates it if necessarygetDG1(int rep) Returns a specific repetition of DG1 () - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of DG1.intReturns the number of existing repetitions of DG1getEVN()Returns EVN () - creates it if necessarygetGT1()Returns the first repetition of GT1 () - creates it if necessarygetGT1(int rep) Returns a specific repetition of GT1 () - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of GT1.intReturns the number of existing repetitions of GT1Returns the first repetition of INSURANCE () - creates it if necessarygetINSURANCE(int rep) Returns a specific repetition of INSURANCE () - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of INSURANCE.intReturns the number of existing repetitions of INSURANCEgetMRG()Returns MRG () - creates it if necessarygetMSH()Returns MSH () - creates it if necessarygetNK1()Returns the first repetition of NK1 () - creates it if necessarygetNK1(int rep) Returns a specific repetition of NK1 () - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of NK1.intReturns the number of existing repetitions of NK1getNPU()Returns NPU () - creates it if necessarygetOBX()Returns the first repetition of OBX () - creates it if necessarygetOBX(int rep) Returns a specific repetition of OBX () - creates it if necessarygetOBX2()Returns the first repetition of OBX2 () - creates it if necessarygetOBX2(int rep) Returns a specific repetition of OBX2 () - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of OBX2.intReturns the number of existing repetitions of OBX2Returns a non-modifiable List containing all current existing repetitions of OBX.intReturns the number of existing repetitions of OBXgetPID()Returns PID () - creates it if necessarygetPID2()Returns PID2 () - creates it if necessarygetPR1()Returns the first repetition of PR1 () - creates it if necessarygetPR1(int rep) Returns a specific repetition of PR1 () - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of PR1.intReturns the number of existing repetitions of PR1getPV1()Returns PV1 () - creates it if necessarygetPV12()Returns PV12 () - creates it if necessarygetPV2()Returns PV2 () - creates it if necessarygetPV22()Returns PV22 () - creates it if necessarygetUB1()Returns UB1 () - creates it if necessarygetUB2()Returns UB2 () - creates it if necessaryReturns "2.2"insertAL1(int rep) Inserts a specific repetition of AL1 ()voidInserts a specific repetition of AL1 ()insertDG1(int rep) Inserts a specific repetition of DG1 ()voidInserts a specific repetition of DG1 ()insertGT1(int rep) Inserts a specific repetition of GT1 ()voidInserts a specific repetition of GT1 ()insertINSURANCE(int rep) Inserts a specific repetition of INSURANCE ()voidinsertINSURANCE(ADT_AXX_INSURANCE structure, int rep) Inserts a specific repetition of INSURANCE ()insertNK1(int rep) Inserts a specific repetition of NK1 ()voidInserts a specific repetition of NK1 ()insertOBX(int rep) Inserts a specific repetition of OBX ()voidInserts a specific repetition of OBX ()insertOBX2(int rep) Inserts a specific repetition of OBX2 ()voidinsertOBX2(OBX structure, int rep) Inserts a specific repetition of OBX2 ()insertPR1(int rep) Inserts a specific repetition of PR1 ()voidInserts a specific repetition of PR1 ()removeAL1(int rep) Removes a specific repetition of AL1 ()removeDG1(int rep) Removes a specific repetition of DG1 ()removeGT1(int rep) Removes a specific repetition of GT1 ()removeINSURANCE(int rep) Removes a specific repetition of INSURANCE ()removeNK1(int rep) Removes a specific repetition of NK1 ()removeOBX(int rep) Removes a specific repetition of OBX ()removeOBX2(int rep) Removes a specific repetition of OBX2 ()removePR1(int rep) Removes a specific repetition of PR1 ()Methods inherited from class ca.uhn.hl7v2.model.AbstractSuperMessage
addSuperstructureApplication, getName, getStructuresWhichChildAppliesTo, setNameMethods inherited from class ca.uhn.hl7v2.model.AbstractMessage
accept, copy, encode, fillResponseHeader, generateACK, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParent, getParser, getValidationContext, initQuickstart, parse, printStructure, printStructure, setParser, toStringMethods inherited from class ca.uhn.hl7v2.model.AbstractGroup
add, add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insert, insertRepetition, insertRepetition, isChoiceElement, isEmpty, isGroup, isRepeating, isRequired, provideLocation, removeRepetition, tryToInstantiateStructure, visitNestedStructuresMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Group
addNonstandardSegment, addNonstandardSegment, get, get, getAll, getClass, getNames, isChoiceElement, isGroup, isRepeating, isRequiredMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParentMethods inherited from interface ca.uhn.hl7v2.model.SuperStructure
getNonStandardNamesMethods inherited from interface ca.uhn.hl7v2.model.Visitable
accept, isEmpty, provideLocation
-
Constructor Details
-
ADT_AXX
public ADT_AXX()Creates a new ADT_AXX message with DefaultModelClassFactory. -
ADT_AXX
Creates a new ADT_AXX message with custom ModelClassFactory.
-
-
Method Details
-
getChildNamesForStructure
-
getVersion
Returns "2.2"- Specified by:
getVersionin interfaceMessage- Overrides:
getVersionin classAbstractMessage
-
getMSH
Returns MSH () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37] -
getEVN
Returns EVN () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A20, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37] -
getPID
Returns PID () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A30, ADT_A31, ADT_A32, ADT_A33, ADT_A34, ADT_A35, ADT_A36, ADT_A37] -
getMRG
Returns MRG () - creates it if necessary
Used for the following structures: [ADT_A06, ADT_A07, ADT_A18, ADT_A30, ADT_A34, ADT_A35, ADT_A36] -
getNK1
Returns the first repetition of NK1 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31] -
getNK1
Returns a specific repetition of NK1 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- 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.
-
getNK1Reps
Returns the number of existing repetitions of NK1
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31] -
getNK1All
Returns a non-modifiable List containing all current existing repetitions of NK1.
Note that unlike
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]getNK1(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertNK1
Inserts a specific repetition of NK1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertNK1
Inserts a specific repetition of NK1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeNK1
Removes a specific repetition of NK1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
getPV1
Returns PV1 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A18, ADT_A21, ADT_A22, ADT_A23, ADT_A24, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33, ADT_A37] -
getPV2
Returns PV2 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33] -
getOBX
Returns the first repetition of OBX () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33] -
getOBX
Returns a specific repetition of OBX () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33]- 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.
-
getOBXReps
Returns the number of existing repetitions of OBX
Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33] -
getOBXAll
Returns a non-modifiable List containing all current existing repetitions of OBX.
Note that unlike
Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33]getOBX(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertOBX
Inserts a specific repetition of OBX ()
Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertOBX
Inserts a specific repetition of OBX ()
Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeOBX
Removes a specific repetition of OBX ()
Used for the following structures: [ADT_A01, ADT_A02, ADT_A03, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A17, ADT_A21, ADT_A22, ADT_A23, ADT_A25, ADT_A26, ADT_A27, ADT_A28, ADT_A29, ADT_A31, ADT_A32, ADT_A33]- Throws:
HL7Exception- See Also:
-
getAL1
Returns the first repetition of AL1 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31] -
getAL1
Returns a specific repetition of AL1 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- 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.
-
getAL1Reps
Returns the number of existing repetitions of AL1
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31] -
getAL1All
Returns a non-modifiable List containing all current existing repetitions of AL1.
Note that unlike
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]getAL1(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertAL1
Inserts a specific repetition of AL1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertAL1
Inserts a specific repetition of AL1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeAL1
Removes a specific repetition of AL1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
getDG1
Returns the first repetition of DG1 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31] -
getDG1
Returns a specific repetition of DG1 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31]- 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.
-
getDG1Reps
Returns the number of existing repetitions of DG1
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31] -
getDG1All
Returns a non-modifiable List containing all current existing repetitions of DG1.
Note that unlike
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31]getDG1(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertDG1
Inserts a specific repetition of DG1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertDG1
Inserts a specific repetition of DG1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeDG1
Removes a specific repetition of DG1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A09, ADT_A10, ADT_A11, ADT_A12, ADT_A13, ADT_A14, ADT_A15, ADT_A16, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
getPR1
Returns the first repetition of PR1 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31] -
getPR1
Returns a specific repetition of PR1 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- 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.
-
getPR1Reps
Returns the number of existing repetitions of PR1
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31] -
getPR1All
Returns a non-modifiable List containing all current existing repetitions of PR1.
Note that unlike
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]getPR1(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertPR1
Inserts a specific repetition of PR1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertPR1
Inserts a specific repetition of PR1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removePR1
Removes a specific repetition of PR1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
getGT1
Returns the first repetition of GT1 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31] -
getGT1
Returns a specific repetition of GT1 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- 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.
-
getGT1Reps
Returns the number of existing repetitions of GT1
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31] -
getGT1All
Returns a non-modifiable List containing all current existing repetitions of GT1.
Note that unlike
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]getGT1(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertGT1
Inserts a specific repetition of GT1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertGT1
Inserts a specific repetition of GT1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeGT1
Removes a specific repetition of GT1 ()
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31]- Throws:
HL7Exception- See Also:
-
getINSURANCE
Returns the first repetition of INSURANCE () - creates it if necessary
-
getINSURANCE
Returns a specific repetition of INSURANCE () - 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.
-
getINSURANCEReps
Returns the number of existing repetitions of INSURANCE
-
getINSURANCEAll
Returns a non-modifiable List containing all current existing repetitions of INSURANCE.
Note that unlike
getINSURANCE(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertINSURANCE
Inserts a specific repetition of INSURANCE ()
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertINSURANCE
Inserts a specific repetition of INSURANCE ()
- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeINSURANCE
Removes a specific repetition of INSURANCE ()
- Throws:
HL7Exception- See Also:
-
getACC
Returns ACC () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31] -
getUB1
Returns UB1 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31] -
getUB2
Returns UB2 () - creates it if necessary
Used for the following structures: [ADT_A01, ADT_A04, ADT_A05, ADT_A06, ADT_A07, ADT_A08, ADT_A13, ADT_A14, ADT_A28, ADT_A31] -
getPID2
Returns PID2 () - creates it if necessary
Used for the following structures: [ADT_A17, ADT_A24, ADT_A37] -
getPV12
Returns PV12 () - creates it if necessary
Used for the following structures: [ADT_A17, ADT_A24, ADT_A37] -
getPV22
Returns PV22 () - creates it if necessary
Used for the following structures: [ADT_A17] -
getOBX2
Returns the first repetition of OBX2 () - creates it if necessary
Used for the following structures: [ADT_A17] -
getOBX2
Returns a specific repetition of OBX2 () - creates it if necessary
Used for the following structures: [ADT_A17]- 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.
-
getOBX2Reps
Returns the number of existing repetitions of OBX2
Used for the following structures: [ADT_A17] -
getOBX2All
Returns a non-modifiable List containing all current existing repetitions of OBX2.
Note that unlike
Used for the following structures: [ADT_A17]getOBX2(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertOBX2
Inserts a specific repetition of OBX2 ()
Used for the following structures: [ADT_A17]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertOBX2
Inserts a specific repetition of OBX2 ()
Used for the following structures: [ADT_A17]- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeOBX2
Removes a specific repetition of OBX2 ()
Used for the following structures: [ADT_A17]- Throws:
HL7Exception- See Also:
-
getNPU
Returns NPU () - creates it if necessary
Used for the following structures: [ADT_A20]
-