Package ca.uhn.hl7v2.model.v24.segment
Class VAR
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.VAR
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 VAR message segment (Variance). This segment has the following fields:
- VAR-1: Variance Instance ID (EI)
- VAR-2: Documented Date/Time (TS)
- VAR-3: Stated Variance Date/Time (TS) optional
- VAR-4: Variance Originator (XCN) optional repeating
- VAR-5: Variance Classification (CE) optional
- VAR-6: Variance Description (ST) optional repeating
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns VAR-2: "Documented Date/Time" - creates it if necessaryReturns VAR-3: "Stated Variance Date/Time" - creates it if necessaryReturns VAR-1: "Variance Instance ID" - creates it if necessaryReturns VAR-2: "Documented Date/Time" - creates it if necessaryReturns VAR-3: "Stated Variance Date/Time" - creates it if necessaryXCN[]Returns all repetitions of Variance Originator (VAR-4).getVar4_VarianceOriginator(int rep) Returns a specific repetition of VAR-4: "Variance Originator" - creates it if necessaryintReturns a count of the current number of repetitions of Variance Originator (VAR-4).Returns VAR-5: "Variance Classification" - creates it if necessaryST[]Returns all repetitions of Variance Description (VAR-6).getVar6_VarianceDescription(int rep) Returns a specific repetition of VAR-6: "Variance Description" - creates it if necessaryintReturns a count of the current number of repetitions of Variance Description (VAR-6).Returns VAR-5: "Variance Classification" - creates it if necessaryST[]Returns all repetitions of Variance Description (VAR-6).getVarianceDescription(int rep) Returns a specific repetition of VAR-6: "Variance Description" - creates it if necessaryintReturns a count of the current number of repetitions of Variance Description (VAR-6).Returns VAR-1: "Variance Instance ID" - creates it if necessaryXCN[]Returns all repetitions of Variance Originator (VAR-4).getVarianceOriginator(int rep) Returns a specific repetition of VAR-4: "Variance Originator" - creates it if necessaryintReturns a count of the current number of repetitions of Variance Originator (VAR-4).insertVar4_VarianceOriginator(int rep) Inserts a repetition of VAR-4: "Variance Originator" at a specific indexinsertVar6_VarianceDescription(int rep) Inserts a repetition of VAR-6: "Variance Description" at a specific indexinsertVarianceDescription(int rep) Inserts a repetition of VAR-6: "Variance Description" at a specific indexinsertVarianceOriginator(int rep) Inserts a repetition of VAR-4: "Variance Originator" at a specific indexremoveVar4_VarianceOriginator(int rep) Removes a repetition of VAR-4: "Variance Originator" at a specific indexremoveVar6_VarianceDescription(int rep) Removes a repetition of VAR-6: "Variance Description" at a specific indexremoveVarianceDescription(int rep) Removes a repetition of VAR-6: "Variance Description" at a specific indexremoveVarianceOriginator(int rep) Removes a repetition of VAR-4: "Variance Originator" at a specific indexMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods 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
-
VAR
Creates a new VAR segment
-
-
Method Details
-
getVarianceInstanceID
Returns VAR-1: "Variance Instance ID" - creates it if necessary -
getVar1_VarianceInstanceID
Returns VAR-1: "Variance Instance ID" - creates it if necessary -
getDocumentedDateTime
Returns VAR-2: "Documented Date/Time" - creates it if necessary -
getVar2_DocumentedDateTime
Returns VAR-2: "Documented Date/Time" - creates it if necessary -
getStatedVarianceDateTime
Returns VAR-3: "Stated Variance Date/Time" - creates it if necessary -
getVar3_StatedVarianceDateTime
Returns VAR-3: "Stated Variance Date/Time" - creates it if necessary -
getVarianceOriginator
Returns all repetitions of Variance Originator (VAR-4). -
getVar4_VarianceOriginator
Returns all repetitions of Variance Originator (VAR-4). -
getVarianceOriginatorReps
Returns a count of the current number of repetitions of Variance Originator (VAR-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getVarianceOriginator
Returns a specific repetition of VAR-4: "Variance Originator" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getVar4_VarianceOriginator
Returns a specific repetition of VAR-4: "Variance Originator" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getVar4_VarianceOriginatorReps
Returns a count of the current number of repetitions of Variance Originator (VAR-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertVarianceOriginator
Inserts a repetition of VAR-4: "Variance Originator" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertVar4_VarianceOriginator
Inserts a repetition of VAR-4: "Variance Originator" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeVarianceOriginator
Removes a repetition of VAR-4: "Variance Originator" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeVar4_VarianceOriginator
Removes a repetition of VAR-4: "Variance Originator" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getVarianceClassification
Returns VAR-5: "Variance Classification" - creates it if necessary -
getVar5_VarianceClassification
Returns VAR-5: "Variance Classification" - creates it if necessary -
getVarianceDescription
Returns all repetitions of Variance Description (VAR-6). -
getVar6_VarianceDescription
Returns all repetitions of Variance Description (VAR-6). -
getVarianceDescriptionReps
Returns a count of the current number of repetitions of Variance Description (VAR-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getVarianceDescription
Returns a specific repetition of VAR-6: "Variance Description" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getVar6_VarianceDescription
Returns a specific repetition of VAR-6: "Variance Description" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getVar6_VarianceDescriptionReps
Returns a count of the current number of repetitions of Variance Description (VAR-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertVarianceDescription
Inserts a repetition of VAR-6: "Variance Description" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertVar6_VarianceDescription
Inserts a repetition of VAR-6: "Variance Description" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeVarianceDescription
Removes a repetition of VAR-6: "Variance Description" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeVar6_VarianceDescription
Removes a repetition of VAR-6: "Variance Description" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-