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 ARQ message segment (Appointment Request). 049 * This segment has the following fields:</p> 050 * <ul> 051 * <li>ARQ-1: Placer Appointment ID (EI) <b> </b> 052 * <li>ARQ-2: Filler Appointment ID (EI) <b>optional </b> 053 * <li>ARQ-3: Occurrence Number (NM) <b>optional </b> 054 * <li>ARQ-4: Placer Group Number (EI) <b>optional </b> 055 * <li>ARQ-5: Schedule ID (CE) <b>optional </b> 056 * <li>ARQ-6: Request Event Reason (CE) <b>optional </b> 057 * <li>ARQ-7: Appointment Reason (CE) <b>optional </b> 058 * <li>ARQ-8: Appointment Type (CE) <b>optional </b> 059 * <li>ARQ-9: Appointment Duration (NM) <b>optional </b> 060 * <li>ARQ-10: Appointment Duration Units (CE) <b>optional </b> 061 * <li>ARQ-11: Requested Start Date/Time Range (DR) <b>optional repeating</b> 062 * <li>ARQ-12: Priority (ST) <b>optional </b> 063 * <li>ARQ-13: Repeating Interval (RI) <b>optional </b> 064 * <li>ARQ-14: Repeating Interval Duration (ST) <b>optional </b> 065 * <li>ARQ-15: Placer Contact Person (XCN) <b>optional </b> 066 * <li>ARQ-16: Placer Contact Phone Number (XTN) <b>optional </b> 067 * <li>ARQ-17: Placer Contact Address (XAD) <b>optional </b> 068 * <li>ARQ-18: Placer Contact Location (PL) <b>optional </b> 069 * <li>ARQ-19: Entered By Person (XCN) <b> </b> 070 * <li>ARQ-20: Entered By Phone Number (XTN) <b>optional repeating</b> 071 * <li>ARQ-21: Entered By Location (PL) <b>optional </b> 072 * <li>ARQ-22: Parent Placer Appointment ID (EI) <b>optional </b> 073 * <li>ARQ-23: Parent Filler Appointment ID (EI) <b>optional </b> 074 * </ul> 075 */ 076@SuppressWarnings("unused") 077public class ARQ extends AbstractSegment { 078 079 /** 080 * Creates a new ARQ segment 081 */ 082 public ARQ(Group parent, ModelClassFactory factory) { 083 super(parent, factory); 084 init(factory); 085 } 086 087 private void init(ModelClassFactory factory) { 088 try { 089 this.add(EI.class, true, 1, 22, new Object[]{ getMessage() }, "Placer Appointment ID"); 090 this.add(EI.class, false, 1, 22, new Object[]{ getMessage() }, "Filler Appointment ID"); 091 this.add(NM.class, false, 1, 5, new Object[]{ getMessage() }, "Occurrence Number"); 092 this.add(EI.class, false, 1, 37, new Object[]{ getMessage() }, "Placer Group Number"); 093 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Schedule ID"); 094 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Request Event Reason"); 095 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Appointment Reason"); 096 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Appointment Type"); 097 this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Appointment Duration"); 098 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Appointment Duration Units"); 099 this.add(DR.class, false, 0, 53, new Object[]{ getMessage() }, "Requested Start Date/Time Range"); 100 this.add(ST.class, false, 1, 5, new Object[]{ getMessage() }, "Priority"); 101 this.add(RI.class, false, 1, 100, new Object[]{ getMessage() }, "Repeating Interval"); 102 this.add(ST.class, false, 1, 5, new Object[]{ getMessage() }, "Repeating Interval Duration"); 103 this.add(XCN.class, false, 1, 48, new Object[]{ getMessage() }, "Placer Contact Person"); 104 this.add(XTN.class, false, 1, 40, new Object[]{ getMessage() }, "Placer Contact Phone Number"); 105 this.add(XAD.class, false, 1, 106, new Object[]{ getMessage() }, "Placer Contact Address"); 106 this.add(PL.class, false, 1, 80, new Object[]{ getMessage() }, "Placer Contact Location"); 107 this.add(XCN.class, true, 1, 48, new Object[]{ getMessage() }, "Entered By Person"); 108 this.add(XTN.class, false, 0, 40, new Object[]{ getMessage() }, "Entered By Phone Number"); 109 this.add(PL.class, false, 1, 80, new Object[]{ getMessage() }, "Entered By Location"); 110 this.add(EI.class, false, 1, 75, new Object[]{ getMessage() }, "Parent Placer Appointment ID"); 111 this.add(EI.class, false, 1, 75, new Object[]{ getMessage() }, "Parent Filler Appointment ID"); 112 } catch(HL7Exception e) { 113 log.error("Unexpected error creating ARQ - this is probably a bug in the source code generator.", e); 114 } 115 } 116 117 118 119 /** 120 * Returns 121 * ARQ-1: "Placer Appointment ID" - creates it if necessary 122 */ 123 public EI getPlacerAppointmentID() { 124 EI retVal = this.getTypedField(1, 0); 125 return retVal; 126 } 127 128 /** 129 * Returns 130 * ARQ-1: "Placer Appointment ID" - creates it if necessary 131 */ 132 public EI getArq1_PlacerAppointmentID() { 133 EI retVal = this.getTypedField(1, 0); 134 return retVal; 135 } 136 137 138 139 /** 140 * Returns 141 * ARQ-2: "Filler Appointment ID" - creates it if necessary 142 */ 143 public EI getFillerAppointmentID() { 144 EI retVal = this.getTypedField(2, 0); 145 return retVal; 146 } 147 148 /** 149 * Returns 150 * ARQ-2: "Filler Appointment ID" - creates it if necessary 151 */ 152 public EI getArq2_FillerAppointmentID() { 153 EI retVal = this.getTypedField(2, 0); 154 return retVal; 155 } 156 157 158 159 /** 160 * Returns 161 * ARQ-3: "Occurrence Number" - creates it if necessary 162 */ 163 public NM getOccurrenceNumber() { 164 NM retVal = this.getTypedField(3, 0); 165 return retVal; 166 } 167 168 /** 169 * Returns 170 * ARQ-3: "Occurrence Number" - creates it if necessary 171 */ 172 public NM getArq3_OccurrenceNumber() { 173 NM retVal = this.getTypedField(3, 0); 174 return retVal; 175 } 176 177 178 179 /** 180 * Returns 181 * ARQ-4: "Placer Group Number" - creates it if necessary 182 */ 183 public EI getPlacerGroupNumber() { 184 EI retVal = this.getTypedField(4, 0); 185 return retVal; 186 } 187 188 /** 189 * Returns 190 * ARQ-4: "Placer Group Number" - creates it if necessary 191 */ 192 public EI getArq4_PlacerGroupNumber() { 193 EI retVal = this.getTypedField(4, 0); 194 return retVal; 195 } 196 197 198 199 /** 200 * Returns 201 * ARQ-5: "Schedule ID" - creates it if necessary 202 */ 203 public CE getScheduleID() { 204 CE retVal = this.getTypedField(5, 0); 205 return retVal; 206 } 207 208 /** 209 * Returns 210 * ARQ-5: "Schedule ID" - creates it if necessary 211 */ 212 public CE getArq5_ScheduleID() { 213 CE retVal = this.getTypedField(5, 0); 214 return retVal; 215 } 216 217 218 219 /** 220 * Returns 221 * ARQ-6: "Request Event Reason" - creates it if necessary 222 */ 223 public CE getRequestEventReason() { 224 CE retVal = this.getTypedField(6, 0); 225 return retVal; 226 } 227 228 /** 229 * Returns 230 * ARQ-6: "Request Event Reason" - creates it if necessary 231 */ 232 public CE getArq6_RequestEventReason() { 233 CE retVal = this.getTypedField(6, 0); 234 return retVal; 235 } 236 237 238 239 /** 240 * Returns 241 * ARQ-7: "Appointment Reason" - creates it if necessary 242 */ 243 public CE getAppointmentReason() { 244 CE retVal = this.getTypedField(7, 0); 245 return retVal; 246 } 247 248 /** 249 * Returns 250 * ARQ-7: "Appointment Reason" - creates it if necessary 251 */ 252 public CE getArq7_AppointmentReason() { 253 CE retVal = this.getTypedField(7, 0); 254 return retVal; 255 } 256 257 258 259 /** 260 * Returns 261 * ARQ-8: "Appointment Type" - creates it if necessary 262 */ 263 public CE getAppointmentType() { 264 CE retVal = this.getTypedField(8, 0); 265 return retVal; 266 } 267 268 /** 269 * Returns 270 * ARQ-8: "Appointment Type" - creates it if necessary 271 */ 272 public CE getArq8_AppointmentType() { 273 CE retVal = this.getTypedField(8, 0); 274 return retVal; 275 } 276 277 278 279 /** 280 * Returns 281 * ARQ-9: "Appointment Duration" - creates it if necessary 282 */ 283 public NM getAppointmentDuration() { 284 NM retVal = this.getTypedField(9, 0); 285 return retVal; 286 } 287 288 /** 289 * Returns 290 * ARQ-9: "Appointment Duration" - creates it if necessary 291 */ 292 public NM getArq9_AppointmentDuration() { 293 NM retVal = this.getTypedField(9, 0); 294 return retVal; 295 } 296 297 298 299 /** 300 * Returns 301 * ARQ-10: "Appointment Duration Units" - creates it if necessary 302 */ 303 public CE getAppointmentDurationUnits() { 304 CE retVal = this.getTypedField(10, 0); 305 return retVal; 306 } 307 308 /** 309 * Returns 310 * ARQ-10: "Appointment Duration Units" - creates it if necessary 311 */ 312 public CE getArq10_AppointmentDurationUnits() { 313 CE retVal = this.getTypedField(10, 0); 314 return retVal; 315 } 316 317 318 /** 319 * Returns all repetitions of Requested Start Date/Time Range (ARQ-11). 320 */ 321 public DR[] getRequestedStartDateTimeRange() { 322 DR[] retVal = this.getTypedField(11, new DR[0]); 323 return retVal; 324 } 325 326 327 /** 328 * Returns all repetitions of Requested Start Date/Time Range (ARQ-11). 329 */ 330 public DR[] getArq11_RequestedStartDateTimeRange() { 331 DR[] retVal = this.getTypedField(11, new DR[0]); 332 return retVal; 333 } 334 335 336 /** 337 * Returns a count of the current number of repetitions of Requested Start Date/Time Range (ARQ-11). 338 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 339 * it will return zero. 340 */ 341 public int getRequestedStartDateTimeRangeReps() { 342 return this.getReps(11); 343 } 344 345 346 /** 347 * Returns a specific repetition of 348 * ARQ-11: "Requested Start Date/Time Range" - creates it if necessary 349 * 350 * @param rep The repetition index (0-indexed) 351 */ 352 public DR getRequestedStartDateTimeRange(int rep) { 353 DR retVal = this.getTypedField(11, rep); 354 return retVal; 355 } 356 357 /** 358 * Returns a specific repetition of 359 * ARQ-11: "Requested Start Date/Time Range" - creates it if necessary 360 * 361 * @param rep The repetition index (0-indexed) 362 */ 363 public DR getArq11_RequestedStartDateTimeRange(int rep) { 364 DR retVal = this.getTypedField(11, rep); 365 return retVal; 366 } 367 368 /** 369 * Returns a count of the current number of repetitions of Requested Start Date/Time Range (ARQ-11). 370 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 371 * it will return zero. 372 */ 373 public int getArq11_RequestedStartDateTimeRangeReps() { 374 return this.getReps(11); 375 } 376 377 378 /** 379 * Inserts a repetition of 380 * ARQ-11: "Requested Start Date/Time Range" at a specific index 381 * 382 * @param rep The repetition index (0-indexed) 383 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 384 */ 385 public DR insertRequestedStartDateTimeRange(int rep) throws HL7Exception { 386 return (DR) super.insertRepetition(11, rep); 387 } 388 389 390 /** 391 * Inserts a repetition of 392 * ARQ-11: "Requested Start Date/Time Range" at a specific index 393 * 394 * @param rep The repetition index (0-indexed) 395 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 396 */ 397 public DR insertArq11_RequestedStartDateTimeRange(int rep) throws HL7Exception { 398 return (DR) super.insertRepetition(11, rep); 399 } 400 401 402 /** 403 * Removes a repetition of 404 * ARQ-11: "Requested Start Date/Time Range" at a specific index 405 * 406 * @param rep The repetition index (0-indexed) 407 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 408 */ 409 public DR removeRequestedStartDateTimeRange(int rep) throws HL7Exception { 410 return (DR) super.removeRepetition(11, rep); 411 } 412 413 414 /** 415 * Removes a repetition of 416 * ARQ-11: "Requested Start Date/Time Range" at a specific index 417 * 418 * @param rep The repetition index (0-indexed) 419 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 420 */ 421 public DR removeArq11_RequestedStartDateTimeRange(int rep) throws HL7Exception { 422 return (DR) super.removeRepetition(11, rep); 423 } 424 425 426 427 428 /** 429 * Returns 430 * ARQ-12: "Priority" - creates it if necessary 431 */ 432 public ST getPriority() { 433 ST retVal = this.getTypedField(12, 0); 434 return retVal; 435 } 436 437 /** 438 * Returns 439 * ARQ-12: "Priority" - creates it if necessary 440 */ 441 public ST getArq12_Priority() { 442 ST retVal = this.getTypedField(12, 0); 443 return retVal; 444 } 445 446 447 448 /** 449 * Returns 450 * ARQ-13: "Repeating Interval" - creates it if necessary 451 */ 452 public RI getRepeatingInterval() { 453 RI retVal = this.getTypedField(13, 0); 454 return retVal; 455 } 456 457 /** 458 * Returns 459 * ARQ-13: "Repeating Interval" - creates it if necessary 460 */ 461 public RI getArq13_RepeatingInterval() { 462 RI retVal = this.getTypedField(13, 0); 463 return retVal; 464 } 465 466 467 468 /** 469 * Returns 470 * ARQ-14: "Repeating Interval Duration" - creates it if necessary 471 */ 472 public ST getRepeatingIntervalDuration() { 473 ST retVal = this.getTypedField(14, 0); 474 return retVal; 475 } 476 477 /** 478 * Returns 479 * ARQ-14: "Repeating Interval Duration" - creates it if necessary 480 */ 481 public ST getArq14_RepeatingIntervalDuration() { 482 ST retVal = this.getTypedField(14, 0); 483 return retVal; 484 } 485 486 487 488 /** 489 * Returns 490 * ARQ-15: "Placer Contact Person" - creates it if necessary 491 */ 492 public XCN getPlacerContactPerson() { 493 XCN retVal = this.getTypedField(15, 0); 494 return retVal; 495 } 496 497 /** 498 * Returns 499 * ARQ-15: "Placer Contact Person" - creates it if necessary 500 */ 501 public XCN getArq15_PlacerContactPerson() { 502 XCN retVal = this.getTypedField(15, 0); 503 return retVal; 504 } 505 506 507 508 /** 509 * Returns 510 * ARQ-16: "Placer Contact Phone Number" - creates it if necessary 511 */ 512 public XTN getPlacerContactPhoneNumber() { 513 XTN retVal = this.getTypedField(16, 0); 514 return retVal; 515 } 516 517 /** 518 * Returns 519 * ARQ-16: "Placer Contact Phone Number" - creates it if necessary 520 */ 521 public XTN getArq16_PlacerContactPhoneNumber() { 522 XTN retVal = this.getTypedField(16, 0); 523 return retVal; 524 } 525 526 527 528 /** 529 * Returns 530 * ARQ-17: "Placer Contact Address" - creates it if necessary 531 */ 532 public XAD getPlacerContactAddress() { 533 XAD retVal = this.getTypedField(17, 0); 534 return retVal; 535 } 536 537 /** 538 * Returns 539 * ARQ-17: "Placer Contact Address" - creates it if necessary 540 */ 541 public XAD getArq17_PlacerContactAddress() { 542 XAD retVal = this.getTypedField(17, 0); 543 return retVal; 544 } 545 546 547 548 /** 549 * Returns 550 * ARQ-18: "Placer Contact Location" - creates it if necessary 551 */ 552 public PL getPlacerContactLocation() { 553 PL retVal = this.getTypedField(18, 0); 554 return retVal; 555 } 556 557 /** 558 * Returns 559 * ARQ-18: "Placer Contact Location" - creates it if necessary 560 */ 561 public PL getArq18_PlacerContactLocation() { 562 PL retVal = this.getTypedField(18, 0); 563 return retVal; 564 } 565 566 567 568 /** 569 * Returns 570 * ARQ-19: "Entered By Person" - creates it if necessary 571 */ 572 public XCN getEnteredByPerson() { 573 XCN retVal = this.getTypedField(19, 0); 574 return retVal; 575 } 576 577 /** 578 * Returns 579 * ARQ-19: "Entered By Person" - creates it if necessary 580 */ 581 public XCN getArq19_EnteredByPerson() { 582 XCN retVal = this.getTypedField(19, 0); 583 return retVal; 584 } 585 586 587 /** 588 * Returns all repetitions of Entered By Phone Number (ARQ-20). 589 */ 590 public XTN[] getEnteredByPhoneNumber() { 591 XTN[] retVal = this.getTypedField(20, new XTN[0]); 592 return retVal; 593 } 594 595 596 /** 597 * Returns all repetitions of Entered By Phone Number (ARQ-20). 598 */ 599 public XTN[] getArq20_EnteredByPhoneNumber() { 600 XTN[] retVal = this.getTypedField(20, new XTN[0]); 601 return retVal; 602 } 603 604 605 /** 606 * Returns a count of the current number of repetitions of Entered By Phone Number (ARQ-20). 607 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 608 * it will return zero. 609 */ 610 public int getEnteredByPhoneNumberReps() { 611 return this.getReps(20); 612 } 613 614 615 /** 616 * Returns a specific repetition of 617 * ARQ-20: "Entered By Phone Number" - creates it if necessary 618 * 619 * @param rep The repetition index (0-indexed) 620 */ 621 public XTN getEnteredByPhoneNumber(int rep) { 622 XTN retVal = this.getTypedField(20, rep); 623 return retVal; 624 } 625 626 /** 627 * Returns a specific repetition of 628 * ARQ-20: "Entered By Phone Number" - creates it if necessary 629 * 630 * @param rep The repetition index (0-indexed) 631 */ 632 public XTN getArq20_EnteredByPhoneNumber(int rep) { 633 XTN retVal = this.getTypedField(20, rep); 634 return retVal; 635 } 636 637 /** 638 * Returns a count of the current number of repetitions of Entered By Phone Number (ARQ-20). 639 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 640 * it will return zero. 641 */ 642 public int getArq20_EnteredByPhoneNumberReps() { 643 return this.getReps(20); 644 } 645 646 647 /** 648 * Inserts a repetition of 649 * ARQ-20: "Entered By Phone Number" 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 XTN insertEnteredByPhoneNumber(int rep) throws HL7Exception { 655 return (XTN) super.insertRepetition(20, rep); 656 } 657 658 659 /** 660 * Inserts a repetition of 661 * ARQ-20: "Entered By Phone Number" at a specific index 662 * 663 * @param rep The repetition index (0-indexed) 664 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 665 */ 666 public XTN insertArq20_EnteredByPhoneNumber(int rep) throws HL7Exception { 667 return (XTN) super.insertRepetition(20, rep); 668 } 669 670 671 /** 672 * Removes a repetition of 673 * ARQ-20: "Entered By Phone Number" at a specific index 674 * 675 * @param rep The repetition index (0-indexed) 676 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 677 */ 678 public XTN removeEnteredByPhoneNumber(int rep) throws HL7Exception { 679 return (XTN) super.removeRepetition(20, rep); 680 } 681 682 683 /** 684 * Removes a repetition of 685 * ARQ-20: "Entered By Phone Number" at a specific index 686 * 687 * @param rep The repetition index (0-indexed) 688 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 689 */ 690 public XTN removeArq20_EnteredByPhoneNumber(int rep) throws HL7Exception { 691 return (XTN) super.removeRepetition(20, rep); 692 } 693 694 695 696 697 /** 698 * Returns 699 * ARQ-21: "Entered By Location" - creates it if necessary 700 */ 701 public PL getEnteredByLocation() { 702 PL retVal = this.getTypedField(21, 0); 703 return retVal; 704 } 705 706 /** 707 * Returns 708 * ARQ-21: "Entered By Location" - creates it if necessary 709 */ 710 public PL getArq21_EnteredByLocation() { 711 PL retVal = this.getTypedField(21, 0); 712 return retVal; 713 } 714 715 716 717 /** 718 * Returns 719 * ARQ-22: "Parent Placer Appointment ID" - creates it if necessary 720 */ 721 public EI getParentPlacerAppointmentID() { 722 EI retVal = this.getTypedField(22, 0); 723 return retVal; 724 } 725 726 /** 727 * Returns 728 * ARQ-22: "Parent Placer Appointment ID" - creates it if necessary 729 */ 730 public EI getArq22_ParentPlacerAppointmentID() { 731 EI retVal = this.getTypedField(22, 0); 732 return retVal; 733 } 734 735 736 737 /** 738 * Returns 739 * ARQ-23: "Parent Filler Appointment ID" - creates it if necessary 740 */ 741 public EI getParentFillerAppointmentID() { 742 EI retVal = this.getTypedField(23, 0); 743 return retVal; 744 } 745 746 /** 747 * Returns 748 * ARQ-23: "Parent Filler Appointment ID" - creates it if necessary 749 */ 750 public EI getArq23_ParentFillerAppointmentID() { 751 EI retVal = this.getTypedField(23, 0); 752 return retVal; 753 } 754 755 756 757 758 759 /** {@inheritDoc} */ 760 protected Type createNewTypeWithoutReflection(int field) { 761 switch (field) { 762 case 0: return new EI(getMessage()); 763 case 1: return new EI(getMessage()); 764 case 2: return new NM(getMessage()); 765 case 3: return new EI(getMessage()); 766 case 4: return new CE(getMessage()); 767 case 5: return new CE(getMessage()); 768 case 6: return new CE(getMessage()); 769 case 7: return new CE(getMessage()); 770 case 8: return new NM(getMessage()); 771 case 9: return new CE(getMessage()); 772 case 10: return new DR(getMessage()); 773 case 11: return new ST(getMessage()); 774 case 12: return new RI(getMessage()); 775 case 13: return new ST(getMessage()); 776 case 14: return new XCN(getMessage()); 777 case 15: return new XTN(getMessage()); 778 case 16: return new XAD(getMessage()); 779 case 17: return new PL(getMessage()); 780 case 18: return new XCN(getMessage()); 781 case 19: return new XTN(getMessage()); 782 case 20: return new PL(getMessage()); 783 case 21: return new EI(getMessage()); 784 case 22: return new EI(getMessage()); 785 default: return null; 786 } 787 } 788 789 790} 791