Package ca.uhn.hl7v2.model.v24.segment
Class UB1
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.UB1
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 UB1 message segment (UB82). This segment has the following fields:
- UB1-1: Set ID - UB1 (SI) optional
- UB1-2: Blood Deductible (43) (NM) optional
- UB1-3: Blood Furnished-Pints Of (40) (NM) optional
- UB1-4: Blood Replaced-Pints (41) (NM) optional
- UB1-5: Blood Not Replaced-Pints(42) (NM) optional
- UB1-6: Co-Insurance Days (25) (NM) optional
- UB1-7: Condition Code (35-39) (IS) optional repeating
- UB1-8: Covered Days - (23) (NM) optional
- UB1-9: Non Covered Days - (24) (NM) optional
- UB1-10: Value Amount & Code (46-49) (UVC) optional repeating
- UB1-11: Number Of Grace Days (90) (NM) optional
- UB1-12: Special Program Indicator (44) (CE) optional
- UB1-13: PSRO/UR Approval Indicator (87) (CE) optional
- UB1-14: PSRO/UR Approved Stay-Fm (88) (DT) optional
- UB1-15: PSRO/UR Approved Stay-To (89) (DT) optional
- UB1-16: Occurrence (28-32) (OCD) optional repeating
- UB1-17: Occurrence Span (33) (CE) optional
- UB1-18: Occur Span Start Date(33) (DT) optional
- UB1-19: Occur Span End Date (33) (DT) optional
- UB1-20: UB-82 Locator 2 (ST) optional
- UB1-21: UB-82 Locator 9 (ST) optional
- UB1-22: UB-82 Locator 27 (ST) optional
- UB1-23: UB-82 Locator 45 (ST) 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 UB1-2: "Blood Deductible (43)" - creates it if necessaryReturns UB1-3: "Blood Furnished-Pints Of (40)" - creates it if necessaryReturns UB1-5: "Blood Not Replaced-Pints(42)" - creates it if necessaryReturns UB1-4: "Blood Replaced-Pints (41)" - creates it if necessaryReturns UB1-6: "Co-Insurance Days (25)" - creates it if necessaryIS[]Returns all repetitions of Condition Code (35-39) (UB1-7).getConditionCode3539(int rep) Returns a specific repetition of UB1-7: "Condition Code (35-39)" - creates it if necessaryintReturns a count of the current number of repetitions of Condition Code (35-39) (UB1-7).Returns UB1-8: "Covered Days - (23)" - creates it if necessaryReturns UB1-9: "Non Covered Days - (24)" - creates it if necessaryReturns UB1-11: "Number Of Grace Days (90)" - creates it if necessaryOCD[]Returns all repetitions of Occurrence (28-32) (UB1-16).getOccurrence2832(int rep) Returns a specific repetition of UB1-16: "Occurrence (28-32)" - creates it if necessaryintReturns a count of the current number of repetitions of Occurrence (28-32) (UB1-16).Returns UB1-17: "Occurrence Span (33)" - creates it if necessaryReturns UB1-19: "Occur Span End Date (33)" - creates it if necessaryReturns UB1-18: "Occur Span Start Date(33)" - creates it if necessaryReturns UB1-13: "PSRO/UR Approval Indicator (87)" - creates it if necessaryReturns UB1-14: "PSRO/UR Approved Stay-Fm (88)" - creates it if necessaryReturns UB1-15: "PSRO/UR Approved Stay-To (89)" - creates it if necessaryReturns UB1-1: "Set ID - UB1" - creates it if necessaryReturns UB1-12: "Special Program Indicator (44)" - creates it if necessaryReturns UB1-1: "Set ID - UB1" - creates it if necessaryUVC[]Returns all repetitions of Value Amount & Code (46-49) (UB1-10).getUb110_ValueAmountCode4649(int rep) Returns a specific repetition of UB1-10: "Value Amount & Code (46-49)" - creates it if necessaryintReturns a count of the current number of repetitions of Value Amount & Code (46-49) (UB1-10).Returns UB1-11: "Number Of Grace Days (90)" - creates it if necessaryReturns UB1-12: "Special Program Indicator (44)" - creates it if necessaryReturns UB1-13: "PSRO/UR Approval Indicator (87)" - creates it if necessaryReturns UB1-14: "PSRO/UR Approved Stay-Fm (88)" - creates it if necessaryReturns UB1-15: "PSRO/UR Approved Stay-To (89)" - creates it if necessaryOCD[]Returns all repetitions of Occurrence (28-32) (UB1-16).getUb116_Occurrence2832(int rep) Returns a specific repetition of UB1-16: "Occurrence (28-32)" - creates it if necessaryintReturns a count of the current number of repetitions of Occurrence (28-32) (UB1-16).Returns UB1-17: "Occurrence Span (33)" - creates it if necessaryReturns UB1-18: "Occur Span Start Date(33)" - creates it if necessaryReturns UB1-19: "Occur Span End Date (33)" - creates it if necessaryReturns UB1-2: "Blood Deductible (43)" - creates it if necessaryReturns UB1-20: "UB-82 Locator 2" - creates it if necessaryReturns UB1-21: "UB-82 Locator 9" - creates it if necessaryReturns UB1-22: "UB-82 Locator 27" - creates it if necessaryReturns UB1-23: "UB-82 Locator 45" - creates it if necessaryReturns UB1-3: "Blood Furnished-Pints Of (40)" - creates it if necessaryReturns UB1-4: "Blood Replaced-Pints (41)" - creates it if necessaryReturns UB1-5: "Blood Not Replaced-Pints(42)" - creates it if necessaryReturns UB1-6: "Co-Insurance Days (25)" - creates it if necessaryIS[]Returns all repetitions of Condition Code (35-39) (UB1-7).getUb17_ConditionCode3539(int rep) Returns a specific repetition of UB1-7: "Condition Code (35-39)" - creates it if necessaryintReturns a count of the current number of repetitions of Condition Code (35-39) (UB1-7).Returns UB1-8: "Covered Days - (23)" - creates it if necessaryReturns UB1-9: "Non Covered Days - (24)" - creates it if necessaryReturns UB1-20: "UB-82 Locator 2" - creates it if necessaryReturns UB1-22: "UB-82 Locator 27" - creates it if necessaryReturns UB1-23: "UB-82 Locator 45" - creates it if necessaryReturns UB1-21: "UB-82 Locator 9" - creates it if necessaryUVC[]Returns all repetitions of Value Amount & Code (46-49) (UB1-10).getValueAmountCode4649(int rep) Returns a specific repetition of UB1-10: "Value Amount & Code (46-49)" - creates it if necessaryintReturns a count of the current number of repetitions of Value Amount & Code (46-49) (UB1-10).insertConditionCode3539(int rep) Inserts a repetition of UB1-7: "Condition Code (35-39)" at a specific indexinsertOccurrence2832(int rep) Inserts a repetition of UB1-16: "Occurrence (28-32)" at a specific indexinsertUb110_ValueAmountCode4649(int rep) Inserts a repetition of UB1-10: "Value Amount & Code (46-49)" at a specific indexinsertUb116_Occurrence2832(int rep) Inserts a repetition of UB1-16: "Occurrence (28-32)" at a specific indexinsertUb17_ConditionCode3539(int rep) Inserts a repetition of UB1-7: "Condition Code (35-39)" at a specific indexinsertValueAmountCode4649(int rep) Inserts a repetition of UB1-10: "Value Amount & Code (46-49)" at a specific indexremoveConditionCode3539(int rep) Removes a repetition of UB1-7: "Condition Code (35-39)" at a specific indexremoveOccurrence2832(int rep) Removes a repetition of UB1-16: "Occurrence (28-32)" at a specific indexremoveUb110_ValueAmountCode4649(int rep) Removes a repetition of UB1-10: "Value Amount & Code (46-49)" at a specific indexremoveUb116_Occurrence2832(int rep) Removes a repetition of UB1-16: "Occurrence (28-32)" at a specific indexremoveUb17_ConditionCode3539(int rep) Removes a repetition of UB1-7: "Condition Code (35-39)" at a specific indexremoveValueAmountCode4649(int rep) Removes a repetition of UB1-10: "Value Amount & Code (46-49)" 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
-
UB1
Creates a new UB1 segment
-
-
Method Details
-
getSetIDUB1
Returns UB1-1: "Set ID - UB1" - creates it if necessary -
getUb11_SetIDUB1
Returns UB1-1: "Set ID - UB1" - creates it if necessary -
getBloodDeductible
Returns UB1-2: "Blood Deductible (43)" - creates it if necessary -
getUb12_BloodDeductible
Returns UB1-2: "Blood Deductible (43)" - creates it if necessary -
getBloodFurnishedPintsOf
Returns UB1-3: "Blood Furnished-Pints Of (40)" - creates it if necessary -
getUb13_BloodFurnishedPintsOf
Returns UB1-3: "Blood Furnished-Pints Of (40)" - creates it if necessary -
getBloodReplacedPints
Returns UB1-4: "Blood Replaced-Pints (41)" - creates it if necessary -
getUb14_BloodReplacedPints
Returns UB1-4: "Blood Replaced-Pints (41)" - creates it if necessary -
getBloodNotReplacedPints
Returns UB1-5: "Blood Not Replaced-Pints(42)" - creates it if necessary -
getUb15_BloodNotReplacedPints
Returns UB1-5: "Blood Not Replaced-Pints(42)" - creates it if necessary -
getCoInsuranceDays
Returns UB1-6: "Co-Insurance Days (25)" - creates it if necessary -
getUb16_CoInsuranceDays
Returns UB1-6: "Co-Insurance Days (25)" - creates it if necessary -
getConditionCode3539
Returns all repetitions of Condition Code (35-39) (UB1-7). -
getUb17_ConditionCode3539
Returns all repetitions of Condition Code (35-39) (UB1-7). -
getConditionCode3539Reps
Returns a count of the current number of repetitions of Condition Code (35-39) (UB1-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getConditionCode3539
Returns a specific repetition of UB1-7: "Condition Code (35-39)" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getUb17_ConditionCode3539
Returns a specific repetition of UB1-7: "Condition Code (35-39)" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getUb17_ConditionCode3539Reps
Returns a count of the current number of repetitions of Condition Code (35-39) (UB1-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertConditionCode3539
Inserts a repetition of UB1-7: "Condition Code (35-39)" 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)
-
insertUb17_ConditionCode3539
Inserts a repetition of UB1-7: "Condition Code (35-39)" 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)
-
removeConditionCode3539
Removes a repetition of UB1-7: "Condition Code (35-39)" 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)
-
removeUb17_ConditionCode3539
Removes a repetition of UB1-7: "Condition Code (35-39)" 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)
-
getCoveredDays
Returns UB1-8: "Covered Days - (23)" - creates it if necessary -
getUb18_CoveredDays
Returns UB1-8: "Covered Days - (23)" - creates it if necessary -
getNonCoveredDays
Returns UB1-9: "Non Covered Days - (24)" - creates it if necessary -
getUb19_NonCoveredDays
Returns UB1-9: "Non Covered Days - (24)" - creates it if necessary -
getValueAmountCode4649
Returns all repetitions of Value Amount & Code (46-49) (UB1-10). -
getUb110_ValueAmountCode4649
Returns all repetitions of Value Amount & Code (46-49) (UB1-10). -
getValueAmountCode4649Reps
Returns a count of the current number of repetitions of Value Amount & Code (46-49) (UB1-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getValueAmountCode4649
Returns a specific repetition of UB1-10: "Value Amount & Code (46-49)" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getUb110_ValueAmountCode4649
Returns a specific repetition of UB1-10: "Value Amount & Code (46-49)" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getUb110_ValueAmountCode4649Reps
Returns a count of the current number of repetitions of Value Amount & Code (46-49) (UB1-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertValueAmountCode4649
Inserts a repetition of UB1-10: "Value Amount & Code (46-49)" 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)
-
insertUb110_ValueAmountCode4649
Inserts a repetition of UB1-10: "Value Amount & Code (46-49)" 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)
-
removeValueAmountCode4649
Removes a repetition of UB1-10: "Value Amount & Code (46-49)" 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)
-
removeUb110_ValueAmountCode4649
Removes a repetition of UB1-10: "Value Amount & Code (46-49)" 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)
-
getNumberOfGraceDays
Returns UB1-11: "Number Of Grace Days (90)" - creates it if necessary -
getUb111_NumberOfGraceDays
Returns UB1-11: "Number Of Grace Days (90)" - creates it if necessary -
getSpecialProgramIndicator
Returns UB1-12: "Special Program Indicator (44)" - creates it if necessary -
getUb112_SpecialProgramIndicator
Returns UB1-12: "Special Program Indicator (44)" - creates it if necessary -
getPSROURApprovalIndicator
Returns UB1-13: "PSRO/UR Approval Indicator (87)" - creates it if necessary -
getUb113_PSROURApprovalIndicator
Returns UB1-13: "PSRO/UR Approval Indicator (87)" - creates it if necessary -
getPSROURApprovedStayFm
Returns UB1-14: "PSRO/UR Approved Stay-Fm (88)" - creates it if necessary -
getUb114_PSROURApprovedStayFm
Returns UB1-14: "PSRO/UR Approved Stay-Fm (88)" - creates it if necessary -
getPSROURApprovedStayTo
Returns UB1-15: "PSRO/UR Approved Stay-To (89)" - creates it if necessary -
getUb115_PSROURApprovedStayTo
Returns UB1-15: "PSRO/UR Approved Stay-To (89)" - creates it if necessary -
getOccurrence2832
Returns all repetitions of Occurrence (28-32) (UB1-16). -
getUb116_Occurrence2832
Returns all repetitions of Occurrence (28-32) (UB1-16). -
getOccurrence2832Reps
Returns a count of the current number of repetitions of Occurrence (28-32) (UB1-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getOccurrence2832
Returns a specific repetition of UB1-16: "Occurrence (28-32)" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getUb116_Occurrence2832
Returns a specific repetition of UB1-16: "Occurrence (28-32)" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getUb116_Occurrence2832Reps
Returns a count of the current number of repetitions of Occurrence (28-32) (UB1-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertOccurrence2832
Inserts a repetition of UB1-16: "Occurrence (28-32)" 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)
-
insertUb116_Occurrence2832
Inserts a repetition of UB1-16: "Occurrence (28-32)" 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)
-
removeOccurrence2832
Removes a repetition of UB1-16: "Occurrence (28-32)" 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)
-
removeUb116_Occurrence2832
Removes a repetition of UB1-16: "Occurrence (28-32)" 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)
-
getOccurrenceSpan
Returns UB1-17: "Occurrence Span (33)" - creates it if necessary -
getUb117_OccurrenceSpan
Returns UB1-17: "Occurrence Span (33)" - creates it if necessary -
getOccurSpanStartDate
Returns UB1-18: "Occur Span Start Date(33)" - creates it if necessary -
getUb118_OccurSpanStartDate
Returns UB1-18: "Occur Span Start Date(33)" - creates it if necessary -
getOccurSpanEndDate
Returns UB1-19: "Occur Span End Date (33)" - creates it if necessary -
getUb119_OccurSpanEndDate
Returns UB1-19: "Occur Span End Date (33)" - creates it if necessary -
getUB82Locator2
Returns UB1-20: "UB-82 Locator 2" - creates it if necessary -
getUb120_UB82Locator2
Returns UB1-20: "UB-82 Locator 2" - creates it if necessary -
getUB82Locator9
Returns UB1-21: "UB-82 Locator 9" - creates it if necessary -
getUb121_UB82Locator9
Returns UB1-21: "UB-82 Locator 9" - creates it if necessary -
getUB82Locator27
Returns UB1-22: "UB-82 Locator 27" - creates it if necessary -
getUb122_UB82Locator27
Returns UB1-22: "UB-82 Locator 27" - creates it if necessary -
getUB82Locator45
Returns UB1-23: "UB-82 Locator 45" - creates it if necessary -
getUb123_UB82Locator45
Returns UB1-23: "UB-82 Locator 45" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-