public class SHP extends AbstractSegment
Represents an HL7 SHP message segment (Shipment). This segment has the following fields:
log
Constructor and Description |
---|
SHP(Group parent,
ModelClassFactory factory)
Creates a new SHP segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
EI[] |
getInternalShipmentID()
Returns all repetitions of Internal Shipment ID (SHP-2).
|
EI |
getInternalShipmentID(int rep)
Returns a specific repetition of
SHP-2: "Internal Shipment ID" - creates it if necessary
|
int |
getInternalShipmentIDReps()
Returns a count of the current number of repetitions of Internal Shipment ID (SHP-2).
|
NM |
getNumberOfPackagesInShipment()
Returns
SHP-8: "Number of Packages in Shipment" - creates it if necessary
|
CWE[] |
getShipmentCondition()
Returns all repetitions of Shipment Condition (SHP-9).
|
CWE |
getShipmentCondition(int rep)
Returns a specific repetition of
SHP-9: "Shipment Condition" - creates it if necessary
|
int |
getShipmentConditionReps()
Returns a count of the current number of repetitions of Shipment Condition (SHP-9).
|
CWE[] |
getShipmentConfidentiality()
Returns all repetitions of Shipment Confidentiality (SHP-7).
|
CWE |
getShipmentConfidentiality(int rep)
Returns a specific repetition of
SHP-7: "Shipment Confidentiality" - creates it if necessary
|
int |
getShipmentConfidentialityReps()
Returns a count of the current number of repetitions of Shipment Confidentiality (SHP-7).
|
CWE[] |
getShipmentHandlingCode()
Returns all repetitions of Shipment Handling Code (SHP-10).
|
CWE |
getShipmentHandlingCode(int rep)
Returns a specific repetition of
SHP-10: "Shipment Handling Code" - creates it if necessary
|
int |
getShipmentHandlingCodeReps()
Returns a count of the current number of repetitions of Shipment Handling Code (SHP-10).
|
EI |
getShipmentID()
Returns
SHP-1: "Shipment ID" - creates it if necessary
|
CWE |
getShipmentPriority()
Returns
SHP-6: "Shipment Priority" - creates it if necessary
|
CWE[] |
getShipmentRiskCode()
Returns all repetitions of Shipment Risk Code (SHP-11).
|
CWE |
getShipmentRiskCode(int rep)
Returns a specific repetition of
SHP-11: "Shipment Risk Code" - creates it if necessary
|
int |
getShipmentRiskCodeReps()
Returns a count of the current number of repetitions of Shipment Risk Code (SHP-11).
|
CWE |
getShipmentStatus()
Returns
SHP-3: "Shipment Status" - creates it if necessary
|
DTM |
getShipmentStatusDateTime()
Returns
SHP-4: "Shipment Status Date/Time" - creates it if necessary
|
TX |
getShipmentStatusReason()
Returns
SHP-5: "Shipment Status Reason" - creates it if necessary
|
EI |
getShp1_ShipmentID()
Returns
SHP-1: "Shipment ID" - creates it if necessary
|
CWE[] |
getShp10_ShipmentHandlingCode()
Returns all repetitions of Shipment Handling Code (SHP-10).
|
CWE |
getShp10_ShipmentHandlingCode(int rep)
Returns a specific repetition of
SHP-10: "Shipment Handling Code" - creates it if necessary
|
int |
getShp10_ShipmentHandlingCodeReps()
Returns a count of the current number of repetitions of Shipment Handling Code (SHP-10).
|
CWE[] |
getShp11_ShipmentRiskCode()
Returns all repetitions of Shipment Risk Code (SHP-11).
|
CWE |
getShp11_ShipmentRiskCode(int rep)
Returns a specific repetition of
SHP-11: "Shipment Risk Code" - creates it if necessary
|
int |
getShp11_ShipmentRiskCodeReps()
Returns a count of the current number of repetitions of Shipment Risk Code (SHP-11).
|
EI[] |
getShp2_InternalShipmentID()
Returns all repetitions of Internal Shipment ID (SHP-2).
|
EI |
getShp2_InternalShipmentID(int rep)
Returns a specific repetition of
SHP-2: "Internal Shipment ID" - creates it if necessary
|
int |
getShp2_InternalShipmentIDReps()
Returns a count of the current number of repetitions of Internal Shipment ID (SHP-2).
|
CWE |
getShp3_ShipmentStatus()
Returns
SHP-3: "Shipment Status" - creates it if necessary
|
DTM |
getShp4_ShipmentStatusDateTime()
Returns
SHP-4: "Shipment Status Date/Time" - creates it if necessary
|
TX |
getShp5_ShipmentStatusReason()
Returns
SHP-5: "Shipment Status Reason" - creates it if necessary
|
CWE |
getShp6_ShipmentPriority()
Returns
SHP-6: "Shipment Priority" - creates it if necessary
|
CWE[] |
getShp7_ShipmentConfidentiality()
Returns all repetitions of Shipment Confidentiality (SHP-7).
|
CWE |
getShp7_ShipmentConfidentiality(int rep)
Returns a specific repetition of
SHP-7: "Shipment Confidentiality" - creates it if necessary
|
int |
getShp7_ShipmentConfidentialityReps()
Returns a count of the current number of repetitions of Shipment Confidentiality (SHP-7).
|
NM |
getShp8_NumberOfPackagesInShipment()
Returns
SHP-8: "Number of Packages in Shipment" - creates it if necessary
|
CWE[] |
getShp9_ShipmentCondition()
Returns all repetitions of Shipment Condition (SHP-9).
|
CWE |
getShp9_ShipmentCondition(int rep)
Returns a specific repetition of
SHP-9: "Shipment Condition" - creates it if necessary
|
int |
getShp9_ShipmentConditionReps()
Returns a count of the current number of repetitions of Shipment Condition (SHP-9).
|
EI |
insertInternalShipmentID(int rep)
Inserts a repetition of
SHP-2: "Internal Shipment ID" at a specific index
|
CWE |
insertShipmentCondition(int rep)
Inserts a repetition of
SHP-9: "Shipment Condition" at a specific index
|
CWE |
insertShipmentConfidentiality(int rep)
Inserts a repetition of
SHP-7: "Shipment Confidentiality" at a specific index
|
CWE |
insertShipmentHandlingCode(int rep)
Inserts a repetition of
SHP-10: "Shipment Handling Code" at a specific index
|
CWE |
insertShipmentRiskCode(int rep)
Inserts a repetition of
SHP-11: "Shipment Risk Code" at a specific index
|
CWE |
insertShp10_ShipmentHandlingCode(int rep)
Inserts a repetition of
SHP-10: "Shipment Handling Code" at a specific index
|
CWE |
insertShp11_ShipmentRiskCode(int rep)
Inserts a repetition of
SHP-11: "Shipment Risk Code" at a specific index
|
EI |
insertShp2_InternalShipmentID(int rep)
Inserts a repetition of
SHP-2: "Internal Shipment ID" at a specific index
|
CWE |
insertShp7_ShipmentConfidentiality(int rep)
Inserts a repetition of
SHP-7: "Shipment Confidentiality" at a specific index
|
CWE |
insertShp9_ShipmentCondition(int rep)
Inserts a repetition of
SHP-9: "Shipment Condition" at a specific index
|
EI |
removeInternalShipmentID(int rep)
Removes a repetition of
SHP-2: "Internal Shipment ID" at a specific index
|
CWE |
removeShipmentCondition(int rep)
Removes a repetition of
SHP-9: "Shipment Condition" at a specific index
|
CWE |
removeShipmentConfidentiality(int rep)
Removes a repetition of
SHP-7: "Shipment Confidentiality" at a specific index
|
CWE |
removeShipmentHandlingCode(int rep)
Removes a repetition of
SHP-10: "Shipment Handling Code" at a specific index
|
CWE |
removeShipmentRiskCode(int rep)
Removes a repetition of
SHP-11: "Shipment Risk Code" at a specific index
|
CWE |
removeShp10_ShipmentHandlingCode(int rep)
Removes a repetition of
SHP-10: "Shipment Handling Code" at a specific index
|
CWE |
removeShp11_ShipmentRiskCode(int rep)
Removes a repetition of
SHP-11: "Shipment Risk Code" at a specific index
|
EI |
removeShp2_InternalShipmentID(int rep)
Removes a repetition of
SHP-2: "Internal Shipment ID" at a specific index
|
CWE |
removeShp7_ShipmentConfidentiality(int rep)
Removes a repetition of
SHP-7: "Shipment Confidentiality" at a specific index
|
CWE |
removeShp9_ShipmentCondition(int rep)
Removes a repetition of
SHP-9: "Shipment Condition" 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 SHP(Group parent, ModelClassFactory factory)
public EI getShipmentID()
public EI getShp1_ShipmentID()
public EI[] getInternalShipmentID()
public EI[] getShp2_InternalShipmentID()
public int getInternalShipmentIDReps()
public EI getInternalShipmentID(int rep)
rep
- The repetition index (0-indexed)public EI getShp2_InternalShipmentID(int rep)
rep
- The repetition index (0-indexed)public int getShp2_InternalShipmentIDReps()
public EI insertInternalShipmentID(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 EI insertShp2_InternalShipmentID(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 EI removeInternalShipmentID(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 EI removeShp2_InternalShipmentID(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 getShipmentStatus()
public CWE getShp3_ShipmentStatus()
public DTM getShipmentStatusDateTime()
public DTM getShp4_ShipmentStatusDateTime()
public TX getShipmentStatusReason()
public TX getShp5_ShipmentStatusReason()
public CWE getShipmentPriority()
public CWE getShp6_ShipmentPriority()
public CWE[] getShipmentConfidentiality()
public CWE[] getShp7_ShipmentConfidentiality()
public int getShipmentConfidentialityReps()
public CWE getShipmentConfidentiality(int rep)
rep
- The repetition index (0-indexed)public CWE getShp7_ShipmentConfidentiality(int rep)
rep
- The repetition index (0-indexed)public int getShp7_ShipmentConfidentialityReps()
public CWE insertShipmentConfidentiality(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 insertShp7_ShipmentConfidentiality(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 removeShipmentConfidentiality(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 removeShp7_ShipmentConfidentiality(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 getNumberOfPackagesInShipment()
public NM getShp8_NumberOfPackagesInShipment()
public CWE[] getShipmentCondition()
public CWE[] getShp9_ShipmentCondition()
public int getShipmentConditionReps()
public CWE getShipmentCondition(int rep)
rep
- The repetition index (0-indexed)public CWE getShp9_ShipmentCondition(int rep)
rep
- The repetition index (0-indexed)public int getShp9_ShipmentConditionReps()
public CWE insertShipmentCondition(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 insertShp9_ShipmentCondition(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 removeShipmentCondition(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 removeShp9_ShipmentCondition(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[] getShipmentHandlingCode()
public CWE[] getShp10_ShipmentHandlingCode()
public int getShipmentHandlingCodeReps()
public CWE getShipmentHandlingCode(int rep)
rep
- The repetition index (0-indexed)public CWE getShp10_ShipmentHandlingCode(int rep)
rep
- The repetition index (0-indexed)public int getShp10_ShipmentHandlingCodeReps()
public CWE insertShipmentHandlingCode(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 insertShp10_ShipmentHandlingCode(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 removeShipmentHandlingCode(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 removeShp10_ShipmentHandlingCode(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[] getShipmentRiskCode()
public CWE[] getShp11_ShipmentRiskCode()
public int getShipmentRiskCodeReps()
public CWE getShipmentRiskCode(int rep)
rep
- The repetition index (0-indexed)public CWE getShp11_ShipmentRiskCode(int rep)
rep
- The repetition index (0-indexed)public int getShp11_ShipmentRiskCodeReps()
public CWE insertShipmentRiskCode(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 insertShp11_ShipmentRiskCode(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 removeShipmentRiskCode(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 removeShp11_ShipmentRiskCode(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.