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 - IN1 (SI)
  • IN1-2: Insurance Plan ID (CE)
  • IN1-3: Insurance Company ID (CX) repeating
  • IN1-4: Insurance Company Name (XON) optional repeating
  • IN1-5: Insurance Company Address (XAD) optional repeating
  • IN1-6: Insurance Co Contact Person (XPN) optional repeating
  • IN1-7: Insurance Co Phone Number (XTN) optional repeating
  • IN1-8: Group Number (ST) optional
  • IN1-9: Group Name (XON) optional repeating
  • IN1-10: Insured's Group Emp ID (CX) optional repeating
  • IN1-11: Insured's Group Emp Name (XON) optional repeating
  • IN1-12: Plan Effective Date (DT) optional
  • IN1-13: Plan Expiration Date (DT) optional
  • IN1-14: Authorization Information (AUI) optional
  • IN1-15: Plan Type (IS) optional
  • IN1-16: Name Of Insured (XPN) optional repeating
  • IN1-17: Insured's Relationship To Patient (CE) optional
  • IN1-18: Insured's Date Of Birth (TS) optional
  • IN1-19: Insured's Address (XAD) optional repeating
  • 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 Flag (ID) optional
  • IN1-24: Notice Of Admission Date (DT) optional
  • IN1-25: Report Of Eligibility Flag (ID) optional
  • IN1-26: Report 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 (XCN) optional repeating
  • 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 L.R. Day (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 Administrative Sex (IS) optional
  • IN1-44: Insured's Employer's Address (XAD) optional repeating
  • 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 repeating
See Also:
  • Constructor Details

  • Method Details

    • getSetIDIN1

      public SI getSetIDIN1()
      Returns IN1-1: "Set ID - IN1" - creates it if necessary
    • getIn11_SetIDIN1

      public SI getIn11_SetIDIN1()
      Returns IN1-1: "Set ID - IN1" - 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 all repetitions of Insurance Company ID (IN1-3).
    • getIn13_InsuranceCompanyID

      Returns all repetitions of Insurance Company ID (IN1-3).
    • getInsuranceCompanyIDReps

      Returns a count of the current number of repetitions of Insurance Company ID (IN1-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getInsuranceCompanyID

      public CX getInsuranceCompanyID(int rep)
      Returns a specific repetition of IN1-3: "Insurance Company ID" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn13_InsuranceCompanyID

      public CX getIn13_InsuranceCompanyID(int rep)
      Returns a specific repetition of IN1-3: "Insurance Company ID" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn13_InsuranceCompanyIDReps

      Returns a count of the current number of repetitions of Insurance Company ID (IN1-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertInsuranceCompanyID

      public CX insertInsuranceCompanyID(int rep) throws HL7Exception
      Inserts a repetition of IN1-3: "Insurance Company ID" 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)
    • insertIn13_InsuranceCompanyID

      Inserts a repetition of IN1-3: "Insurance Company ID" 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)
    • removeInsuranceCompanyID

      public CX removeInsuranceCompanyID(int rep) throws HL7Exception
      Removes a repetition of IN1-3: "Insurance Company ID" 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)
    • removeIn13_InsuranceCompanyID

      Removes a repetition of IN1-3: "Insurance Company ID" 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)
    • getInsuranceCompanyName

      Returns all repetitions of Insurance Company Name (IN1-4).
    • getIn14_InsuranceCompanyName

      Returns all repetitions of Insurance Company Name (IN1-4).
    • getInsuranceCompanyNameReps

      Returns a count of the current number of repetitions of Insurance Company Name (IN1-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getInsuranceCompanyName

      public XON getInsuranceCompanyName(int rep)
      Returns a specific repetition of IN1-4: "Insurance Company Name" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn14_InsuranceCompanyName

      Returns a specific repetition of IN1-4: "Insurance Company Name" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn14_InsuranceCompanyNameReps

      Returns a count of the current number of repetitions of Insurance Company Name (IN1-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertInsuranceCompanyName

      public XON insertInsuranceCompanyName(int rep) throws HL7Exception
      Inserts a repetition of IN1-4: "Insurance Company Name" 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)
    • insertIn14_InsuranceCompanyName

      Inserts a repetition of IN1-4: "Insurance Company Name" 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)
    • removeInsuranceCompanyName

      public XON removeInsuranceCompanyName(int rep) throws HL7Exception
      Removes a repetition of IN1-4: "Insurance Company Name" 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)
    • removeIn14_InsuranceCompanyName

      Removes a repetition of IN1-4: "Insurance Company Name" 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)
    • getInsuranceCompanyAddress

      Returns all repetitions of Insurance Company Address (IN1-5).
    • getIn15_InsuranceCompanyAddress

      Returns all repetitions of Insurance Company Address (IN1-5).
    • getInsuranceCompanyAddressReps

      Returns a count of the current number of repetitions of Insurance Company Address (IN1-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getInsuranceCompanyAddress

      public XAD getInsuranceCompanyAddress(int rep)
      Returns a specific repetition of IN1-5: "Insurance Company Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn15_InsuranceCompanyAddress

      Returns a specific repetition of IN1-5: "Insurance Company Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn15_InsuranceCompanyAddressReps

      Returns a count of the current number of repetitions of Insurance Company Address (IN1-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertInsuranceCompanyAddress

      Inserts a repetition of IN1-5: "Insurance Company Address" 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)
    • insertIn15_InsuranceCompanyAddress

      Inserts a repetition of IN1-5: "Insurance Company Address" 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)
    • removeInsuranceCompanyAddress

      Removes a repetition of IN1-5: "Insurance Company Address" 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)
    • removeIn15_InsuranceCompanyAddress

      Removes a repetition of IN1-5: "Insurance Company Address" 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)
    • getInsuranceCoContactPerson

      Returns all repetitions of Insurance Co Contact Person (IN1-6).
    • getIn16_InsuranceCoContactPerson

      Returns all repetitions of Insurance Co Contact Person (IN1-6).
    • getInsuranceCoContactPersonReps

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

      public XPN getInsuranceCoContactPerson(int rep)
      Returns a specific repetition of IN1-6: "Insurance Co Contact Person" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn16_InsuranceCoContactPerson

      Returns a specific repetition of IN1-6: "Insurance Co Contact Person" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn16_InsuranceCoContactPersonReps

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

      Inserts a repetition of IN1-6: "Insurance Co Contact Person" 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)
    • insertIn16_InsuranceCoContactPerson

      Inserts a repetition of IN1-6: "Insurance Co Contact Person" 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)
    • removeInsuranceCoContactPerson

      Removes a repetition of IN1-6: "Insurance Co Contact Person" 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)
    • removeIn16_InsuranceCoContactPerson

      Removes a repetition of IN1-6: "Insurance Co Contact Person" 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)
    • 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 all repetitions of Group Name (IN1-9).
    • getIn19_GroupName

      public XON[] getIn19_GroupName()
      Returns all repetitions of Group Name (IN1-9).
    • getGroupNameReps

      public int getGroupNameReps()
      Returns a count of the current number of repetitions of Group Name (IN1-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getGroupName

      public XON getGroupName(int rep)
      Returns a specific repetition of IN1-9: "Group Name" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn19_GroupName

      public XON getIn19_GroupName(int rep)
      Returns a specific repetition of IN1-9: "Group Name" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn19_GroupNameReps

      public int getIn19_GroupNameReps()
      Returns a count of the current number of repetitions of Group Name (IN1-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertGroupName

      public XON insertGroupName(int rep) throws HL7Exception
      Inserts a repetition of IN1-9: "Group Name" 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)
    • insertIn19_GroupName

      public XON insertIn19_GroupName(int rep) throws HL7Exception
      Inserts a repetition of IN1-9: "Group Name" 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)
    • removeGroupName

      public XON removeGroupName(int rep) throws HL7Exception
      Removes a repetition of IN1-9: "Group Name" 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)
    • removeIn19_GroupName

      public XON removeIn19_GroupName(int rep) throws HL7Exception
      Removes a repetition of IN1-9: "Group Name" 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)
    • getInsuredSGroupEmpID

      Returns all repetitions of Insured's Group Emp ID (IN1-10).
    • getIn110_InsuredSGroupEmpID

      Returns all repetitions of Insured's Group Emp ID (IN1-10).
    • getInsuredSGroupEmpIDReps

      Returns a count of the current number of repetitions of Insured's Group Emp ID (IN1-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getInsuredSGroupEmpID

      public CX getInsuredSGroupEmpID(int rep)
      Returns a specific repetition of IN1-10: "Insured's Group Emp ID" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn110_InsuredSGroupEmpID

      public CX getIn110_InsuredSGroupEmpID(int rep)
      Returns a specific repetition of IN1-10: "Insured's Group Emp ID" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn110_InsuredSGroupEmpIDReps

      Returns a count of the current number of repetitions of Insured's Group Emp ID (IN1-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertInsuredSGroupEmpID

      public CX insertInsuredSGroupEmpID(int rep) throws HL7Exception
      Inserts a repetition of IN1-10: "Insured's Group Emp ID" 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)
    • insertIn110_InsuredSGroupEmpID

      Inserts a repetition of IN1-10: "Insured's Group Emp ID" 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)
    • removeInsuredSGroupEmpID

      public CX removeInsuredSGroupEmpID(int rep) throws HL7Exception
      Removes a repetition of IN1-10: "Insured's Group Emp ID" 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)
    • removeIn110_InsuredSGroupEmpID

      Removes a repetition of IN1-10: "Insured's Group Emp ID" 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)
    • getInsuredSGroupEmpName

      Returns all repetitions of Insured's Group Emp Name (IN1-11).
    • getIn111_InsuredSGroupEmpName

      Returns all repetitions of Insured's Group Emp Name (IN1-11).
    • getInsuredSGroupEmpNameReps

      Returns a count of the current number of repetitions of Insured's Group Emp Name (IN1-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getInsuredSGroupEmpName

      public XON getInsuredSGroupEmpName(int rep)
      Returns a specific repetition of IN1-11: "Insured's Group Emp Name" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn111_InsuredSGroupEmpName

      Returns a specific repetition of IN1-11: "Insured's Group Emp Name" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn111_InsuredSGroupEmpNameReps

      Returns a count of the current number of repetitions of Insured's Group Emp Name (IN1-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertInsuredSGroupEmpName

      public XON insertInsuredSGroupEmpName(int rep) throws HL7Exception
      Inserts a repetition of IN1-11: "Insured's Group Emp Name" 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)
    • insertIn111_InsuredSGroupEmpName

      Inserts a repetition of IN1-11: "Insured's Group Emp Name" 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)
    • removeInsuredSGroupEmpName

      public XON removeInsuredSGroupEmpName(int rep) throws HL7Exception
      Removes a repetition of IN1-11: "Insured's Group Emp Name" 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)
    • removeIn111_InsuredSGroupEmpName

      Removes a repetition of IN1-11: "Insured's Group Emp Name" 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)
    • 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

      public XPN[] getNameOfInsured()
      Returns all repetitions of Name Of Insured (IN1-16).
    • getIn116_NameOfInsured

      Returns all repetitions of Name Of Insured (IN1-16).
    • getNameOfInsuredReps

      public int getNameOfInsuredReps()
      Returns a count of the current number of repetitions of Name Of Insured (IN1-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getNameOfInsured

      public XPN getNameOfInsured(int rep)
      Returns a specific repetition of IN1-16: "Name Of Insured" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn116_NameOfInsured

      public XPN getIn116_NameOfInsured(int rep)
      Returns a specific repetition of IN1-16: "Name Of Insured" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn116_NameOfInsuredReps

      Returns a count of the current number of repetitions of Name Of Insured (IN1-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertNameOfInsured

      public XPN insertNameOfInsured(int rep) throws HL7Exception
      Inserts a repetition of IN1-16: "Name Of Insured" 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)
    • insertIn116_NameOfInsured

      public XPN insertIn116_NameOfInsured(int rep) throws HL7Exception
      Inserts a repetition of IN1-16: "Name Of Insured" 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)
    • removeNameOfInsured

      public XPN removeNameOfInsured(int rep) throws HL7Exception
      Removes a repetition of IN1-16: "Name Of Insured" 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)
    • removeIn116_NameOfInsured

      public XPN removeIn116_NameOfInsured(int rep) throws HL7Exception
      Removes a repetition of IN1-16: "Name Of Insured" 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)
    • 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

      public XAD[] getInsuredSAddress()
      Returns all repetitions of Insured's Address (IN1-19).
    • getIn119_InsuredSAddress

      Returns all repetitions of Insured's Address (IN1-19).
    • getInsuredSAddressReps

      public int getInsuredSAddressReps()
      Returns a count of the current number of repetitions of Insured's Address (IN1-19). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getInsuredSAddress

      public XAD getInsuredSAddress(int rep)
      Returns a specific repetition of IN1-19: "Insured's Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn119_InsuredSAddress

      public XAD getIn119_InsuredSAddress(int rep)
      Returns a specific repetition of IN1-19: "Insured's Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn119_InsuredSAddressReps

      Returns a count of the current number of repetitions of Insured's Address (IN1-19). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertInsuredSAddress

      public XAD insertInsuredSAddress(int rep) throws HL7Exception
      Inserts a repetition of IN1-19: "Insured's Address" 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)
    • insertIn119_InsuredSAddress

      public XAD insertIn119_InsuredSAddress(int rep) throws HL7Exception
      Inserts a repetition of IN1-19: "Insured's Address" 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)
    • removeInsuredSAddress

      public XAD removeInsuredSAddress(int rep) throws HL7Exception
      Removes a repetition of IN1-19: "Insured's Address" 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)
    • removeIn119_InsuredSAddress

      public XAD removeIn119_InsuredSAddress(int rep) throws HL7Exception
      Removes a repetition of IN1-19: "Insured's Address" 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)
    • 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
    • getNoticeOfAdmissionFlag

      Returns IN1-23: "Notice Of Admission Flag" - creates it if necessary
    • getIn123_NoticeOfAdmissionFlag

      Returns IN1-23: "Notice Of Admission Flag" - 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
    • getReportOfEligibilityFlag

      Returns IN1-25: "Report Of Eligibility Flag" - creates it if necessary
    • getIn125_ReportOfEligibilityFlag

      Returns IN1-25: "Report Of Eligibility Flag" - creates it if necessary
    • getReportOfEligibilityDate

      Returns IN1-26: "Report Of Eligibility Date" - creates it if necessary
    • getIn126_ReportOfEligibilityDate

      Returns IN1-26: "Report 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

      public XCN[] getVerificationBy()
      Returns all repetitions of Verification By (IN1-30).
    • getIn130_VerificationBy

      Returns all repetitions of Verification By (IN1-30).
    • getVerificationByReps

      public int getVerificationByReps()
      Returns a count of the current number of repetitions of Verification By (IN1-30). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getVerificationBy

      public XCN getVerificationBy(int rep)
      Returns a specific repetition of IN1-30: "Verification By" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn130_VerificationBy

      public XCN getIn130_VerificationBy(int rep)
      Returns a specific repetition of IN1-30: "Verification By" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn130_VerificationByReps

      Returns a count of the current number of repetitions of Verification By (IN1-30). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertVerificationBy

      public XCN insertVerificationBy(int rep) throws HL7Exception
      Inserts a repetition of IN1-30: "Verification By" 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)
    • insertIn130_VerificationBy

      public XCN insertIn130_VerificationBy(int rep) throws HL7Exception
      Inserts a repetition of IN1-30: "Verification By" 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)
    • removeVerificationBy

      public XCN removeVerificationBy(int rep) throws HL7Exception
      Removes a repetition of IN1-30: "Verification By" 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)
    • removeIn130_VerificationBy

      public XCN removeIn130_VerificationBy(int rep) throws HL7Exception
      Removes a repetition of IN1-30: "Verification By" 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)
    • 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
    • getDelayBeforeLRDay

      Returns IN1-34: "Delay Before L.R. Day" - creates it if necessary
    • getIn134_DelayBeforeLRDay

      Returns IN1-34: "Delay Before L.R. Day" - 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
    • getInsuredSAdministrativeSex

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

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

      Returns all repetitions of Insured's Employer's Address (IN1-44).
    • getIn144_InsuredSEmployerSAddress

      Returns all repetitions of Insured's Employer's Address (IN1-44).
    • getInsuredSEmployerSAddressReps

      Returns a count of the current number of repetitions of Insured's Employer's Address (IN1-44). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getInsuredSEmployerSAddress

      public XAD getInsuredSEmployerSAddress(int rep)
      Returns a specific repetition of IN1-44: "Insured's Employer's Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn144_InsuredSEmployerSAddress

      Returns a specific repetition of IN1-44: "Insured's Employer's Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn144_InsuredSEmployerSAddressReps

      Returns a count of the current number of repetitions of Insured's Employer's Address (IN1-44). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertInsuredSEmployerSAddress

      Inserts a repetition of IN1-44: "Insured's Employer's Address" 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)
    • insertIn144_InsuredSEmployerSAddress

      Inserts a repetition of IN1-44: "Insured's Employer's Address" 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)
    • removeInsuredSEmployerSAddress

      Removes a repetition of IN1-44: "Insured's Employer's Address" 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)
    • removeIn144_InsuredSEmployerSAddress

      Removes a repetition of IN1-44: "Insured's Employer's Address" 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)
    • 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

      public CX[] getInsuredSIDNumber()
      Returns all repetitions of Insured's ID Number (IN1-49).
    • getIn149_InsuredSIDNumber

      Returns all repetitions of Insured's ID Number (IN1-49).
    • getInsuredSIDNumberReps

      Returns a count of the current number of repetitions of Insured's ID Number (IN1-49). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getInsuredSIDNumber

      public CX getInsuredSIDNumber(int rep)
      Returns a specific repetition of IN1-49: "Insured's ID Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn149_InsuredSIDNumber

      public CX getIn149_InsuredSIDNumber(int rep)
      Returns a specific repetition of IN1-49: "Insured's ID Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getIn149_InsuredSIDNumberReps

      Returns a count of the current number of repetitions of Insured's ID Number (IN1-49). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertInsuredSIDNumber

      public CX insertInsuredSIDNumber(int rep) throws HL7Exception
      Inserts a repetition of IN1-49: "Insured's ID 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)
    • insertIn149_InsuredSIDNumber

      public CX insertIn149_InsuredSIDNumber(int rep) throws HL7Exception
      Inserts a repetition of IN1-49: "Insured's ID 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)
    • removeInsuredSIDNumber

      public CX removeInsuredSIDNumber(int rep) throws HL7Exception
      Removes a repetition of IN1-49: "Insured's ID 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)
    • removeIn149_InsuredSIDNumber

      public CX removeIn149_InsuredSIDNumber(int rep) throws HL7Exception
      Removes a repetition of IN1-49: "Insured's ID 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)
    • createNewTypeWithoutReflection

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