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.v23.segment; 035 036// import ca.uhn.hl7v2.model.v23.group.*; 037import ca.uhn.hl7v2.model.v23.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 (Staff identification segment). 049 * This segment has the following fields:</p> 050 * <ul> 051 * <li>STF-1: STF - Primary Key Value (CE) <b> </b> 052 * <li>STF-2: Staff ID Code (CE) <b>optional repeating</b> 053 * <li>STF-3: Staff Name (XPN) <b>optional </b> 054 * <li>STF-4: Staff Type (ID) <b>optional repeating</b> 055 * <li>STF-5: Sex (IS) <b>optional </b> 056 * <li>STF-6: Date 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: Service (CE) <b>optional repeating</b> 060 * <li>STF-10: Phone (XTN) <b>optional repeating</b> 061 * <li>STF-11: Office/Home Address (AD) <b>optional repeating</b> 062 * <li>STF-12: Activation Date (CM_DIN) <b>optional repeating</b> 063 * <li>STF-13: Inactivation Date (CM_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 (IS) <b>optional repeating</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 (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() }, "STF - Primary Key Value"); 093 this.add(CE.class, false, 0, 60, new Object[]{ getMessage() }, "Staff ID Code"); 094 this.add(XPN.class, false, 1, 48, new Object[]{ getMessage() }, "Staff Name"); 095 this.add(ID.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 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() }, "Service"); 101 this.add(XTN.class, false, 0, 40, new Object[]{ getMessage() }, "Phone"); 102 this.add(AD.class, false, 2, 106, new Object[]{ getMessage() }, "Office/Home Address"); 103 this.add(CM_DIN.class, false, 0, 26, new Object[]{ getMessage() }, "Activation Date"); 104 this.add(CM_DIN.class, false, 0, 26, new Object[]{ getMessage() }, "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(IS.class, false, 0, 1, new Object[]{ getMessage(), new Integer(2) }, "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"); 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: "STF - Primary Key Value" - creates it if necessary 128 */ 129 public CE getSTFPrimaryKeyValue() { 130 CE retVal = this.getTypedField(1, 0); 131 return retVal; 132 } 133 134 /** 135 * Returns 136 * STF-1: "STF - Primary Key Value" - creates it if necessary 137 */ 138 public CE getStf1_STFPrimaryKeyValue() { 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 CE[] getStaffIDCode() { 148 CE[] retVal = this.getTypedField(2, new CE[0]); 149 return retVal; 150 } 151 152 153 /** 154 * Returns all repetitions of Staff ID Code (STF-2). 155 */ 156 public CE[] getStf2_StaffIDCode() { 157 CE[] retVal = this.getTypedField(2, new CE[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 CE getStaffIDCode(int rep) { 179 CE 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 CE getStf2_StaffIDCode(int rep) { 190 CE 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 CE insertStaffIDCode(int rep) throws HL7Exception { 212 return (CE) 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 CE insertStf2_StaffIDCode(int rep) throws HL7Exception { 224 return (CE) 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 CE removeStaffIDCode(int rep) throws HL7Exception { 236 return (CE) 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 CE removeStf2_StaffIDCode(int rep) throws HL7Exception { 248 return (CE) super.removeRepetition(2, rep); 249 } 250 251 252 253 254 /** 255 * Returns 256 * STF-3: "Staff Name" - creates it if necessary 257 */ 258 public XPN getStaffName() { 259 XPN retVal = this.getTypedField(3, 0); 260 return retVal; 261 } 262 263 /** 264 * Returns 265 * STF-3: "Staff Name" - creates it if necessary 266 */ 267 public XPN getStf3_StaffName() { 268 XPN retVal = this.getTypedField(3, 0); 269 return retVal; 270 } 271 272 273 /** 274 * Returns all repetitions of Staff Type (STF-4). 275 */ 276 public ID[] getStaffType() { 277 ID[] retVal = this.getTypedField(4, new ID[0]); 278 return retVal; 279 } 280 281 282 /** 283 * Returns all repetitions of Staff Type (STF-4). 284 */ 285 public ID[] getStf4_StaffType() { 286 ID[] retVal = this.getTypedField(4, new ID[0]); 287 return retVal; 288 } 289 290 291 /** 292 * Returns a count of the current number of repetitions of Staff Type (STF-4). 293 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 294 * it will return zero. 295 */ 296 public int getStaffTypeReps() { 297 return this.getReps(4); 298 } 299 300 301 /** 302 * Returns a specific repetition of 303 * STF-4: "Staff Type" - creates it if necessary 304 * 305 * @param rep The repetition index (0-indexed) 306 */ 307 public ID getStaffType(int rep) { 308 ID retVal = this.getTypedField(4, rep); 309 return retVal; 310 } 311 312 /** 313 * Returns a specific repetition of 314 * STF-4: "Staff Type" - creates it if necessary 315 * 316 * @param rep The repetition index (0-indexed) 317 */ 318 public ID getStf4_StaffType(int rep) { 319 ID retVal = this.getTypedField(4, rep); 320 return retVal; 321 } 322 323 /** 324 * Returns a count of the current number of repetitions of Staff Type (STF-4). 325 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 326 * it will return zero. 327 */ 328 public int getStf4_StaffTypeReps() { 329 return this.getReps(4); 330 } 331 332 333 /** 334 * Inserts a repetition of 335 * STF-4: "Staff Type" at a specific index 336 * 337 * @param rep The repetition index (0-indexed) 338 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 339 */ 340 public ID insertStaffType(int rep) throws HL7Exception { 341 return (ID) super.insertRepetition(4, rep); 342 } 343 344 345 /** 346 * Inserts a repetition of 347 * STF-4: "Staff Type" at a specific index 348 * 349 * @param rep The repetition index (0-indexed) 350 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 351 */ 352 public ID insertStf4_StaffType(int rep) throws HL7Exception { 353 return (ID) super.insertRepetition(4, rep); 354 } 355 356 357 /** 358 * Removes a repetition of 359 * STF-4: "Staff Type" at a specific index 360 * 361 * @param rep The repetition index (0-indexed) 362 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 363 */ 364 public ID removeStaffType(int rep) throws HL7Exception { 365 return (ID) super.removeRepetition(4, rep); 366 } 367 368 369 /** 370 * Removes a repetition of 371 * STF-4: "Staff Type" at a specific index 372 * 373 * @param rep The repetition index (0-indexed) 374 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 375 */ 376 public ID removeStf4_StaffType(int rep) throws HL7Exception { 377 return (ID) super.removeRepetition(4, rep); 378 } 379 380 381 382 383 /** 384 * Returns 385 * STF-5: "Sex" - creates it if necessary 386 */ 387 public IS getSex() { 388 IS retVal = this.getTypedField(5, 0); 389 return retVal; 390 } 391 392 /** 393 * Returns 394 * STF-5: "Sex" - creates it if necessary 395 */ 396 public IS getStf5_Sex() { 397 IS retVal = this.getTypedField(5, 0); 398 return retVal; 399 } 400 401 402 403 /** 404 * Returns 405 * STF-6: "Date of Birth" - creates it if necessary 406 */ 407 public TS getDateOfBirth() { 408 TS retVal = this.getTypedField(6, 0); 409 return retVal; 410 } 411 412 /** 413 * Returns 414 * STF-6: "Date of Birth" - creates it if necessary 415 */ 416 public TS getStf6_DateOfBirth() { 417 TS retVal = this.getTypedField(6, 0); 418 return retVal; 419 } 420 421 422 423 /** 424 * Returns 425 * STF-7: "Active/Inactive Flag" - creates it if necessary 426 */ 427 public ID getActiveInactiveFlag() { 428 ID retVal = this.getTypedField(7, 0); 429 return retVal; 430 } 431 432 /** 433 * Returns 434 * STF-7: "Active/Inactive Flag" - creates it if necessary 435 */ 436 public ID getStf7_ActiveInactiveFlag() { 437 ID retVal = this.getTypedField(7, 0); 438 return retVal; 439 } 440 441 442 /** 443 * Returns all repetitions of Department (STF-8). 444 */ 445 public CE[] getDepartment() { 446 CE[] retVal = this.getTypedField(8, new CE[0]); 447 return retVal; 448 } 449 450 451 /** 452 * Returns all repetitions of Department (STF-8). 453 */ 454 public CE[] getStf8_Department() { 455 CE[] retVal = this.getTypedField(8, new CE[0]); 456 return retVal; 457 } 458 459 460 /** 461 * Returns a count of the current number of repetitions of Department (STF-8). 462 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 463 * it will return zero. 464 */ 465 public int getDepartmentReps() { 466 return this.getReps(8); 467 } 468 469 470 /** 471 * Returns a specific repetition of 472 * STF-8: "Department" - creates it if necessary 473 * 474 * @param rep The repetition index (0-indexed) 475 */ 476 public CE getDepartment(int rep) { 477 CE retVal = this.getTypedField(8, rep); 478 return retVal; 479 } 480 481 /** 482 * Returns a specific repetition of 483 * STF-8: "Department" - creates it if necessary 484 * 485 * @param rep The repetition index (0-indexed) 486 */ 487 public CE getStf8_Department(int rep) { 488 CE retVal = this.getTypedField(8, rep); 489 return retVal; 490 } 491 492 /** 493 * Returns a count of the current number of repetitions of Department (STF-8). 494 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 495 * it will return zero. 496 */ 497 public int getStf8_DepartmentReps() { 498 return this.getReps(8); 499 } 500 501 502 /** 503 * Inserts a repetition of 504 * STF-8: "Department" at a specific index 505 * 506 * @param rep The repetition index (0-indexed) 507 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 508 */ 509 public CE insertDepartment(int rep) throws HL7Exception { 510 return (CE) super.insertRepetition(8, rep); 511 } 512 513 514 /** 515 * Inserts a repetition of 516 * STF-8: "Department" at a specific index 517 * 518 * @param rep The repetition index (0-indexed) 519 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 520 */ 521 public CE insertStf8_Department(int rep) throws HL7Exception { 522 return (CE) super.insertRepetition(8, rep); 523 } 524 525 526 /** 527 * Removes a repetition of 528 * STF-8: "Department" at a specific index 529 * 530 * @param rep The repetition index (0-indexed) 531 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 532 */ 533 public CE removeDepartment(int rep) throws HL7Exception { 534 return (CE) super.removeRepetition(8, rep); 535 } 536 537 538 /** 539 * Removes a repetition of 540 * STF-8: "Department" at a specific index 541 * 542 * @param rep The repetition index (0-indexed) 543 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 544 */ 545 public CE removeStf8_Department(int rep) throws HL7Exception { 546 return (CE) super.removeRepetition(8, rep); 547 } 548 549 550 551 /** 552 * Returns all repetitions of Service (STF-9). 553 */ 554 public CE[] getService() { 555 CE[] retVal = this.getTypedField(9, new CE[0]); 556 return retVal; 557 } 558 559 560 /** 561 * Returns all repetitions of Service (STF-9). 562 */ 563 public CE[] getStf9_Service() { 564 CE[] retVal = this.getTypedField(9, new CE[0]); 565 return retVal; 566 } 567 568 569 /** 570 * Returns a count of the current number of repetitions of Service (STF-9). 571 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 572 * it will return zero. 573 */ 574 public int getServiceReps() { 575 return this.getReps(9); 576 } 577 578 579 /** 580 * Returns a specific repetition of 581 * STF-9: "Service" - creates it if necessary 582 * 583 * @param rep The repetition index (0-indexed) 584 */ 585 public CE getService(int rep) { 586 CE retVal = this.getTypedField(9, rep); 587 return retVal; 588 } 589 590 /** 591 * Returns a specific repetition of 592 * STF-9: "Service" - creates it if necessary 593 * 594 * @param rep The repetition index (0-indexed) 595 */ 596 public CE getStf9_Service(int rep) { 597 CE retVal = this.getTypedField(9, rep); 598 return retVal; 599 } 600 601 /** 602 * Returns a count of the current number of repetitions of Service (STF-9). 603 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 604 * it will return zero. 605 */ 606 public int getStf9_ServiceReps() { 607 return this.getReps(9); 608 } 609 610 611 /** 612 * Inserts a repetition of 613 * STF-9: "Service" at a specific index 614 * 615 * @param rep The repetition index (0-indexed) 616 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 617 */ 618 public CE insertService(int rep) throws HL7Exception { 619 return (CE) super.insertRepetition(9, rep); 620 } 621 622 623 /** 624 * Inserts a repetition of 625 * STF-9: "Service" at a specific index 626 * 627 * @param rep The repetition index (0-indexed) 628 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 629 */ 630 public CE insertStf9_Service(int rep) throws HL7Exception { 631 return (CE) super.insertRepetition(9, rep); 632 } 633 634 635 /** 636 * Removes a repetition of 637 * STF-9: "Service" at a specific index 638 * 639 * @param rep The repetition index (0-indexed) 640 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 641 */ 642 public CE removeService(int rep) throws HL7Exception { 643 return (CE) super.removeRepetition(9, rep); 644 } 645 646 647 /** 648 * Removes a repetition of 649 * STF-9: "Service" at a specific index 650 * 651 * @param rep The repetition index (0-indexed) 652 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 653 */ 654 public CE removeStf9_Service(int rep) throws HL7Exception { 655 return (CE) super.removeRepetition(9, rep); 656 } 657 658 659 660 /** 661 * Returns all repetitions of Phone (STF-10). 662 */ 663 public XTN[] getPhone() { 664 XTN[] retVal = this.getTypedField(10, new XTN[0]); 665 return retVal; 666 } 667 668 669 /** 670 * Returns all repetitions of Phone (STF-10). 671 */ 672 public XTN[] getStf10_Phone() { 673 XTN[] retVal = this.getTypedField(10, new XTN[0]); 674 return retVal; 675 } 676 677 678 /** 679 * Returns a count of the current number of repetitions of Phone (STF-10). 680 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 681 * it will return zero. 682 */ 683 public int getPhoneReps() { 684 return this.getReps(10); 685 } 686 687 688 /** 689 * Returns a specific repetition of 690 * STF-10: "Phone" - creates it if necessary 691 * 692 * @param rep The repetition index (0-indexed) 693 */ 694 public XTN getPhone(int rep) { 695 XTN retVal = this.getTypedField(10, rep); 696 return retVal; 697 } 698 699 /** 700 * Returns a specific repetition of 701 * STF-10: "Phone" - creates it if necessary 702 * 703 * @param rep The repetition index (0-indexed) 704 */ 705 public XTN getStf10_Phone(int rep) { 706 XTN retVal = this.getTypedField(10, rep); 707 return retVal; 708 } 709 710 /** 711 * Returns a count of the current number of repetitions of Phone (STF-10). 712 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 713 * it will return zero. 714 */ 715 public int getStf10_PhoneReps() { 716 return this.getReps(10); 717 } 718 719 720 /** 721 * Inserts a repetition of 722 * STF-10: "Phone" at a specific index 723 * 724 * @param rep The repetition index (0-indexed) 725 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 726 */ 727 public XTN insertPhone(int rep) throws HL7Exception { 728 return (XTN) super.insertRepetition(10, rep); 729 } 730 731 732 /** 733 * Inserts a repetition of 734 * STF-10: "Phone" at a specific index 735 * 736 * @param rep The repetition index (0-indexed) 737 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 738 */ 739 public XTN insertStf10_Phone(int rep) throws HL7Exception { 740 return (XTN) super.insertRepetition(10, rep); 741 } 742 743 744 /** 745 * Removes a repetition of 746 * STF-10: "Phone" at a specific index 747 * 748 * @param rep The repetition index (0-indexed) 749 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 750 */ 751 public XTN removePhone(int rep) throws HL7Exception { 752 return (XTN) super.removeRepetition(10, rep); 753 } 754 755 756 /** 757 * Removes a repetition of 758 * STF-10: "Phone" at a specific index 759 * 760 * @param rep The repetition index (0-indexed) 761 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 762 */ 763 public XTN removeStf10_Phone(int rep) throws HL7Exception { 764 return (XTN) super.removeRepetition(10, rep); 765 } 766 767 768 769 /** 770 * Returns all repetitions of Office/Home Address (STF-11). 771 */ 772 public AD[] getOfficeHomeAddress() { 773 AD[] retVal = this.getTypedField(11, new AD[0]); 774 return retVal; 775 } 776 777 778 /** 779 * Returns all repetitions of Office/Home Address (STF-11). 780 */ 781 public AD[] getStf11_OfficeHomeAddress() { 782 AD[] retVal = this.getTypedField(11, new AD[0]); 783 return retVal; 784 } 785 786 787 /** 788 * Returns a count of the current number of repetitions of Office/Home Address (STF-11). 789 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 790 * it will return zero. 791 */ 792 public int getOfficeHomeAddressReps() { 793 return this.getReps(11); 794 } 795 796 797 /** 798 * Returns a specific repetition of 799 * STF-11: "Office/Home Address" - creates it if necessary 800 * 801 * @param rep The repetition index (0-indexed) 802 */ 803 public AD getOfficeHomeAddress(int rep) { 804 AD retVal = this.getTypedField(11, rep); 805 return retVal; 806 } 807 808 /** 809 * Returns a specific repetition of 810 * STF-11: "Office/Home Address" - creates it if necessary 811 * 812 * @param rep The repetition index (0-indexed) 813 */ 814 public AD getStf11_OfficeHomeAddress(int rep) { 815 AD retVal = this.getTypedField(11, rep); 816 return retVal; 817 } 818 819 /** 820 * Returns a count of the current number of repetitions of Office/Home Address (STF-11). 821 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 822 * it will return zero. 823 */ 824 public int getStf11_OfficeHomeAddressReps() { 825 return this.getReps(11); 826 } 827 828 829 /** 830 * Inserts a repetition of 831 * STF-11: "Office/Home Address" at a specific index 832 * 833 * @param rep The repetition index (0-indexed) 834 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 835 */ 836 public AD insertOfficeHomeAddress(int rep) throws HL7Exception { 837 return (AD) super.insertRepetition(11, rep); 838 } 839 840 841 /** 842 * Inserts a repetition of 843 * STF-11: "Office/Home Address" at a specific index 844 * 845 * @param rep The repetition index (0-indexed) 846 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 847 */ 848 public AD insertStf11_OfficeHomeAddress(int rep) throws HL7Exception { 849 return (AD) super.insertRepetition(11, rep); 850 } 851 852 853 /** 854 * Removes a repetition of 855 * STF-11: "Office/Home Address" at a specific index 856 * 857 * @param rep The repetition index (0-indexed) 858 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 859 */ 860 public AD removeOfficeHomeAddress(int rep) throws HL7Exception { 861 return (AD) super.removeRepetition(11, rep); 862 } 863 864 865 /** 866 * Removes a repetition of 867 * STF-11: "Office/Home Address" at a specific index 868 * 869 * @param rep The repetition index (0-indexed) 870 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 871 */ 872 public AD removeStf11_OfficeHomeAddress(int rep) throws HL7Exception { 873 return (AD) super.removeRepetition(11, rep); 874 } 875 876 877 878 /** 879 * Returns all repetitions of Activation Date (STF-12). 880 */ 881 public CM_DIN[] getActivationDate() { 882 CM_DIN[] retVal = this.getTypedField(12, new CM_DIN[0]); 883 return retVal; 884 } 885 886 887 /** 888 * Returns all repetitions of Activation Date (STF-12). 889 */ 890 public CM_DIN[] getStf12_ActivationDate() { 891 CM_DIN[] retVal = this.getTypedField(12, new CM_DIN[0]); 892 return retVal; 893 } 894 895 896 /** 897 * Returns a count of the current number of repetitions of Activation Date (STF-12). 898 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 899 * it will return zero. 900 */ 901 public int getActivationDateReps() { 902 return this.getReps(12); 903 } 904 905 906 /** 907 * Returns a specific repetition of 908 * STF-12: "Activation Date" - creates it if necessary 909 * 910 * @param rep The repetition index (0-indexed) 911 */ 912 public CM_DIN getActivationDate(int rep) { 913 CM_DIN retVal = this.getTypedField(12, rep); 914 return retVal; 915 } 916 917 /** 918 * Returns a specific repetition of 919 * STF-12: "Activation Date" - creates it if necessary 920 * 921 * @param rep The repetition index (0-indexed) 922 */ 923 public CM_DIN getStf12_ActivationDate(int rep) { 924 CM_DIN retVal = this.getTypedField(12, rep); 925 return retVal; 926 } 927 928 /** 929 * Returns a count of the current number of repetitions of Activation Date (STF-12). 930 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 931 * it will return zero. 932 */ 933 public int getStf12_ActivationDateReps() { 934 return this.getReps(12); 935 } 936 937 938 /** 939 * Inserts a repetition of 940 * STF-12: "Activation Date" at a specific index 941 * 942 * @param rep The repetition index (0-indexed) 943 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 944 */ 945 public CM_DIN insertActivationDate(int rep) throws HL7Exception { 946 return (CM_DIN) super.insertRepetition(12, rep); 947 } 948 949 950 /** 951 * Inserts a repetition of 952 * STF-12: "Activation Date" at a specific index 953 * 954 * @param rep The repetition index (0-indexed) 955 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 956 */ 957 public CM_DIN insertStf12_ActivationDate(int rep) throws HL7Exception { 958 return (CM_DIN) super.insertRepetition(12, rep); 959 } 960 961 962 /** 963 * Removes a repetition of 964 * STF-12: "Activation Date" at a specific index 965 * 966 * @param rep The repetition index (0-indexed) 967 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 968 */ 969 public CM_DIN removeActivationDate(int rep) throws HL7Exception { 970 return (CM_DIN) super.removeRepetition(12, rep); 971 } 972 973 974 /** 975 * Removes a repetition of 976 * STF-12: "Activation Date" at a specific index 977 * 978 * @param rep The repetition index (0-indexed) 979 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 980 */ 981 public CM_DIN removeStf12_ActivationDate(int rep) throws HL7Exception { 982 return (CM_DIN) super.removeRepetition(12, rep); 983 } 984 985 986 987 /** 988 * Returns all repetitions of Inactivation Date (STF-13). 989 */ 990 public CM_DIN[] getInactivationDate() { 991 CM_DIN[] retVal = this.getTypedField(13, new CM_DIN[0]); 992 return retVal; 993 } 994 995 996 /** 997 * Returns all repetitions of Inactivation Date (STF-13). 998 */ 999 public CM_DIN[] getStf13_InactivationDate() { 1000 CM_DIN[] retVal = this.getTypedField(13, new CM_DIN[0]); 1001 return retVal; 1002 } 1003 1004 1005 /** 1006 * Returns a count of the current number of repetitions of Inactivation Date (STF-13). 1007 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1008 * it will return zero. 1009 */ 1010 public int getInactivationDateReps() { 1011 return this.getReps(13); 1012 } 1013 1014 1015 /** 1016 * Returns a specific repetition of 1017 * STF-13: "Inactivation Date" - creates it if necessary 1018 * 1019 * @param rep The repetition index (0-indexed) 1020 */ 1021 public CM_DIN getInactivationDate(int rep) { 1022 CM_DIN retVal = this.getTypedField(13, rep); 1023 return retVal; 1024 } 1025 1026 /** 1027 * Returns a specific repetition of 1028 * STF-13: "Inactivation Date" - creates it if necessary 1029 * 1030 * @param rep The repetition index (0-indexed) 1031 */ 1032 public CM_DIN getStf13_InactivationDate(int rep) { 1033 CM_DIN retVal = this.getTypedField(13, rep); 1034 return retVal; 1035 } 1036 1037 /** 1038 * Returns a count of the current number of repetitions of Inactivation Date (STF-13). 1039 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1040 * it will return zero. 1041 */ 1042 public int getStf13_InactivationDateReps() { 1043 return this.getReps(13); 1044 } 1045 1046 1047 /** 1048 * Inserts a repetition of 1049 * STF-13: "Inactivation Date" at a specific index 1050 * 1051 * @param rep The repetition index (0-indexed) 1052 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1053 */ 1054 public CM_DIN insertInactivationDate(int rep) throws HL7Exception { 1055 return (CM_DIN) super.insertRepetition(13, rep); 1056 } 1057 1058 1059 /** 1060 * Inserts a repetition of 1061 * STF-13: "Inactivation Date" at a specific index 1062 * 1063 * @param rep The repetition index (0-indexed) 1064 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1065 */ 1066 public CM_DIN insertStf13_InactivationDate(int rep) throws HL7Exception { 1067 return (CM_DIN) super.insertRepetition(13, rep); 1068 } 1069 1070 1071 /** 1072 * Removes a repetition of 1073 * STF-13: "Inactivation Date" at a specific index 1074 * 1075 * @param rep The repetition index (0-indexed) 1076 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1077 */ 1078 public CM_DIN removeInactivationDate(int rep) throws HL7Exception { 1079 return (CM_DIN) super.removeRepetition(13, rep); 1080 } 1081 1082 1083 /** 1084 * Removes a repetition of 1085 * STF-13: "Inactivation Date" at a specific index 1086 * 1087 * @param rep The repetition index (0-indexed) 1088 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1089 */ 1090 public CM_DIN removeStf13_InactivationDate(int rep) throws HL7Exception { 1091 return (CM_DIN) super.removeRepetition(13, rep); 1092 } 1093 1094 1095 1096 /** 1097 * Returns all repetitions of Backup Person ID (STF-14). 1098 */ 1099 public CE[] getBackupPersonID() { 1100 CE[] retVal = this.getTypedField(14, new CE[0]); 1101 return retVal; 1102 } 1103 1104 1105 /** 1106 * Returns all repetitions of Backup Person ID (STF-14). 1107 */ 1108 public CE[] getStf14_BackupPersonID() { 1109 CE[] retVal = this.getTypedField(14, new CE[0]); 1110 return retVal; 1111 } 1112 1113 1114 /** 1115 * Returns a count of the current number of repetitions of Backup Person ID (STF-14). 1116 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1117 * it will return zero. 1118 */ 1119 public int getBackupPersonIDReps() { 1120 return this.getReps(14); 1121 } 1122 1123 1124 /** 1125 * Returns a specific repetition of 1126 * STF-14: "Backup Person ID" - creates it if necessary 1127 * 1128 * @param rep The repetition index (0-indexed) 1129 */ 1130 public CE getBackupPersonID(int rep) { 1131 CE retVal = this.getTypedField(14, rep); 1132 return retVal; 1133 } 1134 1135 /** 1136 * Returns a specific repetition of 1137 * STF-14: "Backup Person ID" - creates it if necessary 1138 * 1139 * @param rep The repetition index (0-indexed) 1140 */ 1141 public CE getStf14_BackupPersonID(int rep) { 1142 CE retVal = this.getTypedField(14, rep); 1143 return retVal; 1144 } 1145 1146 /** 1147 * Returns a count of the current number of repetitions of Backup Person ID (STF-14). 1148 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1149 * it will return zero. 1150 */ 1151 public int getStf14_BackupPersonIDReps() { 1152 return this.getReps(14); 1153 } 1154 1155 1156 /** 1157 * Inserts a repetition of 1158 * STF-14: "Backup Person ID" at a specific index 1159 * 1160 * @param rep The repetition index (0-indexed) 1161 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1162 */ 1163 public CE insertBackupPersonID(int rep) throws HL7Exception { 1164 return (CE) super.insertRepetition(14, rep); 1165 } 1166 1167 1168 /** 1169 * Inserts a repetition of 1170 * STF-14: "Backup Person ID" at a specific index 1171 * 1172 * @param rep The repetition index (0-indexed) 1173 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1174 */ 1175 public CE insertStf14_BackupPersonID(int rep) throws HL7Exception { 1176 return (CE) super.insertRepetition(14, rep); 1177 } 1178 1179 1180 /** 1181 * Removes a repetition of 1182 * STF-14: "Backup Person ID" at a specific index 1183 * 1184 * @param rep The repetition index (0-indexed) 1185 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1186 */ 1187 public CE removeBackupPersonID(int rep) throws HL7Exception { 1188 return (CE) super.removeRepetition(14, rep); 1189 } 1190 1191 1192 /** 1193 * Removes a repetition of 1194 * STF-14: "Backup Person ID" at a specific index 1195 * 1196 * @param rep The repetition index (0-indexed) 1197 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1198 */ 1199 public CE removeStf14_BackupPersonID(int rep) throws HL7Exception { 1200 return (CE) super.removeRepetition(14, rep); 1201 } 1202 1203 1204 1205 /** 1206 * Returns all repetitions of E-mail Address (STF-15). 1207 */ 1208 public ST[] getEMailAddress() { 1209 ST[] retVal = this.getTypedField(15, new ST[0]); 1210 return retVal; 1211 } 1212 1213 1214 /** 1215 * Returns all repetitions of E-mail Address (STF-15). 1216 */ 1217 public ST[] getStf15_EMailAddress() { 1218 ST[] retVal = this.getTypedField(15, new ST[0]); 1219 return retVal; 1220 } 1221 1222 1223 /** 1224 * Returns a count of the current number of repetitions of E-mail Address (STF-15). 1225 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1226 * it will return zero. 1227 */ 1228 public int getEMailAddressReps() { 1229 return this.getReps(15); 1230 } 1231 1232 1233 /** 1234 * Returns a specific repetition of 1235 * STF-15: "E-mail Address" - creates it if necessary 1236 * 1237 * @param rep The repetition index (0-indexed) 1238 */ 1239 public ST getEMailAddress(int rep) { 1240 ST retVal = this.getTypedField(15, rep); 1241 return retVal; 1242 } 1243 1244 /** 1245 * Returns a specific repetition of 1246 * STF-15: "E-mail Address" - creates it if necessary 1247 * 1248 * @param rep The repetition index (0-indexed) 1249 */ 1250 public ST getStf15_EMailAddress(int rep) { 1251 ST retVal = this.getTypedField(15, rep); 1252 return retVal; 1253 } 1254 1255 /** 1256 * Returns a count of the current number of repetitions of E-mail Address (STF-15). 1257 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1258 * it will return zero. 1259 */ 1260 public int getStf15_EMailAddressReps() { 1261 return this.getReps(15); 1262 } 1263 1264 1265 /** 1266 * Inserts a repetition of 1267 * STF-15: "E-mail Address" at a specific index 1268 * 1269 * @param rep The repetition index (0-indexed) 1270 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1271 */ 1272 public ST insertEMailAddress(int rep) throws HL7Exception { 1273 return (ST) super.insertRepetition(15, rep); 1274 } 1275 1276 1277 /** 1278 * Inserts a repetition of 1279 * STF-15: "E-mail Address" at a specific index 1280 * 1281 * @param rep The repetition index (0-indexed) 1282 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1283 */ 1284 public ST insertStf15_EMailAddress(int rep) throws HL7Exception { 1285 return (ST) super.insertRepetition(15, rep); 1286 } 1287 1288 1289 /** 1290 * Removes a repetition of 1291 * STF-15: "E-mail Address" at a specific index 1292 * 1293 * @param rep The repetition index (0-indexed) 1294 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1295 */ 1296 public ST removeEMailAddress(int rep) throws HL7Exception { 1297 return (ST) super.removeRepetition(15, rep); 1298 } 1299 1300 1301 /** 1302 * Removes a repetition of 1303 * STF-15: "E-mail Address" at a specific index 1304 * 1305 * @param rep The repetition index (0-indexed) 1306 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1307 */ 1308 public ST removeStf15_EMailAddress(int rep) throws HL7Exception { 1309 return (ST) super.removeRepetition(15, rep); 1310 } 1311 1312 1313 1314 1315 /** 1316 * Returns 1317 * STF-16: "Preferred Method of Contact" - creates it if necessary 1318 */ 1319 public CE getPreferredMethodOfContact() { 1320 CE retVal = this.getTypedField(16, 0); 1321 return retVal; 1322 } 1323 1324 /** 1325 * Returns 1326 * STF-16: "Preferred Method of Contact" - creates it if necessary 1327 */ 1328 public CE getStf16_PreferredMethodOfContact() { 1329 CE retVal = this.getTypedField(16, 0); 1330 return retVal; 1331 } 1332 1333 1334 /** 1335 * Returns all repetitions of Marital Status (STF-17). 1336 */ 1337 public IS[] getMaritalStatus() { 1338 IS[] retVal = this.getTypedField(17, new IS[0]); 1339 return retVal; 1340 } 1341 1342 1343 /** 1344 * Returns all repetitions of Marital Status (STF-17). 1345 */ 1346 public IS[] getStf17_MaritalStatus() { 1347 IS[] retVal = this.getTypedField(17, new IS[0]); 1348 return retVal; 1349 } 1350 1351 1352 /** 1353 * Returns a count of the current number of repetitions of Marital Status (STF-17). 1354 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1355 * it will return zero. 1356 */ 1357 public int getMaritalStatusReps() { 1358 return this.getReps(17); 1359 } 1360 1361 1362 /** 1363 * Returns a specific repetition of 1364 * STF-17: "Marital Status" - creates it if necessary 1365 * 1366 * @param rep The repetition index (0-indexed) 1367 */ 1368 public IS getMaritalStatus(int rep) { 1369 IS retVal = this.getTypedField(17, rep); 1370 return retVal; 1371 } 1372 1373 /** 1374 * Returns a specific repetition of 1375 * STF-17: "Marital Status" - creates it if necessary 1376 * 1377 * @param rep The repetition index (0-indexed) 1378 */ 1379 public IS getStf17_MaritalStatus(int rep) { 1380 IS retVal = this.getTypedField(17, rep); 1381 return retVal; 1382 } 1383 1384 /** 1385 * Returns a count of the current number of repetitions of Marital Status (STF-17). 1386 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1387 * it will return zero. 1388 */ 1389 public int getStf17_MaritalStatusReps() { 1390 return this.getReps(17); 1391 } 1392 1393 1394 /** 1395 * Inserts a repetition of 1396 * STF-17: "Marital Status" at a specific index 1397 * 1398 * @param rep The repetition index (0-indexed) 1399 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1400 */ 1401 public IS insertMaritalStatus(int rep) throws HL7Exception { 1402 return (IS) super.insertRepetition(17, rep); 1403 } 1404 1405 1406 /** 1407 * Inserts a repetition of 1408 * STF-17: "Marital Status" at a specific index 1409 * 1410 * @param rep The repetition index (0-indexed) 1411 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1412 */ 1413 public IS insertStf17_MaritalStatus(int rep) throws HL7Exception { 1414 return (IS) super.insertRepetition(17, rep); 1415 } 1416 1417 1418 /** 1419 * Removes a repetition of 1420 * STF-17: "Marital Status" at a specific index 1421 * 1422 * @param rep The repetition index (0-indexed) 1423 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1424 */ 1425 public IS removeMaritalStatus(int rep) throws HL7Exception { 1426 return (IS) super.removeRepetition(17, rep); 1427 } 1428 1429 1430 /** 1431 * Removes a repetition of 1432 * STF-17: "Marital Status" at a specific index 1433 * 1434 * @param rep The repetition index (0-indexed) 1435 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1436 */ 1437 public IS removeStf17_MaritalStatus(int rep) throws HL7Exception { 1438 return (IS) super.removeRepetition(17, rep); 1439 } 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" - creates it if necessary 1527 */ 1528 public DLN getDriverSLicenseNumber() { 1529 DLN retVal = this.getTypedField(22, 0); 1530 return retVal; 1531 } 1532 1533 /** 1534 * Returns 1535 * STF-22: "Driver's License Number" - creates it if necessary 1536 */ 1537 public DLN getStf22_DriverSLicenseNumber() { 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 CE(getMessage()); 1631 case 2: return new XPN(getMessage()); 1632 case 3: return new ID(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 AD(getMessage()); 1640 case 11: return new CM_DIN(getMessage()); 1641 case 12: return new CM_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 IS(getMessage(), new Integer( 2 )); 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