public class ARV extends AbstractSegment
Represents an HL7 ARV message segment (Access Restriction). This segment has the following fields:
log
Constructor and Description |
---|
ARV(Group parent,
ModelClassFactory factory)
Creates a new ARV segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CNE |
getAccessRestrictionActionCode()
Returns
ARV-2: "Access Restriction Action Code" - creates it if necessary
|
DR |
getAccessRestrictionDateRange()
Returns
ARV-6: "Access Restriction Date Range" - creates it if necessary
|
CWE[] |
getAccessRestrictionReason()
Returns all repetitions of Access Restriction Reason (ARV-4).
|
CWE |
getAccessRestrictionReason(int rep)
Returns a specific repetition of
ARV-4: "Access Restriction Reason" - creates it if necessary
|
int |
getAccessRestrictionReasonReps()
Returns a count of the current number of repetitions of Access Restriction Reason (ARV-4).
|
CWE |
getAccessRestrictionValue()
Returns
ARV-3: "Access Restriction Value" - creates it if necessary
|
SI |
getArv1_SetID()
Returns
ARV-1: "Set ID" - creates it if necessary
|
CNE |
getArv2_AccessRestrictionActionCode()
Returns
ARV-2: "Access Restriction Action Code" - creates it if necessary
|
CWE |
getArv3_AccessRestrictionValue()
Returns
ARV-3: "Access Restriction Value" - creates it if necessary
|
CWE[] |
getArv4_AccessRestrictionReason()
Returns all repetitions of Access Restriction Reason (ARV-4).
|
CWE |
getArv4_AccessRestrictionReason(int rep)
Returns a specific repetition of
ARV-4: "Access Restriction Reason" - creates it if necessary
|
int |
getArv4_AccessRestrictionReasonReps()
Returns a count of the current number of repetitions of Access Restriction Reason (ARV-4).
|
ST[] |
getArv5_SpecialAccessRestrictionInstructions()
Returns all repetitions of Special Access Restriction Instructions (ARV-5).
|
ST |
getArv5_SpecialAccessRestrictionInstructions(int rep)
Returns a specific repetition of
ARV-5: "Special Access Restriction Instructions" - creates it if necessary
|
int |
getArv5_SpecialAccessRestrictionInstructionsReps()
Returns a count of the current number of repetitions of Special Access Restriction Instructions (ARV-5).
|
DR |
getArv6_AccessRestrictionDateRange()
Returns
ARV-6: "Access Restriction Date Range" - creates it if necessary
|
SI |
getSetID()
Returns
ARV-1: "Set ID" - creates it if necessary
|
ST[] |
getSpecialAccessRestrictionInstructions()
Returns all repetitions of Special Access Restriction Instructions (ARV-5).
|
ST |
getSpecialAccessRestrictionInstructions(int rep)
Returns a specific repetition of
ARV-5: "Special Access Restriction Instructions" - creates it if necessary
|
int |
getSpecialAccessRestrictionInstructionsReps()
Returns a count of the current number of repetitions of Special Access Restriction Instructions (ARV-5).
|
CWE |
insertAccessRestrictionReason(int rep)
Inserts a repetition of
ARV-4: "Access Restriction Reason" at a specific index
|
CWE |
insertArv4_AccessRestrictionReason(int rep)
Inserts a repetition of
ARV-4: "Access Restriction Reason" at a specific index
|
ST |
insertArv5_SpecialAccessRestrictionInstructions(int rep)
Inserts a repetition of
ARV-5: "Special Access Restriction Instructions" at a specific index
|
ST |
insertSpecialAccessRestrictionInstructions(int rep)
Inserts a repetition of
ARV-5: "Special Access Restriction Instructions" at a specific index
|
CWE |
removeAccessRestrictionReason(int rep)
Removes a repetition of
ARV-4: "Access Restriction Reason" at a specific index
|
CWE |
removeArv4_AccessRestrictionReason(int rep)
Removes a repetition of
ARV-4: "Access Restriction Reason" at a specific index
|
ST |
removeArv5_SpecialAccessRestrictionInstructions(int rep)
Removes a repetition of
ARV-5: "Special Access Restriction Instructions" at a specific index
|
ST |
removeSpecialAccessRestrictionInstructions(int rep)
Removes a repetition of
ARV-5: "Special Access Restriction Instructions" 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 ARV(Group parent, ModelClassFactory factory)
public SI getArv1_SetID()
public CNE getAccessRestrictionActionCode()
public CNE getArv2_AccessRestrictionActionCode()
public CWE getAccessRestrictionValue()
public CWE getArv3_AccessRestrictionValue()
public CWE[] getAccessRestrictionReason()
public CWE[] getArv4_AccessRestrictionReason()
public int getAccessRestrictionReasonReps()
public CWE getAccessRestrictionReason(int rep)
rep
- The repetition index (0-indexed)public CWE getArv4_AccessRestrictionReason(int rep)
rep
- The repetition index (0-indexed)public int getArv4_AccessRestrictionReasonReps()
public CWE insertAccessRestrictionReason(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 insertArv4_AccessRestrictionReason(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 removeAccessRestrictionReason(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 removeArv4_AccessRestrictionReason(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[] getSpecialAccessRestrictionInstructions()
public ST[] getArv5_SpecialAccessRestrictionInstructions()
public int getSpecialAccessRestrictionInstructionsReps()
public ST getSpecialAccessRestrictionInstructions(int rep)
rep
- The repetition index (0-indexed)public ST getArv5_SpecialAccessRestrictionInstructions(int rep)
rep
- The repetition index (0-indexed)public int getArv5_SpecialAccessRestrictionInstructionsReps()
public ST insertSpecialAccessRestrictionInstructions(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 insertArv5_SpecialAccessRestrictionInstructions(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 removeSpecialAccessRestrictionInstructions(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 removeArv5_SpecialAccessRestrictionInstructions(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 DR getAccessRestrictionDateRange()
public DR getArv6_AccessRestrictionDateRange()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.