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