public class VAR extends AbstractSegment
Represents an HL7 VAR message segment (Variance). This segment has the following fields:
log
Constructor and Description |
---|
VAR(Group parent,
ModelClassFactory factory)
Creates a new VAR segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
DTM |
getDocumentedDateTime()
Returns
VAR-2: "Documented Date/Time" - creates it if necessary
|
DTM |
getStatedVarianceDateTime()
Returns
VAR-3: "Stated Variance Date/Time" - creates it if necessary
|
EI |
getVar1_VarianceInstanceID()
Returns
VAR-1: "Variance Instance ID" - creates it if necessary
|
DTM |
getVar2_DocumentedDateTime()
Returns
VAR-2: "Documented Date/Time" - creates it if necessary
|
DTM |
getVar3_StatedVarianceDateTime()
Returns
VAR-3: "Stated Variance Date/Time" - creates it if necessary
|
XCN[] |
getVar4_VarianceOriginator()
Returns all repetitions of Variance Originator (VAR-4).
|
XCN |
getVar4_VarianceOriginator(int rep)
Returns a specific repetition of
VAR-4: "Variance Originator" - creates it if necessary
|
int |
getVar4_VarianceOriginatorReps()
Returns a count of the current number of repetitions of Variance Originator (VAR-4).
|
CWE |
getVar5_VarianceClassification()
Returns
VAR-5: "Variance Classification" - creates it if necessary
|
ST[] |
getVar6_VarianceDescription()
Returns all repetitions of Variance Description (VAR-6).
|
ST |
getVar6_VarianceDescription(int rep)
Returns a specific repetition of
VAR-6: "Variance Description" - creates it if necessary
|
int |
getVar6_VarianceDescriptionReps()
Returns a count of the current number of repetitions of Variance Description (VAR-6).
|
CWE |
getVarianceClassification()
Returns
VAR-5: "Variance Classification" - creates it if necessary
|
ST[] |
getVarianceDescription()
Returns all repetitions of Variance Description (VAR-6).
|
ST |
getVarianceDescription(int rep)
Returns a specific repetition of
VAR-6: "Variance Description" - creates it if necessary
|
int |
getVarianceDescriptionReps()
Returns a count of the current number of repetitions of Variance Description (VAR-6).
|
EI |
getVarianceInstanceID()
Returns
VAR-1: "Variance Instance ID" - creates it if necessary
|
XCN[] |
getVarianceOriginator()
Returns all repetitions of Variance Originator (VAR-4).
|
XCN |
getVarianceOriginator(int rep)
Returns a specific repetition of
VAR-4: "Variance Originator" - creates it if necessary
|
int |
getVarianceOriginatorReps()
Returns a count of the current number of repetitions of Variance Originator (VAR-4).
|
XCN |
insertVar4_VarianceOriginator(int rep)
Inserts a repetition of
VAR-4: "Variance Originator" at a specific index
|
ST |
insertVar6_VarianceDescription(int rep)
Inserts a repetition of
VAR-6: "Variance Description" at a specific index
|
ST |
insertVarianceDescription(int rep)
Inserts a repetition of
VAR-6: "Variance Description" at a specific index
|
XCN |
insertVarianceOriginator(int rep)
Inserts a repetition of
VAR-4: "Variance Originator" at a specific index
|
XCN |
removeVar4_VarianceOriginator(int rep)
Removes a repetition of
VAR-4: "Variance Originator" at a specific index
|
ST |
removeVar6_VarianceDescription(int rep)
Removes a repetition of
VAR-6: "Variance Description" at a specific index
|
ST |
removeVarianceDescription(int rep)
Removes a repetition of
VAR-6: "Variance Description" at a specific index
|
XCN |
removeVarianceOriginator(int rep)
Removes a repetition of
VAR-4: "Variance Originator" at a specific index
|
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetition
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public VAR(Group parent, ModelClassFactory factory)
public EI getVarianceInstanceID()
public EI getVar1_VarianceInstanceID()
public DTM getDocumentedDateTime()
public DTM getVar2_DocumentedDateTime()
public DTM getStatedVarianceDateTime()
public DTM getVar3_StatedVarianceDateTime()
public XCN[] getVarianceOriginator()
public XCN[] getVar4_VarianceOriginator()
public int getVarianceOriginatorReps()
public XCN getVarianceOriginator(int rep)
rep
- The repetition index (0-indexed)public XCN getVar4_VarianceOriginator(int rep)
rep
- The repetition index (0-indexed)public int getVar4_VarianceOriginatorReps()
public XCN insertVarianceOriginator(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public XCN insertVar4_VarianceOriginator(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public XCN removeVarianceOriginator(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public XCN removeVar4_VarianceOriginator(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CWE getVarianceClassification()
public CWE getVar5_VarianceClassification()
public ST[] getVarianceDescription()
public ST[] getVar6_VarianceDescription()
public int getVarianceDescriptionReps()
public ST getVarianceDescription(int rep)
rep
- The repetition index (0-indexed)public ST getVar6_VarianceDescription(int rep)
rep
- The repetition index (0-indexed)public int getVar6_VarianceDescriptionReps()
public ST insertVarianceDescription(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public ST insertVar6_VarianceDescription(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public ST removeVarianceDescription(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public ST removeVar6_VarianceDescription(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.