Package ca.uhn.hl7v2.model.v251.segment
Class BTX
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.BTX
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 BTX message segment (Blood Product Transfusion/Disposition). This segment has the following fields:
- BTX-1: Set ID - BTX (SI)
- BTX-2: BC Donation ID (EI) optional
- BTX-3: BC Component (CNE) optional
- BTX-4: BC Blood Group (CNE) optional
- BTX-5: CP Commercial Product (CWE) optional
- BTX-6: CP Manufacturer (XON) optional
- BTX-7: CP Lot Number (EI) optional
- BTX-8: BP Quantity (NM)
- BTX-9: BP Amount (NM) optional
- BTX-10: BP Units (CE) optional
- BTX-11: BP Transfusion/Disposition Status (CWE)
- BTX-12: BP Message Status (ID)
- BTX-13: BP Date/Time of Status (TS)
- BTX-14: BP Administrator (XCN) optional
- BTX-15: BP Verifier (XCN) optional
- BTX-16: BP Transfusion Start Date/Time of Status (TS) optional
- BTX-17: BP Transfusion End Date/Time of Status (TS) optional
- BTX-18: BP Adverse Reaction Type (CWE) optional repeating
- BTX-19: BP Transfusion Interrupted Reason (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 BTX-4: "BC Blood Group" - creates it if necessaryReturns BTX-3: "BC Component" - creates it if necessaryReturns BTX-2: "BC Donation ID" - creates it if necessaryReturns BTX-14: "BP Administrator" - creates it if necessaryCWE[]Returns all repetitions of BP Adverse Reaction Type (BTX-18).getBPAdverseReactionType(int rep) Returns a specific repetition of BTX-18: "BP Adverse Reaction Type" - creates it if necessaryintReturns a count of the current number of repetitions of BP Adverse Reaction Type (BTX-18).Returns BTX-9: "BP Amount" - creates it if necessaryReturns BTX-13: "BP Date/Time of Status" - creates it if necessaryReturns BTX-12: "BP Message Status" - creates it if necessaryReturns BTX-8: "BP Quantity" - creates it if necessaryReturns BTX-11: "BP Transfusion/Disposition Status" - creates it if necessaryReturns BTX-17: "BP Transfusion End Date/Time of Status" - creates it if necessaryReturns BTX-19: "BP Transfusion Interrupted Reason" - creates it if necessaryReturns BTX-16: "BP Transfusion Start Date/Time of Status" - creates it if necessaryReturns BTX-10: "BP Units" - creates it if necessaryReturns BTX-15: "BP Verifier" - creates it if necessaryReturns BTX-1: "Set ID - BTX" - creates it if necessaryReturns BTX-10: "BP Units" - creates it if necessaryReturns BTX-11: "BP Transfusion/Disposition Status" - creates it if necessaryReturns BTX-12: "BP Message Status" - creates it if necessaryReturns BTX-13: "BP Date/Time of Status" - creates it if necessaryReturns BTX-14: "BP Administrator" - creates it if necessaryReturns BTX-15: "BP Verifier" - creates it if necessaryReturns BTX-16: "BP Transfusion Start Date/Time of Status" - creates it if necessaryReturns BTX-17: "BP Transfusion End Date/Time of Status" - creates it if necessaryCWE[]Returns all repetitions of BP Adverse Reaction Type (BTX-18).getBtx18_BPAdverseReactionType(int rep) Returns a specific repetition of BTX-18: "BP Adverse Reaction Type" - creates it if necessaryintReturns a count of the current number of repetitions of BP Adverse Reaction Type (BTX-18).Returns BTX-19: "BP Transfusion Interrupted Reason" - creates it if necessaryReturns BTX-2: "BC Donation ID" - creates it if necessaryReturns BTX-3: "BC Component" - creates it if necessaryReturns BTX-4: "BC Blood Group" - creates it if necessaryReturns BTX-5: "CP Commercial Product" - creates it if necessaryReturns BTX-6: "CP Manufacturer" - creates it if necessaryReturns BTX-7: "CP Lot Number" - creates it if necessaryReturns BTX-8: "BP Quantity" - creates it if necessaryReturns BTX-9: "BP Amount" - creates it if necessaryReturns BTX-5: "CP Commercial Product" - creates it if necessaryReturns BTX-7: "CP Lot Number" - creates it if necessaryReturns BTX-6: "CP Manufacturer" - creates it if necessaryReturns BTX-1: "Set ID - BTX" - creates it if necessaryinsertBPAdverseReactionType(int rep) Inserts a repetition of BTX-18: "BP Adverse Reaction Type" at a specific indexinsertBtx18_BPAdverseReactionType(int rep) Inserts a repetition of BTX-18: "BP Adverse Reaction Type" at a specific indexremoveBPAdverseReactionType(int rep) Removes a repetition of BTX-18: "BP Adverse Reaction Type" at a specific indexremoveBtx18_BPAdverseReactionType(int rep) Removes a repetition of BTX-18: "BP Adverse Reaction Type" 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
-
BTX
Creates a new BTX segment
-
-
Method Details
-
getSetIDBTX
Returns BTX-1: "Set ID - BTX" - creates it if necessary -
getBtx1_SetIDBTX
Returns BTX-1: "Set ID - BTX" - creates it if necessary -
getBCDonationID
Returns BTX-2: "BC Donation ID" - creates it if necessary -
getBtx2_BCDonationID
Returns BTX-2: "BC Donation ID" - creates it if necessary -
getBCComponent
Returns BTX-3: "BC Component" - creates it if necessary -
getBtx3_BCComponent
Returns BTX-3: "BC Component" - creates it if necessary -
getBCBloodGroup
Returns BTX-4: "BC Blood Group" - creates it if necessary -
getBtx4_BCBloodGroup
Returns BTX-4: "BC Blood Group" - creates it if necessary -
getCPCommercialProduct
Returns BTX-5: "CP Commercial Product" - creates it if necessary -
getBtx5_CPCommercialProduct
Returns BTX-5: "CP Commercial Product" - creates it if necessary -
getCPManufacturer
Returns BTX-6: "CP Manufacturer" - creates it if necessary -
getBtx6_CPManufacturer
Returns BTX-6: "CP Manufacturer" - creates it if necessary -
getCPLotNumber
Returns BTX-7: "CP Lot Number" - creates it if necessary -
getBtx7_CPLotNumber
Returns BTX-7: "CP Lot Number" - creates it if necessary -
getBPQuantity
Returns BTX-8: "BP Quantity" - creates it if necessary -
getBtx8_BPQuantity
Returns BTX-8: "BP Quantity" - creates it if necessary -
getBPAmount
Returns BTX-9: "BP Amount" - creates it if necessary -
getBtx9_BPAmount
Returns BTX-9: "BP Amount" - creates it if necessary -
getBPUnits
Returns BTX-10: "BP Units" - creates it if necessary -
getBtx10_BPUnits
Returns BTX-10: "BP Units" - creates it if necessary -
getBPTransfusionDispositionStatus
Returns BTX-11: "BP Transfusion/Disposition Status" - creates it if necessary -
getBtx11_BPTransfusionDispositionStatus
Returns BTX-11: "BP Transfusion/Disposition Status" - creates it if necessary -
getBPMessageStatus
Returns BTX-12: "BP Message Status" - creates it if necessary -
getBtx12_BPMessageStatus
Returns BTX-12: "BP Message Status" - creates it if necessary -
getBPDateTimeOfStatus
Returns BTX-13: "BP Date/Time of Status" - creates it if necessary -
getBtx13_BPDateTimeOfStatus
Returns BTX-13: "BP Date/Time of Status" - creates it if necessary -
getBPAdministrator
Returns BTX-14: "BP Administrator" - creates it if necessary -
getBtx14_BPAdministrator
Returns BTX-14: "BP Administrator" - creates it if necessary -
getBPVerifier
Returns BTX-15: "BP Verifier" - creates it if necessary -
getBtx15_BPVerifier
Returns BTX-15: "BP Verifier" - creates it if necessary -
getBPTransfusionStartDateTimeOfStatus
Returns BTX-16: "BP Transfusion Start Date/Time of Status" - creates it if necessary -
getBtx16_BPTransfusionStartDateTimeOfStatus
Returns BTX-16: "BP Transfusion Start Date/Time of Status" - creates it if necessary -
getBPTransfusionEndDateTimeOfStatus
Returns BTX-17: "BP Transfusion End Date/Time of Status" - creates it if necessary -
getBtx17_BPTransfusionEndDateTimeOfStatus
Returns BTX-17: "BP Transfusion End Date/Time of Status" - creates it if necessary -
getBPAdverseReactionType
Returns all repetitions of BP Adverse Reaction Type (BTX-18). -
getBtx18_BPAdverseReactionType
Returns all repetitions of BP Adverse Reaction Type (BTX-18). -
getBPAdverseReactionTypeReps
Returns a count of the current number of repetitions of BP Adverse Reaction Type (BTX-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getBPAdverseReactionType
Returns a specific repetition of BTX-18: "BP Adverse Reaction Type" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getBtx18_BPAdverseReactionType
Returns a specific repetition of BTX-18: "BP Adverse Reaction Type" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getBtx18_BPAdverseReactionTypeReps
Returns a count of the current number of repetitions of BP Adverse Reaction Type (BTX-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertBPAdverseReactionType
Inserts a repetition of BTX-18: "BP Adverse Reaction Type" 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)
-
insertBtx18_BPAdverseReactionType
Inserts a repetition of BTX-18: "BP Adverse Reaction Type" 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)
-
removeBPAdverseReactionType
Removes a repetition of BTX-18: "BP Adverse Reaction Type" 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)
-
removeBtx18_BPAdverseReactionType
Removes a repetition of BTX-18: "BP Adverse Reaction Type" 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)
-
getBPTransfusionInterruptedReason
Returns BTX-19: "BP Transfusion Interrupted Reason" - creates it if necessary -
getBtx19_BPTransfusionInterruptedReason
Returns BTX-19: "BP Transfusion Interrupted Reason" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-