public class PAC extends AbstractSegment
Represents an HL7 PAC message segment (Shipment Package). This segment has the following fields:
log
Constructor and Description |
---|
PAC(Group parent,
ModelClassFactory factory)
Creates a new PAC segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
SI |
getPac1_SetIdPAC()
Returns
PAC-1: "Set Id - PAC" - creates it if necessary
|
EI |
getPac2_PackageID()
Returns
PAC-2: "Package ID" - creates it if necessary
|
EI |
getPac3_ParentPackageID()
Returns
PAC-3: "Parent Package ID" - creates it if necessary
|
NA |
getPac4_PositionInParentPackage()
Returns
PAC-4: "Position in Parent Package" - creates it if necessary
|
CWE |
getPac5_PackageType()
Returns
PAC-5: "Package Type" - creates it if necessary
|
CWE[] |
getPac6_PackageCondition()
Returns all repetitions of Package Condition (PAC-6).
|
CWE |
getPac6_PackageCondition(int rep)
Returns a specific repetition of
PAC-6: "Package Condition" - creates it if necessary
|
int |
getPac6_PackageConditionReps()
Returns a count of the current number of repetitions of Package Condition (PAC-6).
|
CWE[] |
getPac7_PackageHandlingCode()
Returns all repetitions of Package Handling Code (PAC-7).
|
CWE |
getPac7_PackageHandlingCode(int rep)
Returns a specific repetition of
PAC-7: "Package Handling Code" - creates it if necessary
|
int |
getPac7_PackageHandlingCodeReps()
Returns a count of the current number of repetitions of Package Handling Code (PAC-7).
|
CWE[] |
getPac8_PackageRiskCode()
Returns all repetitions of Package Risk Code (PAC-8).
|
CWE |
getPac8_PackageRiskCode(int rep)
Returns a specific repetition of
PAC-8: "Package Risk Code" - creates it if necessary
|
int |
getPac8_PackageRiskCodeReps()
Returns a count of the current number of repetitions of Package Risk Code (PAC-8).
|
CWE[] |
getPackageCondition()
Returns all repetitions of Package Condition (PAC-6).
|
CWE |
getPackageCondition(int rep)
Returns a specific repetition of
PAC-6: "Package Condition" - creates it if necessary
|
int |
getPackageConditionReps()
Returns a count of the current number of repetitions of Package Condition (PAC-6).
|
CWE[] |
getPackageHandlingCode()
Returns all repetitions of Package Handling Code (PAC-7).
|
CWE |
getPackageHandlingCode(int rep)
Returns a specific repetition of
PAC-7: "Package Handling Code" - creates it if necessary
|
int |
getPackageHandlingCodeReps()
Returns a count of the current number of repetitions of Package Handling Code (PAC-7).
|
EI |
getPackageID()
Returns
PAC-2: "Package ID" - creates it if necessary
|
CWE[] |
getPackageRiskCode()
Returns all repetitions of Package Risk Code (PAC-8).
|
CWE |
getPackageRiskCode(int rep)
Returns a specific repetition of
PAC-8: "Package Risk Code" - creates it if necessary
|
int |
getPackageRiskCodeReps()
Returns a count of the current number of repetitions of Package Risk Code (PAC-8).
|
CWE |
getPackageType()
Returns
PAC-5: "Package Type" - creates it if necessary
|
EI |
getParentPackageID()
Returns
PAC-3: "Parent Package ID" - creates it if necessary
|
NA |
getPositionInParentPackage()
Returns
PAC-4: "Position in Parent Package" - creates it if necessary
|
SI |
getSetIdPAC()
Returns
PAC-1: "Set Id - PAC" - creates it if necessary
|
CWE |
insertPac6_PackageCondition(int rep)
Inserts a repetition of
PAC-6: "Package Condition" at a specific index
|
CWE |
insertPac7_PackageHandlingCode(int rep)
Inserts a repetition of
PAC-7: "Package Handling Code" at a specific index
|
CWE |
insertPac8_PackageRiskCode(int rep)
Inserts a repetition of
PAC-8: "Package Risk Code" at a specific index
|
CWE |
insertPackageCondition(int rep)
Inserts a repetition of
PAC-6: "Package Condition" at a specific index
|
CWE |
insertPackageHandlingCode(int rep)
Inserts a repetition of
PAC-7: "Package Handling Code" at a specific index
|
CWE |
insertPackageRiskCode(int rep)
Inserts a repetition of
PAC-8: "Package Risk Code" at a specific index
|
CWE |
removePac6_PackageCondition(int rep)
Removes a repetition of
PAC-6: "Package Condition" at a specific index
|
CWE |
removePac7_PackageHandlingCode(int rep)
Removes a repetition of
PAC-7: "Package Handling Code" at a specific index
|
CWE |
removePac8_PackageRiskCode(int rep)
Removes a repetition of
PAC-8: "Package Risk Code" at a specific index
|
CWE |
removePackageCondition(int rep)
Removes a repetition of
PAC-6: "Package Condition" at a specific index
|
CWE |
removePackageHandlingCode(int rep)
Removes a repetition of
PAC-7: "Package Handling Code" at a specific index
|
CWE |
removePackageRiskCode(int rep)
Removes a repetition of
PAC-8: "Package Risk Code" 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 PAC(Group parent, ModelClassFactory factory)
public SI getSetIdPAC()
public SI getPac1_SetIdPAC()
public EI getPackageID()
public EI getPac2_PackageID()
public EI getParentPackageID()
public EI getPac3_ParentPackageID()
public NA getPositionInParentPackage()
public NA getPac4_PositionInParentPackage()
public CWE getPackageType()
public CWE getPac5_PackageType()
public CWE[] getPackageCondition()
public CWE[] getPac6_PackageCondition()
public int getPackageConditionReps()
public CWE getPackageCondition(int rep)
rep
- The repetition index (0-indexed)public CWE getPac6_PackageCondition(int rep)
rep
- The repetition index (0-indexed)public int getPac6_PackageConditionReps()
public CWE insertPackageCondition(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 insertPac6_PackageCondition(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 removePackageCondition(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 removePac6_PackageCondition(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[] getPackageHandlingCode()
public CWE[] getPac7_PackageHandlingCode()
public int getPackageHandlingCodeReps()
public CWE getPackageHandlingCode(int rep)
rep
- The repetition index (0-indexed)public CWE getPac7_PackageHandlingCode(int rep)
rep
- The repetition index (0-indexed)public int getPac7_PackageHandlingCodeReps()
public CWE insertPackageHandlingCode(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 insertPac7_PackageHandlingCode(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 removePackageHandlingCode(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 removePac7_PackageHandlingCode(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[] getPackageRiskCode()
public CWE[] getPac8_PackageRiskCode()
public int getPackageRiskCodeReps()
public CWE getPackageRiskCode(int rep)
rep
- The repetition index (0-indexed)public CWE getPac8_PackageRiskCode(int rep)
rep
- The repetition index (0-indexed)public int getPac8_PackageRiskCodeReps()
public CWE insertPackageRiskCode(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 insertPac8_PackageRiskCode(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 removePackageRiskCode(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 removePac8_PackageRiskCode(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.