Package ca.uhn.hl7v2.model.v251.segment
Class BPO
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.BPO
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 BPO message segment (Blood product order). This segment has the following fields:
- BPO-1: Set ID - BPO (SI)
- BPO-2: BP Universal Service ID (CWE)
- BPO-3: BP Processing Requirements (CWE) optional repeating
- BPO-4: BP Quantity (NM)
- BPO-5: BP Amount (NM) optional
- BPO-6: BP Units (CE) optional
- BPO-7: BP Intended Use Date/Time (TS) optional
- BPO-8: BP Intended Dispense From Location (PL) optional
- BPO-9: BP Intended Dispense From Address (XAD) optional
- BPO-10: BP Requested Dispense Date/Time (TS) optional
- BPO-11: BP Requested Dispense To Location (PL) optional
- BPO-12: BP Requested Dispense To Address (XAD) optional
- BPO-13: BP Indication for Use (CWE) optional repeating
- BPO-14: BP Informed Consent Indicator (ID) 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 BPO-5: "BP Amount" - creates it if necessaryCWE[]Returns all repetitions of BP Indication for Use (BPO-13).getBPIndicationForUse(int rep) Returns a specific repetition of BPO-13: "BP Indication for Use" - creates it if necessaryintReturns a count of the current number of repetitions of BP Indication for Use (BPO-13).Returns BPO-14: "BP Informed Consent Indicator" - creates it if necessaryReturns BPO-9: "BP Intended Dispense From Address" - creates it if necessaryReturns BPO-8: "BP Intended Dispense From Location" - creates it if necessaryReturns BPO-7: "BP Intended Use Date/Time" - creates it if necessaryReturns BPO-1: "Set ID - BPO" - creates it if necessaryReturns BPO-10: "BP Requested Dispense Date/Time" - creates it if necessaryReturns BPO-11: "BP Requested Dispense To Location" - creates it if necessaryReturns BPO-12: "BP Requested Dispense To Address" - creates it if necessaryCWE[]Returns all repetitions of BP Indication for Use (BPO-13).getBpo13_BPIndicationForUse(int rep) Returns a specific repetition of BPO-13: "BP Indication for Use" - creates it if necessaryintReturns a count of the current number of repetitions of BP Indication for Use (BPO-13).Returns BPO-14: "BP Informed Consent Indicator" - creates it if necessaryReturns BPO-2: "BP Universal Service ID" - creates it if necessaryCWE[]Returns all repetitions of BP Processing Requirements (BPO-3).getBpo3_BPProcessingRequirements(int rep) Returns a specific repetition of BPO-3: "BP Processing Requirements" - creates it if necessaryintReturns a count of the current number of repetitions of BP Processing Requirements (BPO-3).Returns BPO-4: "BP Quantity" - creates it if necessaryReturns BPO-5: "BP Amount" - creates it if necessaryReturns BPO-6: "BP Units" - creates it if necessaryReturns BPO-7: "BP Intended Use Date/Time" - creates it if necessaryReturns BPO-8: "BP Intended Dispense From Location" - creates it if necessaryReturns BPO-9: "BP Intended Dispense From Address" - creates it if necessaryCWE[]Returns all repetitions of BP Processing Requirements (BPO-3).getBPProcessingRequirements(int rep) Returns a specific repetition of BPO-3: "BP Processing Requirements" - creates it if necessaryintReturns a count of the current number of repetitions of BP Processing Requirements (BPO-3).Returns BPO-4: "BP Quantity" - creates it if necessaryReturns BPO-10: "BP Requested Dispense Date/Time" - creates it if necessaryReturns BPO-12: "BP Requested Dispense To Address" - creates it if necessaryReturns BPO-11: "BP Requested Dispense To Location" - creates it if necessaryReturns BPO-6: "BP Units" - creates it if necessaryReturns BPO-2: "BP Universal Service ID" - creates it if necessaryReturns BPO-1: "Set ID - BPO" - creates it if necessaryinsertBPIndicationForUse(int rep) Inserts a repetition of BPO-13: "BP Indication for Use" at a specific indexinsertBpo13_BPIndicationForUse(int rep) Inserts a repetition of BPO-13: "BP Indication for Use" at a specific indexinsertBpo3_BPProcessingRequirements(int rep) Inserts a repetition of BPO-3: "BP Processing Requirements" at a specific indexinsertBPProcessingRequirements(int rep) Inserts a repetition of BPO-3: "BP Processing Requirements" at a specific indexremoveBPIndicationForUse(int rep) Removes a repetition of BPO-13: "BP Indication for Use" at a specific indexremoveBpo13_BPIndicationForUse(int rep) Removes a repetition of BPO-13: "BP Indication for Use" at a specific indexremoveBpo3_BPProcessingRequirements(int rep) Removes a repetition of BPO-3: "BP Processing Requirements" at a specific indexremoveBPProcessingRequirements(int rep) Removes a repetition of BPO-3: "BP Processing Requirements" 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
-
BPO
Creates a new BPO segment
-
-
Method Details
-
getSetIDBPO
Returns BPO-1: "Set ID - BPO" - creates it if necessary -
getBpo1_SetIDBPO
Returns BPO-1: "Set ID - BPO" - creates it if necessary -
getBPUniversalServiceID
Returns BPO-2: "BP Universal Service ID" - creates it if necessary -
getBpo2_BPUniversalServiceID
Returns BPO-2: "BP Universal Service ID" - creates it if necessary -
getBPProcessingRequirements
Returns all repetitions of BP Processing Requirements (BPO-3). -
getBpo3_BPProcessingRequirements
Returns all repetitions of BP Processing Requirements (BPO-3). -
getBPProcessingRequirementsReps
Returns a count of the current number of repetitions of BP Processing Requirements (BPO-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getBPProcessingRequirements
Returns a specific repetition of BPO-3: "BP Processing Requirements" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getBpo3_BPProcessingRequirements
Returns a specific repetition of BPO-3: "BP Processing Requirements" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getBpo3_BPProcessingRequirementsReps
Returns a count of the current number of repetitions of BP Processing Requirements (BPO-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertBPProcessingRequirements
Inserts a repetition of BPO-3: "BP Processing Requirements" 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)
-
insertBpo3_BPProcessingRequirements
Inserts a repetition of BPO-3: "BP Processing Requirements" 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)
-
removeBPProcessingRequirements
Removes a repetition of BPO-3: "BP Processing Requirements" 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)
-
removeBpo3_BPProcessingRequirements
Removes a repetition of BPO-3: "BP Processing Requirements" 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)
-
getBPQuantity
Returns BPO-4: "BP Quantity" - creates it if necessary -
getBpo4_BPQuantity
Returns BPO-4: "BP Quantity" - creates it if necessary -
getBPAmount
Returns BPO-5: "BP Amount" - creates it if necessary -
getBpo5_BPAmount
Returns BPO-5: "BP Amount" - creates it if necessary -
getBPUnits
Returns BPO-6: "BP Units" - creates it if necessary -
getBpo6_BPUnits
Returns BPO-6: "BP Units" - creates it if necessary -
getBPIntendedUseDateTime
Returns BPO-7: "BP Intended Use Date/Time" - creates it if necessary -
getBpo7_BPIntendedUseDateTime
Returns BPO-7: "BP Intended Use Date/Time" - creates it if necessary -
getBPIntendedDispenseFromLocation
Returns BPO-8: "BP Intended Dispense From Location" - creates it if necessary -
getBpo8_BPIntendedDispenseFromLocation
Returns BPO-8: "BP Intended Dispense From Location" - creates it if necessary -
getBPIntendedDispenseFromAddress
Returns BPO-9: "BP Intended Dispense From Address" - creates it if necessary -
getBpo9_BPIntendedDispenseFromAddress
Returns BPO-9: "BP Intended Dispense From Address" - creates it if necessary -
getBPRequestedDispenseDateTime
Returns BPO-10: "BP Requested Dispense Date/Time" - creates it if necessary -
getBpo10_BPRequestedDispenseDateTime
Returns BPO-10: "BP Requested Dispense Date/Time" - creates it if necessary -
getBPRequestedDispenseToLocation
Returns BPO-11: "BP Requested Dispense To Location" - creates it if necessary -
getBpo11_BPRequestedDispenseToLocation
Returns BPO-11: "BP Requested Dispense To Location" - creates it if necessary -
getBPRequestedDispenseToAddress
Returns BPO-12: "BP Requested Dispense To Address" - creates it if necessary -
getBpo12_BPRequestedDispenseToAddress
Returns BPO-12: "BP Requested Dispense To Address" - creates it if necessary -
getBPIndicationForUse
Returns all repetitions of BP Indication for Use (BPO-13). -
getBpo13_BPIndicationForUse
Returns all repetitions of BP Indication for Use (BPO-13). -
getBPIndicationForUseReps
Returns a count of the current number of repetitions of BP Indication for Use (BPO-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getBPIndicationForUse
Returns a specific repetition of BPO-13: "BP Indication for Use" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getBpo13_BPIndicationForUse
Returns a specific repetition of BPO-13: "BP Indication for Use" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getBpo13_BPIndicationForUseReps
Returns a count of the current number of repetitions of BP Indication for Use (BPO-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertBPIndicationForUse
Inserts a repetition of BPO-13: "BP Indication for Use" 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)
-
insertBpo13_BPIndicationForUse
Inserts a repetition of BPO-13: "BP Indication for Use" 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)
-
removeBPIndicationForUse
Removes a repetition of BPO-13: "BP Indication for Use" 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)
-
removeBpo13_BPIndicationForUse
Removes a repetition of BPO-13: "BP Indication for Use" 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)
-
getBPInformedConsentIndicator
Returns BPO-14: "BP Informed Consent Indicator" - creates it if necessary -
getBpo14_BPInformedConsentIndicator
Returns BPO-14: "BP Informed Consent Indicator" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-