Package ca.uhn.hl7v2.model.v24.segment
Class INV
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.INV
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 INV message segment (Inventory Detail). This segment has the following fields:
- INV-1: Substance Identifier (CE)
- INV-2: Substance Status (CE) repeating
- INV-3: Substance Type (CE) optional
- INV-4: Inventory Container Identifier (CE) optional
- INV-5: Container Carrier Identifier (CE) optional
- INV-6: Position on Carrier (CE) optional
- INV-7: Initial Quantity (NM) optional
- INV-8: Current Quantity (NM) optional
- INV-9: Available Quantity (NM) optional
- INV-10: Consumption Quantity (NM) optional
- INV-11: Quantity Units (CE) optional
- INV-12: Expiration Date/Time (TS) optional
- INV-13: First Used Date/Time (TS) optional
- INV-14: On Board Stability Duration (TQ) optional
- INV-15: Test/Fluid Identifier(s) (CE) optional repeating
- INV-16: Manufacturer Lot Number (ST) optional
- INV-17: Manufacturer Identifier (CE) optional
- INV-18: Supplier Identifier (CE) 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 INV-9: "Available Quantity" - creates it if necessaryReturns INV-10: "Consumption Quantity" - creates it if necessaryReturns INV-5: "Container Carrier Identifier" - creates it if necessaryReturns INV-8: "Current Quantity" - creates it if necessaryReturns INV-12: "Expiration Date/Time" - creates it if necessaryReturns INV-13: "First Used Date/Time" - creates it if necessaryReturns INV-7: "Initial Quantity" - creates it if necessaryReturns INV-1: "Substance Identifier" - creates it if necessaryReturns INV-10: "Consumption Quantity" - creates it if necessaryReturns INV-11: "Quantity Units" - creates it if necessaryReturns INV-12: "Expiration Date/Time" - creates it if necessaryReturns INV-13: "First Used Date/Time" - creates it if necessaryReturns INV-14: "On Board Stability Duration" - creates it if necessaryCE[]Returns all repetitions of Test/Fluid Identifier(s) (INV-15).getInv15_TestFluidIdentifierS(int rep) Returns a specific repetition of INV-15: "Test/Fluid Identifier(s)" - creates it if necessaryintReturns a count of the current number of repetitions of Test/Fluid Identifier(s) (INV-15).Returns INV-16: "Manufacturer Lot Number" - creates it if necessaryReturns INV-17: "Manufacturer Identifier" - creates it if necessaryReturns INV-18: "Supplier Identifier" - creates it if necessaryCE[]Returns all repetitions of Substance Status (INV-2).getInv2_SubstanceStatus(int rep) Returns a specific repetition of INV-2: "Substance Status" - creates it if necessaryintReturns a count of the current number of repetitions of Substance Status (INV-2).Returns INV-3: "Substance Type" - creates it if necessaryReturns INV-4: "Inventory Container Identifier" - creates it if necessaryReturns INV-5: "Container Carrier Identifier" - creates it if necessaryReturns INV-6: "Position on Carrier" - creates it if necessaryReturns INV-7: "Initial Quantity" - creates it if necessaryReturns INV-8: "Current Quantity" - creates it if necessaryReturns INV-9: "Available Quantity" - creates it if necessaryReturns INV-4: "Inventory Container Identifier" - creates it if necessaryReturns INV-17: "Manufacturer Identifier" - creates it if necessaryReturns INV-16: "Manufacturer Lot Number" - creates it if necessaryReturns INV-14: "On Board Stability Duration" - creates it if necessaryReturns INV-6: "Position on Carrier" - creates it if necessaryReturns INV-11: "Quantity Units" - creates it if necessaryReturns INV-1: "Substance Identifier" - creates it if necessaryCE[]Returns all repetitions of Substance Status (INV-2).getSubstanceStatus(int rep) Returns a specific repetition of INV-2: "Substance Status" - creates it if necessaryintReturns a count of the current number of repetitions of Substance Status (INV-2).Returns INV-3: "Substance Type" - creates it if necessaryReturns INV-18: "Supplier Identifier" - creates it if necessaryCE[]Returns all repetitions of Test/Fluid Identifier(s) (INV-15).getTestFluidIdentifierS(int rep) Returns a specific repetition of INV-15: "Test/Fluid Identifier(s)" - creates it if necessaryintReturns a count of the current number of repetitions of Test/Fluid Identifier(s) (INV-15).insertInv15_TestFluidIdentifierS(int rep) Inserts a repetition of INV-15: "Test/Fluid Identifier(s)" at a specific indexinsertInv2_SubstanceStatus(int rep) Inserts a repetition of INV-2: "Substance Status" at a specific indexinsertSubstanceStatus(int rep) Inserts a repetition of INV-2: "Substance Status" at a specific indexinsertTestFluidIdentifierS(int rep) Inserts a repetition of INV-15: "Test/Fluid Identifier(s)" at a specific indexremoveInv15_TestFluidIdentifierS(int rep) Removes a repetition of INV-15: "Test/Fluid Identifier(s)" at a specific indexremoveInv2_SubstanceStatus(int rep) Removes a repetition of INV-2: "Substance Status" at a specific indexremoveSubstanceStatus(int rep) Removes a repetition of INV-2: "Substance Status" at a specific indexremoveTestFluidIdentifierS(int rep) Removes a repetition of INV-15: "Test/Fluid Identifier(s)" 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
-
INV
Creates a new INV segment
-
-
Method Details
-
getSubstanceIdentifier
Returns INV-1: "Substance Identifier" - creates it if necessary -
getInv1_SubstanceIdentifier
Returns INV-1: "Substance Identifier" - creates it if necessary -
getSubstanceStatus
Returns all repetitions of Substance Status (INV-2). -
getInv2_SubstanceStatus
Returns all repetitions of Substance Status (INV-2). -
getSubstanceStatusReps
Returns a count of the current number of repetitions of Substance Status (INV-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSubstanceStatus
Returns a specific repetition of INV-2: "Substance Status" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getInv2_SubstanceStatus
Returns a specific repetition of INV-2: "Substance Status" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getInv2_SubstanceStatusReps
Returns a count of the current number of repetitions of Substance Status (INV-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSubstanceStatus
Inserts a repetition of INV-2: "Substance Status" 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)
-
insertInv2_SubstanceStatus
Inserts a repetition of INV-2: "Substance Status" 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)
-
removeSubstanceStatus
Removes a repetition of INV-2: "Substance Status" 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)
-
removeInv2_SubstanceStatus
Removes a repetition of INV-2: "Substance Status" 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)
-
getSubstanceType
Returns INV-3: "Substance Type" - creates it if necessary -
getInv3_SubstanceType
Returns INV-3: "Substance Type" - creates it if necessary -
getInventoryContainerIdentifier
Returns INV-4: "Inventory Container Identifier" - creates it if necessary -
getInv4_InventoryContainerIdentifier
Returns INV-4: "Inventory Container Identifier" - creates it if necessary -
getContainerCarrierIdentifier
Returns INV-5: "Container Carrier Identifier" - creates it if necessary -
getInv5_ContainerCarrierIdentifier
Returns INV-5: "Container Carrier Identifier" - creates it if necessary -
getPositionOnCarrier
Returns INV-6: "Position on Carrier" - creates it if necessary -
getInv6_PositionOnCarrier
Returns INV-6: "Position on Carrier" - creates it if necessary -
getInitialQuantity
Returns INV-7: "Initial Quantity" - creates it if necessary -
getInv7_InitialQuantity
Returns INV-7: "Initial Quantity" - creates it if necessary -
getCurrentQuantity
Returns INV-8: "Current Quantity" - creates it if necessary -
getInv8_CurrentQuantity
Returns INV-8: "Current Quantity" - creates it if necessary -
getAvailableQuantity
Returns INV-9: "Available Quantity" - creates it if necessary -
getInv9_AvailableQuantity
Returns INV-9: "Available Quantity" - creates it if necessary -
getConsumptionQuantity
Returns INV-10: "Consumption Quantity" - creates it if necessary -
getInv10_ConsumptionQuantity
Returns INV-10: "Consumption Quantity" - creates it if necessary -
getQuantityUnits
Returns INV-11: "Quantity Units" - creates it if necessary -
getInv11_QuantityUnits
Returns INV-11: "Quantity Units" - creates it if necessary -
getExpirationDateTime
Returns INV-12: "Expiration Date/Time" - creates it if necessary -
getInv12_ExpirationDateTime
Returns INV-12: "Expiration Date/Time" - creates it if necessary -
getFirstUsedDateTime
Returns INV-13: "First Used Date/Time" - creates it if necessary -
getInv13_FirstUsedDateTime
Returns INV-13: "First Used Date/Time" - creates it if necessary -
getOnBoardStabilityDuration
Returns INV-14: "On Board Stability Duration" - creates it if necessary -
getInv14_OnBoardStabilityDuration
Returns INV-14: "On Board Stability Duration" - creates it if necessary -
getTestFluidIdentifierS
Returns all repetitions of Test/Fluid Identifier(s) (INV-15). -
getInv15_TestFluidIdentifierS
Returns all repetitions of Test/Fluid Identifier(s) (INV-15). -
getTestFluidIdentifierSReps
Returns a count of the current number of repetitions of Test/Fluid Identifier(s) (INV-15). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getTestFluidIdentifierS
Returns a specific repetition of INV-15: "Test/Fluid Identifier(s)" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getInv15_TestFluidIdentifierS
Returns a specific repetition of INV-15: "Test/Fluid Identifier(s)" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getInv15_TestFluidIdentifierSReps
Returns a count of the current number of repetitions of Test/Fluid Identifier(s) (INV-15). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertTestFluidIdentifierS
Inserts a repetition of INV-15: "Test/Fluid Identifier(s)" 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)
-
insertInv15_TestFluidIdentifierS
Inserts a repetition of INV-15: "Test/Fluid Identifier(s)" 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)
-
removeTestFluidIdentifierS
Removes a repetition of INV-15: "Test/Fluid Identifier(s)" 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)
-
removeInv15_TestFluidIdentifierS
Removes a repetition of INV-15: "Test/Fluid Identifier(s)" 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)
-
getManufacturerLotNumber
Returns INV-16: "Manufacturer Lot Number" - creates it if necessary -
getInv16_ManufacturerLotNumber
Returns INV-16: "Manufacturer Lot Number" - creates it if necessary -
getManufacturerIdentifier
Returns INV-17: "Manufacturer Identifier" - creates it if necessary -
getInv17_ManufacturerIdentifier
Returns INV-17: "Manufacturer Identifier" - creates it if necessary -
getSupplierIdentifier
Returns INV-18: "Supplier Identifier" - creates it if necessary -
getInv18_SupplierIdentifier
Returns INV-18: "Supplier Identifier" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-