Package ca.uhn.hl7v2.model.v251.segment
Class BPX
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.BPX
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 BPX message segment (Blood product dispense status). This segment has the following fields:
- BPX-1: Set ID - BPX (SI)
- BPX-2: BP Dispense Status (CWE)
- BPX-3: BP Status (ID)
- BPX-4: BP Date/Time of Status (TS)
- BPX-5: BC Donation ID (EI) optional
- BPX-6: BC Component (CNE) optional
- BPX-7: BC Donation Type / Intended Use (CNE) optional
- BPX-8: CP Commercial Product (CWE) optional
- BPX-9: CP Manufacturer (XON) optional
- BPX-10: CP Lot Number (EI) optional
- BPX-11: BP Blood Group (CNE) optional
- BPX-12: BC Special Testing (CNE) optional repeating
- BPX-13: BP Expiration Date/Time (TS) optional
- BPX-14: BP Quantity (NM)
- BPX-15: BP Amount (NM) optional
- BPX-16: BP Units (CE) optional
- BPX-17: BP Unique ID (EI) optional
- BPX-18: BP Actual Dispensed To Location (PL) optional
- BPX-19: BP Actual Dispensed To Address (XAD) optional
- BPX-20: BP Dispensed to Receiver (XCN) optional
- BPX-21: BP Dispensing Individual (XCN) 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 BPX-6: "BC Component" - creates it if necessaryReturns BPX-5: "BC Donation ID" - creates it if necessaryReturns BPX-7: "BC Donation Type / Intended Use" - creates it if necessaryCNE[]Returns all repetitions of BC Special Testing (BPX-12).getBCSpecialTesting(int rep) Returns a specific repetition of BPX-12: "BC Special Testing" - creates it if necessaryintReturns a count of the current number of repetitions of BC Special Testing (BPX-12).Returns BPX-19: "BP Actual Dispensed To Address" - creates it if necessaryReturns BPX-18: "BP Actual Dispensed To Location" - creates it if necessaryReturns BPX-15: "BP Amount" - creates it if necessaryReturns BPX-11: "BP Blood Group" - creates it if necessaryReturns BPX-4: "BP Date/Time of Status" - creates it if necessaryReturns BPX-20: "BP Dispensed to Receiver" - creates it if necessaryReturns BPX-2: "BP Dispense Status" - creates it if necessaryReturns BPX-21: "BP Dispensing Individual" - creates it if necessaryReturns BPX-13: "BP Expiration Date/Time" - creates it if necessaryReturns BPX-14: "BP Quantity" - creates it if necessaryReturns BPX-3: "BP Status" - creates it if necessaryReturns BPX-17: "BP Unique ID" - creates it if necessaryReturns BPX-16: "BP Units" - creates it if necessaryReturns BPX-1: "Set ID - BPX" - creates it if necessaryReturns BPX-10: "CP Lot Number" - creates it if necessaryReturns BPX-11: "BP Blood Group" - creates it if necessaryCNE[]Returns all repetitions of BC Special Testing (BPX-12).getBpx12_BCSpecialTesting(int rep) Returns a specific repetition of BPX-12: "BC Special Testing" - creates it if necessaryintReturns a count of the current number of repetitions of BC Special Testing (BPX-12).Returns BPX-13: "BP Expiration Date/Time" - creates it if necessaryReturns BPX-14: "BP Quantity" - creates it if necessaryReturns BPX-15: "BP Amount" - creates it if necessaryReturns BPX-16: "BP Units" - creates it if necessaryReturns BPX-17: "BP Unique ID" - creates it if necessaryReturns BPX-18: "BP Actual Dispensed To Location" - creates it if necessaryReturns BPX-19: "BP Actual Dispensed To Address" - creates it if necessaryReturns BPX-2: "BP Dispense Status" - creates it if necessaryReturns BPX-20: "BP Dispensed to Receiver" - creates it if necessaryReturns BPX-21: "BP Dispensing Individual" - creates it if necessaryReturns BPX-3: "BP Status" - creates it if necessaryReturns BPX-4: "BP Date/Time of Status" - creates it if necessaryReturns BPX-5: "BC Donation ID" - creates it if necessaryReturns BPX-6: "BC Component" - creates it if necessaryReturns BPX-7: "BC Donation Type / Intended Use" - creates it if necessaryReturns BPX-8: "CP Commercial Product" - creates it if necessaryReturns BPX-9: "CP Manufacturer" - creates it if necessaryReturns BPX-8: "CP Commercial Product" - creates it if necessaryReturns BPX-10: "CP Lot Number" - creates it if necessaryReturns BPX-9: "CP Manufacturer" - creates it if necessaryReturns BPX-1: "Set ID - BPX" - creates it if necessaryinsertBCSpecialTesting(int rep) Inserts a repetition of BPX-12: "BC Special Testing" at a specific indexinsertBpx12_BCSpecialTesting(int rep) Inserts a repetition of BPX-12: "BC Special Testing" at a specific indexremoveBCSpecialTesting(int rep) Removes a repetition of BPX-12: "BC Special Testing" at a specific indexremoveBpx12_BCSpecialTesting(int rep) Removes a repetition of BPX-12: "BC Special Testing" 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
-
BPX
Creates a new BPX segment
-
-
Method Details
-
getSetIDBPX
Returns BPX-1: "Set ID - BPX" - creates it if necessary -
getBpx1_SetIDBPX
Returns BPX-1: "Set ID - BPX" - creates it if necessary -
getBPDispenseStatus
Returns BPX-2: "BP Dispense Status" - creates it if necessary -
getBpx2_BPDispenseStatus
Returns BPX-2: "BP Dispense Status" - creates it if necessary -
getBPStatus
Returns BPX-3: "BP Status" - creates it if necessary -
getBpx3_BPStatus
Returns BPX-3: "BP Status" - creates it if necessary -
getBPDateTimeOfStatus
Returns BPX-4: "BP Date/Time of Status" - creates it if necessary -
getBpx4_BPDateTimeOfStatus
Returns BPX-4: "BP Date/Time of Status" - creates it if necessary -
getBCDonationID
Returns BPX-5: "BC Donation ID" - creates it if necessary -
getBpx5_BCDonationID
Returns BPX-5: "BC Donation ID" - creates it if necessary -
getBCComponent
Returns BPX-6: "BC Component" - creates it if necessary -
getBpx6_BCComponent
Returns BPX-6: "BC Component" - creates it if necessary -
getBCDonationTypeIntendedUse
Returns BPX-7: "BC Donation Type / Intended Use" - creates it if necessary -
getBpx7_BCDonationTypeIntendedUse
Returns BPX-7: "BC Donation Type / Intended Use" - creates it if necessary -
getCPCommercialProduct
Returns BPX-8: "CP Commercial Product" - creates it if necessary -
getBpx8_CPCommercialProduct
Returns BPX-8: "CP Commercial Product" - creates it if necessary -
getCPManufacturer
Returns BPX-9: "CP Manufacturer" - creates it if necessary -
getBpx9_CPManufacturer
Returns BPX-9: "CP Manufacturer" - creates it if necessary -
getCPLotNumber
Returns BPX-10: "CP Lot Number" - creates it if necessary -
getBpx10_CPLotNumber
Returns BPX-10: "CP Lot Number" - creates it if necessary -
getBPBloodGroup
Returns BPX-11: "BP Blood Group" - creates it if necessary -
getBpx11_BPBloodGroup
Returns BPX-11: "BP Blood Group" - creates it if necessary -
getBCSpecialTesting
Returns all repetitions of BC Special Testing (BPX-12). -
getBpx12_BCSpecialTesting
Returns all repetitions of BC Special Testing (BPX-12). -
getBCSpecialTestingReps
Returns a count of the current number of repetitions of BC Special Testing (BPX-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getBCSpecialTesting
Returns a specific repetition of BPX-12: "BC Special Testing" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getBpx12_BCSpecialTesting
Returns a specific repetition of BPX-12: "BC Special Testing" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getBpx12_BCSpecialTestingReps
Returns a count of the current number of repetitions of BC Special Testing (BPX-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertBCSpecialTesting
Inserts a repetition of BPX-12: "BC Special Testing" 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)
-
insertBpx12_BCSpecialTesting
Inserts a repetition of BPX-12: "BC Special Testing" 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)
-
removeBCSpecialTesting
Removes a repetition of BPX-12: "BC Special Testing" 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)
-
removeBpx12_BCSpecialTesting
Removes a repetition of BPX-12: "BC Special Testing" 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)
-
getBPExpirationDateTime
Returns BPX-13: "BP Expiration Date/Time" - creates it if necessary -
getBpx13_BPExpirationDateTime
Returns BPX-13: "BP Expiration Date/Time" - creates it if necessary -
getBPQuantity
Returns BPX-14: "BP Quantity" - creates it if necessary -
getBpx14_BPQuantity
Returns BPX-14: "BP Quantity" - creates it if necessary -
getBPAmount
Returns BPX-15: "BP Amount" - creates it if necessary -
getBpx15_BPAmount
Returns BPX-15: "BP Amount" - creates it if necessary -
getBPUnits
Returns BPX-16: "BP Units" - creates it if necessary -
getBpx16_BPUnits
Returns BPX-16: "BP Units" - creates it if necessary -
getBPUniqueID
Returns BPX-17: "BP Unique ID" - creates it if necessary -
getBpx17_BPUniqueID
Returns BPX-17: "BP Unique ID" - creates it if necessary -
getBPActualDispensedToLocation
Returns BPX-18: "BP Actual Dispensed To Location" - creates it if necessary -
getBpx18_BPActualDispensedToLocation
Returns BPX-18: "BP Actual Dispensed To Location" - creates it if necessary -
getBPActualDispensedToAddress
Returns BPX-19: "BP Actual Dispensed To Address" - creates it if necessary -
getBpx19_BPActualDispensedToAddress
Returns BPX-19: "BP Actual Dispensed To Address" - creates it if necessary -
getBPDispensedToReceiver
Returns BPX-20: "BP Dispensed to Receiver" - creates it if necessary -
getBpx20_BPDispensedToReceiver
Returns BPX-20: "BP Dispensed to Receiver" - creates it if necessary -
getBPDispensingIndividual
Returns BPX-21: "BP Dispensing Individual" - creates it if necessary -
getBpx21_BPDispensingIndividual
Returns BPX-21: "BP Dispensing Individual" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-