Package ca.uhn.hl7v2.model.v251.segment
Class SPM
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.SPM
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 SPM message segment (Specimen). This segment has the following fields:
- SPM-1: Set ID - SPM (SI) optional
- SPM-2: Specimen ID (EIP) optional
- SPM-3: Specimen Parent IDs (EIP) optional repeating
- SPM-4: Specimen Type (CWE)
- SPM-5: Specimen Type Modifier (CWE) optional repeating
- SPM-6: Specimen Additives (CWE) optional repeating
- SPM-7: Specimen Collection Method (CWE) optional
- SPM-8: Specimen Source Site (CWE) optional
- SPM-9: Specimen Source Site Modifier (CWE) optional repeating
- SPM-10: Specimen Collection Site (CWE) optional
- SPM-11: Specimen Role (CWE) optional repeating
- SPM-12: Specimen Collection Amount (CQ) optional
- SPM-13: Grouped Specimen Count (NM) optional
- SPM-14: Specimen Description (ST) optional repeating
- SPM-15: Specimen Handling Code (CWE) optional repeating
- SPM-16: Specimen Risk Code (CWE) optional repeating
- SPM-17: Specimen Collection Date/Time (DR) optional
- SPM-18: Specimen Received Date/Time (TS) optional
- SPM-19: Specimen Expiration Date/Time (TS) optional
- SPM-20: Specimen Availability (ID) optional
- SPM-21: Specimen Reject Reason (CWE) optional repeating
- SPM-22: Specimen Quality (CWE) optional
- SPM-23: Specimen Appropriateness (CWE) optional
- SPM-24: Specimen Condition (CWE) optional repeating
- SPM-25: Specimen Current Quantity (CQ) optional
- SPM-26: Number of Specimen Containers (NM) optional
- SPM-27: Container Type (CWE) optional
- SPM-28: Container Condition (CWE) optional
- SPM-29: Specimen Child Role (CWE) optional
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns SPM-28: "Container Condition" - creates it if necessaryReturns SPM-27: "Container Type" - creates it if necessaryReturns SPM-13: "Grouped Specimen Count" - creates it if necessaryReturns SPM-26: "Number of Specimen Containers" - creates it if necessaryReturns SPM-1: "Set ID - SPM" - creates it if necessaryCWE[]Returns all repetitions of Specimen Additives (SPM-6).getSpecimenAdditives(int rep) Returns a specific repetition of SPM-6: "Specimen Additives" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Additives (SPM-6).Returns SPM-23: "Specimen Appropriateness" - creates it if necessaryReturns SPM-20: "Specimen Availability" - creates it if necessaryReturns SPM-29: "Specimen Child Role" - creates it if necessaryReturns SPM-12: "Specimen Collection Amount" - creates it if necessaryReturns SPM-17: "Specimen Collection Date/Time" - creates it if necessaryReturns SPM-7: "Specimen Collection Method" - creates it if necessaryReturns SPM-10: "Specimen Collection Site" - creates it if necessaryCWE[]Returns all repetitions of Specimen Condition (SPM-24).getSpecimenCondition(int rep) Returns a specific repetition of SPM-24: "Specimen Condition" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Condition (SPM-24).Returns SPM-25: "Specimen Current Quantity" - creates it if necessaryST[]Returns all repetitions of Specimen Description (SPM-14).getSpecimenDescription(int rep) Returns a specific repetition of SPM-14: "Specimen Description" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Description (SPM-14).Returns SPM-19: "Specimen Expiration Date/Time" - creates it if necessaryCWE[]Returns all repetitions of Specimen Handling Code (SPM-15).getSpecimenHandlingCode(int rep) Returns a specific repetition of SPM-15: "Specimen Handling Code" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Handling Code (SPM-15).Returns SPM-2: "Specimen ID" - creates it if necessaryEIP[]Returns all repetitions of Specimen Parent IDs (SPM-3).getSpecimenParentIDs(int rep) Returns a specific repetition of SPM-3: "Specimen Parent IDs" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Parent IDs (SPM-3).Returns SPM-22: "Specimen Quality" - creates it if necessaryReturns SPM-18: "Specimen Received Date/Time" - creates it if necessaryCWE[]Returns all repetitions of Specimen Reject Reason (SPM-21).getSpecimenRejectReason(int rep) Returns a specific repetition of SPM-21: "Specimen Reject Reason" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Reject Reason (SPM-21).CWE[]Returns all repetitions of Specimen Risk Code (SPM-16).getSpecimenRiskCode(int rep) Returns a specific repetition of SPM-16: "Specimen Risk Code" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Risk Code (SPM-16).CWE[]Returns all repetitions of Specimen Role (SPM-11).getSpecimenRole(int rep) Returns a specific repetition of SPM-11: "Specimen Role" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Role (SPM-11).Returns SPM-8: "Specimen Source Site" - creates it if necessaryCWE[]Returns all repetitions of Specimen Source Site Modifier (SPM-9).getSpecimenSourceSiteModifier(int rep) Returns a specific repetition of SPM-9: "Specimen Source Site Modifier" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Source Site Modifier (SPM-9).Returns SPM-4: "Specimen Type" - creates it if necessaryCWE[]Returns all repetitions of Specimen Type Modifier (SPM-5).getSpecimenTypeModifier(int rep) Returns a specific repetition of SPM-5: "Specimen Type Modifier" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Type Modifier (SPM-5).Returns SPM-1: "Set ID - SPM" - creates it if necessaryReturns SPM-10: "Specimen Collection Site" - creates it if necessaryCWE[]Returns all repetitions of Specimen Role (SPM-11).getSpm11_SpecimenRole(int rep) Returns a specific repetition of SPM-11: "Specimen Role" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Role (SPM-11).Returns SPM-12: "Specimen Collection Amount" - creates it if necessaryReturns SPM-13: "Grouped Specimen Count" - creates it if necessaryST[]Returns all repetitions of Specimen Description (SPM-14).getSpm14_SpecimenDescription(int rep) Returns a specific repetition of SPM-14: "Specimen Description" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Description (SPM-14).CWE[]Returns all repetitions of Specimen Handling Code (SPM-15).getSpm15_SpecimenHandlingCode(int rep) Returns a specific repetition of SPM-15: "Specimen Handling Code" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Handling Code (SPM-15).CWE[]Returns all repetitions of Specimen Risk Code (SPM-16).getSpm16_SpecimenRiskCode(int rep) Returns a specific repetition of SPM-16: "Specimen Risk Code" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Risk Code (SPM-16).Returns SPM-17: "Specimen Collection Date/Time" - creates it if necessaryReturns SPM-18: "Specimen Received Date/Time" - creates it if necessaryReturns SPM-19: "Specimen Expiration Date/Time" - creates it if necessaryReturns SPM-2: "Specimen ID" - creates it if necessaryReturns SPM-20: "Specimen Availability" - creates it if necessaryCWE[]Returns all repetitions of Specimen Reject Reason (SPM-21).getSpm21_SpecimenRejectReason(int rep) Returns a specific repetition of SPM-21: "Specimen Reject Reason" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Reject Reason (SPM-21).Returns SPM-22: "Specimen Quality" - creates it if necessaryReturns SPM-23: "Specimen Appropriateness" - creates it if necessaryCWE[]Returns all repetitions of Specimen Condition (SPM-24).getSpm24_SpecimenCondition(int rep) Returns a specific repetition of SPM-24: "Specimen Condition" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Condition (SPM-24).Returns SPM-25: "Specimen Current Quantity" - creates it if necessaryReturns SPM-26: "Number of Specimen Containers" - creates it if necessaryReturns SPM-27: "Container Type" - creates it if necessaryReturns SPM-28: "Container Condition" - creates it if necessaryReturns SPM-29: "Specimen Child Role" - creates it if necessaryEIP[]Returns all repetitions of Specimen Parent IDs (SPM-3).getSpm3_SpecimenParentIDs(int rep) Returns a specific repetition of SPM-3: "Specimen Parent IDs" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Parent IDs (SPM-3).Returns SPM-4: "Specimen Type" - creates it if necessaryCWE[]Returns all repetitions of Specimen Type Modifier (SPM-5).getSpm5_SpecimenTypeModifier(int rep) Returns a specific repetition of SPM-5: "Specimen Type Modifier" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Type Modifier (SPM-5).CWE[]Returns all repetitions of Specimen Additives (SPM-6).getSpm6_SpecimenAdditives(int rep) Returns a specific repetition of SPM-6: "Specimen Additives" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Additives (SPM-6).Returns SPM-7: "Specimen Collection Method" - creates it if necessaryReturns SPM-8: "Specimen Source Site" - creates it if necessaryCWE[]Returns all repetitions of Specimen Source Site Modifier (SPM-9).getSpm9_SpecimenSourceSiteModifier(int rep) Returns a specific repetition of SPM-9: "Specimen Source Site Modifier" - creates it if necessaryintReturns a count of the current number of repetitions of Specimen Source Site Modifier (SPM-9).insertSpecimenAdditives(int rep) Inserts a repetition of SPM-6: "Specimen Additives" at a specific indexinsertSpecimenCondition(int rep) Inserts a repetition of SPM-24: "Specimen Condition" at a specific indexinsertSpecimenDescription(int rep) Inserts a repetition of SPM-14: "Specimen Description" at a specific indexinsertSpecimenHandlingCode(int rep) Inserts a repetition of SPM-15: "Specimen Handling Code" at a specific indexinsertSpecimenParentIDs(int rep) Inserts a repetition of SPM-3: "Specimen Parent IDs" at a specific indexinsertSpecimenRejectReason(int rep) Inserts a repetition of SPM-21: "Specimen Reject Reason" at a specific indexinsertSpecimenRiskCode(int rep) Inserts a repetition of SPM-16: "Specimen Risk Code" at a specific indexinsertSpecimenRole(int rep) Inserts a repetition of SPM-11: "Specimen Role" at a specific indexinsertSpecimenSourceSiteModifier(int rep) Inserts a repetition of SPM-9: "Specimen Source Site Modifier" at a specific indexinsertSpecimenTypeModifier(int rep) Inserts a repetition of SPM-5: "Specimen Type Modifier" at a specific indexinsertSpm11_SpecimenRole(int rep) Inserts a repetition of SPM-11: "Specimen Role" at a specific indexinsertSpm14_SpecimenDescription(int rep) Inserts a repetition of SPM-14: "Specimen Description" at a specific indexinsertSpm15_SpecimenHandlingCode(int rep) Inserts a repetition of SPM-15: "Specimen Handling Code" at a specific indexinsertSpm16_SpecimenRiskCode(int rep) Inserts a repetition of SPM-16: "Specimen Risk Code" at a specific indexinsertSpm21_SpecimenRejectReason(int rep) Inserts a repetition of SPM-21: "Specimen Reject Reason" at a specific indexinsertSpm24_SpecimenCondition(int rep) Inserts a repetition of SPM-24: "Specimen Condition" at a specific indexinsertSpm3_SpecimenParentIDs(int rep) Inserts a repetition of SPM-3: "Specimen Parent IDs" at a specific indexinsertSpm5_SpecimenTypeModifier(int rep) Inserts a repetition of SPM-5: "Specimen Type Modifier" at a specific indexinsertSpm6_SpecimenAdditives(int rep) Inserts a repetition of SPM-6: "Specimen Additives" at a specific indexInserts a repetition of SPM-9: "Specimen Source Site Modifier" at a specific indexremoveSpecimenAdditives(int rep) Removes a repetition of SPM-6: "Specimen Additives" at a specific indexremoveSpecimenCondition(int rep) Removes a repetition of SPM-24: "Specimen Condition" at a specific indexremoveSpecimenDescription(int rep) Removes a repetition of SPM-14: "Specimen Description" at a specific indexremoveSpecimenHandlingCode(int rep) Removes a repetition of SPM-15: "Specimen Handling Code" at a specific indexremoveSpecimenParentIDs(int rep) Removes a repetition of SPM-3: "Specimen Parent IDs" at a specific indexremoveSpecimenRejectReason(int rep) Removes a repetition of SPM-21: "Specimen Reject Reason" at a specific indexremoveSpecimenRiskCode(int rep) Removes a repetition of SPM-16: "Specimen Risk Code" at a specific indexremoveSpecimenRole(int rep) Removes a repetition of SPM-11: "Specimen Role" at a specific indexremoveSpecimenSourceSiteModifier(int rep) Removes a repetition of SPM-9: "Specimen Source Site Modifier" at a specific indexremoveSpecimenTypeModifier(int rep) Removes a repetition of SPM-5: "Specimen Type Modifier" at a specific indexremoveSpm11_SpecimenRole(int rep) Removes a repetition of SPM-11: "Specimen Role" at a specific indexremoveSpm14_SpecimenDescription(int rep) Removes a repetition of SPM-14: "Specimen Description" at a specific indexremoveSpm15_SpecimenHandlingCode(int rep) Removes a repetition of SPM-15: "Specimen Handling Code" at a specific indexremoveSpm16_SpecimenRiskCode(int rep) Removes a repetition of SPM-16: "Specimen Risk Code" at a specific indexremoveSpm21_SpecimenRejectReason(int rep) Removes a repetition of SPM-21: "Specimen Reject Reason" at a specific indexremoveSpm24_SpecimenCondition(int rep) Removes a repetition of SPM-24: "Specimen Condition" at a specific indexremoveSpm3_SpecimenParentIDs(int rep) Removes a repetition of SPM-3: "Specimen Parent IDs" at a specific indexremoveSpm5_SpecimenTypeModifier(int rep) Removes a repetition of SPM-5: "Specimen Type Modifier" at a specific indexremoveSpm6_SpecimenAdditives(int rep) Removes a repetition of SPM-6: "Specimen Additives" at a specific indexRemoves a repetition of SPM-9: "Specimen Source Site Modifier" at a specific indexMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
SPM
Creates a new SPM segment
-
-
Method Details
-
getSetIDSPM
Returns SPM-1: "Set ID - SPM" - creates it if necessary -
getSpm1_SetIDSPM
Returns SPM-1: "Set ID - SPM" - creates it if necessary -
getSpecimenID
Returns SPM-2: "Specimen ID" - creates it if necessary -
getSpm2_SpecimenID
Returns SPM-2: "Specimen ID" - creates it if necessary -
getSpecimenParentIDs
Returns all repetitions of Specimen Parent IDs (SPM-3). -
getSpm3_SpecimenParentIDs
Returns all repetitions of Specimen Parent IDs (SPM-3). -
getSpecimenParentIDsReps
Returns a count of the current number of repetitions of Specimen Parent IDs (SPM-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSpecimenParentIDs
Returns a specific repetition of SPM-3: "Specimen Parent IDs" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm3_SpecimenParentIDs
Returns a specific repetition of SPM-3: "Specimen Parent IDs" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm3_SpecimenParentIDsReps
Returns a count of the current number of repetitions of Specimen Parent IDs (SPM-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSpecimenParentIDs
Inserts a repetition of SPM-3: "Specimen Parent IDs" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertSpm3_SpecimenParentIDs
Inserts a repetition of SPM-3: "Specimen Parent IDs" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpecimenParentIDs
Removes a repetition of SPM-3: "Specimen Parent IDs" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpm3_SpecimenParentIDs
Removes a repetition of SPM-3: "Specimen Parent IDs" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSpecimenType
Returns SPM-4: "Specimen Type" - creates it if necessary -
getSpm4_SpecimenType
Returns SPM-4: "Specimen Type" - creates it if necessary -
getSpecimenTypeModifier
Returns all repetitions of Specimen Type Modifier (SPM-5). -
getSpm5_SpecimenTypeModifier
Returns all repetitions of Specimen Type Modifier (SPM-5). -
getSpecimenTypeModifierReps
Returns a count of the current number of repetitions of Specimen Type Modifier (SPM-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSpecimenTypeModifier
Returns a specific repetition of SPM-5: "Specimen Type Modifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm5_SpecimenTypeModifier
Returns a specific repetition of SPM-5: "Specimen Type Modifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm5_SpecimenTypeModifierReps
Returns a count of the current number of repetitions of Specimen Type Modifier (SPM-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSpecimenTypeModifier
Inserts a repetition of SPM-5: "Specimen Type Modifier" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertSpm5_SpecimenTypeModifier
Inserts a repetition of SPM-5: "Specimen Type Modifier" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpecimenTypeModifier
Removes a repetition of SPM-5: "Specimen Type Modifier" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpm5_SpecimenTypeModifier
Removes a repetition of SPM-5: "Specimen Type Modifier" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSpecimenAdditives
Returns all repetitions of Specimen Additives (SPM-6). -
getSpm6_SpecimenAdditives
Returns all repetitions of Specimen Additives (SPM-6). -
getSpecimenAdditivesReps
Returns a count of the current number of repetitions of Specimen Additives (SPM-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSpecimenAdditives
Returns a specific repetition of SPM-6: "Specimen Additives" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm6_SpecimenAdditives
Returns a specific repetition of SPM-6: "Specimen Additives" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm6_SpecimenAdditivesReps
Returns a count of the current number of repetitions of Specimen Additives (SPM-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSpecimenAdditives
Inserts a repetition of SPM-6: "Specimen Additives" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertSpm6_SpecimenAdditives
Inserts a repetition of SPM-6: "Specimen Additives" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpecimenAdditives
Removes a repetition of SPM-6: "Specimen Additives" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpm6_SpecimenAdditives
Removes a repetition of SPM-6: "Specimen Additives" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSpecimenCollectionMethod
Returns SPM-7: "Specimen Collection Method" - creates it if necessary -
getSpm7_SpecimenCollectionMethod
Returns SPM-7: "Specimen Collection Method" - creates it if necessary -
getSpecimenSourceSite
Returns SPM-8: "Specimen Source Site" - creates it if necessary -
getSpm8_SpecimenSourceSite
Returns SPM-8: "Specimen Source Site" - creates it if necessary -
getSpecimenSourceSiteModifier
Returns all repetitions of Specimen Source Site Modifier (SPM-9). -
getSpm9_SpecimenSourceSiteModifier
Returns all repetitions of Specimen Source Site Modifier (SPM-9). -
getSpecimenSourceSiteModifierReps
Returns a count of the current number of repetitions of Specimen Source Site Modifier (SPM-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSpecimenSourceSiteModifier
Returns a specific repetition of SPM-9: "Specimen Source Site Modifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm9_SpecimenSourceSiteModifier
Returns a specific repetition of SPM-9: "Specimen Source Site Modifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm9_SpecimenSourceSiteModifierReps
Returns a count of the current number of repetitions of Specimen Source Site Modifier (SPM-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSpecimenSourceSiteModifier
Inserts a repetition of SPM-9: "Specimen Source Site Modifier" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertSpm9_SpecimenSourceSiteModifier
Inserts a repetition of SPM-9: "Specimen Source Site Modifier" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpecimenSourceSiteModifier
Removes a repetition of SPM-9: "Specimen Source Site Modifier" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpm9_SpecimenSourceSiteModifier
Removes a repetition of SPM-9: "Specimen Source Site Modifier" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSpecimenCollectionSite
Returns SPM-10: "Specimen Collection Site" - creates it if necessary -
getSpm10_SpecimenCollectionSite
Returns SPM-10: "Specimen Collection Site" - creates it if necessary -
getSpecimenRole
Returns all repetitions of Specimen Role (SPM-11). -
getSpm11_SpecimenRole
Returns all repetitions of Specimen Role (SPM-11). -
getSpecimenRoleReps
Returns a count of the current number of repetitions of Specimen Role (SPM-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSpecimenRole
Returns a specific repetition of SPM-11: "Specimen Role" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm11_SpecimenRole
Returns a specific repetition of SPM-11: "Specimen Role" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm11_SpecimenRoleReps
Returns a count of the current number of repetitions of Specimen Role (SPM-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSpecimenRole
Inserts a repetition of SPM-11: "Specimen Role" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertSpm11_SpecimenRole
Inserts a repetition of SPM-11: "Specimen Role" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpecimenRole
Removes a repetition of SPM-11: "Specimen Role" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpm11_SpecimenRole
Removes a repetition of SPM-11: "Specimen Role" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSpecimenCollectionAmount
Returns SPM-12: "Specimen Collection Amount" - creates it if necessary -
getSpm12_SpecimenCollectionAmount
Returns SPM-12: "Specimen Collection Amount" - creates it if necessary -
getGroupedSpecimenCount
Returns SPM-13: "Grouped Specimen Count" - creates it if necessary -
getSpm13_GroupedSpecimenCount
Returns SPM-13: "Grouped Specimen Count" - creates it if necessary -
getSpecimenDescription
Returns all repetitions of Specimen Description (SPM-14). -
getSpm14_SpecimenDescription
Returns all repetitions of Specimen Description (SPM-14). -
getSpecimenDescriptionReps
Returns a count of the current number of repetitions of Specimen Description (SPM-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSpecimenDescription
Returns a specific repetition of SPM-14: "Specimen Description" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm14_SpecimenDescription
Returns a specific repetition of SPM-14: "Specimen Description" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm14_SpecimenDescriptionReps
Returns a count of the current number of repetitions of Specimen Description (SPM-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSpecimenDescription
Inserts a repetition of SPM-14: "Specimen Description" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertSpm14_SpecimenDescription
Inserts a repetition of SPM-14: "Specimen Description" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpecimenDescription
Removes a repetition of SPM-14: "Specimen Description" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpm14_SpecimenDescription
Removes a repetition of SPM-14: "Specimen Description" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSpecimenHandlingCode
Returns all repetitions of Specimen Handling Code (SPM-15). -
getSpm15_SpecimenHandlingCode
Returns all repetitions of Specimen Handling Code (SPM-15). -
getSpecimenHandlingCodeReps
Returns a count of the current number of repetitions of Specimen Handling Code (SPM-15). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSpecimenHandlingCode
Returns a specific repetition of SPM-15: "Specimen Handling Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm15_SpecimenHandlingCode
Returns a specific repetition of SPM-15: "Specimen Handling Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm15_SpecimenHandlingCodeReps
Returns a count of the current number of repetitions of Specimen Handling Code (SPM-15). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSpecimenHandlingCode
Inserts a repetition of SPM-15: "Specimen Handling Code" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertSpm15_SpecimenHandlingCode
Inserts a repetition of SPM-15: "Specimen Handling Code" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpecimenHandlingCode
Removes a repetition of SPM-15: "Specimen Handling Code" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpm15_SpecimenHandlingCode
Removes a repetition of SPM-15: "Specimen Handling Code" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSpecimenRiskCode
Returns all repetitions of Specimen Risk Code (SPM-16). -
getSpm16_SpecimenRiskCode
Returns all repetitions of Specimen Risk Code (SPM-16). -
getSpecimenRiskCodeReps
Returns a count of the current number of repetitions of Specimen Risk Code (SPM-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSpecimenRiskCode
Returns a specific repetition of SPM-16: "Specimen Risk Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm16_SpecimenRiskCode
Returns a specific repetition of SPM-16: "Specimen Risk Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm16_SpecimenRiskCodeReps
Returns a count of the current number of repetitions of Specimen Risk Code (SPM-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSpecimenRiskCode
Inserts a repetition of SPM-16: "Specimen Risk Code" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertSpm16_SpecimenRiskCode
Inserts a repetition of SPM-16: "Specimen Risk Code" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpecimenRiskCode
Removes a repetition of SPM-16: "Specimen Risk Code" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpm16_SpecimenRiskCode
Removes a repetition of SPM-16: "Specimen Risk Code" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSpecimenCollectionDateTime
Returns SPM-17: "Specimen Collection Date/Time" - creates it if necessary -
getSpm17_SpecimenCollectionDateTime
Returns SPM-17: "Specimen Collection Date/Time" - creates it if necessary -
getSpecimenReceivedDateTime
Returns SPM-18: "Specimen Received Date/Time" - creates it if necessary -
getSpm18_SpecimenReceivedDateTime
Returns SPM-18: "Specimen Received Date/Time" - creates it if necessary -
getSpecimenExpirationDateTime
Returns SPM-19: "Specimen Expiration Date/Time" - creates it if necessary -
getSpm19_SpecimenExpirationDateTime
Returns SPM-19: "Specimen Expiration Date/Time" - creates it if necessary -
getSpecimenAvailability
Returns SPM-20: "Specimen Availability" - creates it if necessary -
getSpm20_SpecimenAvailability
Returns SPM-20: "Specimen Availability" - creates it if necessary -
getSpecimenRejectReason
Returns all repetitions of Specimen Reject Reason (SPM-21). -
getSpm21_SpecimenRejectReason
Returns all repetitions of Specimen Reject Reason (SPM-21). -
getSpecimenRejectReasonReps
Returns a count of the current number of repetitions of Specimen Reject Reason (SPM-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSpecimenRejectReason
Returns a specific repetition of SPM-21: "Specimen Reject Reason" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm21_SpecimenRejectReason
Returns a specific repetition of SPM-21: "Specimen Reject Reason" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm21_SpecimenRejectReasonReps
Returns a count of the current number of repetitions of Specimen Reject Reason (SPM-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSpecimenRejectReason
Inserts a repetition of SPM-21: "Specimen Reject Reason" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertSpm21_SpecimenRejectReason
Inserts a repetition of SPM-21: "Specimen Reject Reason" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpecimenRejectReason
Removes a repetition of SPM-21: "Specimen Reject Reason" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpm21_SpecimenRejectReason
Removes a repetition of SPM-21: "Specimen Reject Reason" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSpecimenQuality
Returns SPM-22: "Specimen Quality" - creates it if necessary -
getSpm22_SpecimenQuality
Returns SPM-22: "Specimen Quality" - creates it if necessary -
getSpecimenAppropriateness
Returns SPM-23: "Specimen Appropriateness" - creates it if necessary -
getSpm23_SpecimenAppropriateness
Returns SPM-23: "Specimen Appropriateness" - creates it if necessary -
getSpecimenCondition
Returns all repetitions of Specimen Condition (SPM-24). -
getSpm24_SpecimenCondition
Returns all repetitions of Specimen Condition (SPM-24). -
getSpecimenConditionReps
Returns a count of the current number of repetitions of Specimen Condition (SPM-24). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSpecimenCondition
Returns a specific repetition of SPM-24: "Specimen Condition" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm24_SpecimenCondition
Returns a specific repetition of SPM-24: "Specimen Condition" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSpm24_SpecimenConditionReps
Returns a count of the current number of repetitions of Specimen Condition (SPM-24). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSpecimenCondition
Inserts a repetition of SPM-24: "Specimen Condition" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertSpm24_SpecimenCondition
Inserts a repetition of SPM-24: "Specimen Condition" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpecimenCondition
Removes a repetition of SPM-24: "Specimen Condition" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpm24_SpecimenCondition
Removes a repetition of SPM-24: "Specimen Condition" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSpecimenCurrentQuantity
Returns SPM-25: "Specimen Current Quantity" - creates it if necessary -
getSpm25_SpecimenCurrentQuantity
Returns SPM-25: "Specimen Current Quantity" - creates it if necessary -
getNumberOfSpecimenContainers
Returns SPM-26: "Number of Specimen Containers" - creates it if necessary -
getSpm26_NumberOfSpecimenContainers
Returns SPM-26: "Number of Specimen Containers" - creates it if necessary -
getContainerType
Returns SPM-27: "Container Type" - creates it if necessary -
getSpm27_ContainerType
Returns SPM-27: "Container Type" - creates it if necessary -
getContainerCondition
Returns SPM-28: "Container Condition" - creates it if necessary -
getSpm28_ContainerCondition
Returns SPM-28: "Container Condition" - creates it if necessary -
getSpecimenChildRole
Returns SPM-29: "Specimen Child Role" - creates it if necessary -
getSpm29_SpecimenChildRole
Returns SPM-29: "Specimen Child Role" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-