Class IN1

All Implemented Interfaces:
Segment, Structure, Visitable, Serializable

public class IN1 extends AbstractSegment

Represents an HL7 IN1 message segment (Insurance). This segment has the following fields:

  • IN1-1: Set ID - Insurance (SI)
  • IN1-2: Insurance Plan ID (CE) optional
  • IN1-3: Insurance Company ID (CX)
  • IN1-4: Insurance Company Name (XON) optional
  • IN1-5: Insurance Company Address (XAD) optional
  • IN1-6: Insurance Co. Contact Ppers (XPN) optional
  • IN1-7: Insurance Co Phone Number (XTN) optional repeating
  • IN1-8: Group Number (ST) optional
  • IN1-9: Group Name (XON) optional
  • IN1-10: Insured's group employer ID (CX) optional
  • IN1-11: Insured's Group Emp Name (XON) optional
  • IN1-12: Plan Effective Date (DT) optional
  • IN1-13: Plan Expiration Date (DT) optional
  • IN1-14: Authorization Information (CM_AUI) optional
  • IN1-15: Plan Type (IS) optional
  • IN1-16: Name of Insured (XPN) optional
  • IN1-17: Insured's Relationship to Patient (IS) optional
  • IN1-18: Insured's Date of Birth (TS) optional
  • IN1-19: Insured's Address (XAD) optional
  • IN1-20: Assignment of Benefits (IS) optional
  • IN1-21: Coordination of Benefits (IS) optional
  • IN1-22: Coord of Ben. Priority (ST) optional
  • IN1-23: Notice of Admission Code (ID) optional
  • IN1-24: Notice of Admission Date (DT) optional
  • IN1-25: Rpt of Eigibility Code (ID) optional
  • IN1-26: Rpt of Eligibility Date (DT) optional
  • IN1-27: Release Information Code (IS) optional
  • IN1-28: Pre-Admit Cert (PAC) (ST) optional
  • IN1-29: Verification Date/Time (TS) optional
  • IN1-30: Verification By (XPN) optional
  • IN1-31: Type of Agreement Code (IS) optional
  • IN1-32: Billing Status (IS) optional
  • IN1-33: Lifetime Reserve Days (NM) optional
  • IN1-34: Delay before lifetime reserve days (NM) optional
  • IN1-35: Company Plan Code (IS) optional
  • IN1-36: Policy Number (ST) optional
  • IN1-37: Policy Deductible (CP) optional
  • IN1-38: Policy Limit - Amount (CP) optional
  • IN1-39: Policy Limit - Days (NM) optional
  • IN1-40: Room Rate - Semi-Private (CP) optional
  • IN1-41: Room Rate - Private (CP) optional
  • IN1-42: Insured's Employment Status (CE) optional
  • IN1-43: Insured's Sex (IS) optional
  • IN1-44: Insured's Employer Address (XAD) optional
  • IN1-45: Verification Status (ST) optional
  • IN1-46: Prior Insurance Plan ID (IS) optional
  • IN1-47: Coverage Type (IS) optional
  • IN1-48: Handicap (IS) optional
  • IN1-49: Insured's ID Number (CX) optional
See Also:
  • Constructor Details

  • Method Details

    • getSetIDInsurance

      Returns IN1-1: "Set ID - Insurance" - creates it if necessary
    • getIn11_SetIDInsurance

      Returns IN1-1: "Set ID - Insurance" - creates it if necessary
    • getInsurancePlanID

      Returns IN1-2: "Insurance Plan ID" - creates it if necessary
    • getIn12_InsurancePlanID

      Returns IN1-2: "Insurance Plan ID" - creates it if necessary
    • getInsuranceCompanyID

      Returns IN1-3: "Insurance Company ID" - creates it if necessary
    • getIn13_InsuranceCompanyID

      Returns IN1-3: "Insurance Company ID" - creates it if necessary
    • getInsuranceCompanyName

      Returns IN1-4: "Insurance Company Name" - creates it if necessary
    • getIn14_InsuranceCompanyName

      Returns IN1-4: "Insurance Company Name" - creates it if necessary
    • getInsuranceCompanyAddress

      Returns IN1-5: "Insurance Company Address" - creates it if necessary
    • getIn15_InsuranceCompanyAddress

      Returns IN1-5: "Insurance Company Address" - creates it if necessary
    • getInsuranceCoContactPpers

      Returns IN1-6: "Insurance Co. Contact Ppers" - creates it if necessary
    • getIn16_InsuranceCoContactPpers

      Returns IN1-6: "Insurance Co. Contact Ppers" - creates it if necessary
    • getInsuranceCoPhoneNumber

      Returns all repetitions of Insurance Co Phone Number (IN1-7).
    • getIn17_InsuranceCoPhoneNumber

      Returns all repetitions of Insurance Co Phone Number (IN1-7).
    • getInsuranceCoPhoneNumberReps

      Returns a count of the current number of repetitions of Insurance Co Phone Number (IN1-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getInsuranceCoPhoneNumber

      public XTN getInsuranceCoPhoneNumber(int rep)
      Returns a specific repetition of IN1-7: "Insurance Co Phone Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn17_InsuranceCoPhoneNumber

      Returns a specific repetition of IN1-7: "Insurance Co Phone Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn17_InsuranceCoPhoneNumberReps

      Returns a count of the current number of repetitions of Insurance Co Phone Number (IN1-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertInsuranceCoPhoneNumber

      Inserts a repetition of IN1-7: "Insurance Co Phone Number" 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)
    • insertIn17_InsuranceCoPhoneNumber

      Inserts a repetition of IN1-7: "Insurance Co Phone Number" 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)
    • removeInsuranceCoPhoneNumber

      Removes a repetition of IN1-7: "Insurance Co Phone Number" 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)
    • removeIn17_InsuranceCoPhoneNumber

      Removes a repetition of IN1-7: "Insurance Co Phone Number" 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)
    • getGroupNumber

      public ST getGroupNumber()
      Returns IN1-8: "Group Number" - creates it if necessary
    • getIn18_GroupNumber

      Returns IN1-8: "Group Number" - creates it if necessary
    • getGroupName

      public XON getGroupName()
      Returns IN1-9: "Group Name" - creates it if necessary
    • getIn19_GroupName

      Returns IN1-9: "Group Name" - creates it if necessary
    • getInsuredSGroupEmployerID

      Returns IN1-10: "Insured's group employer ID" - creates it if necessary
    • getIn110_InsuredSGroupEmployerID

      Returns IN1-10: "Insured's group employer ID" - creates it if necessary
    • getInsuredSGroupEmpName

      Returns IN1-11: "Insured's Group Emp Name" - creates it if necessary
    • getIn111_InsuredSGroupEmpName

      Returns IN1-11: "Insured's Group Emp Name" - creates it if necessary
    • getPlanEffectiveDate

      Returns IN1-12: "Plan Effective Date" - creates it if necessary
    • getIn112_PlanEffectiveDate

      Returns IN1-12: "Plan Effective Date" - creates it if necessary
    • getPlanExpirationDate

      Returns IN1-13: "Plan Expiration Date" - creates it if necessary
    • getIn113_PlanExpirationDate

      Returns IN1-13: "Plan Expiration Date" - creates it if necessary
    • getAuthorizationInformation

      Returns IN1-14: "Authorization Information" - creates it if necessary
    • getIn114_AuthorizationInformation

      Returns IN1-14: "Authorization Information" - creates it if necessary
    • getPlanType

      public IS getPlanType()
      Returns IN1-15: "Plan Type" - creates it if necessary
    • getIn115_PlanType

      Returns IN1-15: "Plan Type" - creates it if necessary
    • getNameOfInsured

      Returns IN1-16: "Name of Insured" - creates it if necessary
    • getIn116_NameOfInsured

      Returns IN1-16: "Name of Insured" - creates it if necessary
    • getInsuredSRelationshipToPatient

      Returns IN1-17: "Insured's Relationship to Patient" - creates it if necessary
    • getIn117_InsuredSRelationshipToPatient

      Returns IN1-17: "Insured's Relationship to Patient" - creates it if necessary
    • getInsuredSDateOfBirth

      Returns IN1-18: "Insured's Date of Birth" - creates it if necessary
    • getIn118_InsuredSDateOfBirth

      Returns IN1-18: "Insured's Date of Birth" - creates it if necessary
    • getInsuredSAddress

      Returns IN1-19: "Insured's Address" - creates it if necessary
    • getIn119_InsuredSAddress

      Returns IN1-19: "Insured's Address" - creates it if necessary
    • getAssignmentOfBenefits

      Returns IN1-20: "Assignment of Benefits" - creates it if necessary
    • getIn120_AssignmentOfBenefits

      Returns IN1-20: "Assignment of Benefits" - creates it if necessary
    • getCoordinationOfBenefits

      Returns IN1-21: "Coordination of Benefits" - creates it if necessary
    • getIn121_CoordinationOfBenefits

      Returns IN1-21: "Coordination of Benefits" - creates it if necessary
    • getCoordOfBenPriority

      Returns IN1-22: "Coord of Ben. Priority" - creates it if necessary
    • getIn122_CoordOfBenPriority

      Returns IN1-22: "Coord of Ben. Priority" - creates it if necessary
    • getNoticeOfAdmissionCode

      Returns IN1-23: "Notice of Admission Code" - creates it if necessary
    • getIn123_NoticeOfAdmissionCode

      Returns IN1-23: "Notice of Admission Code" - creates it if necessary
    • getNoticeOfAdmissionDate

      Returns IN1-24: "Notice of Admission Date" - creates it if necessary
    • getIn124_NoticeOfAdmissionDate

      Returns IN1-24: "Notice of Admission Date" - creates it if necessary
    • getRptOfEigibilityCode

      Returns IN1-25: "Rpt of Eigibility Code" - creates it if necessary
    • getIn125_RptOfEigibilityCode

      Returns IN1-25: "Rpt of Eigibility Code" - creates it if necessary
    • getRptOfEligibilityDate

      Returns IN1-26: "Rpt of Eligibility Date" - creates it if necessary
    • getIn126_RptOfEligibilityDate

      Returns IN1-26: "Rpt of Eligibility Date" - creates it if necessary
    • getReleaseInformationCode

      Returns IN1-27: "Release Information Code" - creates it if necessary
    • getIn127_ReleaseInformationCode

      Returns IN1-27: "Release Information Code" - creates it if necessary
    • getPreAdmitCert

      public ST getPreAdmitCert()
      Returns IN1-28: "Pre-Admit Cert (PAC)" - creates it if necessary
    • getIn128_PreAdmitCert

      Returns IN1-28: "Pre-Admit Cert (PAC)" - creates it if necessary
    • getVerificationDateTime

      Returns IN1-29: "Verification Date/Time" - creates it if necessary
    • getIn129_VerificationDateTime

      Returns IN1-29: "Verification Date/Time" - creates it if necessary
    • getVerificationBy

      Returns IN1-30: "Verification By" - creates it if necessary
    • getIn130_VerificationBy

      Returns IN1-30: "Verification By" - creates it if necessary
    • getTypeOfAgreementCode

      Returns IN1-31: "Type of Agreement Code" - creates it if necessary
    • getIn131_TypeOfAgreementCode

      Returns IN1-31: "Type of Agreement Code" - creates it if necessary
    • getBillingStatus

      public IS getBillingStatus()
      Returns IN1-32: "Billing Status" - creates it if necessary
    • getIn132_BillingStatus

      Returns IN1-32: "Billing Status" - creates it if necessary
    • getLifetimeReserveDays

      Returns IN1-33: "Lifetime Reserve Days" - creates it if necessary
    • getIn133_LifetimeReserveDays

      Returns IN1-33: "Lifetime Reserve Days" - creates it if necessary
    • getDelayBeforeLifetimeReserveDays

      Returns IN1-34: "Delay before lifetime reserve days" - creates it if necessary
    • getIn134_DelayBeforeLifetimeReserveDays

      Returns IN1-34: "Delay before lifetime reserve days" - creates it if necessary
    • getCompanyPlanCode

      Returns IN1-35: "Company Plan Code" - creates it if necessary
    • getIn135_CompanyPlanCode

      Returns IN1-35: "Company Plan Code" - creates it if necessary
    • getPolicyNumber

      public ST getPolicyNumber()
      Returns IN1-36: "Policy Number" - creates it if necessary
    • getIn136_PolicyNumber

      Returns IN1-36: "Policy Number" - creates it if necessary
    • getPolicyDeductible

      Returns IN1-37: "Policy Deductible" - creates it if necessary
    • getIn137_PolicyDeductible

      Returns IN1-37: "Policy Deductible" - creates it if necessary
    • getPolicyLimitAmount

      Returns IN1-38: "Policy Limit - Amount" - creates it if necessary
    • getIn138_PolicyLimitAmount

      Returns IN1-38: "Policy Limit - Amount" - creates it if necessary
    • getPolicyLimitDays

      Returns IN1-39: "Policy Limit - Days" - creates it if necessary
    • getIn139_PolicyLimitDays

      Returns IN1-39: "Policy Limit - Days" - creates it if necessary
    • getRoomRateSemiPrivate

      Returns IN1-40: "Room Rate - Semi-Private" - creates it if necessary
    • getIn140_RoomRateSemiPrivate

      Returns IN1-40: "Room Rate - Semi-Private" - creates it if necessary
    • getRoomRatePrivate

      Returns IN1-41: "Room Rate - Private" - creates it if necessary
    • getIn141_RoomRatePrivate

      Returns IN1-41: "Room Rate - Private" - creates it if necessary
    • getInsuredSEmploymentStatus

      Returns IN1-42: "Insured's Employment Status" - creates it if necessary
    • getIn142_InsuredSEmploymentStatus

      Returns IN1-42: "Insured's Employment Status" - creates it if necessary
    • getInsuredSSex

      public IS getInsuredSSex()
      Returns IN1-43: "Insured's Sex" - creates it if necessary
    • getIn143_InsuredSSex

      Returns IN1-43: "Insured's Sex" - creates it if necessary
    • getInsuredSEmployerAddress

      Returns IN1-44: "Insured's Employer Address" - creates it if necessary
    • getIn144_InsuredSEmployerAddress

      Returns IN1-44: "Insured's Employer Address" - creates it if necessary
    • getVerificationStatus

      Returns IN1-45: "Verification Status" - creates it if necessary
    • getIn145_VerificationStatus

      Returns IN1-45: "Verification Status" - creates it if necessary
    • getPriorInsurancePlanID

      Returns IN1-46: "Prior Insurance Plan ID" - creates it if necessary
    • getIn146_PriorInsurancePlanID

      Returns IN1-46: "Prior Insurance Plan ID" - creates it if necessary
    • getCoverageType

      public IS getCoverageType()
      Returns IN1-47: "Coverage Type" - creates it if necessary
    • getIn147_CoverageType

      Returns IN1-47: "Coverage Type" - creates it if necessary
    • getHandicap

      public IS getHandicap()
      Returns IN1-48: "Handicap" - creates it if necessary
    • getIn148_Handicap

      Returns IN1-48: "Handicap" - creates it if necessary
    • getInsuredSIDNumber

      Returns IN1-49: "Insured's ID Number" - creates it if necessary
    • getIn149_InsuredSIDNumber

      Returns IN1-49: "Insured's ID Number" - creates it if necessary
    • createNewTypeWithoutReflection

      protected Type createNewTypeWithoutReflection(int field)
      Overrides:
      createNewTypeWithoutReflection in class AbstractSegment