Package ca.uhn.hl7v2.model.v22.segment
Class IN2
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.IN2
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 IN2 message segment (INSURANCE ADDITIONAL INFO). This segment has the following fields:
- IN2-1: Insured's employee ID (ST) optional
- IN2-2: Insured's social security number (ST) optional
- IN2-3: Insured's employer name (CN) optional
- IN2-4: Employer information data (ID) optional
- IN2-5: Mail claim party (ID) optional
- IN2-6: Medicare health insurance card number (NM) optional
- IN2-7: Medicaid case name (PN) optional
- IN2-8: Medicaid case number (NM) optional
- IN2-9: Champus sponsor name (PN) optional
- IN2-10: Champus ID number (NM) optional
- IN2-11: Dependent of champus recipient (ID) optional
- IN2-12: Champus organization (ST) optional
- IN2-13: Champus station (ST) optional
- IN2-14: Champus service (ID) optional
- IN2-15: Champus rank / grade (ID) optional
- IN2-16: Champus status (ID) optional
- IN2-17: Champus retire date (DT) optional
- IN2-18: Champus non-availability certification on file (ID) optional
- IN2-19: Baby coverage (ID) optional
- IN2-20: Combine baby bill (ID) optional
- IN2-21: Blood deductible (NM) optional
- IN2-22: Special coverage approval name (PN) optional
- IN2-23: Special coverage approval title (ST) optional
- IN2-24: Non-covered insurance code (ID) optional repeating
- IN2-25: Payor ID (ST) optional
- IN2-26: Payor subscriber ID (ST) optional
- IN2-27: Eligibility source (ID) optional
- IN2-28: Room coverage type / amount (CM_RMC) optional repeating
- IN2-29: Policy type / amount (CM_PTA) optional repeating
- IN2-30: Daily deductible (CM_DDI) 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 IN2-19: "Baby coverage" - creates it if necessaryReturns IN2-21: "Blood deductible" - creates it if necessaryReturns IN2-10: "Champus ID number" - creates it if necessaryReturns IN2-18: "Champus non-availability certification on file" - creates it if necessaryReturns IN2-12: "Champus organization" - creates it if necessaryReturns IN2-15: "Champus rank / grade" - creates it if necessaryReturns IN2-17: "Champus retire date" - creates it if necessaryReturns IN2-14: "Champus service" - creates it if necessaryReturns IN2-9: "Champus sponsor name" - creates it if necessaryReturns IN2-13: "Champus station" - creates it if necessaryReturns IN2-16: "Champus status" - creates it if necessaryReturns IN2-20: "Combine baby bill" - creates it if necessaryReturns IN2-30: "Daily deductible" - creates it if necessaryReturns IN2-11: "Dependent of champus recipient" - creates it if necessaryReturns IN2-27: "Eligibility source" - creates it if necessaryReturns IN2-4: "Employer information data" - creates it if necessaryReturns IN2-1: "Insured's employee ID" - creates it if necessaryReturns IN2-10: "Champus ID number" - creates it if necessaryReturns IN2-11: "Dependent of champus recipient" - creates it if necessaryReturns IN2-12: "Champus organization" - creates it if necessaryReturns IN2-13: "Champus station" - creates it if necessaryReturns IN2-14: "Champus service" - creates it if necessaryReturns IN2-15: "Champus rank / grade" - creates it if necessaryReturns IN2-16: "Champus status" - creates it if necessaryReturns IN2-17: "Champus retire date" - creates it if necessaryReturns IN2-18: "Champus non-availability certification on file" - creates it if necessaryReturns IN2-19: "Baby coverage" - creates it if necessaryReturns IN2-2: "Insured's social security number" - creates it if necessaryReturns IN2-20: "Combine baby bill" - creates it if necessaryReturns IN2-21: "Blood deductible" - creates it if necessaryReturns IN2-22: "Special coverage approval name" - creates it if necessaryReturns IN2-23: "Special coverage approval title" - creates it if necessaryID[]Returns all repetitions of Non-covered insurance code (IN2-24).getIn224_NonCoveredInsuranceCode(int rep) Returns a specific repetition of IN2-24: "Non-covered insurance code" - creates it if necessaryintReturns a count of the current number of repetitions of Non-covered insurance code (IN2-24).Returns IN2-25: "Payor ID" - creates it if necessaryReturns IN2-26: "Payor subscriber ID" - creates it if necessaryReturns IN2-27: "Eligibility source" - creates it if necessaryCM_RMC[]Returns all repetitions of Room coverage type / amount (IN2-28).getIn228_RoomCoverageTypeAmount(int rep) Returns a specific repetition of IN2-28: "Room coverage type / amount" - creates it if necessaryintReturns a count of the current number of repetitions of Room coverage type / amount (IN2-28).CM_PTA[]Returns all repetitions of Policy type / amount (IN2-29).getIn229_PolicyTypeAmount(int rep) Returns a specific repetition of IN2-29: "Policy type / amount" - creates it if necessaryintReturns a count of the current number of repetitions of Policy type / amount (IN2-29).Returns IN2-3: "Insured's employer name" - creates it if necessaryReturns IN2-30: "Daily deductible" - creates it if necessaryReturns IN2-4: "Employer information data" - creates it if necessaryReturns IN2-5: "Mail claim party" - creates it if necessaryReturns IN2-6: "Medicare health insurance card number" - creates it if necessaryReturns IN2-7: "Medicaid case name" - creates it if necessaryReturns IN2-8: "Medicaid case number" - creates it if necessaryReturns IN2-9: "Champus sponsor name" - creates it if necessaryReturns IN2-1: "Insured's employee ID" - creates it if necessaryReturns IN2-3: "Insured's employer name" - creates it if necessaryReturns IN2-2: "Insured's social security number" - creates it if necessaryReturns IN2-5: "Mail claim party" - creates it if necessaryReturns IN2-7: "Medicaid case name" - creates it if necessaryReturns IN2-8: "Medicaid case number" - creates it if necessaryReturns IN2-6: "Medicare health insurance card number" - creates it if necessaryID[]Returns all repetitions of Non-covered insurance code (IN2-24).getNonCoveredInsuranceCode(int rep) Returns a specific repetition of IN2-24: "Non-covered insurance code" - creates it if necessaryintReturns a count of the current number of repetitions of Non-covered insurance code (IN2-24).Returns IN2-25: "Payor ID" - creates it if necessaryReturns IN2-26: "Payor subscriber ID" - creates it if necessaryCM_PTA[]Returns all repetitions of Policy type / amount (IN2-29).getPolicyTypeAmount(int rep) Returns a specific repetition of IN2-29: "Policy type / amount" - creates it if necessaryintReturns a count of the current number of repetitions of Policy type / amount (IN2-29).CM_RMC[]Returns all repetitions of Room coverage type / amount (IN2-28).getRoomCoverageTypeAmount(int rep) Returns a specific repetition of IN2-28: "Room coverage type / amount" - creates it if necessaryintReturns a count of the current number of repetitions of Room coverage type / amount (IN2-28).Returns IN2-22: "Special coverage approval name" - creates it if necessaryReturns IN2-23: "Special coverage approval title" - creates it if necessaryinsertIn224_NonCoveredInsuranceCode(int rep) Inserts a repetition of IN2-24: "Non-covered insurance code" at a specific indexinsertIn228_RoomCoverageTypeAmount(int rep) Inserts a repetition of IN2-28: "Room coverage type / amount" at a specific indexinsertIn229_PolicyTypeAmount(int rep) Inserts a repetition of IN2-29: "Policy type / amount" at a specific indexinsertNonCoveredInsuranceCode(int rep) Inserts a repetition of IN2-24: "Non-covered insurance code" at a specific indexinsertPolicyTypeAmount(int rep) Inserts a repetition of IN2-29: "Policy type / amount" at a specific indexinsertRoomCoverageTypeAmount(int rep) Inserts a repetition of IN2-28: "Room coverage type / amount" at a specific indexremoveIn224_NonCoveredInsuranceCode(int rep) Removes a repetition of IN2-24: "Non-covered insurance code" at a specific indexremoveIn228_RoomCoverageTypeAmount(int rep) Removes a repetition of IN2-28: "Room coverage type / amount" at a specific indexremoveIn229_PolicyTypeAmount(int rep) Removes a repetition of IN2-29: "Policy type / amount" at a specific indexremoveNonCoveredInsuranceCode(int rep) Removes a repetition of IN2-24: "Non-covered insurance code" at a specific indexremovePolicyTypeAmount(int rep) Removes a repetition of IN2-29: "Policy type / amount" at a specific indexremoveRoomCoverageTypeAmount(int rep) Removes a repetition of IN2-28: "Room coverage type / amount" 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
-
IN2
Creates a new IN2 segment
-
-
Method Details
-
getInsuredSEmployeeID
Returns IN2-1: "Insured's employee ID" - creates it if necessary -
getIn21_InsuredSEmployeeID
Returns IN2-1: "Insured's employee ID" - creates it if necessary -
getInsuredSSocialSecurityNumber
Returns IN2-2: "Insured's social security number" - creates it if necessary -
getIn22_InsuredSSocialSecurityNumber
Returns IN2-2: "Insured's social security number" - creates it if necessary -
getInsuredSEmployerName
Returns IN2-3: "Insured's employer name" - creates it if necessary -
getIn23_InsuredSEmployerName
Returns IN2-3: "Insured's employer name" - creates it if necessary -
getEmployerInformationData
Returns IN2-4: "Employer information data" - creates it if necessary -
getIn24_EmployerInformationData
Returns IN2-4: "Employer information data" - creates it if necessary -
getMailClaimParty
Returns IN2-5: "Mail claim party" - creates it if necessary -
getIn25_MailClaimParty
Returns IN2-5: "Mail claim party" - creates it if necessary -
getMedicareHealthInsuranceCardNumber
Returns IN2-6: "Medicare health insurance card number" - creates it if necessary -
getIn26_MedicareHealthInsuranceCardNumber
Returns IN2-6: "Medicare health insurance card number" - creates it if necessary -
getMedicaidCaseName
Returns IN2-7: "Medicaid case name" - creates it if necessary -
getIn27_MedicaidCaseName
Returns IN2-7: "Medicaid case name" - creates it if necessary -
getMedicaidCaseNumber
Returns IN2-8: "Medicaid case number" - creates it if necessary -
getIn28_MedicaidCaseNumber
Returns IN2-8: "Medicaid case number" - creates it if necessary -
getChampusSponsorName
Returns IN2-9: "Champus sponsor name" - creates it if necessary -
getIn29_ChampusSponsorName
Returns IN2-9: "Champus sponsor name" - creates it if necessary -
getChampusIDNumber
Returns IN2-10: "Champus ID number" - creates it if necessary -
getIn210_ChampusIDNumber
Returns IN2-10: "Champus ID number" - creates it if necessary -
getDependentOfChampusRecipient
Returns IN2-11: "Dependent of champus recipient" - creates it if necessary -
getIn211_DependentOfChampusRecipient
Returns IN2-11: "Dependent of champus recipient" - creates it if necessary -
getChampusOrganization
Returns IN2-12: "Champus organization" - creates it if necessary -
getIn212_ChampusOrganization
Returns IN2-12: "Champus organization" - creates it if necessary -
getChampusStation
Returns IN2-13: "Champus station" - creates it if necessary -
getIn213_ChampusStation
Returns IN2-13: "Champus station" - creates it if necessary -
getChampusService
Returns IN2-14: "Champus service" - creates it if necessary -
getIn214_ChampusService
Returns IN2-14: "Champus service" - creates it if necessary -
getChampusRankGrade
Returns IN2-15: "Champus rank / grade" - creates it if necessary -
getIn215_ChampusRankGrade
Returns IN2-15: "Champus rank / grade" - creates it if necessary -
getChampusStatus
Returns IN2-16: "Champus status" - creates it if necessary -
getIn216_ChampusStatus
Returns IN2-16: "Champus status" - creates it if necessary -
getChampusRetireDate
Returns IN2-17: "Champus retire date" - creates it if necessary -
getIn217_ChampusRetireDate
Returns IN2-17: "Champus retire date" - creates it if necessary -
getChampusNonAvailabilityCertificationOnFile
Returns IN2-18: "Champus non-availability certification on file" - creates it if necessary -
getIn218_ChampusNonAvailabilityCertificationOnFile
Returns IN2-18: "Champus non-availability certification on file" - creates it if necessary -
getBabyCoverage
Returns IN2-19: "Baby coverage" - creates it if necessary -
getIn219_BabyCoverage
Returns IN2-19: "Baby coverage" - creates it if necessary -
getCombineBabyBill
Returns IN2-20: "Combine baby bill" - creates it if necessary -
getIn220_CombineBabyBill
Returns IN2-20: "Combine baby bill" - creates it if necessary -
getBloodDeductible
Returns IN2-21: "Blood deductible" - creates it if necessary -
getIn221_BloodDeductible
Returns IN2-21: "Blood deductible" - creates it if necessary -
getSpecialCoverageApprovalName
Returns IN2-22: "Special coverage approval name" - creates it if necessary -
getIn222_SpecialCoverageApprovalName
Returns IN2-22: "Special coverage approval name" - creates it if necessary -
getSpecialCoverageApprovalTitle
Returns IN2-23: "Special coverage approval title" - creates it if necessary -
getIn223_SpecialCoverageApprovalTitle
Returns IN2-23: "Special coverage approval title" - creates it if necessary -
getNonCoveredInsuranceCode
Returns all repetitions of Non-covered insurance code (IN2-24). -
getIn224_NonCoveredInsuranceCode
Returns all repetitions of Non-covered insurance code (IN2-24). -
getNonCoveredInsuranceCodeReps
Returns a count of the current number of repetitions of Non-covered insurance code (IN2-24). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getNonCoveredInsuranceCode
Returns a specific repetition of IN2-24: "Non-covered insurance code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getIn224_NonCoveredInsuranceCode
Returns a specific repetition of IN2-24: "Non-covered insurance code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getIn224_NonCoveredInsuranceCodeReps
Returns a count of the current number of repetitions of Non-covered insurance code (IN2-24). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertNonCoveredInsuranceCode
Inserts a repetition of IN2-24: "Non-covered insurance code" 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)
-
insertIn224_NonCoveredInsuranceCode
Inserts a repetition of IN2-24: "Non-covered insurance code" 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)
-
removeNonCoveredInsuranceCode
Removes a repetition of IN2-24: "Non-covered insurance code" 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)
-
removeIn224_NonCoveredInsuranceCode
Removes a repetition of IN2-24: "Non-covered insurance code" 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)
-
getPayorID
Returns IN2-25: "Payor ID" - creates it if necessary -
getIn225_PayorID
Returns IN2-25: "Payor ID" - creates it if necessary -
getPayorSubscriberID
Returns IN2-26: "Payor subscriber ID" - creates it if necessary -
getIn226_PayorSubscriberID
Returns IN2-26: "Payor subscriber ID" - creates it if necessary -
getEligibilitySource
Returns IN2-27: "Eligibility source" - creates it if necessary -
getIn227_EligibilitySource
Returns IN2-27: "Eligibility source" - creates it if necessary -
getRoomCoverageTypeAmount
Returns all repetitions of Room coverage type / amount (IN2-28). -
getIn228_RoomCoverageTypeAmount
Returns all repetitions of Room coverage type / amount (IN2-28). -
getRoomCoverageTypeAmountReps
Returns a count of the current number of repetitions of Room coverage type / amount (IN2-28). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getRoomCoverageTypeAmount
Returns a specific repetition of IN2-28: "Room coverage type / amount" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getIn228_RoomCoverageTypeAmount
Returns a specific repetition of IN2-28: "Room coverage type / amount" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getIn228_RoomCoverageTypeAmountReps
Returns a count of the current number of repetitions of Room coverage type / amount (IN2-28). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertRoomCoverageTypeAmount
Inserts a repetition of IN2-28: "Room coverage type / amount" 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)
-
insertIn228_RoomCoverageTypeAmount
Inserts a repetition of IN2-28: "Room coverage type / amount" 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)
-
removeRoomCoverageTypeAmount
Removes a repetition of IN2-28: "Room coverage type / amount" 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)
-
removeIn228_RoomCoverageTypeAmount
Removes a repetition of IN2-28: "Room coverage type / amount" 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)
-
getPolicyTypeAmount
Returns all repetitions of Policy type / amount (IN2-29). -
getIn229_PolicyTypeAmount
Returns all repetitions of Policy type / amount (IN2-29). -
getPolicyTypeAmountReps
Returns a count of the current number of repetitions of Policy type / amount (IN2-29). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPolicyTypeAmount
Returns a specific repetition of IN2-29: "Policy type / amount" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getIn229_PolicyTypeAmount
Returns a specific repetition of IN2-29: "Policy type / amount" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getIn229_PolicyTypeAmountReps
Returns a count of the current number of repetitions of Policy type / amount (IN2-29). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPolicyTypeAmount
Inserts a repetition of IN2-29: "Policy type / amount" 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)
-
insertIn229_PolicyTypeAmount
Inserts a repetition of IN2-29: "Policy type / amount" 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)
-
removePolicyTypeAmount
Removes a repetition of IN2-29: "Policy type / amount" 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)
-
removeIn229_PolicyTypeAmount
Removes a repetition of IN2-29: "Policy type / amount" 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)
-
getDailyDeductible
Returns IN2-30: "Daily deductible" - creates it if necessary -
getIn230_DailyDeductible
Returns IN2-30: "Daily deductible" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-