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.v24.segment; 035 036// import ca.uhn.hl7v2.model.v24.group.*; 037import ca.uhn.hl7v2.model.v24.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 *<p>Represents an HL7 GT1 message segment (Guarantor). 049 * This segment has the following fields:</p> 050 * <ul> 051 * <li>GT1-1: Set ID - GT1 (SI) <b> </b> 052 * <li>GT1-2: Guarantor Number (CX) <b>optional repeating</b> 053 * <li>GT1-3: Guarantor Name (XPN) <b> repeating</b> 054 * <li>GT1-4: Guarantor Spouse Name (XPN) <b>optional repeating</b> 055 * <li>GT1-5: Guarantor Address (XAD) <b>optional repeating</b> 056 * <li>GT1-6: Guarantor Ph Num - Home (XTN) <b>optional repeating</b> 057 * <li>GT1-7: Guarantor Ph Num - Business (XTN) <b>optional repeating</b> 058 * <li>GT1-8: Guarantor Date/Time Of Birth (TS) <b>optional </b> 059 * <li>GT1-9: Guarantor Administrative Sex (IS) <b>optional </b> 060 * <li>GT1-10: Guarantor Type (IS) <b>optional </b> 061 * <li>GT1-11: Guarantor Relationship (CE) <b>optional </b> 062 * <li>GT1-12: Guarantor SSN (ST) <b>optional </b> 063 * <li>GT1-13: Guarantor Date - Begin (DT) <b>optional </b> 064 * <li>GT1-14: Guarantor Date - End (DT) <b>optional </b> 065 * <li>GT1-15: Guarantor Priority (NM) <b>optional </b> 066 * <li>GT1-16: Guarantor Employer Name (XPN) <b>optional repeating</b> 067 * <li>GT1-17: Guarantor Employer Address (XAD) <b>optional repeating</b> 068 * <li>GT1-18: Guarantor Employer Phone Number (XTN) <b>optional repeating</b> 069 * <li>GT1-19: Guarantor Employee ID Number (CX) <b>optional repeating</b> 070 * <li>GT1-20: Guarantor Employment Status (IS) <b>optional </b> 071 * <li>GT1-21: Guarantor Organization Name (XON) <b>optional repeating</b> 072 * <li>GT1-22: Guarantor Billing Hold Flag (ID) <b>optional </b> 073 * <li>GT1-23: Guarantor Credit Rating Code (CE) <b>optional </b> 074 * <li>GT1-24: Guarantor Death Date And Time (TS) <b>optional </b> 075 * <li>GT1-25: Guarantor Death Flag (ID) <b>optional </b> 076 * <li>GT1-26: Guarantor Charge Adjustment Code (CE) <b>optional </b> 077 * <li>GT1-27: Guarantor Household Annual Income (CP) <b>optional </b> 078 * <li>GT1-28: Guarantor Household Size (NM) <b>optional </b> 079 * <li>GT1-29: Guarantor Employer ID Number (CX) <b>optional repeating</b> 080 * <li>GT1-30: Guarantor Marital Status Code (CE) <b>optional </b> 081 * <li>GT1-31: Guarantor Hire Effective Date (DT) <b>optional </b> 082 * <li>GT1-32: Employment Stop Date (DT) <b>optional </b> 083 * <li>GT1-33: Living Dependency (IS) <b>optional </b> 084 * <li>GT1-34: Ambulatory Status (IS) <b>optional repeating</b> 085 * <li>GT1-35: Citizenship (CE) <b>optional repeating</b> 086 * <li>GT1-36: Primary Language (CE) <b>optional </b> 087 * <li>GT1-37: Living Arrangement (IS) <b>optional </b> 088 * <li>GT1-38: Publicity Code (CE) <b>optional </b> 089 * <li>GT1-39: Protection Indicator (ID) <b>optional </b> 090 * <li>GT1-40: Student Indicator (IS) <b>optional </b> 091 * <li>GT1-41: Religion (CE) <b>optional </b> 092 * <li>GT1-42: Mother's Maiden Name (XPN) <b>optional repeating</b> 093 * <li>GT1-43: Nationality (CE) <b>optional </b> 094 * <li>GT1-44: Ethnic Group (CE) <b>optional repeating</b> 095 * <li>GT1-45: Contact Person's Name (XPN) <b>optional repeating</b> 096 * <li>GT1-46: Contact Person's Telephone Number (XTN) <b>optional repeating</b> 097 * <li>GT1-47: Contact Reason (CE) <b>optional </b> 098 * <li>GT1-48: Contact Relationship (IS) <b>optional </b> 099 * <li>GT1-49: Job Title (ST) <b>optional </b> 100 * <li>GT1-50: Job Code/Class (JCC) <b>optional </b> 101 * <li>GT1-51: Guarantor Employer's Organization Name (XON) <b>optional repeating</b> 102 * <li>GT1-52: Handicap (IS) <b>optional </b> 103 * <li>GT1-53: Job Status (IS) <b>optional </b> 104 * <li>GT1-54: Guarantor Financial Class (FC) <b>optional </b> 105 * <li>GT1-55: Guarantor Race (CE) <b>optional repeating</b> 106 * </ul> 107 */ 108@SuppressWarnings("unused") 109public class GT1 extends AbstractSegment { 110 111 /** 112 * Creates a new GT1 segment 113 */ 114 public GT1(Group parent, ModelClassFactory factory) { 115 super(parent, factory); 116 init(factory); 117 } 118 119 private void init(ModelClassFactory factory) { 120 try { 121 this.add(SI.class, true, 1, 4, new Object[]{ getMessage() }, "Set ID - GT1"); 122 this.add(CX.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Number"); 123 this.add(XPN.class, true, 0, 250, new Object[]{ getMessage() }, "Guarantor Name"); 124 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Spouse Name"); 125 this.add(XAD.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Address"); 126 this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Ph Num - Home"); 127 this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Ph Num - Business"); 128 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Guarantor Date/Time Of Birth"); 129 this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(1) }, "Guarantor Administrative Sex"); 130 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(68) }, "Guarantor Type"); 131 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Guarantor Relationship"); 132 this.add(ST.class, false, 1, 11, new Object[]{ getMessage() }, "Guarantor SSN"); 133 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Guarantor Date - Begin"); 134 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Guarantor Date - End"); 135 this.add(NM.class, false, 1, 2, new Object[]{ getMessage() }, "Guarantor Priority"); 136 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Employer Name"); 137 this.add(XAD.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Employer Address"); 138 this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Employer Phone Number"); 139 this.add(CX.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Employee ID Number"); 140 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(66) }, "Guarantor Employment Status"); 141 this.add(XON.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Organization Name"); 142 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Guarantor Billing Hold Flag"); 143 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Guarantor Credit Rating Code"); 144 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Guarantor Death Date And Time"); 145 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Guarantor Death Flag"); 146 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Guarantor Charge Adjustment Code"); 147 this.add(CP.class, false, 1, 10, new Object[]{ getMessage() }, "Guarantor Household Annual Income"); 148 this.add(NM.class, false, 1, 3, new Object[]{ getMessage() }, "Guarantor Household Size"); 149 this.add(CX.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Employer ID Number"); 150 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Guarantor Marital Status Code"); 151 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Guarantor Hire Effective Date"); 152 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Employment Stop Date"); 153 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(223) }, "Living Dependency"); 154 this.add(IS.class, false, 0, 2, new Object[]{ getMessage(), new Integer(9) }, "Ambulatory Status"); 155 this.add(CE.class, false, 0, 250, new Object[]{ getMessage() }, "Citizenship"); 156 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Primary Language"); 157 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(220) }, "Living Arrangement"); 158 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Publicity Code"); 159 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Protection Indicator"); 160 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(231) }, "Student Indicator"); 161 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Religion"); 162 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Mother's Maiden Name"); 163 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Nationality"); 164 this.add(CE.class, false, 0, 250, new Object[]{ getMessage() }, "Ethnic Group"); 165 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Contact Person's Name"); 166 this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Contact Person's Telephone Number"); 167 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Contact Reason"); 168 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(63) }, "Contact Relationship"); 169 this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Job Title"); 170 this.add(JCC.class, false, 1, 20, new Object[]{ getMessage() }, "Job Code/Class"); 171 this.add(XON.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Employer's Organization Name"); 172 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(295) }, "Handicap"); 173 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(311) }, "Job Status"); 174 this.add(FC.class, false, 1, 50, new Object[]{ getMessage() }, "Guarantor Financial Class"); 175 this.add(CE.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Race"); 176 } catch(HL7Exception e) { 177 log.error("Unexpected error creating GT1 - this is probably a bug in the source code generator.", e); 178 } 179 } 180 181 182 183 /** 184 * Returns 185 * GT1-1: "Set ID - GT1" - creates it if necessary 186 */ 187 public SI getSetIDGT1() { 188 SI retVal = this.getTypedField(1, 0); 189 return retVal; 190 } 191 192 /** 193 * Returns 194 * GT1-1: "Set ID - GT1" - creates it if necessary 195 */ 196 public SI getGt11_SetIDGT1() { 197 SI retVal = this.getTypedField(1, 0); 198 return retVal; 199 } 200 201 202 /** 203 * Returns all repetitions of Guarantor Number (GT1-2). 204 */ 205 public CX[] getGuarantorNumber() { 206 CX[] retVal = this.getTypedField(2, new CX[0]); 207 return retVal; 208 } 209 210 211 /** 212 * Returns all repetitions of Guarantor Number (GT1-2). 213 */ 214 public CX[] getGt12_GuarantorNumber() { 215 CX[] retVal = this.getTypedField(2, new CX[0]); 216 return retVal; 217 } 218 219 220 /** 221 * Returns a count of the current number of repetitions of Guarantor Number (GT1-2). 222 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 223 * it will return zero. 224 */ 225 public int getGuarantorNumberReps() { 226 return this.getReps(2); 227 } 228 229 230 /** 231 * Returns a specific repetition of 232 * GT1-2: "Guarantor Number" - creates it if necessary 233 * 234 * @param rep The repetition index (0-indexed) 235 */ 236 public CX getGuarantorNumber(int rep) { 237 CX retVal = this.getTypedField(2, rep); 238 return retVal; 239 } 240 241 /** 242 * Returns a specific repetition of 243 * GT1-2: "Guarantor Number" - creates it if necessary 244 * 245 * @param rep The repetition index (0-indexed) 246 */ 247 public CX getGt12_GuarantorNumber(int rep) { 248 CX retVal = this.getTypedField(2, rep); 249 return retVal; 250 } 251 252 /** 253 * Returns a count of the current number of repetitions of Guarantor Number (GT1-2). 254 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 255 * it will return zero. 256 */ 257 public int getGt12_GuarantorNumberReps() { 258 return this.getReps(2); 259 } 260 261 262 /** 263 * Inserts a repetition of 264 * GT1-2: "Guarantor Number" at a specific index 265 * 266 * @param rep The repetition index (0-indexed) 267 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 268 */ 269 public CX insertGuarantorNumber(int rep) throws HL7Exception { 270 return (CX) super.insertRepetition(2, rep); 271 } 272 273 274 /** 275 * Inserts a repetition of 276 * GT1-2: "Guarantor Number" at a specific index 277 * 278 * @param rep The repetition index (0-indexed) 279 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 280 */ 281 public CX insertGt12_GuarantorNumber(int rep) throws HL7Exception { 282 return (CX) super.insertRepetition(2, rep); 283 } 284 285 286 /** 287 * Removes a repetition of 288 * GT1-2: "Guarantor Number" at a specific index 289 * 290 * @param rep The repetition index (0-indexed) 291 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 292 */ 293 public CX removeGuarantorNumber(int rep) throws HL7Exception { 294 return (CX) super.removeRepetition(2, rep); 295 } 296 297 298 /** 299 * Removes a repetition of 300 * GT1-2: "Guarantor Number" at a specific index 301 * 302 * @param rep The repetition index (0-indexed) 303 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 304 */ 305 public CX removeGt12_GuarantorNumber(int rep) throws HL7Exception { 306 return (CX) super.removeRepetition(2, rep); 307 } 308 309 310 311 /** 312 * Returns all repetitions of Guarantor Name (GT1-3). 313 */ 314 public XPN[] getGuarantorName() { 315 XPN[] retVal = this.getTypedField(3, new XPN[0]); 316 return retVal; 317 } 318 319 320 /** 321 * Returns all repetitions of Guarantor Name (GT1-3). 322 */ 323 public XPN[] getGt13_GuarantorName() { 324 XPN[] retVal = this.getTypedField(3, new XPN[0]); 325 return retVal; 326 } 327 328 329 /** 330 * Returns a count of the current number of repetitions of Guarantor Name (GT1-3). 331 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 332 * it will return zero. 333 */ 334 public int getGuarantorNameReps() { 335 return this.getReps(3); 336 } 337 338 339 /** 340 * Returns a specific repetition of 341 * GT1-3: "Guarantor Name" - creates it if necessary 342 * 343 * @param rep The repetition index (0-indexed) 344 */ 345 public XPN getGuarantorName(int rep) { 346 XPN retVal = this.getTypedField(3, rep); 347 return retVal; 348 } 349 350 /** 351 * Returns a specific repetition of 352 * GT1-3: "Guarantor Name" - creates it if necessary 353 * 354 * @param rep The repetition index (0-indexed) 355 */ 356 public XPN getGt13_GuarantorName(int rep) { 357 XPN retVal = this.getTypedField(3, rep); 358 return retVal; 359 } 360 361 /** 362 * Returns a count of the current number of repetitions of Guarantor Name (GT1-3). 363 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 364 * it will return zero. 365 */ 366 public int getGt13_GuarantorNameReps() { 367 return this.getReps(3); 368 } 369 370 371 /** 372 * Inserts a repetition of 373 * GT1-3: "Guarantor Name" at a specific index 374 * 375 * @param rep The repetition index (0-indexed) 376 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 377 */ 378 public XPN insertGuarantorName(int rep) throws HL7Exception { 379 return (XPN) super.insertRepetition(3, rep); 380 } 381 382 383 /** 384 * Inserts a repetition of 385 * GT1-3: "Guarantor Name" at a specific index 386 * 387 * @param rep The repetition index (0-indexed) 388 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 389 */ 390 public XPN insertGt13_GuarantorName(int rep) throws HL7Exception { 391 return (XPN) super.insertRepetition(3, rep); 392 } 393 394 395 /** 396 * Removes a repetition of 397 * GT1-3: "Guarantor Name" at a specific index 398 * 399 * @param rep The repetition index (0-indexed) 400 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 401 */ 402 public XPN removeGuarantorName(int rep) throws HL7Exception { 403 return (XPN) super.removeRepetition(3, rep); 404 } 405 406 407 /** 408 * Removes a repetition of 409 * GT1-3: "Guarantor Name" at a specific index 410 * 411 * @param rep The repetition index (0-indexed) 412 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 413 */ 414 public XPN removeGt13_GuarantorName(int rep) throws HL7Exception { 415 return (XPN) super.removeRepetition(3, rep); 416 } 417 418 419 420 /** 421 * Returns all repetitions of Guarantor Spouse Name (GT1-4). 422 */ 423 public XPN[] getGuarantorSpouseName() { 424 XPN[] retVal = this.getTypedField(4, new XPN[0]); 425 return retVal; 426 } 427 428 429 /** 430 * Returns all repetitions of Guarantor Spouse Name (GT1-4). 431 */ 432 public XPN[] getGt14_GuarantorSpouseName() { 433 XPN[] retVal = this.getTypedField(4, new XPN[0]); 434 return retVal; 435 } 436 437 438 /** 439 * Returns a count of the current number of repetitions of Guarantor Spouse Name (GT1-4). 440 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 441 * it will return zero. 442 */ 443 public int getGuarantorSpouseNameReps() { 444 return this.getReps(4); 445 } 446 447 448 /** 449 * Returns a specific repetition of 450 * GT1-4: "Guarantor Spouse Name" - creates it if necessary 451 * 452 * @param rep The repetition index (0-indexed) 453 */ 454 public XPN getGuarantorSpouseName(int rep) { 455 XPN retVal = this.getTypedField(4, rep); 456 return retVal; 457 } 458 459 /** 460 * Returns a specific repetition of 461 * GT1-4: "Guarantor Spouse Name" - creates it if necessary 462 * 463 * @param rep The repetition index (0-indexed) 464 */ 465 public XPN getGt14_GuarantorSpouseName(int rep) { 466 XPN retVal = this.getTypedField(4, rep); 467 return retVal; 468 } 469 470 /** 471 * Returns a count of the current number of repetitions of Guarantor Spouse Name (GT1-4). 472 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 473 * it will return zero. 474 */ 475 public int getGt14_GuarantorSpouseNameReps() { 476 return this.getReps(4); 477 } 478 479 480 /** 481 * Inserts a repetition of 482 * GT1-4: "Guarantor Spouse Name" at a specific index 483 * 484 * @param rep The repetition index (0-indexed) 485 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 486 */ 487 public XPN insertGuarantorSpouseName(int rep) throws HL7Exception { 488 return (XPN) super.insertRepetition(4, rep); 489 } 490 491 492 /** 493 * Inserts a repetition of 494 * GT1-4: "Guarantor Spouse Name" at a specific index 495 * 496 * @param rep The repetition index (0-indexed) 497 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 498 */ 499 public XPN insertGt14_GuarantorSpouseName(int rep) throws HL7Exception { 500 return (XPN) super.insertRepetition(4, rep); 501 } 502 503 504 /** 505 * Removes a repetition of 506 * GT1-4: "Guarantor Spouse Name" at a specific index 507 * 508 * @param rep The repetition index (0-indexed) 509 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 510 */ 511 public XPN removeGuarantorSpouseName(int rep) throws HL7Exception { 512 return (XPN) super.removeRepetition(4, rep); 513 } 514 515 516 /** 517 * Removes a repetition of 518 * GT1-4: "Guarantor Spouse Name" at a specific index 519 * 520 * @param rep The repetition index (0-indexed) 521 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 522 */ 523 public XPN removeGt14_GuarantorSpouseName(int rep) throws HL7Exception { 524 return (XPN) super.removeRepetition(4, rep); 525 } 526 527 528 529 /** 530 * Returns all repetitions of Guarantor Address (GT1-5). 531 */ 532 public XAD[] getGuarantorAddress() { 533 XAD[] retVal = this.getTypedField(5, new XAD[0]); 534 return retVal; 535 } 536 537 538 /** 539 * Returns all repetitions of Guarantor Address (GT1-5). 540 */ 541 public XAD[] getGt15_GuarantorAddress() { 542 XAD[] retVal = this.getTypedField(5, new XAD[0]); 543 return retVal; 544 } 545 546 547 /** 548 * Returns a count of the current number of repetitions of Guarantor Address (GT1-5). 549 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 550 * it will return zero. 551 */ 552 public int getGuarantorAddressReps() { 553 return this.getReps(5); 554 } 555 556 557 /** 558 * Returns a specific repetition of 559 * GT1-5: "Guarantor Address" - creates it if necessary 560 * 561 * @param rep The repetition index (0-indexed) 562 */ 563 public XAD getGuarantorAddress(int rep) { 564 XAD retVal = this.getTypedField(5, rep); 565 return retVal; 566 } 567 568 /** 569 * Returns a specific repetition of 570 * GT1-5: "Guarantor Address" - creates it if necessary 571 * 572 * @param rep The repetition index (0-indexed) 573 */ 574 public XAD getGt15_GuarantorAddress(int rep) { 575 XAD retVal = this.getTypedField(5, rep); 576 return retVal; 577 } 578 579 /** 580 * Returns a count of the current number of repetitions of Guarantor Address (GT1-5). 581 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 582 * it will return zero. 583 */ 584 public int getGt15_GuarantorAddressReps() { 585 return this.getReps(5); 586 } 587 588 589 /** 590 * Inserts a repetition of 591 * GT1-5: "Guarantor Address" at a specific index 592 * 593 * @param rep The repetition index (0-indexed) 594 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 595 */ 596 public XAD insertGuarantorAddress(int rep) throws HL7Exception { 597 return (XAD) super.insertRepetition(5, rep); 598 } 599 600 601 /** 602 * Inserts a repetition of 603 * GT1-5: "Guarantor Address" at a specific index 604 * 605 * @param rep The repetition index (0-indexed) 606 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 607 */ 608 public XAD insertGt15_GuarantorAddress(int rep) throws HL7Exception { 609 return (XAD) super.insertRepetition(5, rep); 610 } 611 612 613 /** 614 * Removes a repetition of 615 * GT1-5: "Guarantor Address" at a specific index 616 * 617 * @param rep The repetition index (0-indexed) 618 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 619 */ 620 public XAD removeGuarantorAddress(int rep) throws HL7Exception { 621 return (XAD) super.removeRepetition(5, rep); 622 } 623 624 625 /** 626 * Removes a repetition of 627 * GT1-5: "Guarantor Address" at a specific index 628 * 629 * @param rep The repetition index (0-indexed) 630 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 631 */ 632 public XAD removeGt15_GuarantorAddress(int rep) throws HL7Exception { 633 return (XAD) super.removeRepetition(5, rep); 634 } 635 636 637 638 /** 639 * Returns all repetitions of Guarantor Ph Num - Home (GT1-6). 640 */ 641 public XTN[] getGuarantorPhNumHome() { 642 XTN[] retVal = this.getTypedField(6, new XTN[0]); 643 return retVal; 644 } 645 646 647 /** 648 * Returns all repetitions of Guarantor Ph Num - Home (GT1-6). 649 */ 650 public XTN[] getGt16_GuarantorPhNumHome() { 651 XTN[] retVal = this.getTypedField(6, new XTN[0]); 652 return retVal; 653 } 654 655 656 /** 657 * Returns a count of the current number of repetitions of Guarantor Ph Num - Home (GT1-6). 658 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 659 * it will return zero. 660 */ 661 public int getGuarantorPhNumHomeReps() { 662 return this.getReps(6); 663 } 664 665 666 /** 667 * Returns a specific repetition of 668 * GT1-6: "Guarantor Ph Num - Home" - creates it if necessary 669 * 670 * @param rep The repetition index (0-indexed) 671 */ 672 public XTN getGuarantorPhNumHome(int rep) { 673 XTN retVal = this.getTypedField(6, rep); 674 return retVal; 675 } 676 677 /** 678 * Returns a specific repetition of 679 * GT1-6: "Guarantor Ph Num - Home" - creates it if necessary 680 * 681 * @param rep The repetition index (0-indexed) 682 */ 683 public XTN getGt16_GuarantorPhNumHome(int rep) { 684 XTN retVal = this.getTypedField(6, rep); 685 return retVal; 686 } 687 688 /** 689 * Returns a count of the current number of repetitions of Guarantor Ph Num - Home (GT1-6). 690 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 691 * it will return zero. 692 */ 693 public int getGt16_GuarantorPhNumHomeReps() { 694 return this.getReps(6); 695 } 696 697 698 /** 699 * Inserts a repetition of 700 * GT1-6: "Guarantor Ph Num - Home" at a specific index 701 * 702 * @param rep The repetition index (0-indexed) 703 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 704 */ 705 public XTN insertGuarantorPhNumHome(int rep) throws HL7Exception { 706 return (XTN) super.insertRepetition(6, rep); 707 } 708 709 710 /** 711 * Inserts a repetition of 712 * GT1-6: "Guarantor Ph Num - Home" at a specific index 713 * 714 * @param rep The repetition index (0-indexed) 715 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 716 */ 717 public XTN insertGt16_GuarantorPhNumHome(int rep) throws HL7Exception { 718 return (XTN) super.insertRepetition(6, rep); 719 } 720 721 722 /** 723 * Removes a repetition of 724 * GT1-6: "Guarantor Ph Num - Home" at a specific index 725 * 726 * @param rep The repetition index (0-indexed) 727 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 728 */ 729 public XTN removeGuarantorPhNumHome(int rep) throws HL7Exception { 730 return (XTN) super.removeRepetition(6, rep); 731 } 732 733 734 /** 735 * Removes a repetition of 736 * GT1-6: "Guarantor Ph Num - Home" at a specific index 737 * 738 * @param rep The repetition index (0-indexed) 739 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 740 */ 741 public XTN removeGt16_GuarantorPhNumHome(int rep) throws HL7Exception { 742 return (XTN) super.removeRepetition(6, rep); 743 } 744 745 746 747 /** 748 * Returns all repetitions of Guarantor Ph Num - Business (GT1-7). 749 */ 750 public XTN[] getGuarantorPhNumBusiness() { 751 XTN[] retVal = this.getTypedField(7, new XTN[0]); 752 return retVal; 753 } 754 755 756 /** 757 * Returns all repetitions of Guarantor Ph Num - Business (GT1-7). 758 */ 759 public XTN[] getGt17_GuarantorPhNumBusiness() { 760 XTN[] retVal = this.getTypedField(7, new XTN[0]); 761 return retVal; 762 } 763 764 765 /** 766 * Returns a count of the current number of repetitions of Guarantor Ph Num - Business (GT1-7). 767 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 768 * it will return zero. 769 */ 770 public int getGuarantorPhNumBusinessReps() { 771 return this.getReps(7); 772 } 773 774 775 /** 776 * Returns a specific repetition of 777 * GT1-7: "Guarantor Ph Num - Business" - creates it if necessary 778 * 779 * @param rep The repetition index (0-indexed) 780 */ 781 public XTN getGuarantorPhNumBusiness(int rep) { 782 XTN retVal = this.getTypedField(7, rep); 783 return retVal; 784 } 785 786 /** 787 * Returns a specific repetition of 788 * GT1-7: "Guarantor Ph Num - Business" - creates it if necessary 789 * 790 * @param rep The repetition index (0-indexed) 791 */ 792 public XTN getGt17_GuarantorPhNumBusiness(int rep) { 793 XTN retVal = this.getTypedField(7, rep); 794 return retVal; 795 } 796 797 /** 798 * Returns a count of the current number of repetitions of Guarantor Ph Num - Business (GT1-7). 799 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 800 * it will return zero. 801 */ 802 public int getGt17_GuarantorPhNumBusinessReps() { 803 return this.getReps(7); 804 } 805 806 807 /** 808 * Inserts a repetition of 809 * GT1-7: "Guarantor Ph Num - Business" at a specific index 810 * 811 * @param rep The repetition index (0-indexed) 812 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 813 */ 814 public XTN insertGuarantorPhNumBusiness(int rep) throws HL7Exception { 815 return (XTN) super.insertRepetition(7, rep); 816 } 817 818 819 /** 820 * Inserts a repetition of 821 * GT1-7: "Guarantor Ph Num - Business" at a specific index 822 * 823 * @param rep The repetition index (0-indexed) 824 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 825 */ 826 public XTN insertGt17_GuarantorPhNumBusiness(int rep) throws HL7Exception { 827 return (XTN) super.insertRepetition(7, rep); 828 } 829 830 831 /** 832 * Removes a repetition of 833 * GT1-7: "Guarantor Ph Num - Business" at a specific index 834 * 835 * @param rep The repetition index (0-indexed) 836 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 837 */ 838 public XTN removeGuarantorPhNumBusiness(int rep) throws HL7Exception { 839 return (XTN) super.removeRepetition(7, rep); 840 } 841 842 843 /** 844 * Removes a repetition of 845 * GT1-7: "Guarantor Ph Num - Business" at a specific index 846 * 847 * @param rep The repetition index (0-indexed) 848 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 849 */ 850 public XTN removeGt17_GuarantorPhNumBusiness(int rep) throws HL7Exception { 851 return (XTN) super.removeRepetition(7, rep); 852 } 853 854 855 856 857 /** 858 * Returns 859 * GT1-8: "Guarantor Date/Time Of Birth" - creates it if necessary 860 */ 861 public TS getGuarantorDateTimeOfBirth() { 862 TS retVal = this.getTypedField(8, 0); 863 return retVal; 864 } 865 866 /** 867 * Returns 868 * GT1-8: "Guarantor Date/Time Of Birth" - creates it if necessary 869 */ 870 public TS getGt18_GuarantorDateTimeOfBirth() { 871 TS retVal = this.getTypedField(8, 0); 872 return retVal; 873 } 874 875 876 877 /** 878 * Returns 879 * GT1-9: "Guarantor Administrative Sex" - creates it if necessary 880 */ 881 public IS getGuarantorAdministrativeSex() { 882 IS retVal = this.getTypedField(9, 0); 883 return retVal; 884 } 885 886 /** 887 * Returns 888 * GT1-9: "Guarantor Administrative Sex" - creates it if necessary 889 */ 890 public IS getGt19_GuarantorAdministrativeSex() { 891 IS retVal = this.getTypedField(9, 0); 892 return retVal; 893 } 894 895 896 897 /** 898 * Returns 899 * GT1-10: "Guarantor Type" - creates it if necessary 900 */ 901 public IS getGuarantorType() { 902 IS retVal = this.getTypedField(10, 0); 903 return retVal; 904 } 905 906 /** 907 * Returns 908 * GT1-10: "Guarantor Type" - creates it if necessary 909 */ 910 public IS getGt110_GuarantorType() { 911 IS retVal = this.getTypedField(10, 0); 912 return retVal; 913 } 914 915 916 917 /** 918 * Returns 919 * GT1-11: "Guarantor Relationship" - creates it if necessary 920 */ 921 public CE getGuarantorRelationship() { 922 CE retVal = this.getTypedField(11, 0); 923 return retVal; 924 } 925 926 /** 927 * Returns 928 * GT1-11: "Guarantor Relationship" - creates it if necessary 929 */ 930 public CE getGt111_GuarantorRelationship() { 931 CE retVal = this.getTypedField(11, 0); 932 return retVal; 933 } 934 935 936 937 /** 938 * Returns 939 * GT1-12: "Guarantor SSN" - creates it if necessary 940 */ 941 public ST getGuarantorSSN() { 942 ST retVal = this.getTypedField(12, 0); 943 return retVal; 944 } 945 946 /** 947 * Returns 948 * GT1-12: "Guarantor SSN" - creates it if necessary 949 */ 950 public ST getGt112_GuarantorSSN() { 951 ST retVal = this.getTypedField(12, 0); 952 return retVal; 953 } 954 955 956 957 /** 958 * Returns 959 * GT1-13: "Guarantor Date - Begin" - creates it if necessary 960 */ 961 public DT getGuarantorDateBegin() { 962 DT retVal = this.getTypedField(13, 0); 963 return retVal; 964 } 965 966 /** 967 * Returns 968 * GT1-13: "Guarantor Date - Begin" - creates it if necessary 969 */ 970 public DT getGt113_GuarantorDateBegin() { 971 DT retVal = this.getTypedField(13, 0); 972 return retVal; 973 } 974 975 976 977 /** 978 * Returns 979 * GT1-14: "Guarantor Date - End" - creates it if necessary 980 */ 981 public DT getGuarantorDateEnd() { 982 DT retVal = this.getTypedField(14, 0); 983 return retVal; 984 } 985 986 /** 987 * Returns 988 * GT1-14: "Guarantor Date - End" - creates it if necessary 989 */ 990 public DT getGt114_GuarantorDateEnd() { 991 DT retVal = this.getTypedField(14, 0); 992 return retVal; 993 } 994 995 996 997 /** 998 * Returns 999 * GT1-15: "Guarantor Priority" - creates it if necessary 1000 */ 1001 public NM getGuarantorPriority() { 1002 NM retVal = this.getTypedField(15, 0); 1003 return retVal; 1004 } 1005 1006 /** 1007 * Returns 1008 * GT1-15: "Guarantor Priority" - creates it if necessary 1009 */ 1010 public NM getGt115_GuarantorPriority() { 1011 NM retVal = this.getTypedField(15, 0); 1012 return retVal; 1013 } 1014 1015 1016 /** 1017 * Returns all repetitions of Guarantor Employer Name (GT1-16). 1018 */ 1019 public XPN[] getGuarantorEmployerName() { 1020 XPN[] retVal = this.getTypedField(16, new XPN[0]); 1021 return retVal; 1022 } 1023 1024 1025 /** 1026 * Returns all repetitions of Guarantor Employer Name (GT1-16). 1027 */ 1028 public XPN[] getGt116_GuarantorEmployerName() { 1029 XPN[] retVal = this.getTypedField(16, new XPN[0]); 1030 return retVal; 1031 } 1032 1033 1034 /** 1035 * Returns a count of the current number of repetitions of Guarantor Employer Name (GT1-16). 1036 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1037 * it will return zero. 1038 */ 1039 public int getGuarantorEmployerNameReps() { 1040 return this.getReps(16); 1041 } 1042 1043 1044 /** 1045 * Returns a specific repetition of 1046 * GT1-16: "Guarantor Employer Name" - creates it if necessary 1047 * 1048 * @param rep The repetition index (0-indexed) 1049 */ 1050 public XPN getGuarantorEmployerName(int rep) { 1051 XPN retVal = this.getTypedField(16, rep); 1052 return retVal; 1053 } 1054 1055 /** 1056 * Returns a specific repetition of 1057 * GT1-16: "Guarantor Employer Name" - creates it if necessary 1058 * 1059 * @param rep The repetition index (0-indexed) 1060 */ 1061 public XPN getGt116_GuarantorEmployerName(int rep) { 1062 XPN retVal = this.getTypedField(16, rep); 1063 return retVal; 1064 } 1065 1066 /** 1067 * Returns a count of the current number of repetitions of Guarantor Employer Name (GT1-16). 1068 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1069 * it will return zero. 1070 */ 1071 public int getGt116_GuarantorEmployerNameReps() { 1072 return this.getReps(16); 1073 } 1074 1075 1076 /** 1077 * Inserts a repetition of 1078 * GT1-16: "Guarantor Employer Name" at a specific index 1079 * 1080 * @param rep The repetition index (0-indexed) 1081 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1082 */ 1083 public XPN insertGuarantorEmployerName(int rep) throws HL7Exception { 1084 return (XPN) super.insertRepetition(16, rep); 1085 } 1086 1087 1088 /** 1089 * Inserts a repetition of 1090 * GT1-16: "Guarantor Employer Name" at a specific index 1091 * 1092 * @param rep The repetition index (0-indexed) 1093 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1094 */ 1095 public XPN insertGt116_GuarantorEmployerName(int rep) throws HL7Exception { 1096 return (XPN) super.insertRepetition(16, rep); 1097 } 1098 1099 1100 /** 1101 * Removes a repetition of 1102 * GT1-16: "Guarantor Employer Name" at a specific index 1103 * 1104 * @param rep The repetition index (0-indexed) 1105 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1106 */ 1107 public XPN removeGuarantorEmployerName(int rep) throws HL7Exception { 1108 return (XPN) super.removeRepetition(16, rep); 1109 } 1110 1111 1112 /** 1113 * Removes a repetition of 1114 * GT1-16: "Guarantor Employer Name" at a specific index 1115 * 1116 * @param rep The repetition index (0-indexed) 1117 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1118 */ 1119 public XPN removeGt116_GuarantorEmployerName(int rep) throws HL7Exception { 1120 return (XPN) super.removeRepetition(16, rep); 1121 } 1122 1123 1124 1125 /** 1126 * Returns all repetitions of Guarantor Employer Address (GT1-17). 1127 */ 1128 public XAD[] getGuarantorEmployerAddress() { 1129 XAD[] retVal = this.getTypedField(17, new XAD[0]); 1130 return retVal; 1131 } 1132 1133 1134 /** 1135 * Returns all repetitions of Guarantor Employer Address (GT1-17). 1136 */ 1137 public XAD[] getGt117_GuarantorEmployerAddress() { 1138 XAD[] retVal = this.getTypedField(17, new XAD[0]); 1139 return retVal; 1140 } 1141 1142 1143 /** 1144 * Returns a count of the current number of repetitions of Guarantor Employer Address (GT1-17). 1145 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1146 * it will return zero. 1147 */ 1148 public int getGuarantorEmployerAddressReps() { 1149 return this.getReps(17); 1150 } 1151 1152 1153 /** 1154 * Returns a specific repetition of 1155 * GT1-17: "Guarantor Employer Address" - creates it if necessary 1156 * 1157 * @param rep The repetition index (0-indexed) 1158 */ 1159 public XAD getGuarantorEmployerAddress(int rep) { 1160 XAD retVal = this.getTypedField(17, rep); 1161 return retVal; 1162 } 1163 1164 /** 1165 * Returns a specific repetition of 1166 * GT1-17: "Guarantor Employer Address" - creates it if necessary 1167 * 1168 * @param rep The repetition index (0-indexed) 1169 */ 1170 public XAD getGt117_GuarantorEmployerAddress(int rep) { 1171 XAD retVal = this.getTypedField(17, rep); 1172 return retVal; 1173 } 1174 1175 /** 1176 * Returns a count of the current number of repetitions of Guarantor Employer Address (GT1-17). 1177 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1178 * it will return zero. 1179 */ 1180 public int getGt117_GuarantorEmployerAddressReps() { 1181 return this.getReps(17); 1182 } 1183 1184 1185 /** 1186 * Inserts a repetition of 1187 * GT1-17: "Guarantor Employer Address" at a specific index 1188 * 1189 * @param rep The repetition index (0-indexed) 1190 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1191 */ 1192 public XAD insertGuarantorEmployerAddress(int rep) throws HL7Exception { 1193 return (XAD) super.insertRepetition(17, rep); 1194 } 1195 1196 1197 /** 1198 * Inserts a repetition of 1199 * GT1-17: "Guarantor Employer Address" at a specific index 1200 * 1201 * @param rep The repetition index (0-indexed) 1202 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1203 */ 1204 public XAD insertGt117_GuarantorEmployerAddress(int rep) throws HL7Exception { 1205 return (XAD) super.insertRepetition(17, rep); 1206 } 1207 1208 1209 /** 1210 * Removes a repetition of 1211 * GT1-17: "Guarantor Employer Address" at a specific index 1212 * 1213 * @param rep The repetition index (0-indexed) 1214 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1215 */ 1216 public XAD removeGuarantorEmployerAddress(int rep) throws HL7Exception { 1217 return (XAD) super.removeRepetition(17, rep); 1218 } 1219 1220 1221 /** 1222 * Removes a repetition of 1223 * GT1-17: "Guarantor Employer Address" at a specific index 1224 * 1225 * @param rep The repetition index (0-indexed) 1226 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1227 */ 1228 public XAD removeGt117_GuarantorEmployerAddress(int rep) throws HL7Exception { 1229 return (XAD) super.removeRepetition(17, rep); 1230 } 1231 1232 1233 1234 /** 1235 * Returns all repetitions of Guarantor Employer Phone Number (GT1-18). 1236 */ 1237 public XTN[] getGuarantorEmployerPhoneNumber() { 1238 XTN[] retVal = this.getTypedField(18, new XTN[0]); 1239 return retVal; 1240 } 1241 1242 1243 /** 1244 * Returns all repetitions of Guarantor Employer Phone Number (GT1-18). 1245 */ 1246 public XTN[] getGt118_GuarantorEmployerPhoneNumber() { 1247 XTN[] retVal = this.getTypedField(18, new XTN[0]); 1248 return retVal; 1249 } 1250 1251 1252 /** 1253 * Returns a count of the current number of repetitions of Guarantor Employer Phone Number (GT1-18). 1254 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1255 * it will return zero. 1256 */ 1257 public int getGuarantorEmployerPhoneNumberReps() { 1258 return this.getReps(18); 1259 } 1260 1261 1262 /** 1263 * Returns a specific repetition of 1264 * GT1-18: "Guarantor Employer Phone Number" - creates it if necessary 1265 * 1266 * @param rep The repetition index (0-indexed) 1267 */ 1268 public XTN getGuarantorEmployerPhoneNumber(int rep) { 1269 XTN retVal = this.getTypedField(18, rep); 1270 return retVal; 1271 } 1272 1273 /** 1274 * Returns a specific repetition of 1275 * GT1-18: "Guarantor Employer Phone Number" - creates it if necessary 1276 * 1277 * @param rep The repetition index (0-indexed) 1278 */ 1279 public XTN getGt118_GuarantorEmployerPhoneNumber(int rep) { 1280 XTN retVal = this.getTypedField(18, rep); 1281 return retVal; 1282 } 1283 1284 /** 1285 * Returns a count of the current number of repetitions of Guarantor Employer Phone Number (GT1-18). 1286 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1287 * it will return zero. 1288 */ 1289 public int getGt118_GuarantorEmployerPhoneNumberReps() { 1290 return this.getReps(18); 1291 } 1292 1293 1294 /** 1295 * Inserts a repetition of 1296 * GT1-18: "Guarantor Employer Phone Number" at a specific index 1297 * 1298 * @param rep The repetition index (0-indexed) 1299 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1300 */ 1301 public XTN insertGuarantorEmployerPhoneNumber(int rep) throws HL7Exception { 1302 return (XTN) super.insertRepetition(18, rep); 1303 } 1304 1305 1306 /** 1307 * Inserts a repetition of 1308 * GT1-18: "Guarantor Employer Phone Number" at a specific index 1309 * 1310 * @param rep The repetition index (0-indexed) 1311 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1312 */ 1313 public XTN insertGt118_GuarantorEmployerPhoneNumber(int rep) throws HL7Exception { 1314 return (XTN) super.insertRepetition(18, rep); 1315 } 1316 1317 1318 /** 1319 * Removes a repetition of 1320 * GT1-18: "Guarantor Employer Phone Number" at a specific index 1321 * 1322 * @param rep The repetition index (0-indexed) 1323 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1324 */ 1325 public XTN removeGuarantorEmployerPhoneNumber(int rep) throws HL7Exception { 1326 return (XTN) super.removeRepetition(18, rep); 1327 } 1328 1329 1330 /** 1331 * Removes a repetition of 1332 * GT1-18: "Guarantor Employer Phone Number" at a specific index 1333 * 1334 * @param rep The repetition index (0-indexed) 1335 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1336 */ 1337 public XTN removeGt118_GuarantorEmployerPhoneNumber(int rep) throws HL7Exception { 1338 return (XTN) super.removeRepetition(18, rep); 1339 } 1340 1341 1342 1343 /** 1344 * Returns all repetitions of Guarantor Employee ID Number (GT1-19). 1345 */ 1346 public CX[] getGuarantorEmployeeIDNumber() { 1347 CX[] retVal = this.getTypedField(19, new CX[0]); 1348 return retVal; 1349 } 1350 1351 1352 /** 1353 * Returns all repetitions of Guarantor Employee ID Number (GT1-19). 1354 */ 1355 public CX[] getGt119_GuarantorEmployeeIDNumber() { 1356 CX[] retVal = this.getTypedField(19, new CX[0]); 1357 return retVal; 1358 } 1359 1360 1361 /** 1362 * Returns a count of the current number of repetitions of Guarantor Employee ID Number (GT1-19). 1363 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1364 * it will return zero. 1365 */ 1366 public int getGuarantorEmployeeIDNumberReps() { 1367 return this.getReps(19); 1368 } 1369 1370 1371 /** 1372 * Returns a specific repetition of 1373 * GT1-19: "Guarantor Employee ID Number" - creates it if necessary 1374 * 1375 * @param rep The repetition index (0-indexed) 1376 */ 1377 public CX getGuarantorEmployeeIDNumber(int rep) { 1378 CX retVal = this.getTypedField(19, rep); 1379 return retVal; 1380 } 1381 1382 /** 1383 * Returns a specific repetition of 1384 * GT1-19: "Guarantor Employee ID Number" - creates it if necessary 1385 * 1386 * @param rep The repetition index (0-indexed) 1387 */ 1388 public CX getGt119_GuarantorEmployeeIDNumber(int rep) { 1389 CX retVal = this.getTypedField(19, rep); 1390 return retVal; 1391 } 1392 1393 /** 1394 * Returns a count of the current number of repetitions of Guarantor Employee ID Number (GT1-19). 1395 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1396 * it will return zero. 1397 */ 1398 public int getGt119_GuarantorEmployeeIDNumberReps() { 1399 return this.getReps(19); 1400 } 1401 1402 1403 /** 1404 * Inserts a repetition of 1405 * GT1-19: "Guarantor Employee ID Number" at a specific index 1406 * 1407 * @param rep The repetition index (0-indexed) 1408 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1409 */ 1410 public CX insertGuarantorEmployeeIDNumber(int rep) throws HL7Exception { 1411 return (CX) super.insertRepetition(19, rep); 1412 } 1413 1414 1415 /** 1416 * Inserts a repetition of 1417 * GT1-19: "Guarantor Employee ID Number" at a specific index 1418 * 1419 * @param rep The repetition index (0-indexed) 1420 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1421 */ 1422 public CX insertGt119_GuarantorEmployeeIDNumber(int rep) throws HL7Exception { 1423 return (CX) super.insertRepetition(19, rep); 1424 } 1425 1426 1427 /** 1428 * Removes a repetition of 1429 * GT1-19: "Guarantor Employee ID Number" at a specific index 1430 * 1431 * @param rep The repetition index (0-indexed) 1432 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1433 */ 1434 public CX removeGuarantorEmployeeIDNumber(int rep) throws HL7Exception { 1435 return (CX) super.removeRepetition(19, rep); 1436 } 1437 1438 1439 /** 1440 * Removes a repetition of 1441 * GT1-19: "Guarantor Employee ID Number" at a specific index 1442 * 1443 * @param rep The repetition index (0-indexed) 1444 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1445 */ 1446 public CX removeGt119_GuarantorEmployeeIDNumber(int rep) throws HL7Exception { 1447 return (CX) super.removeRepetition(19, rep); 1448 } 1449 1450 1451 1452 1453 /** 1454 * Returns 1455 * GT1-20: "Guarantor Employment Status" - creates it if necessary 1456 */ 1457 public IS getGuarantorEmploymentStatus() { 1458 IS retVal = this.getTypedField(20, 0); 1459 return retVal; 1460 } 1461 1462 /** 1463 * Returns 1464 * GT1-20: "Guarantor Employment Status" - creates it if necessary 1465 */ 1466 public IS getGt120_GuarantorEmploymentStatus() { 1467 IS retVal = this.getTypedField(20, 0); 1468 return retVal; 1469 } 1470 1471 1472 /** 1473 * Returns all repetitions of Guarantor Organization Name (GT1-21). 1474 */ 1475 public XON[] getGuarantorOrganizationName() { 1476 XON[] retVal = this.getTypedField(21, new XON[0]); 1477 return retVal; 1478 } 1479 1480 1481 /** 1482 * Returns all repetitions of Guarantor Organization Name (GT1-21). 1483 */ 1484 public XON[] getGt121_GuarantorOrganizationName() { 1485 XON[] retVal = this.getTypedField(21, new XON[0]); 1486 return retVal; 1487 } 1488 1489 1490 /** 1491 * Returns a count of the current number of repetitions of Guarantor Organization Name (GT1-21). 1492 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1493 * it will return zero. 1494 */ 1495 public int getGuarantorOrganizationNameReps() { 1496 return this.getReps(21); 1497 } 1498 1499 1500 /** 1501 * Returns a specific repetition of 1502 * GT1-21: "Guarantor Organization Name" - creates it if necessary 1503 * 1504 * @param rep The repetition index (0-indexed) 1505 */ 1506 public XON getGuarantorOrganizationName(int rep) { 1507 XON retVal = this.getTypedField(21, rep); 1508 return retVal; 1509 } 1510 1511 /** 1512 * Returns a specific repetition of 1513 * GT1-21: "Guarantor Organization Name" - creates it if necessary 1514 * 1515 * @param rep The repetition index (0-indexed) 1516 */ 1517 public XON getGt121_GuarantorOrganizationName(int rep) { 1518 XON retVal = this.getTypedField(21, rep); 1519 return retVal; 1520 } 1521 1522 /** 1523 * Returns a count of the current number of repetitions of Guarantor Organization Name (GT1-21). 1524 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1525 * it will return zero. 1526 */ 1527 public int getGt121_GuarantorOrganizationNameReps() { 1528 return this.getReps(21); 1529 } 1530 1531 1532 /** 1533 * Inserts a repetition of 1534 * GT1-21: "Guarantor Organization Name" at a specific index 1535 * 1536 * @param rep The repetition index (0-indexed) 1537 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1538 */ 1539 public XON insertGuarantorOrganizationName(int rep) throws HL7Exception { 1540 return (XON) super.insertRepetition(21, rep); 1541 } 1542 1543 1544 /** 1545 * Inserts a repetition of 1546 * GT1-21: "Guarantor Organization Name" at a specific index 1547 * 1548 * @param rep The repetition index (0-indexed) 1549 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1550 */ 1551 public XON insertGt121_GuarantorOrganizationName(int rep) throws HL7Exception { 1552 return (XON) super.insertRepetition(21, rep); 1553 } 1554 1555 1556 /** 1557 * Removes a repetition of 1558 * GT1-21: "Guarantor Organization Name" at a specific index 1559 * 1560 * @param rep The repetition index (0-indexed) 1561 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1562 */ 1563 public XON removeGuarantorOrganizationName(int rep) throws HL7Exception { 1564 return (XON) super.removeRepetition(21, rep); 1565 } 1566 1567 1568 /** 1569 * Removes a repetition of 1570 * GT1-21: "Guarantor Organization Name" at a specific index 1571 * 1572 * @param rep The repetition index (0-indexed) 1573 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1574 */ 1575 public XON removeGt121_GuarantorOrganizationName(int rep) throws HL7Exception { 1576 return (XON) super.removeRepetition(21, rep); 1577 } 1578 1579 1580 1581 1582 /** 1583 * Returns 1584 * GT1-22: "Guarantor Billing Hold Flag" - creates it if necessary 1585 */ 1586 public ID getGuarantorBillingHoldFlag() { 1587 ID retVal = this.getTypedField(22, 0); 1588 return retVal; 1589 } 1590 1591 /** 1592 * Returns 1593 * GT1-22: "Guarantor Billing Hold Flag" - creates it if necessary 1594 */ 1595 public ID getGt122_GuarantorBillingHoldFlag() { 1596 ID retVal = this.getTypedField(22, 0); 1597 return retVal; 1598 } 1599 1600 1601 1602 /** 1603 * Returns 1604 * GT1-23: "Guarantor Credit Rating Code" - creates it if necessary 1605 */ 1606 public CE getGuarantorCreditRatingCode() { 1607 CE retVal = this.getTypedField(23, 0); 1608 return retVal; 1609 } 1610 1611 /** 1612 * Returns 1613 * GT1-23: "Guarantor Credit Rating Code" - creates it if necessary 1614 */ 1615 public CE getGt123_GuarantorCreditRatingCode() { 1616 CE retVal = this.getTypedField(23, 0); 1617 return retVal; 1618 } 1619 1620 1621 1622 /** 1623 * Returns 1624 * GT1-24: "Guarantor Death Date And Time" - creates it if necessary 1625 */ 1626 public TS getGuarantorDeathDateAndTime() { 1627 TS retVal = this.getTypedField(24, 0); 1628 return retVal; 1629 } 1630 1631 /** 1632 * Returns 1633 * GT1-24: "Guarantor Death Date And Time" - creates it if necessary 1634 */ 1635 public TS getGt124_GuarantorDeathDateAndTime() { 1636 TS retVal = this.getTypedField(24, 0); 1637 return retVal; 1638 } 1639 1640 1641 1642 /** 1643 * Returns 1644 * GT1-25: "Guarantor Death Flag" - creates it if necessary 1645 */ 1646 public ID getGuarantorDeathFlag() { 1647 ID retVal = this.getTypedField(25, 0); 1648 return retVal; 1649 } 1650 1651 /** 1652 * Returns 1653 * GT1-25: "Guarantor Death Flag" - creates it if necessary 1654 */ 1655 public ID getGt125_GuarantorDeathFlag() { 1656 ID retVal = this.getTypedField(25, 0); 1657 return retVal; 1658 } 1659 1660 1661 1662 /** 1663 * Returns 1664 * GT1-26: "Guarantor Charge Adjustment Code" - creates it if necessary 1665 */ 1666 public CE getGuarantorChargeAdjustmentCode() { 1667 CE retVal = this.getTypedField(26, 0); 1668 return retVal; 1669 } 1670 1671 /** 1672 * Returns 1673 * GT1-26: "Guarantor Charge Adjustment Code" - creates it if necessary 1674 */ 1675 public CE getGt126_GuarantorChargeAdjustmentCode() { 1676 CE retVal = this.getTypedField(26, 0); 1677 return retVal; 1678 } 1679 1680 1681 1682 /** 1683 * Returns 1684 * GT1-27: "Guarantor Household Annual Income" - creates it if necessary 1685 */ 1686 public CP getGuarantorHouseholdAnnualIncome() { 1687 CP retVal = this.getTypedField(27, 0); 1688 return retVal; 1689 } 1690 1691 /** 1692 * Returns 1693 * GT1-27: "Guarantor Household Annual Income" - creates it if necessary 1694 */ 1695 public CP getGt127_GuarantorHouseholdAnnualIncome() { 1696 CP retVal = this.getTypedField(27, 0); 1697 return retVal; 1698 } 1699 1700 1701 1702 /** 1703 * Returns 1704 * GT1-28: "Guarantor Household Size" - creates it if necessary 1705 */ 1706 public NM getGuarantorHouseholdSize() { 1707 NM retVal = this.getTypedField(28, 0); 1708 return retVal; 1709 } 1710 1711 /** 1712 * Returns 1713 * GT1-28: "Guarantor Household Size" - creates it if necessary 1714 */ 1715 public NM getGt128_GuarantorHouseholdSize() { 1716 NM retVal = this.getTypedField(28, 0); 1717 return retVal; 1718 } 1719 1720 1721 /** 1722 * Returns all repetitions of Guarantor Employer ID Number (GT1-29). 1723 */ 1724 public CX[] getGuarantorEmployerIDNumber() { 1725 CX[] retVal = this.getTypedField(29, new CX[0]); 1726 return retVal; 1727 } 1728 1729 1730 /** 1731 * Returns all repetitions of Guarantor Employer ID Number (GT1-29). 1732 */ 1733 public CX[] getGt129_GuarantorEmployerIDNumber() { 1734 CX[] retVal = this.getTypedField(29, new CX[0]); 1735 return retVal; 1736 } 1737 1738 1739 /** 1740 * Returns a count of the current number of repetitions of Guarantor Employer ID Number (GT1-29). 1741 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1742 * it will return zero. 1743 */ 1744 public int getGuarantorEmployerIDNumberReps() { 1745 return this.getReps(29); 1746 } 1747 1748 1749 /** 1750 * Returns a specific repetition of 1751 * GT1-29: "Guarantor Employer ID Number" - creates it if necessary 1752 * 1753 * @param rep The repetition index (0-indexed) 1754 */ 1755 public CX getGuarantorEmployerIDNumber(int rep) { 1756 CX retVal = this.getTypedField(29, rep); 1757 return retVal; 1758 } 1759 1760 /** 1761 * Returns a specific repetition of 1762 * GT1-29: "Guarantor Employer ID Number" - creates it if necessary 1763 * 1764 * @param rep The repetition index (0-indexed) 1765 */ 1766 public CX getGt129_GuarantorEmployerIDNumber(int rep) { 1767 CX retVal = this.getTypedField(29, rep); 1768 return retVal; 1769 } 1770 1771 /** 1772 * Returns a count of the current number of repetitions of Guarantor Employer ID Number (GT1-29). 1773 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1774 * it will return zero. 1775 */ 1776 public int getGt129_GuarantorEmployerIDNumberReps() { 1777 return this.getReps(29); 1778 } 1779 1780 1781 /** 1782 * Inserts a repetition of 1783 * GT1-29: "Guarantor Employer ID Number" at a specific index 1784 * 1785 * @param rep The repetition index (0-indexed) 1786 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1787 */ 1788 public CX insertGuarantorEmployerIDNumber(int rep) throws HL7Exception { 1789 return (CX) super.insertRepetition(29, rep); 1790 } 1791 1792 1793 /** 1794 * Inserts a repetition of 1795 * GT1-29: "Guarantor Employer ID Number" at a specific index 1796 * 1797 * @param rep The repetition index (0-indexed) 1798 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1799 */ 1800 public CX insertGt129_GuarantorEmployerIDNumber(int rep) throws HL7Exception { 1801 return (CX) super.insertRepetition(29, rep); 1802 } 1803 1804 1805 /** 1806 * Removes a repetition of 1807 * GT1-29: "Guarantor Employer ID Number" at a specific index 1808 * 1809 * @param rep The repetition index (0-indexed) 1810 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1811 */ 1812 public CX removeGuarantorEmployerIDNumber(int rep) throws HL7Exception { 1813 return (CX) super.removeRepetition(29, rep); 1814 } 1815 1816 1817 /** 1818 * Removes a repetition of 1819 * GT1-29: "Guarantor Employer ID Number" at a specific index 1820 * 1821 * @param rep The repetition index (0-indexed) 1822 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1823 */ 1824 public CX removeGt129_GuarantorEmployerIDNumber(int rep) throws HL7Exception { 1825 return (CX) super.removeRepetition(29, rep); 1826 } 1827 1828 1829 1830 1831 /** 1832 * Returns 1833 * GT1-30: "Guarantor Marital Status Code" - creates it if necessary 1834 */ 1835 public CE getGuarantorMaritalStatusCode() { 1836 CE retVal = this.getTypedField(30, 0); 1837 return retVal; 1838 } 1839 1840 /** 1841 * Returns 1842 * GT1-30: "Guarantor Marital Status Code" - creates it if necessary 1843 */ 1844 public CE getGt130_GuarantorMaritalStatusCode() { 1845 CE retVal = this.getTypedField(30, 0); 1846 return retVal; 1847 } 1848 1849 1850 1851 /** 1852 * Returns 1853 * GT1-31: "Guarantor Hire Effective Date" - creates it if necessary 1854 */ 1855 public DT getGuarantorHireEffectiveDate() { 1856 DT retVal = this.getTypedField(31, 0); 1857 return retVal; 1858 } 1859 1860 /** 1861 * Returns 1862 * GT1-31: "Guarantor Hire Effective Date" - creates it if necessary 1863 */ 1864 public DT getGt131_GuarantorHireEffectiveDate() { 1865 DT retVal = this.getTypedField(31, 0); 1866 return retVal; 1867 } 1868 1869 1870 1871 /** 1872 * Returns 1873 * GT1-32: "Employment Stop Date" - creates it if necessary 1874 */ 1875 public DT getEmploymentStopDate() { 1876 DT retVal = this.getTypedField(32, 0); 1877 return retVal; 1878 } 1879 1880 /** 1881 * Returns 1882 * GT1-32: "Employment Stop Date" - creates it if necessary 1883 */ 1884 public DT getGt132_EmploymentStopDate() { 1885 DT retVal = this.getTypedField(32, 0); 1886 return retVal; 1887 } 1888 1889 1890 1891 /** 1892 * Returns 1893 * GT1-33: "Living Dependency" - creates it if necessary 1894 */ 1895 public IS getLivingDependency() { 1896 IS retVal = this.getTypedField(33, 0); 1897 return retVal; 1898 } 1899 1900 /** 1901 * Returns 1902 * GT1-33: "Living Dependency" - creates it if necessary 1903 */ 1904 public IS getGt133_LivingDependency() { 1905 IS retVal = this.getTypedField(33, 0); 1906 return retVal; 1907 } 1908 1909 1910 /** 1911 * Returns all repetitions of Ambulatory Status (GT1-34). 1912 */ 1913 public IS[] getAmbulatoryStatus() { 1914 IS[] retVal = this.getTypedField(34, new IS[0]); 1915 return retVal; 1916 } 1917 1918 1919 /** 1920 * Returns all repetitions of Ambulatory Status (GT1-34). 1921 */ 1922 public IS[] getGt134_AmbulatoryStatus() { 1923 IS[] retVal = this.getTypedField(34, new IS[0]); 1924 return retVal; 1925 } 1926 1927 1928 /** 1929 * Returns a count of the current number of repetitions of Ambulatory Status (GT1-34). 1930 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1931 * it will return zero. 1932 */ 1933 public int getAmbulatoryStatusReps() { 1934 return this.getReps(34); 1935 } 1936 1937 1938 /** 1939 * Returns a specific repetition of 1940 * GT1-34: "Ambulatory Status" - creates it if necessary 1941 * 1942 * @param rep The repetition index (0-indexed) 1943 */ 1944 public IS getAmbulatoryStatus(int rep) { 1945 IS retVal = this.getTypedField(34, rep); 1946 return retVal; 1947 } 1948 1949 /** 1950 * Returns a specific repetition of 1951 * GT1-34: "Ambulatory Status" - creates it if necessary 1952 * 1953 * @param rep The repetition index (0-indexed) 1954 */ 1955 public IS getGt134_AmbulatoryStatus(int rep) { 1956 IS retVal = this.getTypedField(34, rep); 1957 return retVal; 1958 } 1959 1960 /** 1961 * Returns a count of the current number of repetitions of Ambulatory Status (GT1-34). 1962 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1963 * it will return zero. 1964 */ 1965 public int getGt134_AmbulatoryStatusReps() { 1966 return this.getReps(34); 1967 } 1968 1969 1970 /** 1971 * Inserts a repetition of 1972 * GT1-34: "Ambulatory Status" at a specific index 1973 * 1974 * @param rep The repetition index (0-indexed) 1975 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1976 */ 1977 public IS insertAmbulatoryStatus(int rep) throws HL7Exception { 1978 return (IS) super.insertRepetition(34, rep); 1979 } 1980 1981 1982 /** 1983 * Inserts a repetition of 1984 * GT1-34: "Ambulatory Status" at a specific index 1985 * 1986 * @param rep The repetition index (0-indexed) 1987 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1988 */ 1989 public IS insertGt134_AmbulatoryStatus(int rep) throws HL7Exception { 1990 return (IS) super.insertRepetition(34, rep); 1991 } 1992 1993 1994 /** 1995 * Removes a repetition of 1996 * GT1-34: "Ambulatory Status" at a specific index 1997 * 1998 * @param rep The repetition index (0-indexed) 1999 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2000 */ 2001 public IS removeAmbulatoryStatus(int rep) throws HL7Exception { 2002 return (IS) super.removeRepetition(34, rep); 2003 } 2004 2005 2006 /** 2007 * Removes a repetition of 2008 * GT1-34: "Ambulatory Status" at a specific index 2009 * 2010 * @param rep The repetition index (0-indexed) 2011 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2012 */ 2013 public IS removeGt134_AmbulatoryStatus(int rep) throws HL7Exception { 2014 return (IS) super.removeRepetition(34, rep); 2015 } 2016 2017 2018 2019 /** 2020 * Returns all repetitions of Citizenship (GT1-35). 2021 */ 2022 public CE[] getCitizenship() { 2023 CE[] retVal = this.getTypedField(35, new CE[0]); 2024 return retVal; 2025 } 2026 2027 2028 /** 2029 * Returns all repetitions of Citizenship (GT1-35). 2030 */ 2031 public CE[] getGt135_Citizenship() { 2032 CE[] retVal = this.getTypedField(35, new CE[0]); 2033 return retVal; 2034 } 2035 2036 2037 /** 2038 * Returns a count of the current number of repetitions of Citizenship (GT1-35). 2039 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2040 * it will return zero. 2041 */ 2042 public int getCitizenshipReps() { 2043 return this.getReps(35); 2044 } 2045 2046 2047 /** 2048 * Returns a specific repetition of 2049 * GT1-35: "Citizenship" - creates it if necessary 2050 * 2051 * @param rep The repetition index (0-indexed) 2052 */ 2053 public CE getCitizenship(int rep) { 2054 CE retVal = this.getTypedField(35, rep); 2055 return retVal; 2056 } 2057 2058 /** 2059 * Returns a specific repetition of 2060 * GT1-35: "Citizenship" - creates it if necessary 2061 * 2062 * @param rep The repetition index (0-indexed) 2063 */ 2064 public CE getGt135_Citizenship(int rep) { 2065 CE retVal = this.getTypedField(35, rep); 2066 return retVal; 2067 } 2068 2069 /** 2070 * Returns a count of the current number of repetitions of Citizenship (GT1-35). 2071 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2072 * it will return zero. 2073 */ 2074 public int getGt135_CitizenshipReps() { 2075 return this.getReps(35); 2076 } 2077 2078 2079 /** 2080 * Inserts a repetition of 2081 * GT1-35: "Citizenship" at a specific index 2082 * 2083 * @param rep The repetition index (0-indexed) 2084 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2085 */ 2086 public CE insertCitizenship(int rep) throws HL7Exception { 2087 return (CE) super.insertRepetition(35, rep); 2088 } 2089 2090 2091 /** 2092 * Inserts a repetition of 2093 * GT1-35: "Citizenship" at a specific index 2094 * 2095 * @param rep The repetition index (0-indexed) 2096 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2097 */ 2098 public CE insertGt135_Citizenship(int rep) throws HL7Exception { 2099 return (CE) super.insertRepetition(35, rep); 2100 } 2101 2102 2103 /** 2104 * Removes a repetition of 2105 * GT1-35: "Citizenship" at a specific index 2106 * 2107 * @param rep The repetition index (0-indexed) 2108 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2109 */ 2110 public CE removeCitizenship(int rep) throws HL7Exception { 2111 return (CE) super.removeRepetition(35, rep); 2112 } 2113 2114 2115 /** 2116 * Removes a repetition of 2117 * GT1-35: "Citizenship" at a specific index 2118 * 2119 * @param rep The repetition index (0-indexed) 2120 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2121 */ 2122 public CE removeGt135_Citizenship(int rep) throws HL7Exception { 2123 return (CE) super.removeRepetition(35, rep); 2124 } 2125 2126 2127 2128 2129 /** 2130 * Returns 2131 * GT1-36: "Primary Language" - creates it if necessary 2132 */ 2133 public CE getPrimaryLanguage() { 2134 CE retVal = this.getTypedField(36, 0); 2135 return retVal; 2136 } 2137 2138 /** 2139 * Returns 2140 * GT1-36: "Primary Language" - creates it if necessary 2141 */ 2142 public CE getGt136_PrimaryLanguage() { 2143 CE retVal = this.getTypedField(36, 0); 2144 return retVal; 2145 } 2146 2147 2148 2149 /** 2150 * Returns 2151 * GT1-37: "Living Arrangement" - creates it if necessary 2152 */ 2153 public IS getLivingArrangement() { 2154 IS retVal = this.getTypedField(37, 0); 2155 return retVal; 2156 } 2157 2158 /** 2159 * Returns 2160 * GT1-37: "Living Arrangement" - creates it if necessary 2161 */ 2162 public IS getGt137_LivingArrangement() { 2163 IS retVal = this.getTypedField(37, 0); 2164 return retVal; 2165 } 2166 2167 2168 2169 /** 2170 * Returns 2171 * GT1-38: "Publicity Code" - creates it if necessary 2172 */ 2173 public CE getPublicityCode() { 2174 CE retVal = this.getTypedField(38, 0); 2175 return retVal; 2176 } 2177 2178 /** 2179 * Returns 2180 * GT1-38: "Publicity Code" - creates it if necessary 2181 */ 2182 public CE getGt138_PublicityCode() { 2183 CE retVal = this.getTypedField(38, 0); 2184 return retVal; 2185 } 2186 2187 2188 2189 /** 2190 * Returns 2191 * GT1-39: "Protection Indicator" - creates it if necessary 2192 */ 2193 public ID getProtectionIndicator() { 2194 ID retVal = this.getTypedField(39, 0); 2195 return retVal; 2196 } 2197 2198 /** 2199 * Returns 2200 * GT1-39: "Protection Indicator" - creates it if necessary 2201 */ 2202 public ID getGt139_ProtectionIndicator() { 2203 ID retVal = this.getTypedField(39, 0); 2204 return retVal; 2205 } 2206 2207 2208 2209 /** 2210 * Returns 2211 * GT1-40: "Student Indicator" - creates it if necessary 2212 */ 2213 public IS getStudentIndicator() { 2214 IS retVal = this.getTypedField(40, 0); 2215 return retVal; 2216 } 2217 2218 /** 2219 * Returns 2220 * GT1-40: "Student Indicator" - creates it if necessary 2221 */ 2222 public IS getGt140_StudentIndicator() { 2223 IS retVal = this.getTypedField(40, 0); 2224 return retVal; 2225 } 2226 2227 2228 2229 /** 2230 * Returns 2231 * GT1-41: "Religion" - creates it if necessary 2232 */ 2233 public CE getReligion() { 2234 CE retVal = this.getTypedField(41, 0); 2235 return retVal; 2236 } 2237 2238 /** 2239 * Returns 2240 * GT1-41: "Religion" - creates it if necessary 2241 */ 2242 public CE getGt141_Religion() { 2243 CE retVal = this.getTypedField(41, 0); 2244 return retVal; 2245 } 2246 2247 2248 /** 2249 * Returns all repetitions of Mother's Maiden Name (GT1-42). 2250 */ 2251 public XPN[] getMotherSMaidenName() { 2252 XPN[] retVal = this.getTypedField(42, new XPN[0]); 2253 return retVal; 2254 } 2255 2256 2257 /** 2258 * Returns all repetitions of Mother's Maiden Name (GT1-42). 2259 */ 2260 public XPN[] getGt142_MotherSMaidenName() { 2261 XPN[] retVal = this.getTypedField(42, new XPN[0]); 2262 return retVal; 2263 } 2264 2265 2266 /** 2267 * Returns a count of the current number of repetitions of Mother's Maiden Name (GT1-42). 2268 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2269 * it will return zero. 2270 */ 2271 public int getMotherSMaidenNameReps() { 2272 return this.getReps(42); 2273 } 2274 2275 2276 /** 2277 * Returns a specific repetition of 2278 * GT1-42: "Mother's Maiden Name" - creates it if necessary 2279 * 2280 * @param rep The repetition index (0-indexed) 2281 */ 2282 public XPN getMotherSMaidenName(int rep) { 2283 XPN retVal = this.getTypedField(42, rep); 2284 return retVal; 2285 } 2286 2287 /** 2288 * Returns a specific repetition of 2289 * GT1-42: "Mother's Maiden Name" - creates it if necessary 2290 * 2291 * @param rep The repetition index (0-indexed) 2292 */ 2293 public XPN getGt142_MotherSMaidenName(int rep) { 2294 XPN retVal = this.getTypedField(42, rep); 2295 return retVal; 2296 } 2297 2298 /** 2299 * Returns a count of the current number of repetitions of Mother's Maiden Name (GT1-42). 2300 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2301 * it will return zero. 2302 */ 2303 public int getGt142_MotherSMaidenNameReps() { 2304 return this.getReps(42); 2305 } 2306 2307 2308 /** 2309 * Inserts a repetition of 2310 * GT1-42: "Mother's Maiden Name" at a specific index 2311 * 2312 * @param rep The repetition index (0-indexed) 2313 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2314 */ 2315 public XPN insertMotherSMaidenName(int rep) throws HL7Exception { 2316 return (XPN) super.insertRepetition(42, rep); 2317 } 2318 2319 2320 /** 2321 * Inserts a repetition of 2322 * GT1-42: "Mother's Maiden Name" at a specific index 2323 * 2324 * @param rep The repetition index (0-indexed) 2325 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2326 */ 2327 public XPN insertGt142_MotherSMaidenName(int rep) throws HL7Exception { 2328 return (XPN) super.insertRepetition(42, rep); 2329 } 2330 2331 2332 /** 2333 * Removes a repetition of 2334 * GT1-42: "Mother's Maiden Name" at a specific index 2335 * 2336 * @param rep The repetition index (0-indexed) 2337 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2338 */ 2339 public XPN removeMotherSMaidenName(int rep) throws HL7Exception { 2340 return (XPN) super.removeRepetition(42, rep); 2341 } 2342 2343 2344 /** 2345 * Removes a repetition of 2346 * GT1-42: "Mother's Maiden Name" at a specific index 2347 * 2348 * @param rep The repetition index (0-indexed) 2349 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2350 */ 2351 public XPN removeGt142_MotherSMaidenName(int rep) throws HL7Exception { 2352 return (XPN) super.removeRepetition(42, rep); 2353 } 2354 2355 2356 2357 2358 /** 2359 * Returns 2360 * GT1-43: "Nationality" - creates it if necessary 2361 */ 2362 public CE getNationality() { 2363 CE retVal = this.getTypedField(43, 0); 2364 return retVal; 2365 } 2366 2367 /** 2368 * Returns 2369 * GT1-43: "Nationality" - creates it if necessary 2370 */ 2371 public CE getGt143_Nationality() { 2372 CE retVal = this.getTypedField(43, 0); 2373 return retVal; 2374 } 2375 2376 2377 /** 2378 * Returns all repetitions of Ethnic Group (GT1-44). 2379 */ 2380 public CE[] getEthnicGroup() { 2381 CE[] retVal = this.getTypedField(44, new CE[0]); 2382 return retVal; 2383 } 2384 2385 2386 /** 2387 * Returns all repetitions of Ethnic Group (GT1-44). 2388 */ 2389 public CE[] getGt144_EthnicGroup() { 2390 CE[] retVal = this.getTypedField(44, new CE[0]); 2391 return retVal; 2392 } 2393 2394 2395 /** 2396 * Returns a count of the current number of repetitions of Ethnic Group (GT1-44). 2397 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2398 * it will return zero. 2399 */ 2400 public int getEthnicGroupReps() { 2401 return this.getReps(44); 2402 } 2403 2404 2405 /** 2406 * Returns a specific repetition of 2407 * GT1-44: "Ethnic Group" - creates it if necessary 2408 * 2409 * @param rep The repetition index (0-indexed) 2410 */ 2411 public CE getEthnicGroup(int rep) { 2412 CE retVal = this.getTypedField(44, rep); 2413 return retVal; 2414 } 2415 2416 /** 2417 * Returns a specific repetition of 2418 * GT1-44: "Ethnic Group" - creates it if necessary 2419 * 2420 * @param rep The repetition index (0-indexed) 2421 */ 2422 public CE getGt144_EthnicGroup(int rep) { 2423 CE retVal = this.getTypedField(44, rep); 2424 return retVal; 2425 } 2426 2427 /** 2428 * Returns a count of the current number of repetitions of Ethnic Group (GT1-44). 2429 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2430 * it will return zero. 2431 */ 2432 public int getGt144_EthnicGroupReps() { 2433 return this.getReps(44); 2434 } 2435 2436 2437 /** 2438 * Inserts a repetition of 2439 * GT1-44: "Ethnic Group" at a specific index 2440 * 2441 * @param rep The repetition index (0-indexed) 2442 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2443 */ 2444 public CE insertEthnicGroup(int rep) throws HL7Exception { 2445 return (CE) super.insertRepetition(44, rep); 2446 } 2447 2448 2449 /** 2450 * Inserts a repetition of 2451 * GT1-44: "Ethnic Group" at a specific index 2452 * 2453 * @param rep The repetition index (0-indexed) 2454 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2455 */ 2456 public CE insertGt144_EthnicGroup(int rep) throws HL7Exception { 2457 return (CE) super.insertRepetition(44, rep); 2458 } 2459 2460 2461 /** 2462 * Removes a repetition of 2463 * GT1-44: "Ethnic Group" at a specific index 2464 * 2465 * @param rep The repetition index (0-indexed) 2466 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2467 */ 2468 public CE removeEthnicGroup(int rep) throws HL7Exception { 2469 return (CE) super.removeRepetition(44, rep); 2470 } 2471 2472 2473 /** 2474 * Removes a repetition of 2475 * GT1-44: "Ethnic Group" at a specific index 2476 * 2477 * @param rep The repetition index (0-indexed) 2478 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2479 */ 2480 public CE removeGt144_EthnicGroup(int rep) throws HL7Exception { 2481 return (CE) super.removeRepetition(44, rep); 2482 } 2483 2484 2485 2486 /** 2487 * Returns all repetitions of Contact Person's Name (GT1-45). 2488 */ 2489 public XPN[] getContactPersonSName() { 2490 XPN[] retVal = this.getTypedField(45, new XPN[0]); 2491 return retVal; 2492 } 2493 2494 2495 /** 2496 * Returns all repetitions of Contact Person's Name (GT1-45). 2497 */ 2498 public XPN[] getGt145_ContactPersonSName() { 2499 XPN[] retVal = this.getTypedField(45, new XPN[0]); 2500 return retVal; 2501 } 2502 2503 2504 /** 2505 * Returns a count of the current number of repetitions of Contact Person's Name (GT1-45). 2506 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2507 * it will return zero. 2508 */ 2509 public int getContactPersonSNameReps() { 2510 return this.getReps(45); 2511 } 2512 2513 2514 /** 2515 * Returns a specific repetition of 2516 * GT1-45: "Contact Person's Name" - creates it if necessary 2517 * 2518 * @param rep The repetition index (0-indexed) 2519 */ 2520 public XPN getContactPersonSName(int rep) { 2521 XPN retVal = this.getTypedField(45, rep); 2522 return retVal; 2523 } 2524 2525 /** 2526 * Returns a specific repetition of 2527 * GT1-45: "Contact Person's Name" - creates it if necessary 2528 * 2529 * @param rep The repetition index (0-indexed) 2530 */ 2531 public XPN getGt145_ContactPersonSName(int rep) { 2532 XPN retVal = this.getTypedField(45, rep); 2533 return retVal; 2534 } 2535 2536 /** 2537 * Returns a count of the current number of repetitions of Contact Person's Name (GT1-45). 2538 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2539 * it will return zero. 2540 */ 2541 public int getGt145_ContactPersonSNameReps() { 2542 return this.getReps(45); 2543 } 2544 2545 2546 /** 2547 * Inserts a repetition of 2548 * GT1-45: "Contact Person's Name" at a specific index 2549 * 2550 * @param rep The repetition index (0-indexed) 2551 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2552 */ 2553 public XPN insertContactPersonSName(int rep) throws HL7Exception { 2554 return (XPN) super.insertRepetition(45, rep); 2555 } 2556 2557 2558 /** 2559 * Inserts a repetition of 2560 * GT1-45: "Contact Person's Name" at a specific index 2561 * 2562 * @param rep The repetition index (0-indexed) 2563 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2564 */ 2565 public XPN insertGt145_ContactPersonSName(int rep) throws HL7Exception { 2566 return (XPN) super.insertRepetition(45, rep); 2567 } 2568 2569 2570 /** 2571 * Removes a repetition of 2572 * GT1-45: "Contact Person's Name" at a specific index 2573 * 2574 * @param rep The repetition index (0-indexed) 2575 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2576 */ 2577 public XPN removeContactPersonSName(int rep) throws HL7Exception { 2578 return (XPN) super.removeRepetition(45, rep); 2579 } 2580 2581 2582 /** 2583 * Removes a repetition of 2584 * GT1-45: "Contact Person's Name" at a specific index 2585 * 2586 * @param rep The repetition index (0-indexed) 2587 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2588 */ 2589 public XPN removeGt145_ContactPersonSName(int rep) throws HL7Exception { 2590 return (XPN) super.removeRepetition(45, rep); 2591 } 2592 2593 2594 2595 /** 2596 * Returns all repetitions of Contact Person's Telephone Number (GT1-46). 2597 */ 2598 public XTN[] getContactPersonSTelephoneNumber() { 2599 XTN[] retVal = this.getTypedField(46, new XTN[0]); 2600 return retVal; 2601 } 2602 2603 2604 /** 2605 * Returns all repetitions of Contact Person's Telephone Number (GT1-46). 2606 */ 2607 public XTN[] getGt146_ContactPersonSTelephoneNumber() { 2608 XTN[] retVal = this.getTypedField(46, new XTN[0]); 2609 return retVal; 2610 } 2611 2612 2613 /** 2614 * Returns a count of the current number of repetitions of Contact Person's Telephone Number (GT1-46). 2615 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2616 * it will return zero. 2617 */ 2618 public int getContactPersonSTelephoneNumberReps() { 2619 return this.getReps(46); 2620 } 2621 2622 2623 /** 2624 * Returns a specific repetition of 2625 * GT1-46: "Contact Person's Telephone Number" - creates it if necessary 2626 * 2627 * @param rep The repetition index (0-indexed) 2628 */ 2629 public XTN getContactPersonSTelephoneNumber(int rep) { 2630 XTN retVal = this.getTypedField(46, rep); 2631 return retVal; 2632 } 2633 2634 /** 2635 * Returns a specific repetition of 2636 * GT1-46: "Contact Person's Telephone Number" - creates it if necessary 2637 * 2638 * @param rep The repetition index (0-indexed) 2639 */ 2640 public XTN getGt146_ContactPersonSTelephoneNumber(int rep) { 2641 XTN retVal = this.getTypedField(46, rep); 2642 return retVal; 2643 } 2644 2645 /** 2646 * Returns a count of the current number of repetitions of Contact Person's Telephone Number (GT1-46). 2647 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2648 * it will return zero. 2649 */ 2650 public int getGt146_ContactPersonSTelephoneNumberReps() { 2651 return this.getReps(46); 2652 } 2653 2654 2655 /** 2656 * Inserts a repetition of 2657 * GT1-46: "Contact Person's Telephone Number" at a specific index 2658 * 2659 * @param rep The repetition index (0-indexed) 2660 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2661 */ 2662 public XTN insertContactPersonSTelephoneNumber(int rep) throws HL7Exception { 2663 return (XTN) super.insertRepetition(46, rep); 2664 } 2665 2666 2667 /** 2668 * Inserts a repetition of 2669 * GT1-46: "Contact Person's Telephone Number" at a specific index 2670 * 2671 * @param rep The repetition index (0-indexed) 2672 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2673 */ 2674 public XTN insertGt146_ContactPersonSTelephoneNumber(int rep) throws HL7Exception { 2675 return (XTN) super.insertRepetition(46, rep); 2676 } 2677 2678 2679 /** 2680 * Removes a repetition of 2681 * GT1-46: "Contact Person's Telephone Number" at a specific index 2682 * 2683 * @param rep The repetition index (0-indexed) 2684 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2685 */ 2686 public XTN removeContactPersonSTelephoneNumber(int rep) throws HL7Exception { 2687 return (XTN) super.removeRepetition(46, rep); 2688 } 2689 2690 2691 /** 2692 * Removes a repetition of 2693 * GT1-46: "Contact Person's Telephone Number" at a specific index 2694 * 2695 * @param rep The repetition index (0-indexed) 2696 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2697 */ 2698 public XTN removeGt146_ContactPersonSTelephoneNumber(int rep) throws HL7Exception { 2699 return (XTN) super.removeRepetition(46, rep); 2700 } 2701 2702 2703 2704 2705 /** 2706 * Returns 2707 * GT1-47: "Contact Reason" - creates it if necessary 2708 */ 2709 public CE getContactReason() { 2710 CE retVal = this.getTypedField(47, 0); 2711 return retVal; 2712 } 2713 2714 /** 2715 * Returns 2716 * GT1-47: "Contact Reason" - creates it if necessary 2717 */ 2718 public CE getGt147_ContactReason() { 2719 CE retVal = this.getTypedField(47, 0); 2720 return retVal; 2721 } 2722 2723 2724 2725 /** 2726 * Returns 2727 * GT1-48: "Contact Relationship" - creates it if necessary 2728 */ 2729 public IS getContactRelationship() { 2730 IS retVal = this.getTypedField(48, 0); 2731 return retVal; 2732 } 2733 2734 /** 2735 * Returns 2736 * GT1-48: "Contact Relationship" - creates it if necessary 2737 */ 2738 public IS getGt148_ContactRelationship() { 2739 IS retVal = this.getTypedField(48, 0); 2740 return retVal; 2741 } 2742 2743 2744 2745 /** 2746 * Returns 2747 * GT1-49: "Job Title" - creates it if necessary 2748 */ 2749 public ST getJobTitle() { 2750 ST retVal = this.getTypedField(49, 0); 2751 return retVal; 2752 } 2753 2754 /** 2755 * Returns 2756 * GT1-49: "Job Title" - creates it if necessary 2757 */ 2758 public ST getGt149_JobTitle() { 2759 ST retVal = this.getTypedField(49, 0); 2760 return retVal; 2761 } 2762 2763 2764 2765 /** 2766 * Returns 2767 * GT1-50: "Job Code/Class" - creates it if necessary 2768 */ 2769 public JCC getJobCodeClass() { 2770 JCC retVal = this.getTypedField(50, 0); 2771 return retVal; 2772 } 2773 2774 /** 2775 * Returns 2776 * GT1-50: "Job Code/Class" - creates it if necessary 2777 */ 2778 public JCC getGt150_JobCodeClass() { 2779 JCC retVal = this.getTypedField(50, 0); 2780 return retVal; 2781 } 2782 2783 2784 /** 2785 * Returns all repetitions of Guarantor Employer's Organization Name (GT1-51). 2786 */ 2787 public XON[] getGuarantorEmployerSOrganizationName() { 2788 XON[] retVal = this.getTypedField(51, new XON[0]); 2789 return retVal; 2790 } 2791 2792 2793 /** 2794 * Returns all repetitions of Guarantor Employer's Organization Name (GT1-51). 2795 */ 2796 public XON[] getGt151_GuarantorEmployerSOrganizationName() { 2797 XON[] retVal = this.getTypedField(51, new XON[0]); 2798 return retVal; 2799 } 2800 2801 2802 /** 2803 * Returns a count of the current number of repetitions of Guarantor Employer's Organization Name (GT1-51). 2804 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2805 * it will return zero. 2806 */ 2807 public int getGuarantorEmployerSOrganizationNameReps() { 2808 return this.getReps(51); 2809 } 2810 2811 2812 /** 2813 * Returns a specific repetition of 2814 * GT1-51: "Guarantor Employer's Organization Name" - creates it if necessary 2815 * 2816 * @param rep The repetition index (0-indexed) 2817 */ 2818 public XON getGuarantorEmployerSOrganizationName(int rep) { 2819 XON retVal = this.getTypedField(51, rep); 2820 return retVal; 2821 } 2822 2823 /** 2824 * Returns a specific repetition of 2825 * GT1-51: "Guarantor Employer's Organization Name" - creates it if necessary 2826 * 2827 * @param rep The repetition index (0-indexed) 2828 */ 2829 public XON getGt151_GuarantorEmployerSOrganizationName(int rep) { 2830 XON retVal = this.getTypedField(51, rep); 2831 return retVal; 2832 } 2833 2834 /** 2835 * Returns a count of the current number of repetitions of Guarantor Employer's Organization Name (GT1-51). 2836 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2837 * it will return zero. 2838 */ 2839 public int getGt151_GuarantorEmployerSOrganizationNameReps() { 2840 return this.getReps(51); 2841 } 2842 2843 2844 /** 2845 * Inserts a repetition of 2846 * GT1-51: "Guarantor Employer's Organization Name" at a specific index 2847 * 2848 * @param rep The repetition index (0-indexed) 2849 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2850 */ 2851 public XON insertGuarantorEmployerSOrganizationName(int rep) throws HL7Exception { 2852 return (XON) super.insertRepetition(51, rep); 2853 } 2854 2855 2856 /** 2857 * Inserts a repetition of 2858 * GT1-51: "Guarantor Employer's Organization Name" at a specific index 2859 * 2860 * @param rep The repetition index (0-indexed) 2861 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2862 */ 2863 public XON insertGt151_GuarantorEmployerSOrganizationName(int rep) throws HL7Exception { 2864 return (XON) super.insertRepetition(51, rep); 2865 } 2866 2867 2868 /** 2869 * Removes a repetition of 2870 * GT1-51: "Guarantor Employer's Organization Name" at a specific index 2871 * 2872 * @param rep The repetition index (0-indexed) 2873 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2874 */ 2875 public XON removeGuarantorEmployerSOrganizationName(int rep) throws HL7Exception { 2876 return (XON) super.removeRepetition(51, rep); 2877 } 2878 2879 2880 /** 2881 * Removes a repetition of 2882 * GT1-51: "Guarantor Employer's Organization Name" at a specific index 2883 * 2884 * @param rep The repetition index (0-indexed) 2885 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2886 */ 2887 public XON removeGt151_GuarantorEmployerSOrganizationName(int rep) throws HL7Exception { 2888 return (XON) super.removeRepetition(51, rep); 2889 } 2890 2891 2892 2893 2894 /** 2895 * Returns 2896 * GT1-52: "Handicap" - creates it if necessary 2897 */ 2898 public IS getHandicap() { 2899 IS retVal = this.getTypedField(52, 0); 2900 return retVal; 2901 } 2902 2903 /** 2904 * Returns 2905 * GT1-52: "Handicap" - creates it if necessary 2906 */ 2907 public IS getGt152_Handicap() { 2908 IS retVal = this.getTypedField(52, 0); 2909 return retVal; 2910 } 2911 2912 2913 2914 /** 2915 * Returns 2916 * GT1-53: "Job Status" - creates it if necessary 2917 */ 2918 public IS getJobStatus() { 2919 IS retVal = this.getTypedField(53, 0); 2920 return retVal; 2921 } 2922 2923 /** 2924 * Returns 2925 * GT1-53: "Job Status" - creates it if necessary 2926 */ 2927 public IS getGt153_JobStatus() { 2928 IS retVal = this.getTypedField(53, 0); 2929 return retVal; 2930 } 2931 2932 2933 2934 /** 2935 * Returns 2936 * GT1-54: "Guarantor Financial Class" - creates it if necessary 2937 */ 2938 public FC getGuarantorFinancialClass() { 2939 FC retVal = this.getTypedField(54, 0); 2940 return retVal; 2941 } 2942 2943 /** 2944 * Returns 2945 * GT1-54: "Guarantor Financial Class" - creates it if necessary 2946 */ 2947 public FC getGt154_GuarantorFinancialClass() { 2948 FC retVal = this.getTypedField(54, 0); 2949 return retVal; 2950 } 2951 2952 2953 /** 2954 * Returns all repetitions of Guarantor Race (GT1-55). 2955 */ 2956 public CE[] getGuarantorRace() { 2957 CE[] retVal = this.getTypedField(55, new CE[0]); 2958 return retVal; 2959 } 2960 2961 2962 /** 2963 * Returns all repetitions of Guarantor Race (GT1-55). 2964 */ 2965 public CE[] getGt155_GuarantorRace() { 2966 CE[] retVal = this.getTypedField(55, new CE[0]); 2967 return retVal; 2968 } 2969 2970 2971 /** 2972 * Returns a count of the current number of repetitions of Guarantor Race (GT1-55). 2973 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2974 * it will return zero. 2975 */ 2976 public int getGuarantorRaceReps() { 2977 return this.getReps(55); 2978 } 2979 2980 2981 /** 2982 * Returns a specific repetition of 2983 * GT1-55: "Guarantor Race" - creates it if necessary 2984 * 2985 * @param rep The repetition index (0-indexed) 2986 */ 2987 public CE getGuarantorRace(int rep) { 2988 CE retVal = this.getTypedField(55, rep); 2989 return retVal; 2990 } 2991 2992 /** 2993 * Returns a specific repetition of 2994 * GT1-55: "Guarantor Race" - creates it if necessary 2995 * 2996 * @param rep The repetition index (0-indexed) 2997 */ 2998 public CE getGt155_GuarantorRace(int rep) { 2999 CE retVal = this.getTypedField(55, rep); 3000 return retVal; 3001 } 3002 3003 /** 3004 * Returns a count of the current number of repetitions of Guarantor Race (GT1-55). 3005 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 3006 * it will return zero. 3007 */ 3008 public int getGt155_GuarantorRaceReps() { 3009 return this.getReps(55); 3010 } 3011 3012 3013 /** 3014 * Inserts a repetition of 3015 * GT1-55: "Guarantor Race" at a specific index 3016 * 3017 * @param rep The repetition index (0-indexed) 3018 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3019 */ 3020 public CE insertGuarantorRace(int rep) throws HL7Exception { 3021 return (CE) super.insertRepetition(55, rep); 3022 } 3023 3024 3025 /** 3026 * Inserts a repetition of 3027 * GT1-55: "Guarantor Race" at a specific index 3028 * 3029 * @param rep The repetition index (0-indexed) 3030 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3031 */ 3032 public CE insertGt155_GuarantorRace(int rep) throws HL7Exception { 3033 return (CE) super.insertRepetition(55, rep); 3034 } 3035 3036 3037 /** 3038 * Removes a repetition of 3039 * GT1-55: "Guarantor Race" at a specific index 3040 * 3041 * @param rep The repetition index (0-indexed) 3042 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3043 */ 3044 public CE removeGuarantorRace(int rep) throws HL7Exception { 3045 return (CE) super.removeRepetition(55, rep); 3046 } 3047 3048 3049 /** 3050 * Removes a repetition of 3051 * GT1-55: "Guarantor Race" at a specific index 3052 * 3053 * @param rep The repetition index (0-indexed) 3054 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 3055 */ 3056 public CE removeGt155_GuarantorRace(int rep) throws HL7Exception { 3057 return (CE) super.removeRepetition(55, rep); 3058 } 3059 3060 3061 3062 3063 3064 3065 /** {@inheritDoc} */ 3066 protected Type createNewTypeWithoutReflection(int field) { 3067 switch (field) { 3068 case 0: return new SI(getMessage()); 3069 case 1: return new CX(getMessage()); 3070 case 2: return new XPN(getMessage()); 3071 case 3: return new XPN(getMessage()); 3072 case 4: return new XAD(getMessage()); 3073 case 5: return new XTN(getMessage()); 3074 case 6: return new XTN(getMessage()); 3075 case 7: return new TS(getMessage()); 3076 case 8: return new IS(getMessage(), new Integer( 1 )); 3077 case 9: return new IS(getMessage(), new Integer( 68 )); 3078 case 10: return new CE(getMessage()); 3079 case 11: return new ST(getMessage()); 3080 case 12: return new DT(getMessage()); 3081 case 13: return new DT(getMessage()); 3082 case 14: return new NM(getMessage()); 3083 case 15: return new XPN(getMessage()); 3084 case 16: return new XAD(getMessage()); 3085 case 17: return new XTN(getMessage()); 3086 case 18: return new CX(getMessage()); 3087 case 19: return new IS(getMessage(), new Integer( 66 )); 3088 case 20: return new XON(getMessage()); 3089 case 21: return new ID(getMessage(), new Integer( 136 )); 3090 case 22: return new CE(getMessage()); 3091 case 23: return new TS(getMessage()); 3092 case 24: return new ID(getMessage(), new Integer( 136 )); 3093 case 25: return new CE(getMessage()); 3094 case 26: return new CP(getMessage()); 3095 case 27: return new NM(getMessage()); 3096 case 28: return new CX(getMessage()); 3097 case 29: return new CE(getMessage()); 3098 case 30: return new DT(getMessage()); 3099 case 31: return new DT(getMessage()); 3100 case 32: return new IS(getMessage(), new Integer( 223 )); 3101 case 33: return new IS(getMessage(), new Integer( 9 )); 3102 case 34: return new CE(getMessage()); 3103 case 35: return new CE(getMessage()); 3104 case 36: return new IS(getMessage(), new Integer( 220 )); 3105 case 37: return new CE(getMessage()); 3106 case 38: return new ID(getMessage(), new Integer( 136 )); 3107 case 39: return new IS(getMessage(), new Integer( 231 )); 3108 case 40: return new CE(getMessage()); 3109 case 41: return new XPN(getMessage()); 3110 case 42: return new CE(getMessage()); 3111 case 43: return new CE(getMessage()); 3112 case 44: return new XPN(getMessage()); 3113 case 45: return new XTN(getMessage()); 3114 case 46: return new CE(getMessage()); 3115 case 47: return new IS(getMessage(), new Integer( 63 )); 3116 case 48: return new ST(getMessage()); 3117 case 49: return new JCC(getMessage()); 3118 case 50: return new XON(getMessage()); 3119 case 51: return new IS(getMessage(), new Integer( 295 )); 3120 case 52: return new IS(getMessage(), new Integer( 311 )); 3121 case 53: return new FC(getMessage()); 3122 case 54: return new CE(getMessage()); 3123 default: return null; 3124 } 3125 } 3126 3127 3128} 3129