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.v231.segment; 035 036// import ca.uhn.hl7v2.model.v231.group.*; 037import ca.uhn.hl7v2.model.v231.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 STF message segment (STF - staff identification segment). 049 * This segment has the following fields:</p> 050 * <ul> 051 * <li>STF-1: Primary Key Value - STF (CE) <b> </b> 052 * <li>STF-2: Staff ID Code (CX) <b>optional repeating</b> 053 * <li>STF-3: Staff Name (XPN) <b>optional repeating</b> 054 * <li>STF-4: Staff Type (IS) <b>optional repeating</b> 055 * <li>STF-5: Sex (IS) <b>optional </b> 056 * <li>STF-6: Date/Time Of Birth (TS) <b>optional </b> 057 * <li>STF-7: Active/Inactive Flag (ID) <b>optional </b> 058 * <li>STF-8: Department (CE) <b>optional repeating</b> 059 * <li>STF-9: Hospital Service (CE) <b>optional repeating</b> 060 * <li>STF-10: Phone (XTN) <b>optional repeating</b> 061 * <li>STF-11: Office/Home Address (XAD) <b>optional repeating</b> 062 * <li>STF-12: Institution Activation Date (DIN) <b>optional repeating</b> 063 * <li>STF-13: Institution Inactivation Date (DIN) <b>optional repeating</b> 064 * <li>STF-14: Backup Person ID (CE) <b>optional repeating</b> 065 * <li>STF-15: E-Mail Address (ST) <b>optional repeating</b> 066 * <li>STF-16: Preferred Method Of Contact (CE) <b>optional </b> 067 * <li>STF-17: Marital Status (CE) <b>optional </b> 068 * <li>STF-18: Job Title (ST) <b>optional </b> 069 * <li>STF-19: Job Code/Class (JCC) <b>optional </b> 070 * <li>STF-20: Employment Status (IS) <b>optional </b> 071 * <li>STF-21: Additional Insured on Auto (ID) <b>optional </b> 072 * <li>STF-22: Driver’s License Number - Staff (DLN) <b>optional </b> 073 * <li>STF-23: Copy Auto Ins (ID) <b>optional </b> 074 * <li>STF-24: Auto Ins. Expires (DT) <b>optional </b> 075 * <li>STF-25: Date Last DMV Review (DT) <b>optional </b> 076 * <li>STF-26: Date Next DMV Review (DT) <b>optional </b> 077 * </ul> 078 */ 079@SuppressWarnings("unused") 080public class STF extends AbstractSegment { 081 082 /** 083 * Creates a new STF segment 084 */ 085 public STF(Group parent, ModelClassFactory factory) { 086 super(parent, factory); 087 init(factory); 088 } 089 090 private void init(ModelClassFactory factory) { 091 try { 092 this.add(CE.class, true, 1, 60, new Object[]{ getMessage() }, "Primary Key Value - STF"); 093 this.add(CX.class, false, 0, 60, new Object[]{ getMessage() }, "Staff ID Code"); 094 this.add(XPN.class, false, 0, 48, new Object[]{ getMessage() }, "Staff Name"); 095 this.add(IS.class, false, 0, 2, new Object[]{ getMessage(), new Integer(182) }, "Staff Type"); 096 this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(1) }, "Sex"); 097 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Date/Time Of Birth"); 098 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(183) }, "Active/Inactive Flag"); 099 this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Department"); 100 this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Hospital Service"); 101 this.add(XTN.class, false, 0, 40, new Object[]{ getMessage() }, "Phone"); 102 this.add(XAD.class, false, 0, 106, new Object[]{ getMessage() }, "Office/Home Address"); 103 this.add(DIN.class, false, 0, 26, new Object[]{ getMessage() }, "Institution Activation Date"); 104 this.add(DIN.class, false, 0, 26, new Object[]{ getMessage() }, "Institution Inactivation Date"); 105 this.add(CE.class, false, 0, 60, new Object[]{ getMessage() }, "Backup Person ID"); 106 this.add(ST.class, false, 0, 40, new Object[]{ getMessage() }, "E-Mail Address"); 107 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Preferred Method Of Contact"); 108 this.add(CE.class, false, 1, 80, new Object[]{ getMessage() }, "Marital Status"); 109 this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Job Title"); 110 this.add(JCC.class, false, 1, 20, new Object[]{ getMessage() }, "Job Code/Class"); 111 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(66) }, "Employment Status"); 112 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Additional Insured on Auto"); 113 this.add(DLN.class, false, 1, 25, new Object[]{ getMessage() }, "Driver’s License Number - Staff"); 114 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Copy Auto Ins"); 115 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Auto Ins. Expires"); 116 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Date Last DMV Review"); 117 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Date Next DMV Review"); 118 } catch(HL7Exception e) { 119 log.error("Unexpected error creating STF - this is probably a bug in the source code generator.", e); 120 } 121 } 122 123 124 125 /** 126 * Returns 127 * STF-1: "Primary Key Value - STF" - creates it if necessary 128 */ 129 public CE getPrimaryKeyValueSTF() { 130 CE retVal = this.getTypedField(1, 0); 131 return retVal; 132 } 133 134 /** 135 * Returns 136 * STF-1: "Primary Key Value - STF" - creates it if necessary 137 */ 138 public CE getStf1_PrimaryKeyValueSTF() { 139 CE retVal = this.getTypedField(1, 0); 140 return retVal; 141 } 142 143 144 /** 145 * Returns all repetitions of Staff ID Code (STF-2). 146 */ 147 public CX[] getStaffIDCode() { 148 CX[] retVal = this.getTypedField(2, new CX[0]); 149 return retVal; 150 } 151 152 153 /** 154 * Returns all repetitions of Staff ID Code (STF-2). 155 */ 156 public CX[] getStf2_StaffIDCode() { 157 CX[] retVal = this.getTypedField(2, new CX[0]); 158 return retVal; 159 } 160 161 162 /** 163 * Returns a count of the current number of repetitions of Staff ID Code (STF-2). 164 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 165 * it will return zero. 166 */ 167 public int getStaffIDCodeReps() { 168 return this.getReps(2); 169 } 170 171 172 /** 173 * Returns a specific repetition of 174 * STF-2: "Staff ID Code" - creates it if necessary 175 * 176 * @param rep The repetition index (0-indexed) 177 */ 178 public CX getStaffIDCode(int rep) { 179 CX retVal = this.getTypedField(2, rep); 180 return retVal; 181 } 182 183 /** 184 * Returns a specific repetition of 185 * STF-2: "Staff ID Code" - creates it if necessary 186 * 187 * @param rep The repetition index (0-indexed) 188 */ 189 public CX getStf2_StaffIDCode(int rep) { 190 CX retVal = this.getTypedField(2, rep); 191 return retVal; 192 } 193 194 /** 195 * Returns a count of the current number of repetitions of Staff ID Code (STF-2). 196 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 197 * it will return zero. 198 */ 199 public int getStf2_StaffIDCodeReps() { 200 return this.getReps(2); 201 } 202 203 204 /** 205 * Inserts a repetition of 206 * STF-2: "Staff ID Code" at a specific index 207 * 208 * @param rep The repetition index (0-indexed) 209 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 210 */ 211 public CX insertStaffIDCode(int rep) throws HL7Exception { 212 return (CX) super.insertRepetition(2, rep); 213 } 214 215 216 /** 217 * Inserts a repetition of 218 * STF-2: "Staff ID Code" at a specific index 219 * 220 * @param rep The repetition index (0-indexed) 221 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 222 */ 223 public CX insertStf2_StaffIDCode(int rep) throws HL7Exception { 224 return (CX) super.insertRepetition(2, rep); 225 } 226 227 228 /** 229 * Removes a repetition of 230 * STF-2: "Staff ID Code" at a specific index 231 * 232 * @param rep The repetition index (0-indexed) 233 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 234 */ 235 public CX removeStaffIDCode(int rep) throws HL7Exception { 236 return (CX) super.removeRepetition(2, rep); 237 } 238 239 240 /** 241 * Removes a repetition of 242 * STF-2: "Staff ID Code" at a specific index 243 * 244 * @param rep The repetition index (0-indexed) 245 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 246 */ 247 public CX removeStf2_StaffIDCode(int rep) throws HL7Exception { 248 return (CX) super.removeRepetition(2, rep); 249 } 250 251 252 253 /** 254 * Returns all repetitions of Staff Name (STF-3). 255 */ 256 public XPN[] getStaffName() { 257 XPN[] retVal = this.getTypedField(3, new XPN[0]); 258 return retVal; 259 } 260 261 262 /** 263 * Returns all repetitions of Staff Name (STF-3). 264 */ 265 public XPN[] getStf3_StaffName() { 266 XPN[] retVal = this.getTypedField(3, new XPN[0]); 267 return retVal; 268 } 269 270 271 /** 272 * Returns a count of the current number of repetitions of Staff Name (STF-3). 273 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 274 * it will return zero. 275 */ 276 public int getStaffNameReps() { 277 return this.getReps(3); 278 } 279 280 281 /** 282 * Returns a specific repetition of 283 * STF-3: "Staff Name" - creates it if necessary 284 * 285 * @param rep The repetition index (0-indexed) 286 */ 287 public XPN getStaffName(int rep) { 288 XPN retVal = this.getTypedField(3, rep); 289 return retVal; 290 } 291 292 /** 293 * Returns a specific repetition of 294 * STF-3: "Staff Name" - creates it if necessary 295 * 296 * @param rep The repetition index (0-indexed) 297 */ 298 public XPN getStf3_StaffName(int rep) { 299 XPN retVal = this.getTypedField(3, rep); 300 return retVal; 301 } 302 303 /** 304 * Returns a count of the current number of repetitions of Staff Name (STF-3). 305 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 306 * it will return zero. 307 */ 308 public int getStf3_StaffNameReps() { 309 return this.getReps(3); 310 } 311 312 313 /** 314 * Inserts a repetition of 315 * STF-3: "Staff Name" at a specific index 316 * 317 * @param rep The repetition index (0-indexed) 318 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 319 */ 320 public XPN insertStaffName(int rep) throws HL7Exception { 321 return (XPN) super.insertRepetition(3, rep); 322 } 323 324 325 /** 326 * Inserts a repetition of 327 * STF-3: "Staff Name" at a specific index 328 * 329 * @param rep The repetition index (0-indexed) 330 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 331 */ 332 public XPN insertStf3_StaffName(int rep) throws HL7Exception { 333 return (XPN) super.insertRepetition(3, rep); 334 } 335 336 337 /** 338 * Removes a repetition of 339 * STF-3: "Staff Name" at a specific index 340 * 341 * @param rep The repetition index (0-indexed) 342 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 343 */ 344 public XPN removeStaffName(int rep) throws HL7Exception { 345 return (XPN) super.removeRepetition(3, rep); 346 } 347 348 349 /** 350 * Removes a repetition of 351 * STF-3: "Staff Name" at a specific index 352 * 353 * @param rep The repetition index (0-indexed) 354 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 355 */ 356 public XPN removeStf3_StaffName(int rep) throws HL7Exception { 357 return (XPN) super.removeRepetition(3, rep); 358 } 359 360 361 362 /** 363 * Returns all repetitions of Staff Type (STF-4). 364 */ 365 public IS[] getStaffType() { 366 IS[] retVal = this.getTypedField(4, new IS[0]); 367 return retVal; 368 } 369 370 371 /** 372 * Returns all repetitions of Staff Type (STF-4). 373 */ 374 public IS[] getStf4_StaffType() { 375 IS[] retVal = this.getTypedField(4, new IS[0]); 376 return retVal; 377 } 378 379 380 /** 381 * Returns a count of the current number of repetitions of Staff Type (STF-4). 382 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 383 * it will return zero. 384 */ 385 public int getStaffTypeReps() { 386 return this.getReps(4); 387 } 388 389 390 /** 391 * Returns a specific repetition of 392 * STF-4: "Staff Type" - creates it if necessary 393 * 394 * @param rep The repetition index (0-indexed) 395 */ 396 public IS getStaffType(int rep) { 397 IS retVal = this.getTypedField(4, rep); 398 return retVal; 399 } 400 401 /** 402 * Returns a specific repetition of 403 * STF-4: "Staff Type" - creates it if necessary 404 * 405 * @param rep The repetition index (0-indexed) 406 */ 407 public IS getStf4_StaffType(int rep) { 408 IS retVal = this.getTypedField(4, rep); 409 return retVal; 410 } 411 412 /** 413 * Returns a count of the current number of repetitions of Staff Type (STF-4). 414 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 415 * it will return zero. 416 */ 417 public int getStf4_StaffTypeReps() { 418 return this.getReps(4); 419 } 420 421 422 /** 423 * Inserts a repetition of 424 * STF-4: "Staff Type" at a specific index 425 * 426 * @param rep The repetition index (0-indexed) 427 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 428 */ 429 public IS insertStaffType(int rep) throws HL7Exception { 430 return (IS) super.insertRepetition(4, rep); 431 } 432 433 434 /** 435 * Inserts a repetition of 436 * STF-4: "Staff Type" at a specific index 437 * 438 * @param rep The repetition index (0-indexed) 439 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 440 */ 441 public IS insertStf4_StaffType(int rep) throws HL7Exception { 442 return (IS) super.insertRepetition(4, rep); 443 } 444 445 446 /** 447 * Removes a repetition of 448 * STF-4: "Staff Type" at a specific index 449 * 450 * @param rep The repetition index (0-indexed) 451 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 452 */ 453 public IS removeStaffType(int rep) throws HL7Exception { 454 return (IS) super.removeRepetition(4, rep); 455 } 456 457 458 /** 459 * Removes a repetition of 460 * STF-4: "Staff Type" at a specific index 461 * 462 * @param rep The repetition index (0-indexed) 463 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 464 */ 465 public IS removeStf4_StaffType(int rep) throws HL7Exception { 466 return (IS) super.removeRepetition(4, rep); 467 } 468 469 470 471 472 /** 473 * Returns 474 * STF-5: "Sex" - creates it if necessary 475 */ 476 public IS getSex() { 477 IS retVal = this.getTypedField(5, 0); 478 return retVal; 479 } 480 481 /** 482 * Returns 483 * STF-5: "Sex" - creates it if necessary 484 */ 485 public IS getStf5_Sex() { 486 IS retVal = this.getTypedField(5, 0); 487 return retVal; 488 } 489 490 491 492 /** 493 * Returns 494 * STF-6: "Date/Time Of Birth" - creates it if necessary 495 */ 496 public TS getDateTimeOfBirth() { 497 TS retVal = this.getTypedField(6, 0); 498 return retVal; 499 } 500 501 /** 502 * Returns 503 * STF-6: "Date/Time Of Birth" - creates it if necessary 504 */ 505 public TS getStf6_DateTimeOfBirth() { 506 TS retVal = this.getTypedField(6, 0); 507 return retVal; 508 } 509 510 511 512 /** 513 * Returns 514 * STF-7: "Active/Inactive Flag" - creates it if necessary 515 */ 516 public ID getActiveInactiveFlag() { 517 ID retVal = this.getTypedField(7, 0); 518 return retVal; 519 } 520 521 /** 522 * Returns 523 * STF-7: "Active/Inactive Flag" - creates it if necessary 524 */ 525 public ID getStf7_ActiveInactiveFlag() { 526 ID retVal = this.getTypedField(7, 0); 527 return retVal; 528 } 529 530 531 /** 532 * Returns all repetitions of Department (STF-8). 533 */ 534 public CE[] getDepartment() { 535 CE[] retVal = this.getTypedField(8, new CE[0]); 536 return retVal; 537 } 538 539 540 /** 541 * Returns all repetitions of Department (STF-8). 542 */ 543 public CE[] getStf8_Department() { 544 CE[] retVal = this.getTypedField(8, new CE[0]); 545 return retVal; 546 } 547 548 549 /** 550 * Returns a count of the current number of repetitions of Department (STF-8). 551 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 552 * it will return zero. 553 */ 554 public int getDepartmentReps() { 555 return this.getReps(8); 556 } 557 558 559 /** 560 * Returns a specific repetition of 561 * STF-8: "Department" - creates it if necessary 562 * 563 * @param rep The repetition index (0-indexed) 564 */ 565 public CE getDepartment(int rep) { 566 CE retVal = this.getTypedField(8, rep); 567 return retVal; 568 } 569 570 /** 571 * Returns a specific repetition of 572 * STF-8: "Department" - creates it if necessary 573 * 574 * @param rep The repetition index (0-indexed) 575 */ 576 public CE getStf8_Department(int rep) { 577 CE retVal = this.getTypedField(8, rep); 578 return retVal; 579 } 580 581 /** 582 * Returns a count of the current number of repetitions of Department (STF-8). 583 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 584 * it will return zero. 585 */ 586 public int getStf8_DepartmentReps() { 587 return this.getReps(8); 588 } 589 590 591 /** 592 * Inserts a repetition of 593 * STF-8: "Department" at a specific index 594 * 595 * @param rep The repetition index (0-indexed) 596 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 597 */ 598 public CE insertDepartment(int rep) throws HL7Exception { 599 return (CE) super.insertRepetition(8, rep); 600 } 601 602 603 /** 604 * Inserts a repetition of 605 * STF-8: "Department" at a specific index 606 * 607 * @param rep The repetition index (0-indexed) 608 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 609 */ 610 public CE insertStf8_Department(int rep) throws HL7Exception { 611 return (CE) super.insertRepetition(8, rep); 612 } 613 614 615 /** 616 * Removes a repetition of 617 * STF-8: "Department" at a specific index 618 * 619 * @param rep The repetition index (0-indexed) 620 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 621 */ 622 public CE removeDepartment(int rep) throws HL7Exception { 623 return (CE) super.removeRepetition(8, rep); 624 } 625 626 627 /** 628 * Removes a repetition of 629 * STF-8: "Department" at a specific index 630 * 631 * @param rep The repetition index (0-indexed) 632 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 633 */ 634 public CE removeStf8_Department(int rep) throws HL7Exception { 635 return (CE) super.removeRepetition(8, rep); 636 } 637 638 639 640 /** 641 * Returns all repetitions of Hospital Service (STF-9). 642 */ 643 public CE[] getHospitalService() { 644 CE[] retVal = this.getTypedField(9, new CE[0]); 645 return retVal; 646 } 647 648 649 /** 650 * Returns all repetitions of Hospital Service (STF-9). 651 */ 652 public CE[] getStf9_HospitalService() { 653 CE[] retVal = this.getTypedField(9, new CE[0]); 654 return retVal; 655 } 656 657 658 /** 659 * Returns a count of the current number of repetitions of Hospital Service (STF-9). 660 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 661 * it will return zero. 662 */ 663 public int getHospitalServiceReps() { 664 return this.getReps(9); 665 } 666 667 668 /** 669 * Returns a specific repetition of 670 * STF-9: "Hospital Service" - creates it if necessary 671 * 672 * @param rep The repetition index (0-indexed) 673 */ 674 public CE getHospitalService(int rep) { 675 CE retVal = this.getTypedField(9, rep); 676 return retVal; 677 } 678 679 /** 680 * Returns a specific repetition of 681 * STF-9: "Hospital Service" - creates it if necessary 682 * 683 * @param rep The repetition index (0-indexed) 684 */ 685 public CE getStf9_HospitalService(int rep) { 686 CE retVal = this.getTypedField(9, rep); 687 return retVal; 688 } 689 690 /** 691 * Returns a count of the current number of repetitions of Hospital Service (STF-9). 692 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 693 * it will return zero. 694 */ 695 public int getStf9_HospitalServiceReps() { 696 return this.getReps(9); 697 } 698 699 700 /** 701 * Inserts a repetition of 702 * STF-9: "Hospital Service" at a specific index 703 * 704 * @param rep The repetition index (0-indexed) 705 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 706 */ 707 public CE insertHospitalService(int rep) throws HL7Exception { 708 return (CE) super.insertRepetition(9, rep); 709 } 710 711 712 /** 713 * Inserts a repetition of 714 * STF-9: "Hospital Service" at a specific index 715 * 716 * @param rep The repetition index (0-indexed) 717 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 718 */ 719 public CE insertStf9_HospitalService(int rep) throws HL7Exception { 720 return (CE) super.insertRepetition(9, rep); 721 } 722 723 724 /** 725 * Removes a repetition of 726 * STF-9: "Hospital Service" at a specific index 727 * 728 * @param rep The repetition index (0-indexed) 729 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 730 */ 731 public CE removeHospitalService(int rep) throws HL7Exception { 732 return (CE) super.removeRepetition(9, rep); 733 } 734 735 736 /** 737 * Removes a repetition of 738 * STF-9: "Hospital Service" at a specific index 739 * 740 * @param rep The repetition index (0-indexed) 741 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 742 */ 743 public CE removeStf9_HospitalService(int rep) throws HL7Exception { 744 return (CE) super.removeRepetition(9, rep); 745 } 746 747 748 749 /** 750 * Returns all repetitions of Phone (STF-10). 751 */ 752 public XTN[] getPhone() { 753 XTN[] retVal = this.getTypedField(10, new XTN[0]); 754 return retVal; 755 } 756 757 758 /** 759 * Returns all repetitions of Phone (STF-10). 760 */ 761 public XTN[] getStf10_Phone() { 762 XTN[] retVal = this.getTypedField(10, new XTN[0]); 763 return retVal; 764 } 765 766 767 /** 768 * Returns a count of the current number of repetitions of Phone (STF-10). 769 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 770 * it will return zero. 771 */ 772 public int getPhoneReps() { 773 return this.getReps(10); 774 } 775 776 777 /** 778 * Returns a specific repetition of 779 * STF-10: "Phone" - creates it if necessary 780 * 781 * @param rep The repetition index (0-indexed) 782 */ 783 public XTN getPhone(int rep) { 784 XTN retVal = this.getTypedField(10, rep); 785 return retVal; 786 } 787 788 /** 789 * Returns a specific repetition of 790 * STF-10: "Phone" - creates it if necessary 791 * 792 * @param rep The repetition index (0-indexed) 793 */ 794 public XTN getStf10_Phone(int rep) { 795 XTN retVal = this.getTypedField(10, rep); 796 return retVal; 797 } 798 799 /** 800 * Returns a count of the current number of repetitions of Phone (STF-10). 801 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 802 * it will return zero. 803 */ 804 public int getStf10_PhoneReps() { 805 return this.getReps(10); 806 } 807 808 809 /** 810 * Inserts a repetition of 811 * STF-10: "Phone" at a specific index 812 * 813 * @param rep The repetition index (0-indexed) 814 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 815 */ 816 public XTN insertPhone(int rep) throws HL7Exception { 817 return (XTN) super.insertRepetition(10, rep); 818 } 819 820 821 /** 822 * Inserts a repetition of 823 * STF-10: "Phone" at a specific index 824 * 825 * @param rep The repetition index (0-indexed) 826 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 827 */ 828 public XTN insertStf10_Phone(int rep) throws HL7Exception { 829 return (XTN) super.insertRepetition(10, rep); 830 } 831 832 833 /** 834 * Removes a repetition of 835 * STF-10: "Phone" at a specific index 836 * 837 * @param rep The repetition index (0-indexed) 838 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 839 */ 840 public XTN removePhone(int rep) throws HL7Exception { 841 return (XTN) super.removeRepetition(10, rep); 842 } 843 844 845 /** 846 * Removes a repetition of 847 * STF-10: "Phone" at a specific index 848 * 849 * @param rep The repetition index (0-indexed) 850 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 851 */ 852 public XTN removeStf10_Phone(int rep) throws HL7Exception { 853 return (XTN) super.removeRepetition(10, rep); 854 } 855 856 857 858 /** 859 * Returns all repetitions of Office/Home Address (STF-11). 860 */ 861 public XAD[] getOfficeHomeAddress() { 862 XAD[] retVal = this.getTypedField(11, new XAD[0]); 863 return retVal; 864 } 865 866 867 /** 868 * Returns all repetitions of Office/Home Address (STF-11). 869 */ 870 public XAD[] getStf11_OfficeHomeAddress() { 871 XAD[] retVal = this.getTypedField(11, new XAD[0]); 872 return retVal; 873 } 874 875 876 /** 877 * Returns a count of the current number of repetitions of Office/Home Address (STF-11). 878 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 879 * it will return zero. 880 */ 881 public int getOfficeHomeAddressReps() { 882 return this.getReps(11); 883 } 884 885 886 /** 887 * Returns a specific repetition of 888 * STF-11: "Office/Home Address" - creates it if necessary 889 * 890 * @param rep The repetition index (0-indexed) 891 */ 892 public XAD getOfficeHomeAddress(int rep) { 893 XAD retVal = this.getTypedField(11, rep); 894 return retVal; 895 } 896 897 /** 898 * Returns a specific repetition of 899 * STF-11: "Office/Home Address" - creates it if necessary 900 * 901 * @param rep The repetition index (0-indexed) 902 */ 903 public XAD getStf11_OfficeHomeAddress(int rep) { 904 XAD retVal = this.getTypedField(11, rep); 905 return retVal; 906 } 907 908 /** 909 * Returns a count of the current number of repetitions of Office/Home Address (STF-11). 910 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 911 * it will return zero. 912 */ 913 public int getStf11_OfficeHomeAddressReps() { 914 return this.getReps(11); 915 } 916 917 918 /** 919 * Inserts a repetition of 920 * STF-11: "Office/Home Address" at a specific index 921 * 922 * @param rep The repetition index (0-indexed) 923 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 924 */ 925 public XAD insertOfficeHomeAddress(int rep) throws HL7Exception { 926 return (XAD) super.insertRepetition(11, rep); 927 } 928 929 930 /** 931 * Inserts a repetition of 932 * STF-11: "Office/Home Address" at a specific index 933 * 934 * @param rep The repetition index (0-indexed) 935 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 936 */ 937 public XAD insertStf11_OfficeHomeAddress(int rep) throws HL7Exception { 938 return (XAD) super.insertRepetition(11, rep); 939 } 940 941 942 /** 943 * Removes a repetition of 944 * STF-11: "Office/Home Address" at a specific index 945 * 946 * @param rep The repetition index (0-indexed) 947 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 948 */ 949 public XAD removeOfficeHomeAddress(int rep) throws HL7Exception { 950 return (XAD) super.removeRepetition(11, rep); 951 } 952 953 954 /** 955 * Removes a repetition of 956 * STF-11: "Office/Home Address" at a specific index 957 * 958 * @param rep The repetition index (0-indexed) 959 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 960 */ 961 public XAD removeStf11_OfficeHomeAddress(int rep) throws HL7Exception { 962 return (XAD) super.removeRepetition(11, rep); 963 } 964 965 966 967 /** 968 * Returns all repetitions of Institution Activation Date (STF-12). 969 */ 970 public DIN[] getInstitutionActivationDate() { 971 DIN[] retVal = this.getTypedField(12, new DIN[0]); 972 return retVal; 973 } 974 975 976 /** 977 * Returns all repetitions of Institution Activation Date (STF-12). 978 */ 979 public DIN[] getStf12_InstitutionActivationDate() { 980 DIN[] retVal = this.getTypedField(12, new DIN[0]); 981 return retVal; 982 } 983 984 985 /** 986 * Returns a count of the current number of repetitions of Institution Activation Date (STF-12). 987 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 988 * it will return zero. 989 */ 990 public int getInstitutionActivationDateReps() { 991 return this.getReps(12); 992 } 993 994 995 /** 996 * Returns a specific repetition of 997 * STF-12: "Institution Activation Date" - creates it if necessary 998 * 999 * @param rep The repetition index (0-indexed) 1000 */ 1001 public DIN getInstitutionActivationDate(int rep) { 1002 DIN retVal = this.getTypedField(12, rep); 1003 return retVal; 1004 } 1005 1006 /** 1007 * Returns a specific repetition of 1008 * STF-12: "Institution Activation Date" - creates it if necessary 1009 * 1010 * @param rep The repetition index (0-indexed) 1011 */ 1012 public DIN getStf12_InstitutionActivationDate(int rep) { 1013 DIN retVal = this.getTypedField(12, rep); 1014 return retVal; 1015 } 1016 1017 /** 1018 * Returns a count of the current number of repetitions of Institution Activation Date (STF-12). 1019 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1020 * it will return zero. 1021 */ 1022 public int getStf12_InstitutionActivationDateReps() { 1023 return this.getReps(12); 1024 } 1025 1026 1027 /** 1028 * Inserts a repetition of 1029 * STF-12: "Institution Activation Date" at a specific index 1030 * 1031 * @param rep The repetition index (0-indexed) 1032 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1033 */ 1034 public DIN insertInstitutionActivationDate(int rep) throws HL7Exception { 1035 return (DIN) super.insertRepetition(12, rep); 1036 } 1037 1038 1039 /** 1040 * Inserts a repetition of 1041 * STF-12: "Institution Activation Date" at a specific index 1042 * 1043 * @param rep The repetition index (0-indexed) 1044 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1045 */ 1046 public DIN insertStf12_InstitutionActivationDate(int rep) throws HL7Exception { 1047 return (DIN) super.insertRepetition(12, rep); 1048 } 1049 1050 1051 /** 1052 * Removes a repetition of 1053 * STF-12: "Institution Activation Date" at a specific index 1054 * 1055 * @param rep The repetition index (0-indexed) 1056 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1057 */ 1058 public DIN removeInstitutionActivationDate(int rep) throws HL7Exception { 1059 return (DIN) super.removeRepetition(12, rep); 1060 } 1061 1062 1063 /** 1064 * Removes a repetition of 1065 * STF-12: "Institution Activation Date" at a specific index 1066 * 1067 * @param rep The repetition index (0-indexed) 1068 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1069 */ 1070 public DIN removeStf12_InstitutionActivationDate(int rep) throws HL7Exception { 1071 return (DIN) super.removeRepetition(12, rep); 1072 } 1073 1074 1075 1076 /** 1077 * Returns all repetitions of Institution Inactivation Date (STF-13). 1078 */ 1079 public DIN[] getInstitutionInactivationDate() { 1080 DIN[] retVal = this.getTypedField(13, new DIN[0]); 1081 return retVal; 1082 } 1083 1084 1085 /** 1086 * Returns all repetitions of Institution Inactivation Date (STF-13). 1087 */ 1088 public DIN[] getStf13_InstitutionInactivationDate() { 1089 DIN[] retVal = this.getTypedField(13, new DIN[0]); 1090 return retVal; 1091 } 1092 1093 1094 /** 1095 * Returns a count of the current number of repetitions of Institution Inactivation Date (STF-13). 1096 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1097 * it will return zero. 1098 */ 1099 public int getInstitutionInactivationDateReps() { 1100 return this.getReps(13); 1101 } 1102 1103 1104 /** 1105 * Returns a specific repetition of 1106 * STF-13: "Institution Inactivation Date" - creates it if necessary 1107 * 1108 * @param rep The repetition index (0-indexed) 1109 */ 1110 public DIN getInstitutionInactivationDate(int rep) { 1111 DIN retVal = this.getTypedField(13, rep); 1112 return retVal; 1113 } 1114 1115 /** 1116 * Returns a specific repetition of 1117 * STF-13: "Institution Inactivation Date" - creates it if necessary 1118 * 1119 * @param rep The repetition index (0-indexed) 1120 */ 1121 public DIN getStf13_InstitutionInactivationDate(int rep) { 1122 DIN retVal = this.getTypedField(13, rep); 1123 return retVal; 1124 } 1125 1126 /** 1127 * Returns a count of the current number of repetitions of Institution Inactivation Date (STF-13). 1128 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1129 * it will return zero. 1130 */ 1131 public int getStf13_InstitutionInactivationDateReps() { 1132 return this.getReps(13); 1133 } 1134 1135 1136 /** 1137 * Inserts a repetition of 1138 * STF-13: "Institution Inactivation Date" at a specific index 1139 * 1140 * @param rep The repetition index (0-indexed) 1141 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1142 */ 1143 public DIN insertInstitutionInactivationDate(int rep) throws HL7Exception { 1144 return (DIN) super.insertRepetition(13, rep); 1145 } 1146 1147 1148 /** 1149 * Inserts a repetition of 1150 * STF-13: "Institution Inactivation Date" at a specific index 1151 * 1152 * @param rep The repetition index (0-indexed) 1153 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1154 */ 1155 public DIN insertStf13_InstitutionInactivationDate(int rep) throws HL7Exception { 1156 return (DIN) super.insertRepetition(13, rep); 1157 } 1158 1159 1160 /** 1161 * Removes a repetition of 1162 * STF-13: "Institution Inactivation Date" at a specific index 1163 * 1164 * @param rep The repetition index (0-indexed) 1165 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1166 */ 1167 public DIN removeInstitutionInactivationDate(int rep) throws HL7Exception { 1168 return (DIN) super.removeRepetition(13, rep); 1169 } 1170 1171 1172 /** 1173 * Removes a repetition of 1174 * STF-13: "Institution Inactivation Date" at a specific index 1175 * 1176 * @param rep The repetition index (0-indexed) 1177 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1178 */ 1179 public DIN removeStf13_InstitutionInactivationDate(int rep) throws HL7Exception { 1180 return (DIN) super.removeRepetition(13, rep); 1181 } 1182 1183 1184 1185 /** 1186 * Returns all repetitions of Backup Person ID (STF-14). 1187 */ 1188 public CE[] getBackupPersonID() { 1189 CE[] retVal = this.getTypedField(14, new CE[0]); 1190 return retVal; 1191 } 1192 1193 1194 /** 1195 * Returns all repetitions of Backup Person ID (STF-14). 1196 */ 1197 public CE[] getStf14_BackupPersonID() { 1198 CE[] retVal = this.getTypedField(14, new CE[0]); 1199 return retVal; 1200 } 1201 1202 1203 /** 1204 * Returns a count of the current number of repetitions of Backup Person ID (STF-14). 1205 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1206 * it will return zero. 1207 */ 1208 public int getBackupPersonIDReps() { 1209 return this.getReps(14); 1210 } 1211 1212 1213 /** 1214 * Returns a specific repetition of 1215 * STF-14: "Backup Person ID" - creates it if necessary 1216 * 1217 * @param rep The repetition index (0-indexed) 1218 */ 1219 public CE getBackupPersonID(int rep) { 1220 CE retVal = this.getTypedField(14, rep); 1221 return retVal; 1222 } 1223 1224 /** 1225 * Returns a specific repetition of 1226 * STF-14: "Backup Person ID" - creates it if necessary 1227 * 1228 * @param rep The repetition index (0-indexed) 1229 */ 1230 public CE getStf14_BackupPersonID(int rep) { 1231 CE retVal = this.getTypedField(14, rep); 1232 return retVal; 1233 } 1234 1235 /** 1236 * Returns a count of the current number of repetitions of Backup Person ID (STF-14). 1237 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1238 * it will return zero. 1239 */ 1240 public int getStf14_BackupPersonIDReps() { 1241 return this.getReps(14); 1242 } 1243 1244 1245 /** 1246 * Inserts a repetition of 1247 * STF-14: "Backup Person ID" at a specific index 1248 * 1249 * @param rep The repetition index (0-indexed) 1250 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1251 */ 1252 public CE insertBackupPersonID(int rep) throws HL7Exception { 1253 return (CE) super.insertRepetition(14, rep); 1254 } 1255 1256 1257 /** 1258 * Inserts a repetition of 1259 * STF-14: "Backup Person ID" at a specific index 1260 * 1261 * @param rep The repetition index (0-indexed) 1262 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1263 */ 1264 public CE insertStf14_BackupPersonID(int rep) throws HL7Exception { 1265 return (CE) super.insertRepetition(14, rep); 1266 } 1267 1268 1269 /** 1270 * Removes a repetition of 1271 * STF-14: "Backup Person ID" at a specific index 1272 * 1273 * @param rep The repetition index (0-indexed) 1274 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1275 */ 1276 public CE removeBackupPersonID(int rep) throws HL7Exception { 1277 return (CE) super.removeRepetition(14, rep); 1278 } 1279 1280 1281 /** 1282 * Removes a repetition of 1283 * STF-14: "Backup Person ID" at a specific index 1284 * 1285 * @param rep The repetition index (0-indexed) 1286 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1287 */ 1288 public CE removeStf14_BackupPersonID(int rep) throws HL7Exception { 1289 return (CE) super.removeRepetition(14, rep); 1290 } 1291 1292 1293 1294 /** 1295 * Returns all repetitions of E-Mail Address (STF-15). 1296 */ 1297 public ST[] getEMailAddress() { 1298 ST[] retVal = this.getTypedField(15, new ST[0]); 1299 return retVal; 1300 } 1301 1302 1303 /** 1304 * Returns all repetitions of E-Mail Address (STF-15). 1305 */ 1306 public ST[] getStf15_EMailAddress() { 1307 ST[] retVal = this.getTypedField(15, new ST[0]); 1308 return retVal; 1309 } 1310 1311 1312 /** 1313 * Returns a count of the current number of repetitions of E-Mail Address (STF-15). 1314 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1315 * it will return zero. 1316 */ 1317 public int getEMailAddressReps() { 1318 return this.getReps(15); 1319 } 1320 1321 1322 /** 1323 * Returns a specific repetition of 1324 * STF-15: "E-Mail Address" - creates it if necessary 1325 * 1326 * @param rep The repetition index (0-indexed) 1327 */ 1328 public ST getEMailAddress(int rep) { 1329 ST retVal = this.getTypedField(15, rep); 1330 return retVal; 1331 } 1332 1333 /** 1334 * Returns a specific repetition of 1335 * STF-15: "E-Mail Address" - creates it if necessary 1336 * 1337 * @param rep The repetition index (0-indexed) 1338 */ 1339 public ST getStf15_EMailAddress(int rep) { 1340 ST retVal = this.getTypedField(15, rep); 1341 return retVal; 1342 } 1343 1344 /** 1345 * Returns a count of the current number of repetitions of E-Mail Address (STF-15). 1346 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1347 * it will return zero. 1348 */ 1349 public int getStf15_EMailAddressReps() { 1350 return this.getReps(15); 1351 } 1352 1353 1354 /** 1355 * Inserts a repetition of 1356 * STF-15: "E-Mail Address" at a specific index 1357 * 1358 * @param rep The repetition index (0-indexed) 1359 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1360 */ 1361 public ST insertEMailAddress(int rep) throws HL7Exception { 1362 return (ST) super.insertRepetition(15, rep); 1363 } 1364 1365 1366 /** 1367 * Inserts a repetition of 1368 * STF-15: "E-Mail Address" at a specific index 1369 * 1370 * @param rep The repetition index (0-indexed) 1371 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1372 */ 1373 public ST insertStf15_EMailAddress(int rep) throws HL7Exception { 1374 return (ST) super.insertRepetition(15, rep); 1375 } 1376 1377 1378 /** 1379 * Removes a repetition of 1380 * STF-15: "E-Mail Address" at a specific index 1381 * 1382 * @param rep The repetition index (0-indexed) 1383 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1384 */ 1385 public ST removeEMailAddress(int rep) throws HL7Exception { 1386 return (ST) super.removeRepetition(15, rep); 1387 } 1388 1389 1390 /** 1391 * Removes a repetition of 1392 * STF-15: "E-Mail Address" at a specific index 1393 * 1394 * @param rep The repetition index (0-indexed) 1395 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1396 */ 1397 public ST removeStf15_EMailAddress(int rep) throws HL7Exception { 1398 return (ST) super.removeRepetition(15, rep); 1399 } 1400 1401 1402 1403 1404 /** 1405 * Returns 1406 * STF-16: "Preferred Method Of Contact" - creates it if necessary 1407 */ 1408 public CE getPreferredMethodOfContact() { 1409 CE retVal = this.getTypedField(16, 0); 1410 return retVal; 1411 } 1412 1413 /** 1414 * Returns 1415 * STF-16: "Preferred Method Of Contact" - creates it if necessary 1416 */ 1417 public CE getStf16_PreferredMethodOfContact() { 1418 CE retVal = this.getTypedField(16, 0); 1419 return retVal; 1420 } 1421 1422 1423 1424 /** 1425 * Returns 1426 * STF-17: "Marital Status" - creates it if necessary 1427 */ 1428 public CE getMaritalStatus() { 1429 CE retVal = this.getTypedField(17, 0); 1430 return retVal; 1431 } 1432 1433 /** 1434 * Returns 1435 * STF-17: "Marital Status" - creates it if necessary 1436 */ 1437 public CE getStf17_MaritalStatus() { 1438 CE retVal = this.getTypedField(17, 0); 1439 return retVal; 1440 } 1441 1442 1443 1444 /** 1445 * Returns 1446 * STF-18: "Job Title" - creates it if necessary 1447 */ 1448 public ST getJobTitle() { 1449 ST retVal = this.getTypedField(18, 0); 1450 return retVal; 1451 } 1452 1453 /** 1454 * Returns 1455 * STF-18: "Job Title" - creates it if necessary 1456 */ 1457 public ST getStf18_JobTitle() { 1458 ST retVal = this.getTypedField(18, 0); 1459 return retVal; 1460 } 1461 1462 1463 1464 /** 1465 * Returns 1466 * STF-19: "Job Code/Class" - creates it if necessary 1467 */ 1468 public JCC getJobCodeClass() { 1469 JCC retVal = this.getTypedField(19, 0); 1470 return retVal; 1471 } 1472 1473 /** 1474 * Returns 1475 * STF-19: "Job Code/Class" - creates it if necessary 1476 */ 1477 public JCC getStf19_JobCodeClass() { 1478 JCC retVal = this.getTypedField(19, 0); 1479 return retVal; 1480 } 1481 1482 1483 1484 /** 1485 * Returns 1486 * STF-20: "Employment Status" - creates it if necessary 1487 */ 1488 public IS getEmploymentStatus() { 1489 IS retVal = this.getTypedField(20, 0); 1490 return retVal; 1491 } 1492 1493 /** 1494 * Returns 1495 * STF-20: "Employment Status" - creates it if necessary 1496 */ 1497 public IS getStf20_EmploymentStatus() { 1498 IS retVal = this.getTypedField(20, 0); 1499 return retVal; 1500 } 1501 1502 1503 1504 /** 1505 * Returns 1506 * STF-21: "Additional Insured on Auto" - creates it if necessary 1507 */ 1508 public ID getAdditionalInsuredOnAuto() { 1509 ID retVal = this.getTypedField(21, 0); 1510 return retVal; 1511 } 1512 1513 /** 1514 * Returns 1515 * STF-21: "Additional Insured on Auto" - creates it if necessary 1516 */ 1517 public ID getStf21_AdditionalInsuredOnAuto() { 1518 ID retVal = this.getTypedField(21, 0); 1519 return retVal; 1520 } 1521 1522 1523 1524 /** 1525 * Returns 1526 * STF-22: "Driver’s License Number - Staff" - creates it if necessary 1527 */ 1528 public DLN getDriverSLicenseNumberStaff() { 1529 DLN retVal = this.getTypedField(22, 0); 1530 return retVal; 1531 } 1532 1533 /** 1534 * Returns 1535 * STF-22: "Driver’s License Number - Staff" - creates it if necessary 1536 */ 1537 public DLN getStf22_DriverSLicenseNumberStaff() { 1538 DLN retVal = this.getTypedField(22, 0); 1539 return retVal; 1540 } 1541 1542 1543 1544 /** 1545 * Returns 1546 * STF-23: "Copy Auto Ins" - creates it if necessary 1547 */ 1548 public ID getCopyAutoIns() { 1549 ID retVal = this.getTypedField(23, 0); 1550 return retVal; 1551 } 1552 1553 /** 1554 * Returns 1555 * STF-23: "Copy Auto Ins" - creates it if necessary 1556 */ 1557 public ID getStf23_CopyAutoIns() { 1558 ID retVal = this.getTypedField(23, 0); 1559 return retVal; 1560 } 1561 1562 1563 1564 /** 1565 * Returns 1566 * STF-24: "Auto Ins. Expires" - creates it if necessary 1567 */ 1568 public DT getAutoInsExpires() { 1569 DT retVal = this.getTypedField(24, 0); 1570 return retVal; 1571 } 1572 1573 /** 1574 * Returns 1575 * STF-24: "Auto Ins. Expires" - creates it if necessary 1576 */ 1577 public DT getStf24_AutoInsExpires() { 1578 DT retVal = this.getTypedField(24, 0); 1579 return retVal; 1580 } 1581 1582 1583 1584 /** 1585 * Returns 1586 * STF-25: "Date Last DMV Review" - creates it if necessary 1587 */ 1588 public DT getDateLastDMVReview() { 1589 DT retVal = this.getTypedField(25, 0); 1590 return retVal; 1591 } 1592 1593 /** 1594 * Returns 1595 * STF-25: "Date Last DMV Review" - creates it if necessary 1596 */ 1597 public DT getStf25_DateLastDMVReview() { 1598 DT retVal = this.getTypedField(25, 0); 1599 return retVal; 1600 } 1601 1602 1603 1604 /** 1605 * Returns 1606 * STF-26: "Date Next DMV Review" - creates it if necessary 1607 */ 1608 public DT getDateNextDMVReview() { 1609 DT retVal = this.getTypedField(26, 0); 1610 return retVal; 1611 } 1612 1613 /** 1614 * Returns 1615 * STF-26: "Date Next DMV Review" - creates it if necessary 1616 */ 1617 public DT getStf26_DateNextDMVReview() { 1618 DT retVal = this.getTypedField(26, 0); 1619 return retVal; 1620 } 1621 1622 1623 1624 1625 1626 /** {@inheritDoc} */ 1627 protected Type createNewTypeWithoutReflection(int field) { 1628 switch (field) { 1629 case 0: return new CE(getMessage()); 1630 case 1: return new CX(getMessage()); 1631 case 2: return new XPN(getMessage()); 1632 case 3: return new IS(getMessage(), new Integer( 182 )); 1633 case 4: return new IS(getMessage(), new Integer( 1 )); 1634 case 5: return new TS(getMessage()); 1635 case 6: return new ID(getMessage(), new Integer( 183 )); 1636 case 7: return new CE(getMessage()); 1637 case 8: return new CE(getMessage()); 1638 case 9: return new XTN(getMessage()); 1639 case 10: return new XAD(getMessage()); 1640 case 11: return new DIN(getMessage()); 1641 case 12: return new DIN(getMessage()); 1642 case 13: return new CE(getMessage()); 1643 case 14: return new ST(getMessage()); 1644 case 15: return new CE(getMessage()); 1645 case 16: return new CE(getMessage()); 1646 case 17: return new ST(getMessage()); 1647 case 18: return new JCC(getMessage()); 1648 case 19: return new IS(getMessage(), new Integer( 66 )); 1649 case 20: return new ID(getMessage(), new Integer( 136 )); 1650 case 21: return new DLN(getMessage()); 1651 case 22: return new ID(getMessage(), new Integer( 136 )); 1652 case 23: return new DT(getMessage()); 1653 case 24: return new DT(getMessage()); 1654 case 25: return new DT(getMessage()); 1655 default: return null; 1656 } 1657 } 1658 1659 1660} 1661