001/* 002 * This class is an auto-generated source file for a HAPI 003 * HL7 v2.x standard structure class. 004 * 005 * For more information, visit: http://hl7api.sourceforge.net/ 006 * 007 * The contents of this file are subject to the Mozilla Public License Version 1.1 008 * (the "License"); you may not use this file except in compliance with the License. 009 * You may obtain a copy of the License at http://www.mozilla.org/MPL/ 010 * Software distributed under the License is distributed on an "AS IS" basis, 011 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the 012 * specific language governing rights and limitations under the License. 013 * 014 * The Original Code is "[file_name]". Description: 015 * "[one_line_description]" 016 * 017 * The Initial Developer of the Original Code is University Health Network. Copyright (C) 018 * 2012. All Rights Reserved. 019 * 020 * Contributor(s): ______________________________________. 021 * 022 * Alternatively, the contents of this file may be used under the terms of the 023 * GNU General Public License (the "GPL"), in which case the provisions of the GPL are 024 * applicable instead of those above. If you wish to allow use of your version of this 025 * file only under the terms of the GPL and not to allow others to use your version 026 * of this file under the MPL, indicate your decision by deleting the provisions above 027 * and replace them with the notice and other provisions required by the GPL License. 028 * If you do not delete the provisions above, a recipient may use your version of 029 * this file under either the MPL or the GPL. 030 * 031 */ 032 033 034package ca.uhn.hl7v2.model.v25.segment; 035 036// import ca.uhn.hl7v2.model.v25.group.*; 037import ca.uhn.hl7v2.model.v25.datatype.*; 038import ca.uhn.hl7v2.HL7Exception; 039import ca.uhn.hl7v2.parser.ModelClassFactory; 040import ca.uhn.hl7v2.parser.DefaultModelClassFactory; 041import ca.uhn.hl7v2.model.AbstractMessage; 042import ca.uhn.hl7v2.model.Group; 043import ca.uhn.hl7v2.model.Type; 044import ca.uhn.hl7v2.model.AbstractSegment; 045import ca.uhn.hl7v2.model.Varies; 046 047 048/** 049 *<p>Represents an HL7 IN2 message segment (Insurance Additional Information). 050 * This segment has the following fields:</p> 051 * <ul> 052 * <li>IN2-1: Insured's Employee ID (CX) <b>optional repeating</b> 053 * <li>IN2-2: Insured's Social Security Number (ST) <b>optional </b> 054 * <li>IN2-3: Insured's Employer's Name and ID (XCN) <b>optional repeating</b> 055 * <li>IN2-4: Employer Information Data (IS) <b>optional </b> 056 * <li>IN2-5: Mail Claim Party (IS) <b>optional repeating</b> 057 * <li>IN2-6: Medicare Health Ins Card Number (ST) <b>optional </b> 058 * <li>IN2-7: Medicaid Case Name (XPN) <b>optional repeating</b> 059 * <li>IN2-8: Medicaid Case Number (ST) <b>optional </b> 060 * <li>IN2-9: Military Sponsor Name (XPN) <b>optional repeating</b> 061 * <li>IN2-10: Military ID Number (ST) <b>optional </b> 062 * <li>IN2-11: Dependent Of Military Recipient (CE) <b>optional </b> 063 * <li>IN2-12: Military Organization (ST) <b>optional </b> 064 * <li>IN2-13: Military Station (ST) <b>optional </b> 065 * <li>IN2-14: Military Service (IS) <b>optional </b> 066 * <li>IN2-15: Military Rank/Grade (IS) <b>optional </b> 067 * <li>IN2-16: Military Status (IS) <b>optional </b> 068 * <li>IN2-17: Military Retire Date (DT) <b>optional </b> 069 * <li>IN2-18: Military Non-Avail Cert On File (ID) <b>optional </b> 070 * <li>IN2-19: Baby Coverage (ID) <b>optional </b> 071 * <li>IN2-20: Combine Baby Bill (ID) <b>optional </b> 072 * <li>IN2-21: Blood Deductible (ST) <b>optional </b> 073 * <li>IN2-22: Special Coverage Approval Name (XPN) <b>optional repeating</b> 074 * <li>IN2-23: Special Coverage Approval Title (ST) <b>optional </b> 075 * <li>IN2-24: Non-Covered Insurance Code (IS) <b>optional repeating</b> 076 * <li>IN2-25: Payor ID (CX) <b>optional repeating</b> 077 * <li>IN2-26: Payor Subscriber ID (CX) <b>optional repeating</b> 078 * <li>IN2-27: Eligibility Source (IS) <b>optional </b> 079 * <li>IN2-28: Room Coverage Type/Amount (RMC) <b>optional repeating</b> 080 * <li>IN2-29: Policy Type/Amount (PTA) <b>optional repeating</b> 081 * <li>IN2-30: Daily Deductible (DDI) <b>optional </b> 082 * <li>IN2-31: Living Dependency (IS) <b>optional </b> 083 * <li>IN2-32: Ambulatory Status (IS) <b>optional repeating</b> 084 * <li>IN2-33: Citizenship (CE) <b>optional repeating</b> 085 * <li>IN2-34: Primary Language (CE) <b>optional </b> 086 * <li>IN2-35: Living Arrangement (IS) <b>optional </b> 087 * <li>IN2-36: Publicity Code (CE) <b>optional </b> 088 * <li>IN2-37: Protection Indicator (ID) <b>optional </b> 089 * <li>IN2-38: Student Indicator (IS) <b>optional </b> 090 * <li>IN2-39: Religion (CE) <b>optional </b> 091 * <li>IN2-40: Mother's Maiden Name (XPN) <b>optional repeating</b> 092 * <li>IN2-41: Nationality (CE) <b>optional </b> 093 * <li>IN2-42: Ethnic Group (CE) <b>optional repeating</b> 094 * <li>IN2-43: Marital Status (CE) <b>optional repeating</b> 095 * <li>IN2-44: Insured's Employment Start Date (DT) <b>optional </b> 096 * <li>IN2-45: Employment Stop Date (DT) <b>optional </b> 097 * <li>IN2-46: Job Title (ST) <b>optional </b> 098 * <li>IN2-47: Job Code/Class (JCC) <b>optional </b> 099 * <li>IN2-48: Job Status (IS) <b>optional </b> 100 * <li>IN2-49: Employer Contact Person Name (XPN) <b>optional repeating</b> 101 * <li>IN2-50: Employer Contact Person Phone Number (XTN) <b>optional repeating</b> 102 * <li>IN2-51: Employer Contact Reason (IS) <b>optional </b> 103 * <li>IN2-52: Insured's Contact Person's Name (XPN) <b>optional repeating</b> 104 * <li>IN2-53: Insured's Contact Person Phone Number (XTN) <b>optional repeating</b> 105 * <li>IN2-54: Insured's Contact Person Reason (IS) <b>optional repeating</b> 106 * <li>IN2-55: Relationship to the Patient Start Date (DT) <b>optional </b> 107 * <li>IN2-56: Relationship to the Patient Stop Date (DT) <b>optional repeating</b> 108 * <li>IN2-57: Insurance Co. Contact Reason (IS) <b>optional </b> 109 * <li>IN2-58: Insurance Co Contact Phone Number (XTN) <b>optional </b> 110 * <li>IN2-59: Policy Scope (IS) <b>optional </b> 111 * <li>IN2-60: Policy Source (IS) <b>optional </b> 112 * <li>IN2-61: Patient Member Number (CX) <b>optional </b> 113 * <li>IN2-62: Guarantor's Relationship To Insured (CE) <b>optional </b> 114 * <li>IN2-63: Insured's Phone Number - Home (XTN) <b>optional repeating</b> 115 * <li>IN2-64: Insured's Employer Phone Number (XTN) <b>optional repeating</b> 116 * <li>IN2-65: Military Handicapped Program (CE) <b>optional </b> 117 * <li>IN2-66: Suspend Flag (ID) <b>optional </b> 118 * <li>IN2-67: Copay Limit Flag (ID) <b>optional </b> 119 * <li>IN2-68: Stoploss Limit Flag (ID) <b>optional </b> 120 * <li>IN2-69: Insured Organization Name and ID (XON) <b>optional repeating</b> 121 * <li>IN2-70: Insured Employer Organization Name and ID (XON) <b>optional repeating</b> 122 * <li>IN2-71: Race (CE) <b>optional repeating</b> 123 * <li>IN2-72: CMS Patient_s Relationship to Insured (CE) <b>optional </b> 124 * </ul> 125 */ 126@SuppressWarnings("unused") 127public class IN2 extends AbstractSegment { 128 129 /** 130 * Creates a new IN2 segment 131 */ 132 public IN2(Group parent, ModelClassFactory factory) { 133 super(parent, factory); 134 init(factory); 135 } 136 137 private void init(ModelClassFactory factory) { 138 try { 139 this.add(CX.class, false, 0, 250, new Object[]{ getMessage() }, "Insured's Employee ID"); 140 this.add(ST.class, false, 1, 11, new Object[]{ getMessage() }, "Insured's Social Security Number"); 141 this.add(XCN.class, false, 0, 250, new Object[]{ getMessage() }, "Insured's Employer's Name and ID"); 142 this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(139) }, "Employer Information Data"); 143 this.add(IS.class, false, 0, 1, new Object[]{ getMessage(), new Integer(137) }, "Mail Claim Party"); 144 this.add(ST.class, false, 1, 15, new Object[]{ getMessage() }, "Medicare Health Ins Card Number"); 145 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Medicaid Case Name"); 146 this.add(ST.class, false, 1, 15, new Object[]{ getMessage() }, "Medicaid Case Number"); 147 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Military Sponsor Name"); 148 this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Military ID Number"); 149 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Dependent Of Military Recipient"); 150 this.add(ST.class, false, 1, 25, new Object[]{ getMessage() }, "Military Organization"); 151 this.add(ST.class, false, 1, 25, new Object[]{ getMessage() }, "Military Station"); 152 this.add(IS.class, false, 1, 14, new Object[]{ getMessage(), new Integer(140) }, "Military Service"); 153 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(141) }, "Military Rank/Grade"); 154 this.add(IS.class, false, 1, 3, new Object[]{ getMessage(), new Integer(142) }, "Military Status"); 155 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Military Retire Date"); 156 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Military Non-Avail Cert On File"); 157 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Baby Coverage"); 158 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Combine Baby Bill"); 159 this.add(ST.class, false, 1, 1, new Object[]{ getMessage() }, "Blood Deductible"); 160 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Special Coverage Approval Name"); 161 this.add(ST.class, false, 1, 30, new Object[]{ getMessage() }, "Special Coverage Approval Title"); 162 this.add(IS.class, false, 0, 8, new Object[]{ getMessage(), new Integer(143) }, "Non-Covered Insurance Code"); 163 this.add(CX.class, false, 0, 250, new Object[]{ getMessage() }, "Payor ID"); 164 this.add(CX.class, false, 0, 250, new Object[]{ getMessage() }, "Payor Subscriber ID"); 165 this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(144) }, "Eligibility Source"); 166 this.add(RMC.class, false, 0, 82, new Object[]{ getMessage() }, "Room Coverage Type/Amount"); 167 this.add(PTA.class, false, 0, 56, new Object[]{ getMessage() }, "Policy Type/Amount"); 168 this.add(DDI.class, false, 1, 25, new Object[]{ getMessage() }, "Daily Deductible"); 169 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(223) }, "Living Dependency"); 170 this.add(IS.class, false, 0, 2, new Object[]{ getMessage(), new Integer(9) }, "Ambulatory Status"); 171 this.add(CE.class, false, 0, 250, new Object[]{ getMessage() }, "Citizenship"); 172 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Primary Language"); 173 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(220) }, "Living Arrangement"); 174 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Publicity Code"); 175 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Protection Indicator"); 176 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(231) }, "Student Indicator"); 177 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Religion"); 178 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Mother's Maiden Name"); 179 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Nationality"); 180 this.add(CE.class, false, 0, 250, new Object[]{ getMessage() }, "Ethnic Group"); 181 this.add(CE.class, false, 0, 250, new Object[]{ getMessage() }, "Marital Status"); 182 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Insured's Employment Start Date"); 183 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Employment Stop Date"); 184 this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Job Title"); 185 this.add(JCC.class, false, 1, 20, new Object[]{ getMessage() }, "Job Code/Class"); 186 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(311) }, "Job Status"); 187 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Employer Contact Person Name"); 188 this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Employer Contact Person Phone Number"); 189 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(222) }, "Employer Contact Reason"); 190 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Insured's Contact Person's Name"); 191 this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Insured's Contact Person Phone Number"); 192 this.add(IS.class, false, 0, 2, new Object[]{ getMessage(), new Integer(222) }, "Insured's Contact Person Reason"); 193 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Relationship to the Patient Start Date"); 194 this.add(DT.class, false, 0, 8, new Object[]{ getMessage() }, "Relationship to the Patient Stop Date"); 195 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(232) }, "Insurance Co. Contact Reason"); 196 this.add(XTN.class, false, 1, 250, new Object[]{ getMessage() }, "Insurance Co Contact Phone Number"); 197 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(312) }, "Policy Scope"); 198 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(313) }, "Policy Source"); 199 this.add(CX.class, false, 1, 250, new Object[]{ getMessage() }, "Patient Member Number"); 200 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Guarantor's Relationship To Insured"); 201 this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Insured's Phone Number - Home"); 202 this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Insured's Employer Phone Number"); 203 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Military Handicapped Program"); 204 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Suspend Flag"); 205 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Copay Limit Flag"); 206 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Stoploss Limit Flag"); 207 this.add(XON.class, false, 0, 250, new Object[]{ getMessage() }, "Insured Organization Name and ID"); 208 this.add(XON.class, false, 0, 250, new Object[]{ getMessage() }, "Insured Employer Organization Name and ID"); 209 this.add(CE.class, false, 0, 250, new Object[]{ getMessage() }, "Race"); 210 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "CMS Patient_s Relationship to Insured"); 211 } catch(HL7Exception e) { 212 log.error("Unexpected error creating IN2 - this is probably a bug in the source code generator.", e); 213 } 214 } 215 216 217 /** 218 * Returns all repetitions of Insured's Employee ID (IN2-1). 219 */ 220 public CX[] getInsuredSEmployeeID() { 221 CX[] retVal = this.getTypedField(1, new CX[0]); 222 return retVal; 223 } 224 225 226 /** 227 * Returns all repetitions of Insured's Employee ID (IN2-1). 228 */ 229 public CX[] getIn21_InsuredSEmployeeID() { 230 CX[] retVal = this.getTypedField(1, new CX[0]); 231 return retVal; 232 } 233 234 235 /** 236 * Returns a count of the current number of repetitions of Insured's Employee ID (IN2-1). 237 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 238 * it will return zero. 239 */ 240 public int getInsuredSEmployeeIDReps() { 241 return this.getReps(1); 242 } 243 244 245 /** 246 * Returns a specific repetition of 247 * IN2-1: "Insured's Employee ID" - creates it if necessary 248 * 249 * @param rep The repetition index (0-indexed) 250 */ 251 public CX getInsuredSEmployeeID(int rep) { 252 CX retVal = this.getTypedField(1, rep); 253 return retVal; 254 } 255 256 /** 257 * Returns a specific repetition of 258 * IN2-1: "Insured's Employee ID" - creates it if necessary 259 * 260 * @param rep The repetition index (0-indexed) 261 */ 262 public CX getIn21_InsuredSEmployeeID(int rep) { 263 CX retVal = this.getTypedField(1, rep); 264 return retVal; 265 } 266 267 /** 268 * Returns a count of the current number of repetitions of Insured's Employee ID (IN2-1). 269 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 270 * it will return zero. 271 */ 272 public int getIn21_InsuredSEmployeeIDReps() { 273 return this.getReps(1); 274 } 275 276 277 /** 278 * Inserts a repetition of 279 * IN2-1: "Insured's Employee ID" at a specific index 280 * 281 * @param rep The repetition index (0-indexed) 282 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 283 */ 284 public CX insertInsuredSEmployeeID(int rep) throws HL7Exception { 285 return (CX) super.insertRepetition(1, rep); 286 } 287 288 289 /** 290 * Inserts a repetition of 291 * IN2-1: "Insured's Employee ID" at a specific index 292 * 293 * @param rep The repetition index (0-indexed) 294 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 295 */ 296 public CX insertIn21_InsuredSEmployeeID(int rep) throws HL7Exception { 297 return (CX) super.insertRepetition(1, rep); 298 } 299 300 301 /** 302 * Removes a repetition of 303 * IN2-1: "Insured's Employee ID" at a specific index 304 * 305 * @param rep The repetition index (0-indexed) 306 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 307 */ 308 public CX removeInsuredSEmployeeID(int rep) throws HL7Exception { 309 return (CX) super.removeRepetition(1, rep); 310 } 311 312 313 /** 314 * Removes a repetition of 315 * IN2-1: "Insured's Employee ID" at a specific index 316 * 317 * @param rep The repetition index (0-indexed) 318 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 319 */ 320 public CX removeIn21_InsuredSEmployeeID(int rep) throws HL7Exception { 321 return (CX) super.removeRepetition(1, rep); 322 } 323 324 325 326 327 /** 328 * Returns 329 * IN2-2: "Insured's Social Security Number" - creates it if necessary 330 */ 331 public ST getInsuredSSocialSecurityNumber() { 332 ST retVal = this.getTypedField(2, 0); 333 return retVal; 334 } 335 336 /** 337 * Returns 338 * IN2-2: "Insured's Social Security Number" - creates it if necessary 339 */ 340 public ST getIn22_InsuredSSocialSecurityNumber() { 341 ST retVal = this.getTypedField(2, 0); 342 return retVal; 343 } 344 345 346 /** 347 * Returns all repetitions of Insured's Employer's Name and ID (IN2-3). 348 */ 349 public XCN[] getInsuredSEmployerSNameAndID() { 350 XCN[] retVal = this.getTypedField(3, new XCN[0]); 351 return retVal; 352 } 353 354 355 /** 356 * Returns all repetitions of Insured's Employer's Name and ID (IN2-3). 357 */ 358 public XCN[] getIn23_InsuredSEmployerSNameAndID() { 359 XCN[] retVal = this.getTypedField(3, new XCN[0]); 360 return retVal; 361 } 362 363 364 /** 365 * Returns a count of the current number of repetitions of Insured's Employer's Name and ID (IN2-3). 366 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 367 * it will return zero. 368 */ 369 public int getInsuredSEmployerSNameAndIDReps() { 370 return this.getReps(3); 371 } 372 373 374 /** 375 * Returns a specific repetition of 376 * IN2-3: "Insured's Employer's Name and ID" - creates it if necessary 377 * 378 * @param rep The repetition index (0-indexed) 379 */ 380 public XCN getInsuredSEmployerSNameAndID(int rep) { 381 XCN retVal = this.getTypedField(3, rep); 382 return retVal; 383 } 384 385 /** 386 * Returns a specific repetition of 387 * IN2-3: "Insured's Employer's Name and ID" - creates it if necessary 388 * 389 * @param rep The repetition index (0-indexed) 390 */ 391 public XCN getIn23_InsuredSEmployerSNameAndID(int rep) { 392 XCN retVal = this.getTypedField(3, rep); 393 return retVal; 394 } 395 396 /** 397 * Returns a count of the current number of repetitions of Insured's Employer's Name and ID (IN2-3). 398 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 399 * it will return zero. 400 */ 401 public int getIn23_InsuredSEmployerSNameAndIDReps() { 402 return this.getReps(3); 403 } 404 405 406 /** 407 * Inserts a repetition of 408 * IN2-3: "Insured's Employer's Name and ID" at a specific index 409 * 410 * @param rep The repetition index (0-indexed) 411 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 412 */ 413 public XCN insertInsuredSEmployerSNameAndID(int rep) throws HL7Exception { 414 return (XCN) super.insertRepetition(3, rep); 415 } 416 417 418 /** 419 * Inserts a repetition of 420 * IN2-3: "Insured's Employer's Name and ID" at a specific index 421 * 422 * @param rep The repetition index (0-indexed) 423 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 424 */ 425 public XCN insertIn23_InsuredSEmployerSNameAndID(int rep) throws HL7Exception { 426 return (XCN) super.insertRepetition(3, rep); 427 } 428 429 430 /** 431 * Removes a repetition of 432 * IN2-3: "Insured's Employer's Name and ID" at a specific index 433 * 434 * @param rep The repetition index (0-indexed) 435 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 436 */ 437 public XCN removeInsuredSEmployerSNameAndID(int rep) throws HL7Exception { 438 return (XCN) super.removeRepetition(3, rep); 439 } 440 441 442 /** 443 * Removes a repetition of 444 * IN2-3: "Insured's Employer's Name and ID" at a specific index 445 * 446 * @param rep The repetition index (0-indexed) 447 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 448 */ 449 public XCN removeIn23_InsuredSEmployerSNameAndID(int rep) throws HL7Exception { 450 return (XCN) super.removeRepetition(3, rep); 451 } 452 453 454 455 456 /** 457 * Returns 458 * IN2-4: "Employer Information Data" - creates it if necessary 459 */ 460 public IS getEmployerInformationData() { 461 IS retVal = this.getTypedField(4, 0); 462 return retVal; 463 } 464 465 /** 466 * Returns 467 * IN2-4: "Employer Information Data" - creates it if necessary 468 */ 469 public IS getIn24_EmployerInformationData() { 470 IS retVal = this.getTypedField(4, 0); 471 return retVal; 472 } 473 474 475 /** 476 * Returns all repetitions of Mail Claim Party (IN2-5). 477 */ 478 public IS[] getMailClaimParty() { 479 IS[] retVal = this.getTypedField(5, new IS[0]); 480 return retVal; 481 } 482 483 484 /** 485 * Returns all repetitions of Mail Claim Party (IN2-5). 486 */ 487 public IS[] getIn25_MailClaimParty() { 488 IS[] retVal = this.getTypedField(5, new IS[0]); 489 return retVal; 490 } 491 492 493 /** 494 * Returns a count of the current number of repetitions of Mail Claim Party (IN2-5). 495 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 496 * it will return zero. 497 */ 498 public int getMailClaimPartyReps() { 499 return this.getReps(5); 500 } 501 502 503 /** 504 * Returns a specific repetition of 505 * IN2-5: "Mail Claim Party" - creates it if necessary 506 * 507 * @param rep The repetition index (0-indexed) 508 */ 509 public IS getMailClaimParty(int rep) { 510 IS retVal = this.getTypedField(5, rep); 511 return retVal; 512 } 513 514 /** 515 * Returns a specific repetition of 516 * IN2-5: "Mail Claim Party" - creates it if necessary 517 * 518 * @param rep The repetition index (0-indexed) 519 */ 520 public IS getIn25_MailClaimParty(int rep) { 521 IS retVal = this.getTypedField(5, rep); 522 return retVal; 523 } 524 525 /** 526 * Returns a count of the current number of repetitions of Mail Claim Party (IN2-5). 527 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 528 * it will return zero. 529 */ 530 public int getIn25_MailClaimPartyReps() { 531 return this.getReps(5); 532 } 533 534 535 /** 536 * Inserts a repetition of 537 * IN2-5: "Mail Claim Party" at a specific index 538 * 539 * @param rep The repetition index (0-indexed) 540 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 541 */ 542 public IS insertMailClaimParty(int rep) throws HL7Exception { 543 return (IS) super.insertRepetition(5, rep); 544 } 545 546 547 /** 548 * Inserts a repetition of 549 * IN2-5: "Mail Claim Party" at a specific index 550 * 551 * @param rep The repetition index (0-indexed) 552 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 553 */ 554 public IS insertIn25_MailClaimParty(int rep) throws HL7Exception { 555 return (IS) super.insertRepetition(5, rep); 556 } 557 558 559 /** 560 * Removes a repetition of 561 * IN2-5: "Mail Claim Party" at a specific index 562 * 563 * @param rep The repetition index (0-indexed) 564 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 565 */ 566 public IS removeMailClaimParty(int rep) throws HL7Exception { 567 return (IS) super.removeRepetition(5, rep); 568 } 569 570 571 /** 572 * Removes a repetition of 573 * IN2-5: "Mail Claim Party" at a specific index 574 * 575 * @param rep The repetition index (0-indexed) 576 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 577 */ 578 public IS removeIn25_MailClaimParty(int rep) throws HL7Exception { 579 return (IS) super.removeRepetition(5, rep); 580 } 581 582 583 584 585 /** 586 * Returns 587 * IN2-6: "Medicare Health Ins Card Number" - creates it if necessary 588 */ 589 public ST getMedicareHealthInsCardNumber() { 590 ST retVal = this.getTypedField(6, 0); 591 return retVal; 592 } 593 594 /** 595 * Returns 596 * IN2-6: "Medicare Health Ins Card Number" - creates it if necessary 597 */ 598 public ST getIn26_MedicareHealthInsCardNumber() { 599 ST retVal = this.getTypedField(6, 0); 600 return retVal; 601 } 602 603 604 /** 605 * Returns all repetitions of Medicaid Case Name (IN2-7). 606 */ 607 public XPN[] getMedicaidCaseName() { 608 XPN[] retVal = this.getTypedField(7, new XPN[0]); 609 return retVal; 610 } 611 612 613 /** 614 * Returns all repetitions of Medicaid Case Name (IN2-7). 615 */ 616 public XPN[] getIn27_MedicaidCaseName() { 617 XPN[] retVal = this.getTypedField(7, new XPN[0]); 618 return retVal; 619 } 620 621 622 /** 623 * Returns a count of the current number of repetitions of Medicaid Case Name (IN2-7). 624 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 625 * it will return zero. 626 */ 627 public int getMedicaidCaseNameReps() { 628 return this.getReps(7); 629 } 630 631 632 /** 633 * Returns a specific repetition of 634 * IN2-7: "Medicaid Case Name" - creates it if necessary 635 * 636 * @param rep The repetition index (0-indexed) 637 */ 638 public XPN getMedicaidCaseName(int rep) { 639 XPN retVal = this.getTypedField(7, rep); 640 return retVal; 641 } 642 643 /** 644 * Returns a specific repetition of 645 * IN2-7: "Medicaid Case Name" - creates it if necessary 646 * 647 * @param rep The repetition index (0-indexed) 648 */ 649 public XPN getIn27_MedicaidCaseName(int rep) { 650 XPN retVal = this.getTypedField(7, rep); 651 return retVal; 652 } 653 654 /** 655 * Returns a count of the current number of repetitions of Medicaid Case Name (IN2-7). 656 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 657 * it will return zero. 658 */ 659 public int getIn27_MedicaidCaseNameReps() { 660 return this.getReps(7); 661 } 662 663 664 /** 665 * Inserts a repetition of 666 * IN2-7: "Medicaid Case Name" at a specific index 667 * 668 * @param rep The repetition index (0-indexed) 669 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 670 */ 671 public XPN insertMedicaidCaseName(int rep) throws HL7Exception { 672 return (XPN) super.insertRepetition(7, rep); 673 } 674 675 676 /** 677 * Inserts a repetition of 678 * IN2-7: "Medicaid Case Name" at a specific index 679 * 680 * @param rep The repetition index (0-indexed) 681 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 682 */ 683 public XPN insertIn27_MedicaidCaseName(int rep) throws HL7Exception { 684 return (XPN) super.insertRepetition(7, rep); 685 } 686 687 688 /** 689 * Removes a repetition of 690 * IN2-7: "Medicaid Case Name" at a specific index 691 * 692 * @param rep The repetition index (0-indexed) 693 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 694 */ 695 public XPN removeMedicaidCaseName(int rep) throws HL7Exception { 696 return (XPN) super.removeRepetition(7, rep); 697 } 698 699 700 /** 701 * Removes a repetition of 702 * IN2-7: "Medicaid Case Name" at a specific index 703 * 704 * @param rep The repetition index (0-indexed) 705 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 706 */ 707 public XPN removeIn27_MedicaidCaseName(int rep) throws HL7Exception { 708 return (XPN) super.removeRepetition(7, rep); 709 } 710 711 712 713 714 /** 715 * Returns 716 * IN2-8: "Medicaid Case Number" - creates it if necessary 717 */ 718 public ST getMedicaidCaseNumber() { 719 ST retVal = this.getTypedField(8, 0); 720 return retVal; 721 } 722 723 /** 724 * Returns 725 * IN2-8: "Medicaid Case Number" - creates it if necessary 726 */ 727 public ST getIn28_MedicaidCaseNumber() { 728 ST retVal = this.getTypedField(8, 0); 729 return retVal; 730 } 731 732 733 /** 734 * Returns all repetitions of Military Sponsor Name (IN2-9). 735 */ 736 public XPN[] getMilitarySponsorName() { 737 XPN[] retVal = this.getTypedField(9, new XPN[0]); 738 return retVal; 739 } 740 741 742 /** 743 * Returns all repetitions of Military Sponsor Name (IN2-9). 744 */ 745 public XPN[] getIn29_MilitarySponsorName() { 746 XPN[] retVal = this.getTypedField(9, new XPN[0]); 747 return retVal; 748 } 749 750 751 /** 752 * Returns a count of the current number of repetitions of Military Sponsor Name (IN2-9). 753 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 754 * it will return zero. 755 */ 756 public int getMilitarySponsorNameReps() { 757 return this.getReps(9); 758 } 759 760 761 /** 762 * Returns a specific repetition of 763 * IN2-9: "Military Sponsor Name" - creates it if necessary 764 * 765 * @param rep The repetition index (0-indexed) 766 */ 767 public XPN getMilitarySponsorName(int rep) { 768 XPN retVal = this.getTypedField(9, rep); 769 return retVal; 770 } 771 772 /** 773 * Returns a specific repetition of 774 * IN2-9: "Military Sponsor Name" - creates it if necessary 775 * 776 * @param rep The repetition index (0-indexed) 777 */ 778 public XPN getIn29_MilitarySponsorName(int rep) { 779 XPN retVal = this.getTypedField(9, rep); 780 return retVal; 781 } 782 783 /** 784 * Returns a count of the current number of repetitions of Military Sponsor Name (IN2-9). 785 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 786 * it will return zero. 787 */ 788 public int getIn29_MilitarySponsorNameReps() { 789 return this.getReps(9); 790 } 791 792 793 /** 794 * Inserts a repetition of 795 * IN2-9: "Military Sponsor Name" at a specific index 796 * 797 * @param rep The repetition index (0-indexed) 798 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 799 */ 800 public XPN insertMilitarySponsorName(int rep) throws HL7Exception { 801 return (XPN) super.insertRepetition(9, rep); 802 } 803 804 805 /** 806 * Inserts a repetition of 807 * IN2-9: "Military Sponsor Name" at a specific index 808 * 809 * @param rep The repetition index (0-indexed) 810 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 811 */ 812 public XPN insertIn29_MilitarySponsorName(int rep) throws HL7Exception { 813 return (XPN) super.insertRepetition(9, rep); 814 } 815 816 817 /** 818 * Removes a repetition of 819 * IN2-9: "Military Sponsor Name" at a specific index 820 * 821 * @param rep The repetition index (0-indexed) 822 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 823 */ 824 public XPN removeMilitarySponsorName(int rep) throws HL7Exception { 825 return (XPN) super.removeRepetition(9, rep); 826 } 827 828 829 /** 830 * Removes a repetition of 831 * IN2-9: "Military Sponsor Name" at a specific index 832 * 833 * @param rep The repetition index (0-indexed) 834 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 835 */ 836 public XPN removeIn29_MilitarySponsorName(int rep) throws HL7Exception { 837 return (XPN) super.removeRepetition(9, rep); 838 } 839 840 841 842 843 /** 844 * Returns 845 * IN2-10: "Military ID Number" - creates it if necessary 846 */ 847 public ST getMilitaryIDNumber() { 848 ST retVal = this.getTypedField(10, 0); 849 return retVal; 850 } 851 852 /** 853 * Returns 854 * IN2-10: "Military ID Number" - creates it if necessary 855 */ 856 public ST getIn210_MilitaryIDNumber() { 857 ST retVal = this.getTypedField(10, 0); 858 return retVal; 859 } 860 861 862 863 /** 864 * Returns 865 * IN2-11: "Dependent Of Military Recipient" - creates it if necessary 866 */ 867 public CE getDependentOfMilitaryRecipient() { 868 CE retVal = this.getTypedField(11, 0); 869 return retVal; 870 } 871 872 /** 873 * Returns 874 * IN2-11: "Dependent Of Military Recipient" - creates it if necessary 875 */ 876 public CE getIn211_DependentOfMilitaryRecipient() { 877 CE retVal = this.getTypedField(11, 0); 878 return retVal; 879 } 880 881 882 883 /** 884 * Returns 885 * IN2-12: "Military Organization" - creates it if necessary 886 */ 887 public ST getMilitaryOrganization() { 888 ST retVal = this.getTypedField(12, 0); 889 return retVal; 890 } 891 892 /** 893 * Returns 894 * IN2-12: "Military Organization" - creates it if necessary 895 */ 896 public ST getIn212_MilitaryOrganization() { 897 ST retVal = this.getTypedField(12, 0); 898 return retVal; 899 } 900 901 902 903 /** 904 * Returns 905 * IN2-13: "Military Station" - creates it if necessary 906 */ 907 public ST getMilitaryStation() { 908 ST retVal = this.getTypedField(13, 0); 909 return retVal; 910 } 911 912 /** 913 * Returns 914 * IN2-13: "Military Station" - creates it if necessary 915 */ 916 public ST getIn213_MilitaryStation() { 917 ST retVal = this.getTypedField(13, 0); 918 return retVal; 919 } 920 921 922 923 /** 924 * Returns 925 * IN2-14: "Military Service" - creates it if necessary 926 */ 927 public IS getMilitaryService() { 928 IS retVal = this.getTypedField(14, 0); 929 return retVal; 930 } 931 932 /** 933 * Returns 934 * IN2-14: "Military Service" - creates it if necessary 935 */ 936 public IS getIn214_MilitaryService() { 937 IS retVal = this.getTypedField(14, 0); 938 return retVal; 939 } 940 941 942 943 /** 944 * Returns 945 * IN2-15: "Military Rank/Grade" - creates it if necessary 946 */ 947 public IS getMilitaryRankGrade() { 948 IS retVal = this.getTypedField(15, 0); 949 return retVal; 950 } 951 952 /** 953 * Returns 954 * IN2-15: "Military Rank/Grade" - creates it if necessary 955 */ 956 public IS getIn215_MilitaryRankGrade() { 957 IS retVal = this.getTypedField(15, 0); 958 return retVal; 959 } 960 961 962 963 /** 964 * Returns 965 * IN2-16: "Military Status" - creates it if necessary 966 */ 967 public IS getMilitaryStatus() { 968 IS retVal = this.getTypedField(16, 0); 969 return retVal; 970 } 971 972 /** 973 * Returns 974 * IN2-16: "Military Status" - creates it if necessary 975 */ 976 public IS getIn216_MilitaryStatus() { 977 IS retVal = this.getTypedField(16, 0); 978 return retVal; 979 } 980 981 982 983 /** 984 * Returns 985 * IN2-17: "Military Retire Date" - creates it if necessary 986 */ 987 public DT getMilitaryRetireDate() { 988 DT retVal = this.getTypedField(17, 0); 989 return retVal; 990 } 991 992 /** 993 * Returns 994 * IN2-17: "Military Retire Date" - creates it if necessary 995 */ 996 public DT getIn217_MilitaryRetireDate() { 997 DT retVal = this.getTypedField(17, 0); 998 return retVal; 999 } 1000 1001 1002 1003 /** 1004 * Returns 1005 * IN2-18: "Military Non-Avail Cert On File" - creates it if necessary 1006 */ 1007 public ID getMilitaryNonAvailCertOnFile() { 1008 ID retVal = this.getTypedField(18, 0); 1009 return retVal; 1010 } 1011 1012 /** 1013 * Returns 1014 * IN2-18: "Military Non-Avail Cert On File" - creates it if necessary 1015 */ 1016 public ID getIn218_MilitaryNonAvailCertOnFile() { 1017 ID retVal = this.getTypedField(18, 0); 1018 return retVal; 1019 } 1020 1021 1022 1023 /** 1024 * Returns 1025 * IN2-19: "Baby Coverage" - creates it if necessary 1026 */ 1027 public ID getBabyCoverage() { 1028 ID retVal = this.getTypedField(19, 0); 1029 return retVal; 1030 } 1031 1032 /** 1033 * Returns 1034 * IN2-19: "Baby Coverage" - creates it if necessary 1035 */ 1036 public ID getIn219_BabyCoverage() { 1037 ID retVal = this.getTypedField(19, 0); 1038 return retVal; 1039 } 1040 1041 1042 1043 /** 1044 * Returns 1045 * IN2-20: "Combine Baby Bill" - creates it if necessary 1046 */ 1047 public ID getCombineBabyBill() { 1048 ID retVal = this.getTypedField(20, 0); 1049 return retVal; 1050 } 1051 1052 /** 1053 * Returns 1054 * IN2-20: "Combine Baby Bill" - creates it if necessary 1055 */ 1056 public ID getIn220_CombineBabyBill() { 1057 ID retVal = this.getTypedField(20, 0); 1058 return retVal; 1059 } 1060 1061 1062 1063 /** 1064 * Returns 1065 * IN2-21: "Blood Deductible" - creates it if necessary 1066 */ 1067 public ST getBloodDeductible() { 1068 ST retVal = this.getTypedField(21, 0); 1069 return retVal; 1070 } 1071 1072 /** 1073 * Returns 1074 * IN2-21: "Blood Deductible" - creates it if necessary 1075 */ 1076 public ST getIn221_BloodDeductible() { 1077 ST retVal = this.getTypedField(21, 0); 1078 return retVal; 1079 } 1080 1081 1082 /** 1083 * Returns all repetitions of Special Coverage Approval Name (IN2-22). 1084 */ 1085 public XPN[] getSpecialCoverageApprovalName() { 1086 XPN[] retVal = this.getTypedField(22, new XPN[0]); 1087 return retVal; 1088 } 1089 1090 1091 /** 1092 * Returns all repetitions of Special Coverage Approval Name (IN2-22). 1093 */ 1094 public XPN[] getIn222_SpecialCoverageApprovalName() { 1095 XPN[] retVal = this.getTypedField(22, new XPN[0]); 1096 return retVal; 1097 } 1098 1099 1100 /** 1101 * Returns a count of the current number of repetitions of Special Coverage Approval Name (IN2-22). 1102 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1103 * it will return zero. 1104 */ 1105 public int getSpecialCoverageApprovalNameReps() { 1106 return this.getReps(22); 1107 } 1108 1109 1110 /** 1111 * Returns a specific repetition of 1112 * IN2-22: "Special Coverage Approval Name" - creates it if necessary 1113 * 1114 * @param rep The repetition index (0-indexed) 1115 */ 1116 public XPN getSpecialCoverageApprovalName(int rep) { 1117 XPN retVal = this.getTypedField(22, rep); 1118 return retVal; 1119 } 1120 1121 /** 1122 * Returns a specific repetition of 1123 * IN2-22: "Special Coverage Approval Name" - creates it if necessary 1124 * 1125 * @param rep The repetition index (0-indexed) 1126 */ 1127 public XPN getIn222_SpecialCoverageApprovalName(int rep) { 1128 XPN retVal = this.getTypedField(22, rep); 1129 return retVal; 1130 } 1131 1132 /** 1133 * Returns a count of the current number of repetitions of Special Coverage Approval Name (IN2-22). 1134 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1135 * it will return zero. 1136 */ 1137 public int getIn222_SpecialCoverageApprovalNameReps() { 1138 return this.getReps(22); 1139 } 1140 1141 1142 /** 1143 * Inserts a repetition of 1144 * IN2-22: "Special Coverage Approval Name" at a specific index 1145 * 1146 * @param rep The repetition index (0-indexed) 1147 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1148 */ 1149 public XPN insertSpecialCoverageApprovalName(int rep) throws HL7Exception { 1150 return (XPN) super.insertRepetition(22, rep); 1151 } 1152 1153 1154 /** 1155 * Inserts a repetition of 1156 * IN2-22: "Special Coverage Approval Name" at a specific index 1157 * 1158 * @param rep The repetition index (0-indexed) 1159 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1160 */ 1161 public XPN insertIn222_SpecialCoverageApprovalName(int rep) throws HL7Exception { 1162 return (XPN) super.insertRepetition(22, rep); 1163 } 1164 1165 1166 /** 1167 * Removes a repetition of 1168 * IN2-22: "Special Coverage Approval Name" at a specific index 1169 * 1170 * @param rep The repetition index (0-indexed) 1171 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1172 */ 1173 public XPN removeSpecialCoverageApprovalName(int rep) throws HL7Exception { 1174 return (XPN) super.removeRepetition(22, rep); 1175 } 1176 1177 1178 /** 1179 * Removes a repetition of 1180 * IN2-22: "Special Coverage Approval Name" at a specific index 1181 * 1182 * @param rep The repetition index (0-indexed) 1183 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1184 */ 1185 public XPN removeIn222_SpecialCoverageApprovalName(int rep) throws HL7Exception { 1186 return (XPN) super.removeRepetition(22, rep); 1187 } 1188 1189 1190 1191 1192 /** 1193 * Returns 1194 * IN2-23: "Special Coverage Approval Title" - creates it if necessary 1195 */ 1196 public ST getSpecialCoverageApprovalTitle() { 1197 ST retVal = this.getTypedField(23, 0); 1198 return retVal; 1199 } 1200 1201 /** 1202 * Returns 1203 * IN2-23: "Special Coverage Approval Title" - creates it if necessary 1204 */ 1205 public ST getIn223_SpecialCoverageApprovalTitle() { 1206 ST retVal = this.getTypedField(23, 0); 1207 return retVal; 1208 } 1209 1210 1211 /** 1212 * Returns all repetitions of Non-Covered Insurance Code (IN2-24). 1213 */ 1214 public IS[] getNonCoveredInsuranceCode() { 1215 IS[] retVal = this.getTypedField(24, new IS[0]); 1216 return retVal; 1217 } 1218 1219 1220 /** 1221 * Returns all repetitions of Non-Covered Insurance Code (IN2-24). 1222 */ 1223 public IS[] getIn224_NonCoveredInsuranceCode() { 1224 IS[] retVal = this.getTypedField(24, new IS[0]); 1225 return retVal; 1226 } 1227 1228 1229 /** 1230 * Returns a count of the current number of repetitions of Non-Covered Insurance Code (IN2-24). 1231 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1232 * it will return zero. 1233 */ 1234 public int getNonCoveredInsuranceCodeReps() { 1235 return this.getReps(24); 1236 } 1237 1238 1239 /** 1240 * Returns a specific repetition of 1241 * IN2-24: "Non-Covered Insurance Code" - creates it if necessary 1242 * 1243 * @param rep The repetition index (0-indexed) 1244 */ 1245 public IS getNonCoveredInsuranceCode(int rep) { 1246 IS retVal = this.getTypedField(24, rep); 1247 return retVal; 1248 } 1249 1250 /** 1251 * Returns a specific repetition of 1252 * IN2-24: "Non-Covered Insurance Code" - creates it if necessary 1253 * 1254 * @param rep The repetition index (0-indexed) 1255 */ 1256 public IS getIn224_NonCoveredInsuranceCode(int rep) { 1257 IS retVal = this.getTypedField(24, rep); 1258 return retVal; 1259 } 1260 1261 /** 1262 * Returns a count of the current number of repetitions of Non-Covered Insurance Code (IN2-24). 1263 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1264 * it will return zero. 1265 */ 1266 public int getIn224_NonCoveredInsuranceCodeReps() { 1267 return this.getReps(24); 1268 } 1269 1270 1271 /** 1272 * Inserts a repetition of 1273 * IN2-24: "Non-Covered Insurance Code" at a specific index 1274 * 1275 * @param rep The repetition index (0-indexed) 1276 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1277 */ 1278 public IS insertNonCoveredInsuranceCode(int rep) throws HL7Exception { 1279 return (IS) super.insertRepetition(24, rep); 1280 } 1281 1282 1283 /** 1284 * Inserts a repetition of 1285 * IN2-24: "Non-Covered Insurance Code" at a specific index 1286 * 1287 * @param rep The repetition index (0-indexed) 1288 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1289 */ 1290 public IS insertIn224_NonCoveredInsuranceCode(int rep) throws HL7Exception { 1291 return (IS) super.insertRepetition(24, rep); 1292 } 1293 1294 1295 /** 1296 * Removes a repetition of 1297 * IN2-24: "Non-Covered Insurance Code" at a specific index 1298 * 1299 * @param rep The repetition index (0-indexed) 1300 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1301 */ 1302 public IS removeNonCoveredInsuranceCode(int rep) throws HL7Exception { 1303 return (IS) super.removeRepetition(24, rep); 1304 } 1305 1306 1307 /** 1308 * Removes a repetition of 1309 * IN2-24: "Non-Covered Insurance Code" at a specific index 1310 * 1311 * @param rep The repetition index (0-indexed) 1312 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1313 */ 1314 public IS removeIn224_NonCoveredInsuranceCode(int rep) throws HL7Exception { 1315 return (IS) super.removeRepetition(24, rep); 1316 } 1317 1318 1319 1320 /** 1321 * Returns all repetitions of Payor ID (IN2-25). 1322 */ 1323 public CX[] getPayorID() { 1324 CX[] retVal = this.getTypedField(25, new CX[0]); 1325 return retVal; 1326 } 1327 1328 1329 /** 1330 * Returns all repetitions of Payor ID (IN2-25). 1331 */ 1332 public CX[] getIn225_PayorID() { 1333 CX[] retVal = this.getTypedField(25, new CX[0]); 1334 return retVal; 1335 } 1336 1337 1338 /** 1339 * Returns a count of the current number of repetitions of Payor ID (IN2-25). 1340 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1341 * it will return zero. 1342 */ 1343 public int getPayorIDReps() { 1344 return this.getReps(25); 1345 } 1346 1347 1348 /** 1349 * Returns a specific repetition of 1350 * IN2-25: "Payor ID" - creates it if necessary 1351 * 1352 * @param rep The repetition index (0-indexed) 1353 */ 1354 public CX getPayorID(int rep) { 1355 CX retVal = this.getTypedField(25, rep); 1356 return retVal; 1357 } 1358 1359 /** 1360 * Returns a specific repetition of 1361 * IN2-25: "Payor ID" - creates it if necessary 1362 * 1363 * @param rep The repetition index (0-indexed) 1364 */ 1365 public CX getIn225_PayorID(int rep) { 1366 CX retVal = this.getTypedField(25, rep); 1367 return retVal; 1368 } 1369 1370 /** 1371 * Returns a count of the current number of repetitions of Payor ID (IN2-25). 1372 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1373 * it will return zero. 1374 */ 1375 public int getIn225_PayorIDReps() { 1376 return this.getReps(25); 1377 } 1378 1379 1380 /** 1381 * Inserts a repetition of 1382 * IN2-25: "Payor ID" at a specific index 1383 * 1384 * @param rep The repetition index (0-indexed) 1385 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1386 */ 1387 public CX insertPayorID(int rep) throws HL7Exception { 1388 return (CX) super.insertRepetition(25, rep); 1389 } 1390 1391 1392 /** 1393 * Inserts a repetition of 1394 * IN2-25: "Payor ID" at a specific index 1395 * 1396 * @param rep The repetition index (0-indexed) 1397 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1398 */ 1399 public CX insertIn225_PayorID(int rep) throws HL7Exception { 1400 return (CX) super.insertRepetition(25, rep); 1401 } 1402 1403 1404 /** 1405 * Removes a repetition of 1406 * IN2-25: "Payor ID" at a specific index 1407 * 1408 * @param rep The repetition index (0-indexed) 1409 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1410 */ 1411 public CX removePayorID(int rep) throws HL7Exception { 1412 return (CX) super.removeRepetition(25, rep); 1413 } 1414 1415 1416 /** 1417 * Removes a repetition of 1418 * IN2-25: "Payor ID" at a specific index 1419 * 1420 * @param rep The repetition index (0-indexed) 1421 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1422 */ 1423 public CX removeIn225_PayorID(int rep) throws HL7Exception { 1424 return (CX) super.removeRepetition(25, rep); 1425 } 1426 1427 1428 1429 /** 1430 * Returns all repetitions of Payor Subscriber ID (IN2-26). 1431 */ 1432 public CX[] getPayorSubscriberID() { 1433 CX[] retVal = this.getTypedField(26, new CX[0]); 1434 return retVal; 1435 } 1436 1437 1438 /** 1439 * Returns all repetitions of Payor Subscriber ID (IN2-26). 1440 */ 1441 public CX[] getIn226_PayorSubscriberID() { 1442 CX[] retVal = this.getTypedField(26, new CX[0]); 1443 return retVal; 1444 } 1445 1446 1447 /** 1448 * Returns a count of the current number of repetitions of Payor Subscriber ID (IN2-26). 1449 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1450 * it will return zero. 1451 */ 1452 public int getPayorSubscriberIDReps() { 1453 return this.getReps(26); 1454 } 1455 1456 1457 /** 1458 * Returns a specific repetition of 1459 * IN2-26: "Payor Subscriber ID" - creates it if necessary 1460 * 1461 * @param rep The repetition index (0-indexed) 1462 */ 1463 public CX getPayorSubscriberID(int rep) { 1464 CX retVal = this.getTypedField(26, rep); 1465 return retVal; 1466 } 1467 1468 /** 1469 * Returns a specific repetition of 1470 * IN2-26: "Payor Subscriber ID" - creates it if necessary 1471 * 1472 * @param rep The repetition index (0-indexed) 1473 */ 1474 public CX getIn226_PayorSubscriberID(int rep) { 1475 CX retVal = this.getTypedField(26, rep); 1476 return retVal; 1477 } 1478 1479 /** 1480 * Returns a count of the current number of repetitions of Payor Subscriber ID (IN2-26). 1481 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1482 * it will return zero. 1483 */ 1484 public int getIn226_PayorSubscriberIDReps() { 1485 return this.getReps(26); 1486 } 1487 1488 1489 /** 1490 * Inserts a repetition of 1491 * IN2-26: "Payor Subscriber ID" at a specific index 1492 * 1493 * @param rep The repetition index (0-indexed) 1494 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1495 */ 1496 public CX insertPayorSubscriberID(int rep) throws HL7Exception { 1497 return (CX) super.insertRepetition(26, rep); 1498 } 1499 1500 1501 /** 1502 * Inserts a repetition of 1503 * IN2-26: "Payor Subscriber ID" at a specific index 1504 * 1505 * @param rep The repetition index (0-indexed) 1506 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1507 */ 1508 public CX insertIn226_PayorSubscriberID(int rep) throws HL7Exception { 1509 return (CX) super.insertRepetition(26, rep); 1510 } 1511 1512 1513 /** 1514 * Removes a repetition of 1515 * IN2-26: "Payor Subscriber ID" at a specific index 1516 * 1517 * @param rep The repetition index (0-indexed) 1518 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1519 */ 1520 public CX removePayorSubscriberID(int rep) throws HL7Exception { 1521 return (CX) super.removeRepetition(26, rep); 1522 } 1523 1524 1525 /** 1526 * Removes a repetition of 1527 * IN2-26: "Payor Subscriber ID" at a specific index 1528 * 1529 * @param rep The repetition index (0-indexed) 1530 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1531 */ 1532 public CX removeIn226_PayorSubscriberID(int rep) throws HL7Exception { 1533 return (CX) super.removeRepetition(26, rep); 1534 } 1535 1536 1537 1538 1539 /** 1540 * Returns 1541 * IN2-27: "Eligibility Source" - creates it if necessary 1542 */ 1543 public IS getEligibilitySource() { 1544 IS retVal = this.getTypedField(27, 0); 1545 return retVal; 1546 } 1547 1548 /** 1549 * Returns 1550 * IN2-27: "Eligibility Source" - creates it if necessary 1551 */ 1552 public IS getIn227_EligibilitySource() { 1553 IS retVal = this.getTypedField(27, 0); 1554 return retVal; 1555 } 1556 1557 1558 /** 1559 * Returns all repetitions of Room Coverage Type/Amount (IN2-28). 1560 */ 1561 public RMC[] getRoomCoverageTypeAmount() { 1562 RMC[] retVal = this.getTypedField(28, new RMC[0]); 1563 return retVal; 1564 } 1565 1566 1567 /** 1568 * Returns all repetitions of Room Coverage Type/Amount (IN2-28). 1569 */ 1570 public RMC[] getIn228_RoomCoverageTypeAmount() { 1571 RMC[] retVal = this.getTypedField(28, new RMC[0]); 1572 return retVal; 1573 } 1574 1575 1576 /** 1577 * Returns a count of the current number of repetitions of Room Coverage Type/Amount (IN2-28). 1578 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1579 * it will return zero. 1580 */ 1581 public int getRoomCoverageTypeAmountReps() { 1582 return this.getReps(28); 1583 } 1584 1585 1586 /** 1587 * Returns a specific repetition of 1588 * IN2-28: "Room Coverage Type/Amount" - creates it if necessary 1589 * 1590 * @param rep The repetition index (0-indexed) 1591 */ 1592 public RMC getRoomCoverageTypeAmount(int rep) { 1593 RMC retVal = this.getTypedField(28, rep); 1594 return retVal; 1595 } 1596 1597 /** 1598 * Returns a specific repetition of 1599 * IN2-28: "Room Coverage Type/Amount" - creates it if necessary 1600 * 1601 * @param rep The repetition index (0-indexed) 1602 */ 1603 public RMC getIn228_RoomCoverageTypeAmount(int rep) { 1604 RMC retVal = this.getTypedField(28, rep); 1605 return retVal; 1606 } 1607 1608 /** 1609 * Returns a count of the current number of repetitions of Room Coverage Type/Amount (IN2-28). 1610 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1611 * it will return zero. 1612 */ 1613 public int getIn228_RoomCoverageTypeAmountReps() { 1614 return this.getReps(28); 1615 } 1616 1617 1618 /** 1619 * Inserts a repetition of 1620 * IN2-28: "Room Coverage Type/Amount" at a specific index 1621 * 1622 * @param rep The repetition index (0-indexed) 1623 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1624 */ 1625 public RMC insertRoomCoverageTypeAmount(int rep) throws HL7Exception { 1626 return (RMC) super.insertRepetition(28, rep); 1627 } 1628 1629 1630 /** 1631 * Inserts a repetition of 1632 * IN2-28: "Room Coverage Type/Amount" at a specific index 1633 * 1634 * @param rep The repetition index (0-indexed) 1635 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1636 */ 1637 public RMC insertIn228_RoomCoverageTypeAmount(int rep) throws HL7Exception { 1638 return (RMC) super.insertRepetition(28, rep); 1639 } 1640 1641 1642 /** 1643 * Removes a repetition of 1644 * IN2-28: "Room Coverage Type/Amount" at a specific index 1645 * 1646 * @param rep The repetition index (0-indexed) 1647 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1648 */ 1649 public RMC removeRoomCoverageTypeAmount(int rep) throws HL7Exception { 1650 return (RMC) super.removeRepetition(28, rep); 1651 } 1652 1653 1654 /** 1655 * Removes a repetition of 1656 * IN2-28: "Room Coverage Type/Amount" at a specific index 1657 * 1658 * @param rep The repetition index (0-indexed) 1659 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1660 */ 1661 public RMC removeIn228_RoomCoverageTypeAmount(int rep) throws HL7Exception { 1662 return (RMC) super.removeRepetition(28, rep); 1663 } 1664 1665 1666 1667 /** 1668 * Returns all repetitions of Policy Type/Amount (IN2-29). 1669 */ 1670 public PTA[] getPolicyTypeAmount() { 1671 PTA[] retVal = this.getTypedField(29, new PTA[0]); 1672 return retVal; 1673 } 1674 1675 1676 /** 1677 * Returns all repetitions of Policy Type/Amount (IN2-29). 1678 */ 1679 public PTA[] getIn229_PolicyTypeAmount() { 1680 PTA[] retVal = this.getTypedField(29, new PTA[0]); 1681 return retVal; 1682 } 1683 1684 1685 /** 1686 * Returns a count of the current number of repetitions of Policy Type/Amount (IN2-29). 1687 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1688 * it will return zero. 1689 */ 1690 public int getPolicyTypeAmountReps() { 1691 return this.getReps(29); 1692 } 1693 1694 1695 /** 1696 * Returns a specific repetition of 1697 * IN2-29: "Policy Type/Amount" - creates it if necessary 1698 * 1699 * @param rep The repetition index (0-indexed) 1700 */ 1701 public PTA getPolicyTypeAmount(int rep) { 1702 PTA retVal = this.getTypedField(29, rep); 1703 return retVal; 1704 } 1705 1706 /** 1707 * Returns a specific repetition of 1708 * IN2-29: "Policy Type/Amount" - creates it if necessary 1709 * 1710 * @param rep The repetition index (0-indexed) 1711 */ 1712 public PTA getIn229_PolicyTypeAmount(int rep) { 1713 PTA retVal = this.getTypedField(29, rep); 1714 return retVal; 1715 } 1716 1717 /** 1718 * Returns a count of the current number of repetitions of Policy Type/Amount (IN2-29). 1719 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1720 * it will return zero. 1721 */ 1722 public int getIn229_PolicyTypeAmountReps() { 1723 return this.getReps(29); 1724 } 1725 1726 1727 /** 1728 * Inserts a repetition of 1729 * IN2-29: "Policy Type/Amount" at a specific index 1730 * 1731 * @param rep The repetition index (0-indexed) 1732 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1733 */ 1734 public PTA insertPolicyTypeAmount(int rep) throws HL7Exception { 1735 return (PTA) super.insertRepetition(29, rep); 1736 } 1737 1738 1739 /** 1740 * Inserts a repetition of 1741 * IN2-29: "Policy Type/Amount" at a specific index 1742 * 1743 * @param rep The repetition index (0-indexed) 1744 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1745 */ 1746 public PTA insertIn229_PolicyTypeAmount(int rep) throws HL7Exception { 1747 return (PTA) super.insertRepetition(29, rep); 1748 } 1749 1750 1751 /** 1752 * Removes a repetition of 1753 * IN2-29: "Policy Type/Amount" at a specific index 1754 * 1755 * @param rep The repetition index (0-indexed) 1756 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1757 */ 1758 public PTA removePolicyTypeAmount(int rep) throws HL7Exception { 1759 return (PTA) super.removeRepetition(29, rep); 1760 } 1761 1762 1763 /** 1764 * Removes a repetition of 1765 * IN2-29: "Policy Type/Amount" at a specific index 1766 * 1767 * @param rep The repetition index (0-indexed) 1768 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1769 */ 1770 public PTA removeIn229_PolicyTypeAmount(int rep) throws HL7Exception { 1771 return (PTA) super.removeRepetition(29, rep); 1772 } 1773 1774 1775 1776 1777 /** 1778 * Returns 1779 * IN2-30: "Daily Deductible" - creates it if necessary 1780 */ 1781 public DDI getDailyDeductible() { 1782 DDI retVal = this.getTypedField(30, 0); 1783 return retVal; 1784 } 1785 1786 /** 1787 * Returns 1788 * IN2-30: "Daily Deductible" - creates it if necessary 1789 */ 1790 public DDI getIn230_DailyDeductible() { 1791 DDI retVal = this.getTypedField(30, 0); 1792 return retVal; 1793 } 1794 1795 1796 1797 /** 1798 * Returns 1799 * IN2-31: "Living Dependency" - creates it if necessary 1800 */ 1801 public IS getLivingDependency() { 1802 IS retVal = this.getTypedField(31, 0); 1803 return retVal; 1804 } 1805 1806 /** 1807 * Returns 1808 * IN2-31: "Living Dependency" - creates it if necessary 1809 */ 1810 public IS getIn231_LivingDependency() { 1811 IS retVal = this.getTypedField(31, 0); 1812 return retVal; 1813 } 1814 1815 1816 /** 1817 * Returns all repetitions of Ambulatory Status (IN2-32). 1818 */ 1819 public IS[] getAmbulatoryStatus() { 1820 IS[] retVal = this.getTypedField(32, new IS[0]); 1821 return retVal; 1822 } 1823 1824 1825 /** 1826 * Returns all repetitions of Ambulatory Status (IN2-32). 1827 */ 1828 public IS[] getIn232_AmbulatoryStatus() { 1829 IS[] retVal = this.getTypedField(32, new IS[0]); 1830 return retVal; 1831 } 1832 1833 1834 /** 1835 * Returns a count of the current number of repetitions of Ambulatory Status (IN2-32). 1836 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1837 * it will return zero. 1838 */ 1839 public int getAmbulatoryStatusReps() { 1840 return this.getReps(32); 1841 } 1842 1843 1844 /** 1845 * Returns a specific repetition of 1846 * IN2-32: "Ambulatory Status" - creates it if necessary 1847 * 1848 * @param rep The repetition index (0-indexed) 1849 */ 1850 public IS getAmbulatoryStatus(int rep) { 1851 IS retVal = this.getTypedField(32, rep); 1852 return retVal; 1853 } 1854 1855 /** 1856 * Returns a specific repetition of 1857 * IN2-32: "Ambulatory Status" - creates it if necessary 1858 * 1859 * @param rep The repetition index (0-indexed) 1860 */ 1861 public IS getIn232_AmbulatoryStatus(int rep) { 1862 IS retVal = this.getTypedField(32, rep); 1863 return retVal; 1864 } 1865 1866 /** 1867 * Returns a count of the current number of repetitions of Ambulatory Status (IN2-32). 1868 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1869 * it will return zero. 1870 */ 1871 public int getIn232_AmbulatoryStatusReps() { 1872 return this.getReps(32); 1873 } 1874 1875 1876 /** 1877 * Inserts a repetition of 1878 * IN2-32: "Ambulatory Status" at a specific index 1879 * 1880 * @param rep The repetition index (0-indexed) 1881 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1882 */ 1883 public IS insertAmbulatoryStatus(int rep) throws HL7Exception { 1884 return (IS) super.insertRepetition(32, rep); 1885 } 1886 1887 1888 /** 1889 * Inserts a repetition of 1890 * IN2-32: "Ambulatory Status" at a specific index 1891 * 1892 * @param rep The repetition index (0-indexed) 1893 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1894 */ 1895 public IS insertIn232_AmbulatoryStatus(int rep) throws HL7Exception { 1896 return (IS) super.insertRepetition(32, rep); 1897 } 1898 1899 1900 /** 1901 * Removes a repetition of 1902 * IN2-32: "Ambulatory Status" at a specific index 1903 * 1904 * @param rep The repetition index (0-indexed) 1905 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1906 */ 1907 public IS removeAmbulatoryStatus(int rep) throws HL7Exception { 1908 return (IS) super.removeRepetition(32, rep); 1909 } 1910 1911 1912 /** 1913 * Removes a repetition of 1914 * IN2-32: "Ambulatory Status" at a specific index 1915 * 1916 * @param rep The repetition index (0-indexed) 1917 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1918 */ 1919 public IS removeIn232_AmbulatoryStatus(int rep) throws HL7Exception { 1920 return (IS) super.removeRepetition(32, rep); 1921 } 1922 1923 1924 1925 /** 1926 * Returns all repetitions of Citizenship (IN2-33). 1927 */ 1928 public CE[] getCitizenship() { 1929 CE[] retVal = this.getTypedField(33, new CE[0]); 1930 return retVal; 1931 } 1932 1933 1934 /** 1935 * Returns all repetitions of Citizenship (IN2-33). 1936 */ 1937 public CE[] getIn233_Citizenship() { 1938 CE[] retVal = this.getTypedField(33, new CE[0]); 1939 return retVal; 1940 } 1941 1942 1943 /** 1944 * Returns a count of the current number of repetitions of Citizenship (IN2-33). 1945 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1946 * it will return zero. 1947 */ 1948 public int getCitizenshipReps() { 1949 return this.getReps(33); 1950 } 1951 1952 1953 /** 1954 * Returns a specific repetition of 1955 * IN2-33: "Citizenship" - creates it if necessary 1956 * 1957 * @param rep The repetition index (0-indexed) 1958 */ 1959 public CE getCitizenship(int rep) { 1960 CE retVal = this.getTypedField(33, rep); 1961 return retVal; 1962 } 1963 1964 /** 1965 * Returns a specific repetition of 1966 * IN2-33: "Citizenship" - creates it if necessary 1967 * 1968 * @param rep The repetition index (0-indexed) 1969 */ 1970 public CE getIn233_Citizenship(int rep) { 1971 CE retVal = this.getTypedField(33, rep); 1972 return retVal; 1973 } 1974 1975 /** 1976 * Returns a count of the current number of repetitions of Citizenship (IN2-33). 1977 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1978 * it will return zero. 1979 */ 1980 public int getIn233_CitizenshipReps() { 1981 return this.getReps(33); 1982 } 1983 1984 1985 /** 1986 * Inserts a repetition of 1987 * IN2-33: "Citizenship" at a specific index 1988 * 1989 * @param rep The repetition index (0-indexed) 1990 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1991 */ 1992 public CE insertCitizenship(int rep) throws HL7Exception { 1993 return (CE) super.insertRepetition(33, rep); 1994 } 1995 1996 1997 /** 1998 * Inserts a repetition of 1999 * IN2-33: "Citizenship" at a specific index 2000 * 2001 * @param rep The repetition index (0-indexed) 2002 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2003 */ 2004 public CE insertIn233_Citizenship(int rep) throws HL7Exception { 2005 return (CE) super.insertRepetition(33, rep); 2006 } 2007 2008 2009 /** 2010 * Removes a repetition of 2011 * IN2-33: "Citizenship" at a specific index 2012 * 2013 * @param rep The repetition index (0-indexed) 2014 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2015 */ 2016 public CE removeCitizenship(int rep) throws HL7Exception { 2017 return (CE) super.removeRepetition(33, rep); 2018 } 2019 2020 2021 /** 2022 * Removes a repetition of 2023 * IN2-33: "Citizenship" at a specific index 2024 * 2025 * @param rep The repetition index (0-indexed) 2026 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2027 */ 2028 public CE removeIn233_Citizenship(int rep) throws HL7Exception { 2029 return (CE) super.removeRepetition(33, rep); 2030 } 2031 2032 2033 2034 2035 /** 2036 * Returns 2037 * IN2-34: "Primary Language" - creates it if necessary 2038 */ 2039 public CE getPrimaryLanguage() { 2040 CE retVal = this.getTypedField(34, 0); 2041 return retVal; 2042 } 2043 2044 /** 2045 * Returns 2046 * IN2-34: "Primary Language" - creates it if necessary 2047 */ 2048 public CE getIn234_PrimaryLanguage() { 2049 CE retVal = this.getTypedField(34, 0); 2050 return retVal; 2051 } 2052 2053 2054 2055 /** 2056 * Returns 2057 * IN2-35: "Living Arrangement" - creates it if necessary 2058 */ 2059 public IS getLivingArrangement() { 2060 IS retVal = this.getTypedField(35, 0); 2061 return retVal; 2062 } 2063 2064 /** 2065 * Returns 2066 * IN2-35: "Living Arrangement" - creates it if necessary 2067 */ 2068 public IS getIn235_LivingArrangement() { 2069 IS retVal = this.getTypedField(35, 0); 2070 return retVal; 2071 } 2072 2073 2074 2075 /** 2076 * Returns 2077 * IN2-36: "Publicity Code" - creates it if necessary 2078 */ 2079 public CE getPublicityCode() { 2080 CE retVal = this.getTypedField(36, 0); 2081 return retVal; 2082 } 2083 2084 /** 2085 * Returns 2086 * IN2-36: "Publicity Code" - creates it if necessary 2087 */ 2088 public CE getIn236_PublicityCode() { 2089 CE retVal = this.getTypedField(36, 0); 2090 return retVal; 2091 } 2092 2093 2094 2095 /** 2096 * Returns 2097 * IN2-37: "Protection Indicator" - creates it if necessary 2098 */ 2099 public ID getProtectionIndicator() { 2100 ID retVal = this.getTypedField(37, 0); 2101 return retVal; 2102 } 2103 2104 /** 2105 * Returns 2106 * IN2-37: "Protection Indicator" - creates it if necessary 2107 */ 2108 public ID getIn237_ProtectionIndicator() { 2109 ID retVal = this.getTypedField(37, 0); 2110 return retVal; 2111 } 2112 2113 2114 2115 /** 2116 * Returns 2117 * IN2-38: "Student Indicator" - creates it if necessary 2118 */ 2119 public IS getStudentIndicator() { 2120 IS retVal = this.getTypedField(38, 0); 2121 return retVal; 2122 } 2123 2124 /** 2125 * Returns 2126 * IN2-38: "Student Indicator" - creates it if necessary 2127 */ 2128 public IS getIn238_StudentIndicator() { 2129 IS retVal = this.getTypedField(38, 0); 2130 return retVal; 2131 } 2132 2133 2134 2135 /** 2136 * Returns 2137 * IN2-39: "Religion" - creates it if necessary 2138 */ 2139 public CE getReligion() { 2140 CE retVal = this.getTypedField(39, 0); 2141 return retVal; 2142 } 2143 2144 /** 2145 * Returns 2146 * IN2-39: "Religion" - creates it if necessary 2147 */ 2148 public CE getIn239_Religion() { 2149 CE retVal = this.getTypedField(39, 0); 2150 return retVal; 2151 } 2152 2153 2154 /** 2155 * Returns all repetitions of Mother's Maiden Name (IN2-40). 2156 */ 2157 public XPN[] getMotherSMaidenName() { 2158 XPN[] retVal = this.getTypedField(40, new XPN[0]); 2159 return retVal; 2160 } 2161 2162 2163 /** 2164 * Returns all repetitions of Mother's Maiden Name (IN2-40). 2165 */ 2166 public XPN[] getIn240_MotherSMaidenName() { 2167 XPN[] retVal = this.getTypedField(40, new XPN[0]); 2168 return retVal; 2169 } 2170 2171 2172 /** 2173 * Returns a count of the current number of repetitions of Mother's Maiden Name (IN2-40). 2174 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2175 * it will return zero. 2176 */ 2177 public int getMotherSMaidenNameReps() { 2178 return this.getReps(40); 2179 } 2180 2181 2182 /** 2183 * Returns a specific repetition of 2184 * IN2-40: "Mother's Maiden Name" - creates it if necessary 2185 * 2186 * @param rep The repetition index (0-indexed) 2187 */ 2188 public XPN getMotherSMaidenName(int rep) { 2189 XPN retVal = this.getTypedField(40, rep); 2190 return retVal; 2191 } 2192 2193 /** 2194 * Returns a specific repetition of 2195 * IN2-40: "Mother's Maiden Name" - creates it if necessary 2196 * 2197 * @param rep The repetition index (0-indexed) 2198 */ 2199 public XPN getIn240_MotherSMaidenName(int rep) { 2200 XPN retVal = this.getTypedField(40, rep); 2201 return retVal; 2202 } 2203 2204 /** 2205 * Returns a count of the current number of repetitions of Mother's Maiden Name (IN2-40). 2206 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2207 * it will return zero. 2208 */ 2209 public int getIn240_MotherSMaidenNameReps() { 2210 return this.getReps(40); 2211 } 2212 2213 2214 /** 2215 * Inserts a repetition of 2216 * IN2-40: "Mother's Maiden Name" at a specific index 2217 * 2218 * @param rep The repetition index (0-indexed) 2219 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2220 */ 2221 public XPN insertMotherSMaidenName(int rep) throws HL7Exception { 2222 return (XPN) super.insertRepetition(40, rep); 2223 } 2224 2225 2226 /** 2227 * Inserts a repetition of 2228 * IN2-40: "Mother's Maiden Name" at a specific index 2229 * 2230 * @param rep The repetition index (0-indexed) 2231 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2232 */ 2233 public XPN insertIn240_MotherSMaidenName(int rep) throws HL7Exception { 2234 return (XPN) super.insertRepetition(40, rep); 2235 } 2236 2237 2238 /** 2239 * Removes a repetition of 2240 * IN2-40: "Mother's Maiden Name" at a specific index 2241 * 2242 * @param rep The repetition index (0-indexed) 2243 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2244 */ 2245 public XPN removeMotherSMaidenName(int rep) throws HL7Exception { 2246 return (XPN) super.removeRepetition(40, rep); 2247 } 2248 2249 2250 /** 2251 * Removes a repetition of 2252 * IN2-40: "Mother's Maiden Name" at a specific index 2253 * 2254 * @param rep The repetition index (0-indexed) 2255 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2256 */ 2257 public XPN removeIn240_MotherSMaidenName(int rep) throws HL7Exception { 2258 return (XPN) super.removeRepetition(40, rep); 2259 } 2260 2261 2262 2263 2264 /** 2265 * Returns 2266 * IN2-41: "Nationality" - creates it if necessary 2267 */ 2268 public CE getNationality() { 2269 CE retVal = this.getTypedField(41, 0); 2270 return retVal; 2271 } 2272 2273 /** 2274 * Returns 2275 * IN2-41: "Nationality" - creates it if necessary 2276 */ 2277 public CE getIn241_Nationality() { 2278 CE retVal = this.getTypedField(41, 0); 2279 return retVal; 2280 } 2281 2282 2283 /** 2284 * Returns all repetitions of Ethnic Group (IN2-42). 2285 */ 2286 public CE[] getEthnicGroup() { 2287 CE[] retVal = this.getTypedField(42, new CE[0]); 2288 return retVal; 2289 } 2290 2291 2292 /** 2293 * Returns all repetitions of Ethnic Group (IN2-42). 2294 */ 2295 public CE[] getIn242_EthnicGroup() { 2296 CE[] retVal = this.getTypedField(42, new CE[0]); 2297 return retVal; 2298 } 2299 2300 2301 /** 2302 * Returns a count of the current number of repetitions of Ethnic Group (IN2-42). 2303 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2304 * it will return zero. 2305 */ 2306 public int getEthnicGroupReps() { 2307 return this.getReps(42); 2308 } 2309 2310 2311 /** 2312 * Returns a specific repetition of 2313 * IN2-42: "Ethnic Group" - creates it if necessary 2314 * 2315 * @param rep The repetition index (0-indexed) 2316 */ 2317 public CE getEthnicGroup(int rep) { 2318 CE retVal = this.getTypedField(42, rep); 2319 return retVal; 2320 } 2321 2322 /** 2323 * Returns a specific repetition of 2324 * IN2-42: "Ethnic Group" - creates it if necessary 2325 * 2326 * @param rep The repetition index (0-indexed) 2327 */ 2328 public CE getIn242_EthnicGroup(int rep) { 2329 CE retVal = this.getTypedField(42, rep); 2330 return retVal; 2331 } 2332 2333 /** 2334 * Returns a count of the current number of repetitions of Ethnic Group (IN2-42). 2335 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2336 * it will return zero. 2337 */ 2338 public int getIn242_EthnicGroupReps() { 2339 return this.getReps(42); 2340 } 2341 2342 2343 /** 2344 * Inserts a repetition of 2345 * IN2-42: "Ethnic Group" at a specific index 2346 * 2347 * @param rep The repetition index (0-indexed) 2348 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2349 */ 2350 public CE insertEthnicGroup(int rep) throws HL7Exception { 2351 return (CE) super.insertRepetition(42, rep); 2352 } 2353 2354 2355 /** 2356 * Inserts a repetition of 2357 * IN2-42: "Ethnic Group" at a specific index 2358 * 2359 * @param rep The repetition index (0-indexed) 2360 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2361 */ 2362 public CE insertIn242_EthnicGroup(int rep) throws HL7Exception { 2363 return (CE) super.insertRepetition(42, rep); 2364 } 2365 2366 2367 /** 2368 * Removes a repetition of 2369 * IN2-42: "Ethnic Group" at a specific index 2370 * 2371 * @param rep The repetition index (0-indexed) 2372 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2373 */ 2374 public CE removeEthnicGroup(int rep) throws HL7Exception { 2375 return (CE) super.removeRepetition(42, rep); 2376 } 2377 2378 2379 /** 2380 * Removes a repetition of 2381 * IN2-42: "Ethnic Group" at a specific index 2382 * 2383 * @param rep The repetition index (0-indexed) 2384 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2385 */ 2386 public CE removeIn242_EthnicGroup(int rep) throws HL7Exception { 2387 return (CE) super.removeRepetition(42, rep); 2388 } 2389 2390 2391 2392 /** 2393 * Returns all repetitions of Marital Status (IN2-43). 2394 */ 2395 public CE[] getMaritalStatus() { 2396 CE[] retVal = this.getTypedField(43, new CE[0]); 2397 return retVal; 2398 } 2399 2400 2401 /** 2402 * Returns all repetitions of Marital Status (IN2-43). 2403 */ 2404 public CE[] getIn243_MaritalStatus() { 2405 CE[] retVal = this.getTypedField(43, new CE[0]); 2406 return retVal; 2407 } 2408 2409 2410 /** 2411 * Returns a count of the current number of repetitions of Marital Status (IN2-43). 2412 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2413 * it will return zero. 2414 */ 2415 public int getMaritalStatusReps() { 2416 return this.getReps(43); 2417 } 2418 2419 2420 /** 2421 * Returns a specific repetition of 2422 * IN2-43: "Marital Status" - creates it if necessary 2423 * 2424 * @param rep The repetition index (0-indexed) 2425 */ 2426 public CE getMaritalStatus(int rep) { 2427 CE retVal = this.getTypedField(43, rep); 2428 return retVal; 2429 } 2430 2431 /** 2432 * Returns a specific repetition of 2433 * IN2-43: "Marital Status" - creates it if necessary 2434 * 2435 * @param rep The repetition index (0-indexed) 2436 */ 2437 public CE getIn243_MaritalStatus(int rep) { 2438 CE retVal = this.getTypedField(43, rep); 2439 return retVal; 2440 } 2441 2442 /** 2443 * Returns a count of the current number of repetitions of Marital Status (IN2-43). 2444 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2445 * it will return zero. 2446 */ 2447 public int getIn243_MaritalStatusReps() { 2448 return this.getReps(43); 2449 } 2450 2451 2452 /** 2453 * Inserts a repetition of 2454 * IN2-43: "Marital Status" at a specific index 2455 * 2456 * @param rep The repetition index (0-indexed) 2457 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2458 */ 2459 public CE insertMaritalStatus(int rep) throws HL7Exception { 2460 return (CE) super.insertRepetition(43, rep); 2461 } 2462 2463 2464 /** 2465 * Inserts a repetition of 2466 * IN2-43: "Marital Status" at a specific index 2467 * 2468 * @param rep The repetition index (0-indexed) 2469 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2470 */ 2471 public CE insertIn243_MaritalStatus(int rep) throws HL7Exception { 2472 return (CE) super.insertRepetition(43, rep); 2473 } 2474 2475 2476 /** 2477 * Removes a repetition of 2478 * IN2-43: "Marital Status" at a specific index 2479 * 2480 * @param rep The repetition index (0-indexed) 2481 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2482 */ 2483 public CE removeMaritalStatus(int rep) throws HL7Exception { 2484 return (CE) super.removeRepetition(43, rep); 2485 } 2486 2487 2488 /** 2489 * Removes a repetition of 2490 * IN2-43: "Marital Status" at a specific index 2491 * 2492 * @param rep The repetition index (0-indexed) 2493 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2494 */ 2495 public CE removeIn243_MaritalStatus(int rep) throws HL7Exception { 2496 return (CE) super.removeRepetition(43, rep); 2497 } 2498 2499 2500 2501 2502 /** 2503 * Returns 2504 * IN2-44: "Insured's Employment Start Date" - creates it if necessary 2505 */ 2506 public DT getInsuredSEmploymentStartDate() { 2507 DT retVal = this.getTypedField(44, 0); 2508 return retVal; 2509 } 2510 2511 /** 2512 * Returns 2513 * IN2-44: "Insured's Employment Start Date" - creates it if necessary 2514 */ 2515 public DT getIn244_InsuredSEmploymentStartDate() { 2516 DT retVal = this.getTypedField(44, 0); 2517 return retVal; 2518 } 2519 2520 2521 2522 /** 2523 * Returns 2524 * IN2-45: "Employment Stop Date" - creates it if necessary 2525 */ 2526 public DT getEmploymentStopDate() { 2527 DT retVal = this.getTypedField(45, 0); 2528 return retVal; 2529 } 2530 2531 /** 2532 * Returns 2533 * IN2-45: "Employment Stop Date" - creates it if necessary 2534 */ 2535 public DT getIn245_EmploymentStopDate() { 2536 DT retVal = this.getTypedField(45, 0); 2537 return retVal; 2538 } 2539 2540 2541 2542 /** 2543 * Returns 2544 * IN2-46: "Job Title" - creates it if necessary 2545 */ 2546 public ST getJobTitle() { 2547 ST retVal = this.getTypedField(46, 0); 2548 return retVal; 2549 } 2550 2551 /** 2552 * Returns 2553 * IN2-46: "Job Title" - creates it if necessary 2554 */ 2555 public ST getIn246_JobTitle() { 2556 ST retVal = this.getTypedField(46, 0); 2557 return retVal; 2558 } 2559 2560 2561 2562 /** 2563 * Returns 2564 * IN2-47: "Job Code/Class" - creates it if necessary 2565 */ 2566 public JCC getJobCodeClass() { 2567 JCC retVal = this.getTypedField(47, 0); 2568 return retVal; 2569 } 2570 2571 /** 2572 * Returns 2573 * IN2-47: "Job Code/Class" - creates it if necessary 2574 */ 2575 public JCC getIn247_JobCodeClass() { 2576 JCC retVal = this.getTypedField(47, 0); 2577 return retVal; 2578 } 2579 2580 2581 2582 /** 2583 * Returns 2584 * IN2-48: "Job Status" - creates it if necessary 2585 */ 2586 public IS getJobStatus() { 2587 IS retVal = this.getTypedField(48, 0); 2588 return retVal; 2589 } 2590 2591 /** 2592 * Returns 2593 * IN2-48: "Job Status" - creates it if necessary 2594 */ 2595 public IS getIn248_JobStatus() { 2596 IS retVal = this.getTypedField(48, 0); 2597 return retVal; 2598 } 2599 2600 2601 /** 2602 * Returns all repetitions of Employer Contact Person Name (IN2-49). 2603 */ 2604 public XPN[] getEmployerContactPersonName() { 2605 XPN[] retVal = this.getTypedField(49, new XPN[0]); 2606 return retVal; 2607 } 2608 2609 2610 /** 2611 * Returns all repetitions of Employer Contact Person Name (IN2-49). 2612 */ 2613 public XPN[] getIn249_EmployerContactPersonName() { 2614 XPN[] retVal = this.getTypedField(49, new XPN[0]); 2615 return retVal; 2616 } 2617 2618 2619 /** 2620 * Returns a count of the current number of repetitions of Employer Contact Person Name (IN2-49). 2621 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2622 * it will return zero. 2623 */ 2624 public int getEmployerContactPersonNameReps() { 2625 return this.getReps(49); 2626 } 2627 2628 2629 /** 2630 * Returns a specific repetition of 2631 * IN2-49: "Employer Contact Person Name" - creates it if necessary 2632 * 2633 * @param rep The repetition index (0-indexed) 2634 */ 2635 public XPN getEmployerContactPersonName(int rep) { 2636 XPN retVal = this.getTypedField(49, rep); 2637 return retVal; 2638 } 2639 2640 /** 2641 * Returns a specific repetition of 2642 * IN2-49: "Employer Contact Person Name" - creates it if necessary 2643 * 2644 * @param rep The repetition index (0-indexed) 2645 */ 2646 public XPN getIn249_EmployerContactPersonName(int rep) { 2647 XPN retVal = this.getTypedField(49, rep); 2648 return retVal; 2649 } 2650 2651 /** 2652 * Returns a count of the current number of repetitions of Employer Contact Person Name (IN2-49). 2653 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2654 * it will return zero. 2655 */ 2656 public int getIn249_EmployerContactPersonNameReps() { 2657 return this.getReps(49); 2658 } 2659 2660 2661 /** 2662 * Inserts a repetition of 2663 * IN2-49: "Employer Contact Person Name" at a specific index 2664 * 2665 * @param rep The repetition index (0-indexed) 2666 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2667 */ 2668 public XPN insertEmployerContactPersonName(int rep) throws HL7Exception { 2669 return (XPN) super.insertRepetition(49, rep); 2670 } 2671 2672 2673 /** 2674 * Inserts a repetition of 2675 * IN2-49: "Employer Contact Person Name" at a specific index 2676 * 2677 * @param rep The repetition index (0-indexed) 2678 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2679 */ 2680 public XPN insertIn249_EmployerContactPersonName(int rep) throws HL7Exception { 2681 return (XPN) super.insertRepetition(49, rep); 2682 } 2683 2684 2685 /** 2686 * Removes a repetition of 2687 * IN2-49: "Employer Contact Person Name" at a specific index 2688 * 2689 * @param rep The repetition index (0-indexed) 2690 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2691 */ 2692 public XPN removeEmployerContactPersonName(int rep) throws HL7Exception { 2693 return (XPN) super.removeRepetition(49, rep); 2694 } 2695 2696 2697 /** 2698 * Removes a repetition of 2699 * IN2-49: "Employer Contact Person Name" at a specific index 2700 * 2701 * @param rep The repetition index (0-indexed) 2702 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2703 */ 2704 public XPN removeIn249_EmployerContactPersonName(int rep) throws HL7Exception { 2705 return (XPN) super.removeRepetition(49, rep); 2706 } 2707 2708 2709 2710 /** 2711 * Returns all repetitions of Employer Contact Person Phone Number (IN2-50). 2712 */ 2713 public XTN[] getEmployerContactPersonPhoneNumber() { 2714 XTN[] retVal = this.getTypedField(50, new XTN[0]); 2715 return retVal; 2716 } 2717 2718 2719 /** 2720 * Returns all repetitions of Employer Contact Person Phone Number (IN2-50). 2721 */ 2722 public XTN[] getIn250_EmployerContactPersonPhoneNumber() { 2723 XTN[] retVal = this.getTypedField(50, new XTN[0]); 2724 return retVal; 2725 } 2726 2727 2728 /** 2729 * Returns a count of the current number of repetitions of Employer Contact Person Phone Number (IN2-50). 2730 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2731 * it will return zero. 2732 */ 2733 public int getEmployerContactPersonPhoneNumberReps() { 2734 return this.getReps(50); 2735 } 2736 2737 2738 /** 2739 * Returns a specific repetition of 2740 * IN2-50: "Employer Contact Person Phone Number" - creates it if necessary 2741 * 2742 * @param rep The repetition index (0-indexed) 2743 */ 2744 public XTN getEmployerContactPersonPhoneNumber(int rep) { 2745 XTN retVal = this.getTypedField(50, rep); 2746 return retVal; 2747 } 2748 2749 /** 2750 * Returns a specific repetition of 2751 * IN2-50: "Employer Contact Person Phone Number" - creates it if necessary 2752 * 2753 * @param rep The repetition index (0-indexed) 2754 */ 2755 public XTN getIn250_EmployerContactPersonPhoneNumber(int rep) { 2756 XTN retVal = this.getTypedField(50, rep); 2757 return retVal; 2758 } 2759 2760 /** 2761 * Returns a count of the current number of repetitions of Employer Contact Person Phone Number (IN2-50). 2762 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2763 * it will return zero. 2764 */ 2765 public int getIn250_EmployerContactPersonPhoneNumberReps() { 2766 return this.getReps(50); 2767 } 2768 2769 2770 /** 2771 * Inserts a repetition of 2772 * IN2-50: "Employer Contact Person Phone Number" at a specific index 2773 * 2774 * @param rep The repetition index (0-indexed) 2775 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2776 */ 2777 public XTN insertEmployerContactPersonPhoneNumber(int rep) throws HL7Exception { 2778 return (XTN) super.insertRepetition(50, rep); 2779 } 2780 2781 2782 /** 2783 * Inserts a repetition of 2784 * IN2-50: "Employer Contact Person Phone Number" at a specific index 2785 * 2786 * @param rep The repetition index (0-indexed) 2787 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2788 */ 2789 public XTN insertIn250_EmployerContactPersonPhoneNumber(int rep) throws HL7Exception { 2790 return (XTN) super.insertRepetition(50, rep); 2791 } 2792 2793 2794 /** 2795 * Removes a repetition of 2796 * IN2-50: "Employer Contact Person Phone Number" at a specific index 2797 * 2798 * @param rep The repetition index (0-indexed) 2799 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2800 */ 2801 public XTN removeEmployerContactPersonPhoneNumber(int rep) throws HL7Exception { 2802 return (XTN) super.removeRepetition(50, rep); 2803 } 2804 2805 2806 /** 2807 * Removes a repetition of 2808 * IN2-50: "Employer Contact Person Phone Number" at a specific index 2809 * 2810 * @param rep The repetition index (0-indexed) 2811 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2812 */ 2813 public XTN removeIn250_EmployerContactPersonPhoneNumber(int rep) throws HL7Exception { 2814 return (XTN) super.removeRepetition(50, rep); 2815 } 2816 2817 2818 2819 2820 /** 2821 * Returns 2822 * IN2-51: "Employer Contact Reason" - creates it if necessary 2823 */ 2824 public IS getEmployerContactReason() { 2825 IS retVal = this.getTypedField(51, 0); 2826 return retVal; 2827 } 2828 2829 /** 2830 * Returns 2831 * IN2-51: "Employer Contact Reason" - creates it if necessary 2832 */ 2833 public IS getIn251_EmployerContactReason() { 2834 IS retVal = this.getTypedField(51, 0); 2835 return retVal; 2836 } 2837 2838 2839 /** 2840 * Returns all repetitions of Insured's Contact Person's Name (IN2-52). 2841 */ 2842 public XPN[] getInsuredSContactPersonSName() { 2843 XPN[] retVal = this.getTypedField(52, new XPN[0]); 2844 return retVal; 2845 } 2846 2847 2848 /** 2849 * Returns all repetitions of Insured's Contact Person's Name (IN2-52). 2850 */ 2851 public XPN[] getIn252_InsuredSContactPersonSName() { 2852 XPN[] retVal = this.getTypedField(52, new XPN[0]); 2853 return retVal; 2854 } 2855 2856 2857 /** 2858 * Returns a count of the current number of repetitions of Insured's Contact Person's Name (IN2-52). 2859 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2860 * it will return zero. 2861 */ 2862 public int getInsuredSContactPersonSNameReps() { 2863 return this.getReps(52); 2864 } 2865 2866 2867 /** 2868 * Returns a specific repetition of 2869 * IN2-52: "Insured's Contact Person's Name" - creates it if necessary 2870 * 2871 * @param rep The repetition index (0-indexed) 2872 */ 2873 public XPN getInsuredSContactPersonSName(int rep) { 2874 XPN retVal = this.getTypedField(52, rep); 2875 return retVal; 2876 } 2877 2878 /** 2879 * Returns a specific repetition of 2880 * IN2-52: "Insured's Contact Person's Name" - creates it if necessary 2881 * 2882 * @param rep The repetition index (0-indexed) 2883 */ 2884 public XPN getIn252_InsuredSContactPersonSName(int rep) { 2885 XPN retVal = this.getTypedField(52, rep); 2886 return retVal; 2887 } 2888 2889 /** 2890 * Returns a count of the current number of repetitions of Insured's Contact Person's Name (IN2-52). 2891 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2892 * it will return zero. 2893 */ 2894 public int getIn252_InsuredSContactPersonSNameReps() { 2895 return this.getReps(52); 2896 } 2897 2898 2899 /** 2900 * Inserts a repetition of 2901 * IN2-52: "Insured's Contact Person's Name" at a specific index 2902 * 2903 * @param rep The repetition index (0-indexed) 2904 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2905 */ 2906 public XPN insertInsuredSContactPersonSName(int rep) throws HL7Exception { 2907 return (XPN) super.insertRepetition(52, rep); 2908 } 2909 2910 2911 /** 2912 * Inserts a repetition of 2913 * IN2-52: "Insured's Contact Person's Name" at a specific index 2914 * 2915 * @param rep The repetition index (0-indexed) 2916 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2917 */ 2918 public XPN insertIn252_InsuredSContactPersonSName(int rep) throws HL7Exception { 2919 return (XPN) super.insertRepetition(52, rep); 2920 } 2921 2922 2923 /** 2924 * Removes a repetition of 2925 * IN2-52: "Insured's Contact Person's Name" at a specific index 2926 * 2927 * @param rep The repetition index (0-indexed) 2928 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2929 */ 2930 public XPN removeInsuredSContactPersonSName(int rep) throws HL7Exception { 2931 return (XPN) super.removeRepetition(52, rep); 2932 } 2933 2934 2935 /** 2936 * Removes a repetition of 2937 * IN2-52: "Insured's Contact Person's Name" at a specific index 2938 * 2939 * @param rep The repetition index (0-indexed) 2940 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2941 */ 2942 public XPN removeIn252_InsuredSContactPersonSName(int rep) throws HL7Exception { 2943 return (XPN) super.removeRepetition(52, rep); 2944 } 2945 2946 2947 2948 /** 2949 * Returns all repetitions of Insured's Contact Person Phone Number (IN2-53). 2950 */ 2951 public XTN[] getInsuredSContactPersonPhoneNumber() { 2952 XTN[] retVal = this.getTypedField(53, new XTN[0]); 2953 return retVal; 2954 } 2955 2956 2957 /** 2958 * Returns all repetitions of Insured's Contact Person Phone Number (IN2-53). 2959 */ 2960 public XTN[] getIn253_InsuredSContactPersonPhoneNumber() { 2961 XTN[] retVal = this.getTypedField(53, new XTN[0]); 2962 return retVal; 2963 } 2964 2965 2966 /** 2967 * Returns a count of the current number of repetitions of Insured's Contact Person Phone Number (IN2-53). 2968 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2969 * it will return zero. 2970 */ 2971 public int getInsuredSContactPersonPhoneNumberReps() { 2972 return this.getReps(53); 2973 } 2974 2975 2976 /** 2977 * Returns a specific repetition of 2978 * IN2-53: "Insured's Contact Person Phone Number" - creates it if necessary 2979 * 2980 * @param rep The repetition index (0-indexed) 2981 */ 2982 public XTN getInsuredSContactPersonPhoneNumber(int rep) { 2983 XTN retVal = this.getTypedField(53, rep); 2984 return retVal; 2985 } 2986 2987 /** 2988 * Returns a specific repetition of 2989 * IN2-53: "Insured's Contact Person Phone Number" - creates it if necessary 2990 * 2991 * @param rep The repetition index (0-indexed) 2992 */ 2993 public XTN getIn253_InsuredSContactPersonPhoneNumber(int rep) { 2994 XTN retVal = this.getTypedField(53, rep); 2995 return retVal; 2996 } 2997 2998 /** 2999 * Returns a count of the current number of repetitions of Insured's Contact Person Phone Number (IN2-53). 3000 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3001 * it will return zero. 3002 */ 3003 public int getIn253_InsuredSContactPersonPhoneNumberReps() { 3004 return this.getReps(53); 3005 } 3006 3007 3008 /** 3009 * Inserts a repetition of 3010 * IN2-53: "Insured's Contact Person Phone Number" at a specific index 3011 * 3012 * @param rep The repetition index (0-indexed) 3013 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3014 */ 3015 public XTN insertInsuredSContactPersonPhoneNumber(int rep) throws HL7Exception { 3016 return (XTN) super.insertRepetition(53, rep); 3017 } 3018 3019 3020 /** 3021 * Inserts a repetition of 3022 * IN2-53: "Insured's Contact Person Phone Number" at a specific index 3023 * 3024 * @param rep The repetition index (0-indexed) 3025 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3026 */ 3027 public XTN insertIn253_InsuredSContactPersonPhoneNumber(int rep) throws HL7Exception { 3028 return (XTN) super.insertRepetition(53, rep); 3029 } 3030 3031 3032 /** 3033 * Removes a repetition of 3034 * IN2-53: "Insured's Contact Person Phone Number" at a specific index 3035 * 3036 * @param rep The repetition index (0-indexed) 3037 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3038 */ 3039 public XTN removeInsuredSContactPersonPhoneNumber(int rep) throws HL7Exception { 3040 return (XTN) super.removeRepetition(53, rep); 3041 } 3042 3043 3044 /** 3045 * Removes a repetition of 3046 * IN2-53: "Insured's Contact Person Phone Number" at a specific index 3047 * 3048 * @param rep The repetition index (0-indexed) 3049 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3050 */ 3051 public XTN removeIn253_InsuredSContactPersonPhoneNumber(int rep) throws HL7Exception { 3052 return (XTN) super.removeRepetition(53, rep); 3053 } 3054 3055 3056 3057 /** 3058 * Returns all repetitions of Insured's Contact Person Reason (IN2-54). 3059 */ 3060 public IS[] getInsuredSContactPersonReason() { 3061 IS[] retVal = this.getTypedField(54, new IS[0]); 3062 return retVal; 3063 } 3064 3065 3066 /** 3067 * Returns all repetitions of Insured's Contact Person Reason (IN2-54). 3068 */ 3069 public IS[] getIn254_InsuredSContactPersonReason() { 3070 IS[] retVal = this.getTypedField(54, new IS[0]); 3071 return retVal; 3072 } 3073 3074 3075 /** 3076 * Returns a count of the current number of repetitions of Insured's Contact Person Reason (IN2-54). 3077 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3078 * it will return zero. 3079 */ 3080 public int getInsuredSContactPersonReasonReps() { 3081 return this.getReps(54); 3082 } 3083 3084 3085 /** 3086 * Returns a specific repetition of 3087 * IN2-54: "Insured's Contact Person Reason" - creates it if necessary 3088 * 3089 * @param rep The repetition index (0-indexed) 3090 */ 3091 public IS getInsuredSContactPersonReason(int rep) { 3092 IS retVal = this.getTypedField(54, rep); 3093 return retVal; 3094 } 3095 3096 /** 3097 * Returns a specific repetition of 3098 * IN2-54: "Insured's Contact Person Reason" - creates it if necessary 3099 * 3100 * @param rep The repetition index (0-indexed) 3101 */ 3102 public IS getIn254_InsuredSContactPersonReason(int rep) { 3103 IS retVal = this.getTypedField(54, rep); 3104 return retVal; 3105 } 3106 3107 /** 3108 * Returns a count of the current number of repetitions of Insured's Contact Person Reason (IN2-54). 3109 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3110 * it will return zero. 3111 */ 3112 public int getIn254_InsuredSContactPersonReasonReps() { 3113 return this.getReps(54); 3114 } 3115 3116 3117 /** 3118 * Inserts a repetition of 3119 * IN2-54: "Insured's Contact Person Reason" at a specific index 3120 * 3121 * @param rep The repetition index (0-indexed) 3122 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3123 */ 3124 public IS insertInsuredSContactPersonReason(int rep) throws HL7Exception { 3125 return (IS) super.insertRepetition(54, rep); 3126 } 3127 3128 3129 /** 3130 * Inserts a repetition of 3131 * IN2-54: "Insured's Contact Person Reason" at a specific index 3132 * 3133 * @param rep The repetition index (0-indexed) 3134 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3135 */ 3136 public IS insertIn254_InsuredSContactPersonReason(int rep) throws HL7Exception { 3137 return (IS) super.insertRepetition(54, rep); 3138 } 3139 3140 3141 /** 3142 * Removes a repetition of 3143 * IN2-54: "Insured's Contact Person Reason" at a specific index 3144 * 3145 * @param rep The repetition index (0-indexed) 3146 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3147 */ 3148 public IS removeInsuredSContactPersonReason(int rep) throws HL7Exception { 3149 return (IS) super.removeRepetition(54, rep); 3150 } 3151 3152 3153 /** 3154 * Removes a repetition of 3155 * IN2-54: "Insured's Contact Person Reason" at a specific index 3156 * 3157 * @param rep The repetition index (0-indexed) 3158 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3159 */ 3160 public IS removeIn254_InsuredSContactPersonReason(int rep) throws HL7Exception { 3161 return (IS) super.removeRepetition(54, rep); 3162 } 3163 3164 3165 3166 3167 /** 3168 * Returns 3169 * IN2-55: "Relationship to the Patient Start Date" - creates it if necessary 3170 */ 3171 public DT getRelationshipToThePatientStartDate() { 3172 DT retVal = this.getTypedField(55, 0); 3173 return retVal; 3174 } 3175 3176 /** 3177 * Returns 3178 * IN2-55: "Relationship to the Patient Start Date" - creates it if necessary 3179 */ 3180 public DT getIn255_RelationshipToThePatientStartDate() { 3181 DT retVal = this.getTypedField(55, 0); 3182 return retVal; 3183 } 3184 3185 3186 /** 3187 * Returns all repetitions of Relationship to the Patient Stop Date (IN2-56). 3188 */ 3189 public DT[] getRelationshipToThePatientStopDate() { 3190 DT[] retVal = this.getTypedField(56, new DT[0]); 3191 return retVal; 3192 } 3193 3194 3195 /** 3196 * Returns all repetitions of Relationship to the Patient Stop Date (IN2-56). 3197 */ 3198 public DT[] getIn256_RelationshipToThePatientStopDate() { 3199 DT[] retVal = this.getTypedField(56, new DT[0]); 3200 return retVal; 3201 } 3202 3203 3204 /** 3205 * Returns a count of the current number of repetitions of Relationship to the Patient Stop Date (IN2-56). 3206 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3207 * it will return zero. 3208 */ 3209 public int getRelationshipToThePatientStopDateReps() { 3210 return this.getReps(56); 3211 } 3212 3213 3214 /** 3215 * Returns a specific repetition of 3216 * IN2-56: "Relationship to the Patient Stop Date" - creates it if necessary 3217 * 3218 * @param rep The repetition index (0-indexed) 3219 */ 3220 public DT getRelationshipToThePatientStopDate(int rep) { 3221 DT retVal = this.getTypedField(56, rep); 3222 return retVal; 3223 } 3224 3225 /** 3226 * Returns a specific repetition of 3227 * IN2-56: "Relationship to the Patient Stop Date" - creates it if necessary 3228 * 3229 * @param rep The repetition index (0-indexed) 3230 */ 3231 public DT getIn256_RelationshipToThePatientStopDate(int rep) { 3232 DT retVal = this.getTypedField(56, rep); 3233 return retVal; 3234 } 3235 3236 /** 3237 * Returns a count of the current number of repetitions of Relationship to the Patient Stop Date (IN2-56). 3238 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3239 * it will return zero. 3240 */ 3241 public int getIn256_RelationshipToThePatientStopDateReps() { 3242 return this.getReps(56); 3243 } 3244 3245 3246 /** 3247 * Inserts a repetition of 3248 * IN2-56: "Relationship to the Patient Stop Date" at a specific index 3249 * 3250 * @param rep The repetition index (0-indexed) 3251 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3252 */ 3253 public DT insertRelationshipToThePatientStopDate(int rep) throws HL7Exception { 3254 return (DT) super.insertRepetition(56, rep); 3255 } 3256 3257 3258 /** 3259 * Inserts a repetition of 3260 * IN2-56: "Relationship to the Patient Stop Date" at a specific index 3261 * 3262 * @param rep The repetition index (0-indexed) 3263 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3264 */ 3265 public DT insertIn256_RelationshipToThePatientStopDate(int rep) throws HL7Exception { 3266 return (DT) super.insertRepetition(56, rep); 3267 } 3268 3269 3270 /** 3271 * Removes a repetition of 3272 * IN2-56: "Relationship to the Patient Stop Date" at a specific index 3273 * 3274 * @param rep The repetition index (0-indexed) 3275 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3276 */ 3277 public DT removeRelationshipToThePatientStopDate(int rep) throws HL7Exception { 3278 return (DT) super.removeRepetition(56, rep); 3279 } 3280 3281 3282 /** 3283 * Removes a repetition of 3284 * IN2-56: "Relationship to the Patient Stop Date" at a specific index 3285 * 3286 * @param rep The repetition index (0-indexed) 3287 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3288 */ 3289 public DT removeIn256_RelationshipToThePatientStopDate(int rep) throws HL7Exception { 3290 return (DT) super.removeRepetition(56, rep); 3291 } 3292 3293 3294 3295 3296 /** 3297 * Returns 3298 * IN2-57: "Insurance Co. Contact Reason" - creates it if necessary 3299 */ 3300 public IS getInsuranceCoContactReason() { 3301 IS retVal = this.getTypedField(57, 0); 3302 return retVal; 3303 } 3304 3305 /** 3306 * Returns 3307 * IN2-57: "Insurance Co. Contact Reason" - creates it if necessary 3308 */ 3309 public IS getIn257_InsuranceCoContactReason() { 3310 IS retVal = this.getTypedField(57, 0); 3311 return retVal; 3312 } 3313 3314 3315 3316 /** 3317 * Returns 3318 * IN2-58: "Insurance Co Contact Phone Number" - creates it if necessary 3319 */ 3320 public XTN getInsuranceCoContactPhoneNumber() { 3321 XTN retVal = this.getTypedField(58, 0); 3322 return retVal; 3323 } 3324 3325 /** 3326 * Returns 3327 * IN2-58: "Insurance Co Contact Phone Number" - creates it if necessary 3328 */ 3329 public XTN getIn258_InsuranceCoContactPhoneNumber() { 3330 XTN retVal = this.getTypedField(58, 0); 3331 return retVal; 3332 } 3333 3334 3335 3336 /** 3337 * Returns 3338 * IN2-59: "Policy Scope" - creates it if necessary 3339 */ 3340 public IS getPolicyScope() { 3341 IS retVal = this.getTypedField(59, 0); 3342 return retVal; 3343 } 3344 3345 /** 3346 * Returns 3347 * IN2-59: "Policy Scope" - creates it if necessary 3348 */ 3349 public IS getIn259_PolicyScope() { 3350 IS retVal = this.getTypedField(59, 0); 3351 return retVal; 3352 } 3353 3354 3355 3356 /** 3357 * Returns 3358 * IN2-60: "Policy Source" - creates it if necessary 3359 */ 3360 public IS getPolicySource() { 3361 IS retVal = this.getTypedField(60, 0); 3362 return retVal; 3363 } 3364 3365 /** 3366 * Returns 3367 * IN2-60: "Policy Source" - creates it if necessary 3368 */ 3369 public IS getIn260_PolicySource() { 3370 IS retVal = this.getTypedField(60, 0); 3371 return retVal; 3372 } 3373 3374 3375 3376 /** 3377 * Returns 3378 * IN2-61: "Patient Member Number" - creates it if necessary 3379 */ 3380 public CX getPatientMemberNumber() { 3381 CX retVal = this.getTypedField(61, 0); 3382 return retVal; 3383 } 3384 3385 /** 3386 * Returns 3387 * IN2-61: "Patient Member Number" - creates it if necessary 3388 */ 3389 public CX getIn261_PatientMemberNumber() { 3390 CX retVal = this.getTypedField(61, 0); 3391 return retVal; 3392 } 3393 3394 3395 3396 /** 3397 * Returns 3398 * IN2-62: "Guarantor's Relationship To Insured" - creates it if necessary 3399 */ 3400 public CE getGuarantorSRelationshipToInsured() { 3401 CE retVal = this.getTypedField(62, 0); 3402 return retVal; 3403 } 3404 3405 /** 3406 * Returns 3407 * IN2-62: "Guarantor's Relationship To Insured" - creates it if necessary 3408 */ 3409 public CE getIn262_GuarantorSRelationshipToInsured() { 3410 CE retVal = this.getTypedField(62, 0); 3411 return retVal; 3412 } 3413 3414 3415 /** 3416 * Returns all repetitions of Insured's Phone Number - Home (IN2-63). 3417 */ 3418 public XTN[] getInsuredSPhoneNumberHome() { 3419 XTN[] retVal = this.getTypedField(63, new XTN[0]); 3420 return retVal; 3421 } 3422 3423 3424 /** 3425 * Returns all repetitions of Insured's Phone Number - Home (IN2-63). 3426 */ 3427 public XTN[] getIn263_InsuredSPhoneNumberHome() { 3428 XTN[] retVal = this.getTypedField(63, new XTN[0]); 3429 return retVal; 3430 } 3431 3432 3433 /** 3434 * Returns a count of the current number of repetitions of Insured's Phone Number - Home (IN2-63). 3435 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3436 * it will return zero. 3437 */ 3438 public int getInsuredSPhoneNumberHomeReps() { 3439 return this.getReps(63); 3440 } 3441 3442 3443 /** 3444 * Returns a specific repetition of 3445 * IN2-63: "Insured's Phone Number - Home" - creates it if necessary 3446 * 3447 * @param rep The repetition index (0-indexed) 3448 */ 3449 public XTN getInsuredSPhoneNumberHome(int rep) { 3450 XTN retVal = this.getTypedField(63, rep); 3451 return retVal; 3452 } 3453 3454 /** 3455 * Returns a specific repetition of 3456 * IN2-63: "Insured's Phone Number - Home" - creates it if necessary 3457 * 3458 * @param rep The repetition index (0-indexed) 3459 */ 3460 public XTN getIn263_InsuredSPhoneNumberHome(int rep) { 3461 XTN retVal = this.getTypedField(63, rep); 3462 return retVal; 3463 } 3464 3465 /** 3466 * Returns a count of the current number of repetitions of Insured's Phone Number - Home (IN2-63). 3467 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3468 * it will return zero. 3469 */ 3470 public int getIn263_InsuredSPhoneNumberHomeReps() { 3471 return this.getReps(63); 3472 } 3473 3474 3475 /** 3476 * Inserts a repetition of 3477 * IN2-63: "Insured's Phone Number - Home" at a specific index 3478 * 3479 * @param rep The repetition index (0-indexed) 3480 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3481 */ 3482 public XTN insertInsuredSPhoneNumberHome(int rep) throws HL7Exception { 3483 return (XTN) super.insertRepetition(63, rep); 3484 } 3485 3486 3487 /** 3488 * Inserts a repetition of 3489 * IN2-63: "Insured's Phone Number - Home" at a specific index 3490 * 3491 * @param rep The repetition index (0-indexed) 3492 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3493 */ 3494 public XTN insertIn263_InsuredSPhoneNumberHome(int rep) throws HL7Exception { 3495 return (XTN) super.insertRepetition(63, rep); 3496 } 3497 3498 3499 /** 3500 * Removes a repetition of 3501 * IN2-63: "Insured's Phone Number - Home" at a specific index 3502 * 3503 * @param rep The repetition index (0-indexed) 3504 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3505 */ 3506 public XTN removeInsuredSPhoneNumberHome(int rep) throws HL7Exception { 3507 return (XTN) super.removeRepetition(63, rep); 3508 } 3509 3510 3511 /** 3512 * Removes a repetition of 3513 * IN2-63: "Insured's Phone Number - Home" at a specific index 3514 * 3515 * @param rep The repetition index (0-indexed) 3516 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3517 */ 3518 public XTN removeIn263_InsuredSPhoneNumberHome(int rep) throws HL7Exception { 3519 return (XTN) super.removeRepetition(63, rep); 3520 } 3521 3522 3523 3524 /** 3525 * Returns all repetitions of Insured's Employer Phone Number (IN2-64). 3526 */ 3527 public XTN[] getInsuredSEmployerPhoneNumber() { 3528 XTN[] retVal = this.getTypedField(64, new XTN[0]); 3529 return retVal; 3530 } 3531 3532 3533 /** 3534 * Returns all repetitions of Insured's Employer Phone Number (IN2-64). 3535 */ 3536 public XTN[] getIn264_InsuredSEmployerPhoneNumber() { 3537 XTN[] retVal = this.getTypedField(64, new XTN[0]); 3538 return retVal; 3539 } 3540 3541 3542 /** 3543 * Returns a count of the current number of repetitions of Insured's Employer Phone Number (IN2-64). 3544 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3545 * it will return zero. 3546 */ 3547 public int getInsuredSEmployerPhoneNumberReps() { 3548 return this.getReps(64); 3549 } 3550 3551 3552 /** 3553 * Returns a specific repetition of 3554 * IN2-64: "Insured's Employer Phone Number" - creates it if necessary 3555 * 3556 * @param rep The repetition index (0-indexed) 3557 */ 3558 public XTN getInsuredSEmployerPhoneNumber(int rep) { 3559 XTN retVal = this.getTypedField(64, rep); 3560 return retVal; 3561 } 3562 3563 /** 3564 * Returns a specific repetition of 3565 * IN2-64: "Insured's Employer Phone Number" - creates it if necessary 3566 * 3567 * @param rep The repetition index (0-indexed) 3568 */ 3569 public XTN getIn264_InsuredSEmployerPhoneNumber(int rep) { 3570 XTN retVal = this.getTypedField(64, rep); 3571 return retVal; 3572 } 3573 3574 /** 3575 * Returns a count of the current number of repetitions of Insured's Employer Phone Number (IN2-64). 3576 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3577 * it will return zero. 3578 */ 3579 public int getIn264_InsuredSEmployerPhoneNumberReps() { 3580 return this.getReps(64); 3581 } 3582 3583 3584 /** 3585 * Inserts a repetition of 3586 * IN2-64: "Insured's Employer Phone Number" at a specific index 3587 * 3588 * @param rep The repetition index (0-indexed) 3589 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3590 */ 3591 public XTN insertInsuredSEmployerPhoneNumber(int rep) throws HL7Exception { 3592 return (XTN) super.insertRepetition(64, rep); 3593 } 3594 3595 3596 /** 3597 * Inserts a repetition of 3598 * IN2-64: "Insured's Employer Phone Number" at a specific index 3599 * 3600 * @param rep The repetition index (0-indexed) 3601 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3602 */ 3603 public XTN insertIn264_InsuredSEmployerPhoneNumber(int rep) throws HL7Exception { 3604 return (XTN) super.insertRepetition(64, rep); 3605 } 3606 3607 3608 /** 3609 * Removes a repetition of 3610 * IN2-64: "Insured's Employer Phone Number" at a specific index 3611 * 3612 * @param rep The repetition index (0-indexed) 3613 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3614 */ 3615 public XTN removeInsuredSEmployerPhoneNumber(int rep) throws HL7Exception { 3616 return (XTN) super.removeRepetition(64, rep); 3617 } 3618 3619 3620 /** 3621 * Removes a repetition of 3622 * IN2-64: "Insured's Employer Phone Number" at a specific index 3623 * 3624 * @param rep The repetition index (0-indexed) 3625 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3626 */ 3627 public XTN removeIn264_InsuredSEmployerPhoneNumber(int rep) throws HL7Exception { 3628 return (XTN) super.removeRepetition(64, rep); 3629 } 3630 3631 3632 3633 3634 /** 3635 * Returns 3636 * IN2-65: "Military Handicapped Program" - creates it if necessary 3637 */ 3638 public CE getMilitaryHandicappedProgram() { 3639 CE retVal = this.getTypedField(65, 0); 3640 return retVal; 3641 } 3642 3643 /** 3644 * Returns 3645 * IN2-65: "Military Handicapped Program" - creates it if necessary 3646 */ 3647 public CE getIn265_MilitaryHandicappedProgram() { 3648 CE retVal = this.getTypedField(65, 0); 3649 return retVal; 3650 } 3651 3652 3653 3654 /** 3655 * Returns 3656 * IN2-66: "Suspend Flag" - creates it if necessary 3657 */ 3658 public ID getSuspendFlag() { 3659 ID retVal = this.getTypedField(66, 0); 3660 return retVal; 3661 } 3662 3663 /** 3664 * Returns 3665 * IN2-66: "Suspend Flag" - creates it if necessary 3666 */ 3667 public ID getIn266_SuspendFlag() { 3668 ID retVal = this.getTypedField(66, 0); 3669 return retVal; 3670 } 3671 3672 3673 3674 /** 3675 * Returns 3676 * IN2-67: "Copay Limit Flag" - creates it if necessary 3677 */ 3678 public ID getCopayLimitFlag() { 3679 ID retVal = this.getTypedField(67, 0); 3680 return retVal; 3681 } 3682 3683 /** 3684 * Returns 3685 * IN2-67: "Copay Limit Flag" - creates it if necessary 3686 */ 3687 public ID getIn267_CopayLimitFlag() { 3688 ID retVal = this.getTypedField(67, 0); 3689 return retVal; 3690 } 3691 3692 3693 3694 /** 3695 * Returns 3696 * IN2-68: "Stoploss Limit Flag" - creates it if necessary 3697 */ 3698 public ID getStoplossLimitFlag() { 3699 ID retVal = this.getTypedField(68, 0); 3700 return retVal; 3701 } 3702 3703 /** 3704 * Returns 3705 * IN2-68: "Stoploss Limit Flag" - creates it if necessary 3706 */ 3707 public ID getIn268_StoplossLimitFlag() { 3708 ID retVal = this.getTypedField(68, 0); 3709 return retVal; 3710 } 3711 3712 3713 /** 3714 * Returns all repetitions of Insured Organization Name and ID (IN2-69). 3715 */ 3716 public XON[] getInsuredOrganizationNameAndID() { 3717 XON[] retVal = this.getTypedField(69, new XON[0]); 3718 return retVal; 3719 } 3720 3721 3722 /** 3723 * Returns all repetitions of Insured Organization Name and ID (IN2-69). 3724 */ 3725 public XON[] getIn269_InsuredOrganizationNameAndID() { 3726 XON[] retVal = this.getTypedField(69, new XON[0]); 3727 return retVal; 3728 } 3729 3730 3731 /** 3732 * Returns a count of the current number of repetitions of Insured Organization Name and ID (IN2-69). 3733 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3734 * it will return zero. 3735 */ 3736 public int getInsuredOrganizationNameAndIDReps() { 3737 return this.getReps(69); 3738 } 3739 3740 3741 /** 3742 * Returns a specific repetition of 3743 * IN2-69: "Insured Organization Name and ID" - creates it if necessary 3744 * 3745 * @param rep The repetition index (0-indexed) 3746 */ 3747 public XON getInsuredOrganizationNameAndID(int rep) { 3748 XON retVal = this.getTypedField(69, rep); 3749 return retVal; 3750 } 3751 3752 /** 3753 * Returns a specific repetition of 3754 * IN2-69: "Insured Organization Name and ID" - creates it if necessary 3755 * 3756 * @param rep The repetition index (0-indexed) 3757 */ 3758 public XON getIn269_InsuredOrganizationNameAndID(int rep) { 3759 XON retVal = this.getTypedField(69, rep); 3760 return retVal; 3761 } 3762 3763 /** 3764 * Returns a count of the current number of repetitions of Insured Organization Name and ID (IN2-69). 3765 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3766 * it will return zero. 3767 */ 3768 public int getIn269_InsuredOrganizationNameAndIDReps() { 3769 return this.getReps(69); 3770 } 3771 3772 3773 /** 3774 * Inserts a repetition of 3775 * IN2-69: "Insured Organization Name and ID" at a specific index 3776 * 3777 * @param rep The repetition index (0-indexed) 3778 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3779 */ 3780 public XON insertInsuredOrganizationNameAndID(int rep) throws HL7Exception { 3781 return (XON) super.insertRepetition(69, rep); 3782 } 3783 3784 3785 /** 3786 * Inserts a repetition of 3787 * IN2-69: "Insured Organization Name and ID" at a specific index 3788 * 3789 * @param rep The repetition index (0-indexed) 3790 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3791 */ 3792 public XON insertIn269_InsuredOrganizationNameAndID(int rep) throws HL7Exception { 3793 return (XON) super.insertRepetition(69, rep); 3794 } 3795 3796 3797 /** 3798 * Removes a repetition of 3799 * IN2-69: "Insured Organization Name and ID" at a specific index 3800 * 3801 * @param rep The repetition index (0-indexed) 3802 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3803 */ 3804 public XON removeInsuredOrganizationNameAndID(int rep) throws HL7Exception { 3805 return (XON) super.removeRepetition(69, rep); 3806 } 3807 3808 3809 /** 3810 * Removes a repetition of 3811 * IN2-69: "Insured Organization Name and ID" at a specific index 3812 * 3813 * @param rep The repetition index (0-indexed) 3814 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3815 */ 3816 public XON removeIn269_InsuredOrganizationNameAndID(int rep) throws HL7Exception { 3817 return (XON) super.removeRepetition(69, rep); 3818 } 3819 3820 3821 3822 /** 3823 * Returns all repetitions of Insured Employer Organization Name and ID (IN2-70). 3824 */ 3825 public XON[] getInsuredEmployerOrganizationNameAndID() { 3826 XON[] retVal = this.getTypedField(70, new XON[0]); 3827 return retVal; 3828 } 3829 3830 3831 /** 3832 * Returns all repetitions of Insured Employer Organization Name and ID (IN2-70). 3833 */ 3834 public XON[] getIn270_InsuredEmployerOrganizationNameAndID() { 3835 XON[] retVal = this.getTypedField(70, new XON[0]); 3836 return retVal; 3837 } 3838 3839 3840 /** 3841 * Returns a count of the current number of repetitions of Insured Employer Organization Name and ID (IN2-70). 3842 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3843 * it will return zero. 3844 */ 3845 public int getInsuredEmployerOrganizationNameAndIDReps() { 3846 return this.getReps(70); 3847 } 3848 3849 3850 /** 3851 * Returns a specific repetition of 3852 * IN2-70: "Insured Employer Organization Name and ID" - creates it if necessary 3853 * 3854 * @param rep The repetition index (0-indexed) 3855 */ 3856 public XON getInsuredEmployerOrganizationNameAndID(int rep) { 3857 XON retVal = this.getTypedField(70, rep); 3858 return retVal; 3859 } 3860 3861 /** 3862 * Returns a specific repetition of 3863 * IN2-70: "Insured Employer Organization Name and ID" - creates it if necessary 3864 * 3865 * @param rep The repetition index (0-indexed) 3866 */ 3867 public XON getIn270_InsuredEmployerOrganizationNameAndID(int rep) { 3868 XON retVal = this.getTypedField(70, rep); 3869 return retVal; 3870 } 3871 3872 /** 3873 * Returns a count of the current number of repetitions of Insured Employer Organization Name and ID (IN2-70). 3874 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3875 * it will return zero. 3876 */ 3877 public int getIn270_InsuredEmployerOrganizationNameAndIDReps() { 3878 return this.getReps(70); 3879 } 3880 3881 3882 /** 3883 * Inserts a repetition of 3884 * IN2-70: "Insured Employer Organization Name and ID" at a specific index 3885 * 3886 * @param rep The repetition index (0-indexed) 3887 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3888 */ 3889 public XON insertInsuredEmployerOrganizationNameAndID(int rep) throws HL7Exception { 3890 return (XON) super.insertRepetition(70, rep); 3891 } 3892 3893 3894 /** 3895 * Inserts a repetition of 3896 * IN2-70: "Insured Employer Organization Name and ID" at a specific index 3897 * 3898 * @param rep The repetition index (0-indexed) 3899 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3900 */ 3901 public XON insertIn270_InsuredEmployerOrganizationNameAndID(int rep) throws HL7Exception { 3902 return (XON) super.insertRepetition(70, rep); 3903 } 3904 3905 3906 /** 3907 * Removes a repetition of 3908 * IN2-70: "Insured Employer Organization Name and ID" at a specific index 3909 * 3910 * @param rep The repetition index (0-indexed) 3911 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3912 */ 3913 public XON removeInsuredEmployerOrganizationNameAndID(int rep) throws HL7Exception { 3914 return (XON) super.removeRepetition(70, rep); 3915 } 3916 3917 3918 /** 3919 * Removes a repetition of 3920 * IN2-70: "Insured Employer Organization Name and ID" at a specific index 3921 * 3922 * @param rep The repetition index (0-indexed) 3923 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3924 */ 3925 public XON removeIn270_InsuredEmployerOrganizationNameAndID(int rep) throws HL7Exception { 3926 return (XON) super.removeRepetition(70, rep); 3927 } 3928 3929 3930 3931 /** 3932 * Returns all repetitions of Race (IN2-71). 3933 */ 3934 public CE[] getRace() { 3935 CE[] retVal = this.getTypedField(71, new CE[0]); 3936 return retVal; 3937 } 3938 3939 3940 /** 3941 * Returns all repetitions of Race (IN2-71). 3942 */ 3943 public CE[] getIn271_Race() { 3944 CE[] retVal = this.getTypedField(71, new CE[0]); 3945 return retVal; 3946 } 3947 3948 3949 /** 3950 * Returns a count of the current number of repetitions of Race (IN2-71). 3951 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3952 * it will return zero. 3953 */ 3954 public int getRaceReps() { 3955 return this.getReps(71); 3956 } 3957 3958 3959 /** 3960 * Returns a specific repetition of 3961 * IN2-71: "Race" - creates it if necessary 3962 * 3963 * @param rep The repetition index (0-indexed) 3964 */ 3965 public CE getRace(int rep) { 3966 CE retVal = this.getTypedField(71, rep); 3967 return retVal; 3968 } 3969 3970 /** 3971 * Returns a specific repetition of 3972 * IN2-71: "Race" - creates it if necessary 3973 * 3974 * @param rep The repetition index (0-indexed) 3975 */ 3976 public CE getIn271_Race(int rep) { 3977 CE retVal = this.getTypedField(71, rep); 3978 return retVal; 3979 } 3980 3981 /** 3982 * Returns a count of the current number of repetitions of Race (IN2-71). 3983 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3984 * it will return zero. 3985 */ 3986 public int getIn271_RaceReps() { 3987 return this.getReps(71); 3988 } 3989 3990 3991 /** 3992 * Inserts a repetition of 3993 * IN2-71: "Race" at a specific index 3994 * 3995 * @param rep The repetition index (0-indexed) 3996 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3997 */ 3998 public CE insertRace(int rep) throws HL7Exception { 3999 return (CE) super.insertRepetition(71, rep); 4000 } 4001 4002 4003 /** 4004 * Inserts a repetition of 4005 * IN2-71: "Race" at a specific index 4006 * 4007 * @param rep The repetition index (0-indexed) 4008 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 4009 */ 4010 public CE insertIn271_Race(int rep) throws HL7Exception { 4011 return (CE) super.insertRepetition(71, rep); 4012 } 4013 4014 4015 /** 4016 * Removes a repetition of 4017 * IN2-71: "Race" at a specific index 4018 * 4019 * @param rep The repetition index (0-indexed) 4020 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 4021 */ 4022 public CE removeRace(int rep) throws HL7Exception { 4023 return (CE) super.removeRepetition(71, rep); 4024 } 4025 4026 4027 /** 4028 * Removes a repetition of 4029 * IN2-71: "Race" at a specific index 4030 * 4031 * @param rep The repetition index (0-indexed) 4032 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 4033 */ 4034 public CE removeIn271_Race(int rep) throws HL7Exception { 4035 return (CE) super.removeRepetition(71, rep); 4036 } 4037 4038 4039 4040 4041 /** 4042 * Returns 4043 * IN2-72: "CMS Patient_s Relationship to Insured" - creates it if necessary 4044 */ 4045 public CE getCMSPatientSRelationshipToInsured() { 4046 CE retVal = this.getTypedField(72, 0); 4047 return retVal; 4048 } 4049 4050 /** 4051 * Returns 4052 * IN2-72: "CMS Patient_s Relationship to Insured" - creates it if necessary 4053 */ 4054 public CE getIn272_CMSPatientSRelationshipToInsured() { 4055 CE retVal = this.getTypedField(72, 0); 4056 return retVal; 4057 } 4058 4059 4060 4061 4062 4063 /** {@inheritDoc} */ 4064 protected Type createNewTypeWithoutReflection(int field) { 4065 switch (field) { 4066 case 0: return new CX(getMessage()); 4067 case 1: return new ST(getMessage()); 4068 case 2: return new XCN(getMessage()); 4069 case 3: return new IS(getMessage(), new Integer( 139 )); 4070 case 4: return new IS(getMessage(), new Integer( 137 )); 4071 case 5: return new ST(getMessage()); 4072 case 6: return new XPN(getMessage()); 4073 case 7: return new ST(getMessage()); 4074 case 8: return new XPN(getMessage()); 4075 case 9: return new ST(getMessage()); 4076 case 10: return new CE(getMessage()); 4077 case 11: return new ST(getMessage()); 4078 case 12: return new ST(getMessage()); 4079 case 13: return new IS(getMessage(), new Integer( 140 )); 4080 case 14: return new IS(getMessage(), new Integer( 141 )); 4081 case 15: return new IS(getMessage(), new Integer( 142 )); 4082 case 16: return new DT(getMessage()); 4083 case 17: return new ID(getMessage(), new Integer( 136 )); 4084 case 18: return new ID(getMessage(), new Integer( 136 )); 4085 case 19: return new ID(getMessage(), new Integer( 136 )); 4086 case 20: return new ST(getMessage()); 4087 case 21: return new XPN(getMessage()); 4088 case 22: return new ST(getMessage()); 4089 case 23: return new IS(getMessage(), new Integer( 143 )); 4090 case 24: return new CX(getMessage()); 4091 case 25: return new CX(getMessage()); 4092 case 26: return new IS(getMessage(), new Integer( 144 )); 4093 case 27: return new RMC(getMessage()); 4094 case 28: return new PTA(getMessage()); 4095 case 29: return new DDI(getMessage()); 4096 case 30: return new IS(getMessage(), new Integer( 223 )); 4097 case 31: return new IS(getMessage(), new Integer( 9 )); 4098 case 32: return new CE(getMessage()); 4099 case 33: return new CE(getMessage()); 4100 case 34: return new IS(getMessage(), new Integer( 220 )); 4101 case 35: return new CE(getMessage()); 4102 case 36: return new ID(getMessage(), new Integer( 136 )); 4103 case 37: return new IS(getMessage(), new Integer( 231 )); 4104 case 38: return new CE(getMessage()); 4105 case 39: return new XPN(getMessage()); 4106 case 40: return new CE(getMessage()); 4107 case 41: return new CE(getMessage()); 4108 case 42: return new CE(getMessage()); 4109 case 43: return new DT(getMessage()); 4110 case 44: return new DT(getMessage()); 4111 case 45: return new ST(getMessage()); 4112 case 46: return new JCC(getMessage()); 4113 case 47: return new IS(getMessage(), new Integer( 311 )); 4114 case 48: return new XPN(getMessage()); 4115 case 49: return new XTN(getMessage()); 4116 case 50: return new IS(getMessage(), new Integer( 222 )); 4117 case 51: return new XPN(getMessage()); 4118 case 52: return new XTN(getMessage()); 4119 case 53: return new IS(getMessage(), new Integer( 222 )); 4120 case 54: return new DT(getMessage()); 4121 case 55: return new DT(getMessage()); 4122 case 56: return new IS(getMessage(), new Integer( 232 )); 4123 case 57: return new XTN(getMessage()); 4124 case 58: return new IS(getMessage(), new Integer( 312 )); 4125 case 59: return new IS(getMessage(), new Integer( 313 )); 4126 case 60: return new CX(getMessage()); 4127 case 61: return new CE(getMessage()); 4128 case 62: return new XTN(getMessage()); 4129 case 63: return new XTN(getMessage()); 4130 case 64: return new CE(getMessage()); 4131 case 65: return new ID(getMessage(), new Integer( 136 )); 4132 case 66: return new ID(getMessage(), new Integer( 136 )); 4133 case 67: return new ID(getMessage(), new Integer( 136 )); 4134 case 68: return new XON(getMessage()); 4135 case 69: return new XON(getMessage()); 4136 case 70: return new CE(getMessage()); 4137 case 71: return new CE(getMessage()); 4138 default: return null; 4139 } 4140 } 4141 4142 4143} 4144