public class SPM extends AbstractSegment
Represents an HL7 SPM message segment (Specimen). This segment has the following fields:
log
Constructor and Description |
---|
SPM(Group parent,
ModelClassFactory factory)
Creates a new SPM segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CX[] |
getAccessionID()
Returns all repetitions of Accession ID (SPM-30).
|
CX |
getAccessionID(int rep)
Returns a specific repetition of
SPM-30: "Accession ID" - creates it if necessary
|
int |
getAccessionIDReps()
Returns a count of the current number of repetitions of Accession ID (SPM-30).
|
CWE |
getContainerCondition()
Returns
SPM-28: "Container Condition" - creates it if necessary
|
CWE |
getContainerType()
Returns
SPM-27: "Container Type" - creates it if necessary
|
NM |
getGroupedSpecimenCount()
Returns
SPM-13: "Grouped Specimen Count" - creates it if necessary
|
NM |
getNumberOfSpecimenContainers()
Returns
SPM-26: "Number of Specimen Containers" - creates it if necessary
|
CX[] |
getOtherSpecimenID()
Returns all repetitions of Other Specimen ID (SPM-31).
|
CX |
getOtherSpecimenID(int rep)
Returns a specific repetition of
SPM-31: "Other Specimen ID" - creates it if necessary
|
int |
getOtherSpecimenIDReps()
Returns a count of the current number of repetitions of Other Specimen ID (SPM-31).
|
SI |
getSetIDSPM()
Returns
SPM-1: "Set ID - SPM" - creates it if necessary
|
EI |
getShipmentID()
Returns
SPM-32: "Shipment ID" - creates it if necessary
|
CWE[] |
getSpecimenAdditives()
Returns all repetitions of Specimen Additives (SPM-6).
|
CWE |
getSpecimenAdditives(int rep)
Returns a specific repetition of
SPM-6: "Specimen Additives" - creates it if necessary
|
int |
getSpecimenAdditivesReps()
Returns a count of the current number of repetitions of Specimen Additives (SPM-6).
|
CWE |
getSpecimenAppropriateness()
Returns
SPM-23: "Specimen Appropriateness" - creates it if necessary
|
ID |
getSpecimenAvailability()
Returns
SPM-20: "Specimen Availability" - creates it if necessary
|
CWE |
getSpecimenChildRole()
Returns
SPM-29: "Specimen Child Role" - creates it if necessary
|
CQ |
getSpecimenCollectionAmount()
Returns
SPM-12: "Specimen Collection Amount" - creates it if necessary
|
DR |
getSpecimenCollectionDateTime()
Returns
SPM-17: "Specimen Collection Date/Time" - creates it if necessary
|
CWE |
getSpecimenCollectionMethod()
Returns
SPM-7: "Specimen Collection Method" - creates it if necessary
|
CWE |
getSpecimenCollectionSite()
Returns
SPM-10: "Specimen Collection Site" - creates it if necessary
|
CWE[] |
getSpecimenCondition()
Returns all repetitions of Specimen Condition (SPM-24).
|
CWE |
getSpecimenCondition(int rep)
Returns a specific repetition of
SPM-24: "Specimen Condition" - creates it if necessary
|
int |
getSpecimenConditionReps()
Returns a count of the current number of repetitions of Specimen Condition (SPM-24).
|
CQ |
getSpecimenCurrentQuantity()
Returns
SPM-25: "Specimen Current Quantity" - creates it if necessary
|
ST[] |
getSpecimenDescription()
Returns all repetitions of Specimen Description (SPM-14).
|
ST |
getSpecimenDescription(int rep)
Returns a specific repetition of
SPM-14: "Specimen Description" - creates it if necessary
|
int |
getSpecimenDescriptionReps()
Returns a count of the current number of repetitions of Specimen Description (SPM-14).
|
DTM |
getSpecimenExpirationDateTime()
Returns
SPM-19: "Specimen Expiration Date/Time" - creates it if necessary
|
CWE[] |
getSpecimenHandlingCode()
Returns all repetitions of Specimen Handling Code (SPM-15).
|
CWE |
getSpecimenHandlingCode(int rep)
Returns a specific repetition of
SPM-15: "Specimen Handling Code" - creates it if necessary
|
int |
getSpecimenHandlingCodeReps()
Returns a count of the current number of repetitions of Specimen Handling Code (SPM-15).
|
EIP |
getSpecimenID()
Returns
SPM-2: "Specimen ID" - creates it if necessary
|
EIP[] |
getSpecimenParentIDs()
Returns all repetitions of Specimen Parent IDs (SPM-3).
|
EIP |
getSpecimenParentIDs(int rep)
Returns a specific repetition of
SPM-3: "Specimen Parent IDs" - creates it if necessary
|
int |
getSpecimenParentIDsReps()
Returns a count of the current number of repetitions of Specimen Parent IDs (SPM-3).
|
CWE |
getSpecimenQuality()
Returns
SPM-22: "Specimen Quality" - creates it if necessary
|
DTM |
getSpecimenReceivedDateTime()
Returns
SPM-18: "Specimen Received Date/Time" - creates it if necessary
|
CWE[] |
getSpecimenRejectReason()
Returns all repetitions of Specimen Reject Reason (SPM-21).
|
CWE |
getSpecimenRejectReason(int rep)
Returns a specific repetition of
SPM-21: "Specimen Reject Reason" - creates it if necessary
|
int |
getSpecimenRejectReasonReps()
Returns a count of the current number of repetitions of Specimen Reject Reason (SPM-21).
|
CWE[] |
getSpecimenRiskCode()
Returns all repetitions of Specimen Risk Code (SPM-16).
|
CWE |
getSpecimenRiskCode(int rep)
Returns a specific repetition of
SPM-16: "Specimen Risk Code" - creates it if necessary
|
int |
getSpecimenRiskCodeReps()
Returns a count of the current number of repetitions of Specimen Risk Code (SPM-16).
|
CWE[] |
getSpecimenRole()
Returns all repetitions of Specimen Role (SPM-11).
|
CWE |
getSpecimenRole(int rep)
Returns a specific repetition of
SPM-11: "Specimen Role" - creates it if necessary
|
int |
getSpecimenRoleReps()
Returns a count of the current number of repetitions of Specimen Role (SPM-11).
|
CWE |
getSpecimenSourceSite()
Returns
SPM-8: "Specimen Source Site" - creates it if necessary
|
CWE[] |
getSpecimenSourceSiteModifier()
Returns all repetitions of Specimen Source Site Modifier (SPM-9).
|
CWE |
getSpecimenSourceSiteModifier(int rep)
Returns a specific repetition of
SPM-9: "Specimen Source Site Modifier" - creates it if necessary
|
int |
getSpecimenSourceSiteModifierReps()
Returns a count of the current number of repetitions of Specimen Source Site Modifier (SPM-9).
|
CWE |
getSpecimenType()
Returns
SPM-4: "Specimen Type" - creates it if necessary
|
CWE[] |
getSpecimenTypeModifier()
Returns all repetitions of Specimen Type Modifier (SPM-5).
|
CWE |
getSpecimenTypeModifier(int rep)
Returns a specific repetition of
SPM-5: "Specimen Type Modifier" - creates it if necessary
|
int |
getSpecimenTypeModifierReps()
Returns a count of the current number of repetitions of Specimen Type Modifier (SPM-5).
|
SI |
getSpm1_SetIDSPM()
Returns
SPM-1: "Set ID - SPM" - creates it if necessary
|
CWE |
getSpm10_SpecimenCollectionSite()
Returns
SPM-10: "Specimen Collection Site" - creates it if necessary
|
CWE[] |
getSpm11_SpecimenRole()
Returns all repetitions of Specimen Role (SPM-11).
|
CWE |
getSpm11_SpecimenRole(int rep)
Returns a specific repetition of
SPM-11: "Specimen Role" - creates it if necessary
|
int |
getSpm11_SpecimenRoleReps()
Returns a count of the current number of repetitions of Specimen Role (SPM-11).
|
CQ |
getSpm12_SpecimenCollectionAmount()
Returns
SPM-12: "Specimen Collection Amount" - creates it if necessary
|
NM |
getSpm13_GroupedSpecimenCount()
Returns
SPM-13: "Grouped Specimen Count" - creates it if necessary
|
ST[] |
getSpm14_SpecimenDescription()
Returns all repetitions of Specimen Description (SPM-14).
|
ST |
getSpm14_SpecimenDescription(int rep)
Returns a specific repetition of
SPM-14: "Specimen Description" - creates it if necessary
|
int |
getSpm14_SpecimenDescriptionReps()
Returns a count of the current number of repetitions of Specimen Description (SPM-14).
|
CWE[] |
getSpm15_SpecimenHandlingCode()
Returns all repetitions of Specimen Handling Code (SPM-15).
|
CWE |
getSpm15_SpecimenHandlingCode(int rep)
Returns a specific repetition of
SPM-15: "Specimen Handling Code" - creates it if necessary
|
int |
getSpm15_SpecimenHandlingCodeReps()
Returns a count of the current number of repetitions of Specimen Handling Code (SPM-15).
|
CWE[] |
getSpm16_SpecimenRiskCode()
Returns all repetitions of Specimen Risk Code (SPM-16).
|
CWE |
getSpm16_SpecimenRiskCode(int rep)
Returns a specific repetition of
SPM-16: "Specimen Risk Code" - creates it if necessary
|
int |
getSpm16_SpecimenRiskCodeReps()
Returns a count of the current number of repetitions of Specimen Risk Code (SPM-16).
|
DR |
getSpm17_SpecimenCollectionDateTime()
Returns
SPM-17: "Specimen Collection Date/Time" - creates it if necessary
|
DTM |
getSpm18_SpecimenReceivedDateTime()
Returns
SPM-18: "Specimen Received Date/Time" - creates it if necessary
|
DTM |
getSpm19_SpecimenExpirationDateTime()
Returns
SPM-19: "Specimen Expiration Date/Time" - creates it if necessary
|
EIP |
getSpm2_SpecimenID()
Returns
SPM-2: "Specimen ID" - creates it if necessary
|
ID |
getSpm20_SpecimenAvailability()
Returns
SPM-20: "Specimen Availability" - creates it if necessary
|
CWE[] |
getSpm21_SpecimenRejectReason()
Returns all repetitions of Specimen Reject Reason (SPM-21).
|
CWE |
getSpm21_SpecimenRejectReason(int rep)
Returns a specific repetition of
SPM-21: "Specimen Reject Reason" - creates it if necessary
|
int |
getSpm21_SpecimenRejectReasonReps()
Returns a count of the current number of repetitions of Specimen Reject Reason (SPM-21).
|
CWE |
getSpm22_SpecimenQuality()
Returns
SPM-22: "Specimen Quality" - creates it if necessary
|
CWE |
getSpm23_SpecimenAppropriateness()
Returns
SPM-23: "Specimen Appropriateness" - creates it if necessary
|
CWE[] |
getSpm24_SpecimenCondition()
Returns all repetitions of Specimen Condition (SPM-24).
|
CWE |
getSpm24_SpecimenCondition(int rep)
Returns a specific repetition of
SPM-24: "Specimen Condition" - creates it if necessary
|
int |
getSpm24_SpecimenConditionReps()
Returns a count of the current number of repetitions of Specimen Condition (SPM-24).
|
CQ |
getSpm25_SpecimenCurrentQuantity()
Returns
SPM-25: "Specimen Current Quantity" - creates it if necessary
|
NM |
getSpm26_NumberOfSpecimenContainers()
Returns
SPM-26: "Number of Specimen Containers" - creates it if necessary
|
CWE |
getSpm27_ContainerType()
Returns
SPM-27: "Container Type" - creates it if necessary
|
CWE |
getSpm28_ContainerCondition()
Returns
SPM-28: "Container Condition" - creates it if necessary
|
CWE |
getSpm29_SpecimenChildRole()
Returns
SPM-29: "Specimen Child Role" - creates it if necessary
|
EIP[] |
getSpm3_SpecimenParentIDs()
Returns all repetitions of Specimen Parent IDs (SPM-3).
|
EIP |
getSpm3_SpecimenParentIDs(int rep)
Returns a specific repetition of
SPM-3: "Specimen Parent IDs" - creates it if necessary
|
int |
getSpm3_SpecimenParentIDsReps()
Returns a count of the current number of repetitions of Specimen Parent IDs (SPM-3).
|
CX[] |
getSpm30_AccessionID()
Returns all repetitions of Accession ID (SPM-30).
|
CX |
getSpm30_AccessionID(int rep)
Returns a specific repetition of
SPM-30: "Accession ID" - creates it if necessary
|
int |
getSpm30_AccessionIDReps()
Returns a count of the current number of repetitions of Accession ID (SPM-30).
|
CX[] |
getSpm31_OtherSpecimenID()
Returns all repetitions of Other Specimen ID (SPM-31).
|
CX |
getSpm31_OtherSpecimenID(int rep)
Returns a specific repetition of
SPM-31: "Other Specimen ID" - creates it if necessary
|
int |
getSpm31_OtherSpecimenIDReps()
Returns a count of the current number of repetitions of Other Specimen ID (SPM-31).
|
EI |
getSpm32_ShipmentID()
Returns
SPM-32: "Shipment ID" - creates it if necessary
|
CWE |
getSpm4_SpecimenType()
Returns
SPM-4: "Specimen Type" - creates it if necessary
|
CWE[] |
getSpm5_SpecimenTypeModifier()
Returns all repetitions of Specimen Type Modifier (SPM-5).
|
CWE |
getSpm5_SpecimenTypeModifier(int rep)
Returns a specific repetition of
SPM-5: "Specimen Type Modifier" - creates it if necessary
|
int |
getSpm5_SpecimenTypeModifierReps()
Returns a count of the current number of repetitions of Specimen Type Modifier (SPM-5).
|
CWE[] |
getSpm6_SpecimenAdditives()
Returns all repetitions of Specimen Additives (SPM-6).
|
CWE |
getSpm6_SpecimenAdditives(int rep)
Returns a specific repetition of
SPM-6: "Specimen Additives" - creates it if necessary
|
int |
getSpm6_SpecimenAdditivesReps()
Returns a count of the current number of repetitions of Specimen Additives (SPM-6).
|
CWE |
getSpm7_SpecimenCollectionMethod()
Returns
SPM-7: "Specimen Collection Method" - creates it if necessary
|
CWE |
getSpm8_SpecimenSourceSite()
Returns
SPM-8: "Specimen Source Site" - creates it if necessary
|
CWE[] |
getSpm9_SpecimenSourceSiteModifier()
Returns all repetitions of Specimen Source Site Modifier (SPM-9).
|
CWE |
getSpm9_SpecimenSourceSiteModifier(int rep)
Returns a specific repetition of
SPM-9: "Specimen Source Site Modifier" - creates it if necessary
|
int |
getSpm9_SpecimenSourceSiteModifierReps()
Returns a count of the current number of repetitions of Specimen Source Site Modifier (SPM-9).
|
CX |
insertAccessionID(int rep)
Inserts a repetition of
SPM-30: "Accession ID" at a specific index
|
CX |
insertOtherSpecimenID(int rep)
Inserts a repetition of
SPM-31: "Other Specimen ID" at a specific index
|
CWE |
insertSpecimenAdditives(int rep)
Inserts a repetition of
SPM-6: "Specimen Additives" at a specific index
|
CWE |
insertSpecimenCondition(int rep)
Inserts a repetition of
SPM-24: "Specimen Condition" at a specific index
|
ST |
insertSpecimenDescription(int rep)
Inserts a repetition of
SPM-14: "Specimen Description" at a specific index
|
CWE |
insertSpecimenHandlingCode(int rep)
Inserts a repetition of
SPM-15: "Specimen Handling Code" at a specific index
|
EIP |
insertSpecimenParentIDs(int rep)
Inserts a repetition of
SPM-3: "Specimen Parent IDs" at a specific index
|
CWE |
insertSpecimenRejectReason(int rep)
Inserts a repetition of
SPM-21: "Specimen Reject Reason" at a specific index
|
CWE |
insertSpecimenRiskCode(int rep)
Inserts a repetition of
SPM-16: "Specimen Risk Code" at a specific index
|
CWE |
insertSpecimenRole(int rep)
Inserts a repetition of
SPM-11: "Specimen Role" at a specific index
|
CWE |
insertSpecimenSourceSiteModifier(int rep)
Inserts a repetition of
SPM-9: "Specimen Source Site Modifier" at a specific index
|
CWE |
insertSpecimenTypeModifier(int rep)
Inserts a repetition of
SPM-5: "Specimen Type Modifier" at a specific index
|
CWE |
insertSpm11_SpecimenRole(int rep)
Inserts a repetition of
SPM-11: "Specimen Role" at a specific index
|
ST |
insertSpm14_SpecimenDescription(int rep)
Inserts a repetition of
SPM-14: "Specimen Description" at a specific index
|
CWE |
insertSpm15_SpecimenHandlingCode(int rep)
Inserts a repetition of
SPM-15: "Specimen Handling Code" at a specific index
|
CWE |
insertSpm16_SpecimenRiskCode(int rep)
Inserts a repetition of
SPM-16: "Specimen Risk Code" at a specific index
|
CWE |
insertSpm21_SpecimenRejectReason(int rep)
Inserts a repetition of
SPM-21: "Specimen Reject Reason" at a specific index
|
CWE |
insertSpm24_SpecimenCondition(int rep)
Inserts a repetition of
SPM-24: "Specimen Condition" at a specific index
|
EIP |
insertSpm3_SpecimenParentIDs(int rep)
Inserts a repetition of
SPM-3: "Specimen Parent IDs" at a specific index
|
CX |
insertSpm30_AccessionID(int rep)
Inserts a repetition of
SPM-30: "Accession ID" at a specific index
|
CX |
insertSpm31_OtherSpecimenID(int rep)
Inserts a repetition of
SPM-31: "Other Specimen ID" at a specific index
|
CWE |
insertSpm5_SpecimenTypeModifier(int rep)
Inserts a repetition of
SPM-5: "Specimen Type Modifier" at a specific index
|
CWE |
insertSpm6_SpecimenAdditives(int rep)
Inserts a repetition of
SPM-6: "Specimen Additives" at a specific index
|
CWE |
insertSpm9_SpecimenSourceSiteModifier(int rep)
Inserts a repetition of
SPM-9: "Specimen Source Site Modifier" at a specific index
|
CX |
removeAccessionID(int rep)
Removes a repetition of
SPM-30: "Accession ID" at a specific index
|
CX |
removeOtherSpecimenID(int rep)
Removes a repetition of
SPM-31: "Other Specimen ID" at a specific index
|
CWE |
removeSpecimenAdditives(int rep)
Removes a repetition of
SPM-6: "Specimen Additives" at a specific index
|
CWE |
removeSpecimenCondition(int rep)
Removes a repetition of
SPM-24: "Specimen Condition" at a specific index
|
ST |
removeSpecimenDescription(int rep)
Removes a repetition of
SPM-14: "Specimen Description" at a specific index
|
CWE |
removeSpecimenHandlingCode(int rep)
Removes a repetition of
SPM-15: "Specimen Handling Code" at a specific index
|
EIP |
removeSpecimenParentIDs(int rep)
Removes a repetition of
SPM-3: "Specimen Parent IDs" at a specific index
|
CWE |
removeSpecimenRejectReason(int rep)
Removes a repetition of
SPM-21: "Specimen Reject Reason" at a specific index
|
CWE |
removeSpecimenRiskCode(int rep)
Removes a repetition of
SPM-16: "Specimen Risk Code" at a specific index
|
CWE |
removeSpecimenRole(int rep)
Removes a repetition of
SPM-11: "Specimen Role" at a specific index
|
CWE |
removeSpecimenSourceSiteModifier(int rep)
Removes a repetition of
SPM-9: "Specimen Source Site Modifier" at a specific index
|
CWE |
removeSpecimenTypeModifier(int rep)
Removes a repetition of
SPM-5: "Specimen Type Modifier" at a specific index
|
CWE |
removeSpm11_SpecimenRole(int rep)
Removes a repetition of
SPM-11: "Specimen Role" at a specific index
|
ST |
removeSpm14_SpecimenDescription(int rep)
Removes a repetition of
SPM-14: "Specimen Description" at a specific index
|
CWE |
removeSpm15_SpecimenHandlingCode(int rep)
Removes a repetition of
SPM-15: "Specimen Handling Code" at a specific index
|
CWE |
removeSpm16_SpecimenRiskCode(int rep)
Removes a repetition of
SPM-16: "Specimen Risk Code" at a specific index
|
CWE |
removeSpm21_SpecimenRejectReason(int rep)
Removes a repetition of
SPM-21: "Specimen Reject Reason" at a specific index
|
CWE |
removeSpm24_SpecimenCondition(int rep)
Removes a repetition of
SPM-24: "Specimen Condition" at a specific index
|
EIP |
removeSpm3_SpecimenParentIDs(int rep)
Removes a repetition of
SPM-3: "Specimen Parent IDs" at a specific index
|
CX |
removeSpm30_AccessionID(int rep)
Removes a repetition of
SPM-30: "Accession ID" at a specific index
|
CX |
removeSpm31_OtherSpecimenID(int rep)
Removes a repetition of
SPM-31: "Other Specimen ID" at a specific index
|
CWE |
removeSpm5_SpecimenTypeModifier(int rep)
Removes a repetition of
SPM-5: "Specimen Type Modifier" at a specific index
|
CWE |
removeSpm6_SpecimenAdditives(int rep)
Removes a repetition of
SPM-6: "Specimen Additives" at a specific index
|
CWE |
removeSpm9_SpecimenSourceSiteModifier(int rep)
Removes a repetition of
SPM-9: "Specimen Source Site Modifier" 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 SPM(Group parent, ModelClassFactory factory)
public SI getSetIDSPM()
public SI getSpm1_SetIDSPM()
public EIP getSpecimenID()
public EIP getSpm2_SpecimenID()
public EIP[] getSpecimenParentIDs()
public EIP[] getSpm3_SpecimenParentIDs()
public int getSpecimenParentIDsReps()
public EIP getSpecimenParentIDs(int rep)
rep
- The repetition index (0-indexed)public EIP getSpm3_SpecimenParentIDs(int rep)
rep
- The repetition index (0-indexed)public int getSpm3_SpecimenParentIDsReps()
public EIP insertSpecimenParentIDs(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 EIP insertSpm3_SpecimenParentIDs(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 EIP removeSpecimenParentIDs(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 EIP removeSpm3_SpecimenParentIDs(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 getSpecimenType()
public CWE getSpm4_SpecimenType()
public CWE[] getSpecimenTypeModifier()
public CWE[] getSpm5_SpecimenTypeModifier()
public int getSpecimenTypeModifierReps()
public CWE getSpecimenTypeModifier(int rep)
rep
- The repetition index (0-indexed)public CWE getSpm5_SpecimenTypeModifier(int rep)
rep
- The repetition index (0-indexed)public int getSpm5_SpecimenTypeModifierReps()
public CWE insertSpecimenTypeModifier(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 insertSpm5_SpecimenTypeModifier(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 removeSpecimenTypeModifier(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 removeSpm5_SpecimenTypeModifier(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[] getSpecimenAdditives()
public CWE[] getSpm6_SpecimenAdditives()
public int getSpecimenAdditivesReps()
public CWE getSpecimenAdditives(int rep)
rep
- The repetition index (0-indexed)public CWE getSpm6_SpecimenAdditives(int rep)
rep
- The repetition index (0-indexed)public int getSpm6_SpecimenAdditivesReps()
public CWE insertSpecimenAdditives(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 insertSpm6_SpecimenAdditives(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 removeSpecimenAdditives(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 removeSpm6_SpecimenAdditives(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 getSpecimenCollectionMethod()
public CWE getSpm7_SpecimenCollectionMethod()
public CWE getSpecimenSourceSite()
public CWE getSpm8_SpecimenSourceSite()
public CWE[] getSpecimenSourceSiteModifier()
public CWE[] getSpm9_SpecimenSourceSiteModifier()
public int getSpecimenSourceSiteModifierReps()
public CWE getSpecimenSourceSiteModifier(int rep)
rep
- The repetition index (0-indexed)public CWE getSpm9_SpecimenSourceSiteModifier(int rep)
rep
- The repetition index (0-indexed)public int getSpm9_SpecimenSourceSiteModifierReps()
public CWE insertSpecimenSourceSiteModifier(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 insertSpm9_SpecimenSourceSiteModifier(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 removeSpecimenSourceSiteModifier(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 removeSpm9_SpecimenSourceSiteModifier(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 getSpecimenCollectionSite()
public CWE getSpm10_SpecimenCollectionSite()
public CWE[] getSpecimenRole()
public CWE[] getSpm11_SpecimenRole()
public int getSpecimenRoleReps()
public CWE getSpecimenRole(int rep)
rep
- The repetition index (0-indexed)public CWE getSpm11_SpecimenRole(int rep)
rep
- The repetition index (0-indexed)public int getSpm11_SpecimenRoleReps()
public CWE insertSpecimenRole(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 insertSpm11_SpecimenRole(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 removeSpecimenRole(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 removeSpm11_SpecimenRole(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 CQ getSpecimenCollectionAmount()
public CQ getSpm12_SpecimenCollectionAmount()
public NM getGroupedSpecimenCount()
public NM getSpm13_GroupedSpecimenCount()
public ST[] getSpecimenDescription()
public ST[] getSpm14_SpecimenDescription()
public int getSpecimenDescriptionReps()
public ST getSpecimenDescription(int rep)
rep
- The repetition index (0-indexed)public ST getSpm14_SpecimenDescription(int rep)
rep
- The repetition index (0-indexed)public int getSpm14_SpecimenDescriptionReps()
public ST insertSpecimenDescription(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 insertSpm14_SpecimenDescription(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 removeSpecimenDescription(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 removeSpm14_SpecimenDescription(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[] getSpecimenHandlingCode()
public CWE[] getSpm15_SpecimenHandlingCode()
public int getSpecimenHandlingCodeReps()
public CWE getSpecimenHandlingCode(int rep)
rep
- The repetition index (0-indexed)public CWE getSpm15_SpecimenHandlingCode(int rep)
rep
- The repetition index (0-indexed)public int getSpm15_SpecimenHandlingCodeReps()
public CWE insertSpecimenHandlingCode(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 insertSpm15_SpecimenHandlingCode(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 removeSpecimenHandlingCode(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 removeSpm15_SpecimenHandlingCode(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[] getSpecimenRiskCode()
public CWE[] getSpm16_SpecimenRiskCode()
public int getSpecimenRiskCodeReps()
public CWE getSpecimenRiskCode(int rep)
rep
- The repetition index (0-indexed)public CWE getSpm16_SpecimenRiskCode(int rep)
rep
- The repetition index (0-indexed)public int getSpm16_SpecimenRiskCodeReps()
public CWE insertSpecimenRiskCode(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 insertSpm16_SpecimenRiskCode(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 removeSpecimenRiskCode(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 removeSpm16_SpecimenRiskCode(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 getSpecimenCollectionDateTime()
public DR getSpm17_SpecimenCollectionDateTime()
public DTM getSpecimenReceivedDateTime()
public DTM getSpm18_SpecimenReceivedDateTime()
public DTM getSpecimenExpirationDateTime()
public DTM getSpm19_SpecimenExpirationDateTime()
public ID getSpecimenAvailability()
public ID getSpm20_SpecimenAvailability()
public CWE[] getSpecimenRejectReason()
public CWE[] getSpm21_SpecimenRejectReason()
public int getSpecimenRejectReasonReps()
public CWE getSpecimenRejectReason(int rep)
rep
- The repetition index (0-indexed)public CWE getSpm21_SpecimenRejectReason(int rep)
rep
- The repetition index (0-indexed)public int getSpm21_SpecimenRejectReasonReps()
public CWE insertSpecimenRejectReason(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 insertSpm21_SpecimenRejectReason(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 removeSpecimenRejectReason(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 removeSpm21_SpecimenRejectReason(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 getSpecimenQuality()
public CWE getSpm22_SpecimenQuality()
public CWE getSpecimenAppropriateness()
public CWE getSpm23_SpecimenAppropriateness()
public CWE[] getSpecimenCondition()
public CWE[] getSpm24_SpecimenCondition()
public int getSpecimenConditionReps()
public CWE getSpecimenCondition(int rep)
rep
- The repetition index (0-indexed)public CWE getSpm24_SpecimenCondition(int rep)
rep
- The repetition index (0-indexed)public int getSpm24_SpecimenConditionReps()
public CWE insertSpecimenCondition(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 insertSpm24_SpecimenCondition(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 removeSpecimenCondition(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 removeSpm24_SpecimenCondition(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 CQ getSpecimenCurrentQuantity()
public CQ getSpm25_SpecimenCurrentQuantity()
public NM getNumberOfSpecimenContainers()
public NM getSpm26_NumberOfSpecimenContainers()
public CWE getContainerType()
public CWE getSpm27_ContainerType()
public CWE getContainerCondition()
public CWE getSpm28_ContainerCondition()
public CWE getSpecimenChildRole()
public CWE getSpm29_SpecimenChildRole()
public CX[] getAccessionID()
public CX[] getSpm30_AccessionID()
public int getAccessionIDReps()
public CX getAccessionID(int rep)
rep
- The repetition index (0-indexed)public CX getSpm30_AccessionID(int rep)
rep
- The repetition index (0-indexed)public int getSpm30_AccessionIDReps()
public CX insertAccessionID(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 CX insertSpm30_AccessionID(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 CX removeAccessionID(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 CX removeSpm30_AccessionID(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 CX[] getOtherSpecimenID()
public CX[] getSpm31_OtherSpecimenID()
public int getOtherSpecimenIDReps()
public CX getOtherSpecimenID(int rep)
rep
- The repetition index (0-indexed)public CX getSpm31_OtherSpecimenID(int rep)
rep
- The repetition index (0-indexed)public int getSpm31_OtherSpecimenIDReps()
public CX insertOtherSpecimenID(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 CX insertSpm31_OtherSpecimenID(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 CX removeOtherSpecimenID(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 CX removeSpm31_OtherSpecimenID(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 getShipmentID()
public EI getSpm32_ShipmentID()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.