public class APR extends AbstractSegment
Represents an HL7 APR message segment (Appointment Preferences). This segment has the following fields:
log
Constructor and Description |
---|
APR(Group parent,
ModelClassFactory factory)
Creates a new APR segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
SCV[] |
getApr1_TimeSelectionCriteria()
Returns all repetitions of Time Selection Criteria (APR-1).
|
SCV |
getApr1_TimeSelectionCriteria(int rep)
Returns a specific repetition of
APR-1: "Time Selection Criteria" - creates it if necessary
|
int |
getApr1_TimeSelectionCriteriaReps()
Returns a count of the current number of repetitions of Time Selection Criteria (APR-1).
|
SCV[] |
getApr2_ResourceSelectionCriteria()
Returns all repetitions of Resource Selection Criteria (APR-2).
|
SCV |
getApr2_ResourceSelectionCriteria(int rep)
Returns a specific repetition of
APR-2: "Resource Selection Criteria" - creates it if necessary
|
int |
getApr2_ResourceSelectionCriteriaReps()
Returns a count of the current number of repetitions of Resource Selection Criteria (APR-2).
|
SCV[] |
getApr3_LocationSelectionCriteria()
Returns all repetitions of Location Selection Criteria (APR-3).
|
SCV |
getApr3_LocationSelectionCriteria(int rep)
Returns a specific repetition of
APR-3: "Location Selection Criteria" - creates it if necessary
|
int |
getApr3_LocationSelectionCriteriaReps()
Returns a count of the current number of repetitions of Location Selection Criteria (APR-3).
|
NM |
getApr4_SlotSpacingCriteria()
Returns
APR-4: "Slot Spacing Criteria" - creates it if necessary
|
SCV[] |
getApr5_FillerOverrideCriteria()
Returns all repetitions of Filler Override Criteria (APR-5).
|
SCV |
getApr5_FillerOverrideCriteria(int rep)
Returns a specific repetition of
APR-5: "Filler Override Criteria" - creates it if necessary
|
int |
getApr5_FillerOverrideCriteriaReps()
Returns a count of the current number of repetitions of Filler Override Criteria (APR-5).
|
SCV[] |
getFillerOverrideCriteria()
Returns all repetitions of Filler Override Criteria (APR-5).
|
SCV |
getFillerOverrideCriteria(int rep)
Returns a specific repetition of
APR-5: "Filler Override Criteria" - creates it if necessary
|
int |
getFillerOverrideCriteriaReps()
Returns a count of the current number of repetitions of Filler Override Criteria (APR-5).
|
SCV[] |
getLocationSelectionCriteria()
Returns all repetitions of Location Selection Criteria (APR-3).
|
SCV |
getLocationSelectionCriteria(int rep)
Returns a specific repetition of
APR-3: "Location Selection Criteria" - creates it if necessary
|
int |
getLocationSelectionCriteriaReps()
Returns a count of the current number of repetitions of Location Selection Criteria (APR-3).
|
SCV[] |
getResourceSelectionCriteria()
Returns all repetitions of Resource Selection Criteria (APR-2).
|
SCV |
getResourceSelectionCriteria(int rep)
Returns a specific repetition of
APR-2: "Resource Selection Criteria" - creates it if necessary
|
int |
getResourceSelectionCriteriaReps()
Returns a count of the current number of repetitions of Resource Selection Criteria (APR-2).
|
NM |
getSlotSpacingCriteria()
Returns
APR-4: "Slot Spacing Criteria" - creates it if necessary
|
SCV[] |
getTimeSelectionCriteria()
Returns all repetitions of Time Selection Criteria (APR-1).
|
SCV |
getTimeSelectionCriteria(int rep)
Returns a specific repetition of
APR-1: "Time Selection Criteria" - creates it if necessary
|
int |
getTimeSelectionCriteriaReps()
Returns a count of the current number of repetitions of Time Selection Criteria (APR-1).
|
SCV |
insertApr1_TimeSelectionCriteria(int rep)
Inserts a repetition of
APR-1: "Time Selection Criteria" at a specific index
|
SCV |
insertApr2_ResourceSelectionCriteria(int rep)
Inserts a repetition of
APR-2: "Resource Selection Criteria" at a specific index
|
SCV |
insertApr3_LocationSelectionCriteria(int rep)
Inserts a repetition of
APR-3: "Location Selection Criteria" at a specific index
|
SCV |
insertApr5_FillerOverrideCriteria(int rep)
Inserts a repetition of
APR-5: "Filler Override Criteria" at a specific index
|
SCV |
insertFillerOverrideCriteria(int rep)
Inserts a repetition of
APR-5: "Filler Override Criteria" at a specific index
|
SCV |
insertLocationSelectionCriteria(int rep)
Inserts a repetition of
APR-3: "Location Selection Criteria" at a specific index
|
SCV |
insertResourceSelectionCriteria(int rep)
Inserts a repetition of
APR-2: "Resource Selection Criteria" at a specific index
|
SCV |
insertTimeSelectionCriteria(int rep)
Inserts a repetition of
APR-1: "Time Selection Criteria" at a specific index
|
SCV |
removeApr1_TimeSelectionCriteria(int rep)
Removes a repetition of
APR-1: "Time Selection Criteria" at a specific index
|
SCV |
removeApr2_ResourceSelectionCriteria(int rep)
Removes a repetition of
APR-2: "Resource Selection Criteria" at a specific index
|
SCV |
removeApr3_LocationSelectionCriteria(int rep)
Removes a repetition of
APR-3: "Location Selection Criteria" at a specific index
|
SCV |
removeApr5_FillerOverrideCriteria(int rep)
Removes a repetition of
APR-5: "Filler Override Criteria" at a specific index
|
SCV |
removeFillerOverrideCriteria(int rep)
Removes a repetition of
APR-5: "Filler Override Criteria" at a specific index
|
SCV |
removeLocationSelectionCriteria(int rep)
Removes a repetition of
APR-3: "Location Selection Criteria" at a specific index
|
SCV |
removeResourceSelectionCriteria(int rep)
Removes a repetition of
APR-2: "Resource Selection Criteria" at a specific index
|
SCV |
removeTimeSelectionCriteria(int rep)
Removes a repetition of
APR-1: "Time Selection Criteria" 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 APR(Group parent, ModelClassFactory factory)
public SCV[] getTimeSelectionCriteria()
public SCV[] getApr1_TimeSelectionCriteria()
public int getTimeSelectionCriteriaReps()
public SCV getTimeSelectionCriteria(int rep)
rep
- The repetition index (0-indexed)public SCV getApr1_TimeSelectionCriteria(int rep)
rep
- The repetition index (0-indexed)public int getApr1_TimeSelectionCriteriaReps()
public SCV insertTimeSelectionCriteria(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 SCV insertApr1_TimeSelectionCriteria(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 SCV removeTimeSelectionCriteria(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 SCV removeApr1_TimeSelectionCriteria(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 SCV[] getResourceSelectionCriteria()
public SCV[] getApr2_ResourceSelectionCriteria()
public int getResourceSelectionCriteriaReps()
public SCV getResourceSelectionCriteria(int rep)
rep
- The repetition index (0-indexed)public SCV getApr2_ResourceSelectionCriteria(int rep)
rep
- The repetition index (0-indexed)public int getApr2_ResourceSelectionCriteriaReps()
public SCV insertResourceSelectionCriteria(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 SCV insertApr2_ResourceSelectionCriteria(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 SCV removeResourceSelectionCriteria(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 SCV removeApr2_ResourceSelectionCriteria(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 SCV[] getLocationSelectionCriteria()
public SCV[] getApr3_LocationSelectionCriteria()
public int getLocationSelectionCriteriaReps()
public SCV getLocationSelectionCriteria(int rep)
rep
- The repetition index (0-indexed)public SCV getApr3_LocationSelectionCriteria(int rep)
rep
- The repetition index (0-indexed)public int getApr3_LocationSelectionCriteriaReps()
public SCV insertLocationSelectionCriteria(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 SCV insertApr3_LocationSelectionCriteria(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 SCV removeLocationSelectionCriteria(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 SCV removeApr3_LocationSelectionCriteria(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 NM getSlotSpacingCriteria()
public NM getApr4_SlotSpacingCriteria()
public SCV[] getFillerOverrideCriteria()
public SCV[] getApr5_FillerOverrideCriteria()
public int getFillerOverrideCriteriaReps()
public SCV getFillerOverrideCriteria(int rep)
rep
- The repetition index (0-indexed)public SCV getApr5_FillerOverrideCriteria(int rep)
rep
- The repetition index (0-indexed)public int getApr5_FillerOverrideCriteriaReps()
public SCV insertFillerOverrideCriteria(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 SCV insertApr5_FillerOverrideCriteria(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 SCV removeFillerOverrideCriteria(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 SCV removeApr5_FillerOverrideCriteria(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.