Package ca.uhn.hl7v2.model.v22.segment
Class UB1
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.UB1
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 UB1 message segment (UB82 DATA). This segment has the following fields:
- UB1-1: Set ID - UB82 (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) (ID) optional repeating
- UB1-8: Covered days (23) (NM) optional
- UB1-9: Non-covered days (24) (NM) optional
- UB1-10: Value amount and code (46-49) (CM_UVC) optional repeating
- UB1-11: Number of grace days (90) (NM) optional
- UB1-12: Special program indicator (44) (ID) optional
- UB1-13: PSRO / UR approval indicator (87) (ID) optional
- UB1-14: PSRO / UR approved stay - from (88) (DT) optional
- UB1-15: PSRO / UR approved stay - to (89) (DT) optional
- UB1-16: Occurrence (28-32) (CM_OCD) optional repeating
- UB1-17: Occurrence span (33) (ID) optional
- UB1-18: Occurrence span start date (33) (DT) optional
- UB1-19: Occurrence 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 necessaryID[]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 necessaryCM_OCD[]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: "Occurrence span end date (33)" - creates it if necessaryReturns UB1-18: "Occurrence 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 - from (88)" - creates it if necessaryReturns UB1-15: "PSRO / UR approved stay - to (89)" - creates it if necessaryReturns UB1-1: "Set ID - UB82" - creates it if necessaryReturns UB1-12: "Special program indicator (44)" - creates it if necessaryReturns UB1-1: "Set ID - UB82" - creates it if necessaryCM_UVC[]Returns all repetitions of Value amount and code (46-49) (UB1-10).getUb110_ValueAmountAndCode4649(int rep) Returns a specific repetition of UB1-10: "Value amount and code (46-49)" - creates it if necessaryintReturns a count of the current number of repetitions of Value amount and 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 - from (88)" - creates it if necessaryReturns UB1-15: "PSRO / UR approved stay - to (89)" - creates it if necessaryCM_OCD[]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: "Occurrence span start date (33)" - creates it if necessaryReturns UB1-19: "Occurrence 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 necessaryID[]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 necessaryCM_UVC[]Returns all repetitions of Value amount and code (46-49) (UB1-10).getValueAmountAndCode4649(int rep) Returns a specific repetition of UB1-10: "Value amount and code (46-49)" - creates it if necessaryintReturns a count of the current number of repetitions of Value amount and 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_ValueAmountAndCode4649(int rep) Inserts a repetition of UB1-10: "Value amount and 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 indexinsertValueAmountAndCode4649(int rep) Inserts a repetition of UB1-10: "Value amount and 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_ValueAmountAndCode4649(int rep) Removes a repetition of UB1-10: "Value amount and 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 indexremoveValueAmountAndCode4649(int rep) Removes a repetition of UB1-10: "Value amount and 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
-
getSetIDUB82
Returns UB1-1: "Set ID - UB82" - creates it if necessary -
getUb11_SetIDUB82
Returns UB1-1: "Set ID - UB82" - 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 -
getValueAmountAndCode4649
Returns all repetitions of Value amount and code (46-49) (UB1-10). -
getUb110_ValueAmountAndCode4649
Returns all repetitions of Value amount and code (46-49) (UB1-10). -
getValueAmountAndCode4649Reps
Returns a count of the current number of repetitions of Value amount and 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. -
getValueAmountAndCode4649
Returns a specific repetition of UB1-10: "Value amount and code (46-49)" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getUb110_ValueAmountAndCode4649
Returns a specific repetition of UB1-10: "Value amount and code (46-49)" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getUb110_ValueAmountAndCode4649Reps
Returns a count of the current number of repetitions of Value amount and 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. -
insertValueAmountAndCode4649
Inserts a repetition of UB1-10: "Value amount and 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_ValueAmountAndCode4649
Inserts a repetition of UB1-10: "Value amount and 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)
-
removeValueAmountAndCode4649
Removes a repetition of UB1-10: "Value amount and 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_ValueAmountAndCode4649
Removes a repetition of UB1-10: "Value amount and 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 -
getPSROURApprovedStayFrom
Returns UB1-14: "PSRO / UR approved stay - from (88)" - creates it if necessary -
getUb114_PSROURApprovedStayFrom
Returns UB1-14: "PSRO / UR approved stay - from (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 -
getOccurrenceSpanStartDate
Returns UB1-18: "Occurrence span start date (33)" - creates it if necessary -
getUb118_OccurrenceSpanStartDate
Returns UB1-18: "Occurrence span start date (33)" - creates it if necessary -
getOccurrenceSpanEndDate
Returns UB1-19: "Occurrence span end date (33)" - creates it if necessary -
getUb119_OccurrenceSpanEndDate
Returns UB1-19: "Occurrence 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
-