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 PRB message segment (Problem Detail). 050 * This segment has the following fields:</p> 051 * <ul> 052 * <li>PRB-1: Action Code (ID) <b> </b> 053 * <li>PRB-2: Action Date/Time (TS) <b> </b> 054 * <li>PRB-3: Problem ID (CE) <b> </b> 055 * <li>PRB-4: Problem Instance ID (EI) <b> </b> 056 * <li>PRB-5: Episode of Care ID (EI) <b>optional </b> 057 * <li>PRB-6: Problem List Priority (NM) <b>optional </b> 058 * <li>PRB-7: Problem Established Date/Time (TS) <b>optional </b> 059 * <li>PRB-8: Anticipated Problem Resolution Date/Time (TS) <b>optional </b> 060 * <li>PRB-9: Actual Problem Resolution Date/Time (TS) <b>optional </b> 061 * <li>PRB-10: Problem Classification (CE) <b>optional </b> 062 * <li>PRB-11: Problem Management Discipline (CE) <b>optional repeating</b> 063 * <li>PRB-12: Problem Persistence (CE) <b>optional </b> 064 * <li>PRB-13: Problem Confirmation Status (CE) <b>optional </b> 065 * <li>PRB-14: Problem Life Cycle Status (CE) <b>optional </b> 066 * <li>PRB-15: Problem Life Cycle Status Date/Time (TS) <b>optional </b> 067 * <li>PRB-16: Problem Date of Onset (TS) <b>optional </b> 068 * <li>PRB-17: Problem Onset Text (ST) <b>optional </b> 069 * <li>PRB-18: Problem Ranking (CE) <b>optional </b> 070 * <li>PRB-19: Certainty of Problem (CE) <b>optional </b> 071 * <li>PRB-20: Probability of Problem (0-1) (NM) <b>optional </b> 072 * <li>PRB-21: Individual Awareness of Problem (CE) <b>optional </b> 073 * <li>PRB-22: Problem Prognosis (CE) <b>optional </b> 074 * <li>PRB-23: Individual Awareness of Prognosis (CE) <b>optional </b> 075 * <li>PRB-24: Family/Significant Other Awareness of Problem/Prognosis (ST) <b>optional </b> 076 * <li>PRB-25: Security/Sensitivity (CE) <b>optional </b> 077 * </ul> 078 */ 079@SuppressWarnings("unused") 080public class PRB extends AbstractSegment { 081 082 /** 083 * Creates a new PRB segment 084 */ 085 public PRB(Group parent, ModelClassFactory factory) { 086 super(parent, factory); 087 init(factory); 088 } 089 090 private void init(ModelClassFactory factory) { 091 try { 092 this.add(ID.class, true, 1, 2, new Object[]{ getMessage(), new Integer(287) }, "Action Code"); 093 this.add(TS.class, true, 1, 26, new Object[]{ getMessage() }, "Action Date/Time"); 094 this.add(CE.class, true, 1, 80, new Object[]{ getMessage() }, "Problem ID"); 095 this.add(EI.class, true, 1, 60, new Object[]{ getMessage() }, "Problem Instance ID"); 096 this.add(EI.class, false, 1, 60, new Object[]{ getMessage() }, "Episode of Care ID"); 097 this.add(NM.class, false, 1, 60, new Object[]{ getMessage() }, "Problem List Priority"); 098 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Problem Established Date/Time"); 099 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Anticipated Problem Resolution Date/Time"); 100 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Actual Problem Resolution Date/Time"); 101 this.add(CE.class, false, 1, 80, new Object[]{ getMessage() }, "Problem Classification"); 102 this.add(CE.class, false, 0, 80, new Object[]{ getMessage() }, "Problem Management Discipline"); 103 this.add(CE.class, false, 1, 80, new Object[]{ getMessage() }, "Problem Persistence"); 104 this.add(CE.class, false, 1, 80, new Object[]{ getMessage() }, "Problem Confirmation Status"); 105 this.add(CE.class, false, 1, 80, new Object[]{ getMessage() }, "Problem Life Cycle Status"); 106 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Problem Life Cycle Status Date/Time"); 107 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Problem Date of Onset"); 108 this.add(ST.class, false, 1, 80, new Object[]{ getMessage() }, "Problem Onset Text"); 109 this.add(CE.class, false, 1, 80, new Object[]{ getMessage() }, "Problem Ranking"); 110 this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Certainty of Problem"); 111 this.add(NM.class, false, 1, 5, new Object[]{ getMessage() }, "Probability of Problem (0-1)"); 112 this.add(CE.class, false, 1, 80, new Object[]{ getMessage() }, "Individual Awareness of Problem"); 113 this.add(CE.class, false, 1, 80, new Object[]{ getMessage() }, "Problem Prognosis"); 114 this.add(CE.class, false, 1, 80, new Object[]{ getMessage() }, "Individual Awareness of Prognosis"); 115 this.add(ST.class, false, 1, 200, new Object[]{ getMessage() }, "Family/Significant Other Awareness of Problem/Prognosis"); 116 this.add(CE.class, false, 1, 80, new Object[]{ getMessage() }, "Security/Sensitivity"); 117 } catch(HL7Exception e) { 118 log.error("Unexpected error creating PRB - this is probably a bug in the source code generator.", e); 119 } 120 } 121 122 123 124 /** 125 * Returns 126 * PRB-1: "Action Code" - creates it if necessary 127 */ 128 public ID getActionCode() { 129 ID retVal = this.getTypedField(1, 0); 130 return retVal; 131 } 132 133 /** 134 * Returns 135 * PRB-1: "Action Code" - creates it if necessary 136 */ 137 public ID getPrb1_ActionCode() { 138 ID retVal = this.getTypedField(1, 0); 139 return retVal; 140 } 141 142 143 144 /** 145 * Returns 146 * PRB-2: "Action Date/Time" - creates it if necessary 147 */ 148 public TS getActionDateTime() { 149 TS retVal = this.getTypedField(2, 0); 150 return retVal; 151 } 152 153 /** 154 * Returns 155 * PRB-2: "Action Date/Time" - creates it if necessary 156 */ 157 public TS getPrb2_ActionDateTime() { 158 TS retVal = this.getTypedField(2, 0); 159 return retVal; 160 } 161 162 163 164 /** 165 * Returns 166 * PRB-3: "Problem ID" - creates it if necessary 167 */ 168 public CE getProblemID() { 169 CE retVal = this.getTypedField(3, 0); 170 return retVal; 171 } 172 173 /** 174 * Returns 175 * PRB-3: "Problem ID" - creates it if necessary 176 */ 177 public CE getPrb3_ProblemID() { 178 CE retVal = this.getTypedField(3, 0); 179 return retVal; 180 } 181 182 183 184 /** 185 * Returns 186 * PRB-4: "Problem Instance ID" - creates it if necessary 187 */ 188 public EI getProblemInstanceID() { 189 EI retVal = this.getTypedField(4, 0); 190 return retVal; 191 } 192 193 /** 194 * Returns 195 * PRB-4: "Problem Instance ID" - creates it if necessary 196 */ 197 public EI getPrb4_ProblemInstanceID() { 198 EI retVal = this.getTypedField(4, 0); 199 return retVal; 200 } 201 202 203 204 /** 205 * Returns 206 * PRB-5: "Episode of Care ID" - creates it if necessary 207 */ 208 public EI getEpisodeOfCareID() { 209 EI retVal = this.getTypedField(5, 0); 210 return retVal; 211 } 212 213 /** 214 * Returns 215 * PRB-5: "Episode of Care ID" - creates it if necessary 216 */ 217 public EI getPrb5_EpisodeOfCareID() { 218 EI retVal = this.getTypedField(5, 0); 219 return retVal; 220 } 221 222 223 224 /** 225 * Returns 226 * PRB-6: "Problem List Priority" - creates it if necessary 227 */ 228 public NM getProblemListPriority() { 229 NM retVal = this.getTypedField(6, 0); 230 return retVal; 231 } 232 233 /** 234 * Returns 235 * PRB-6: "Problem List Priority" - creates it if necessary 236 */ 237 public NM getPrb6_ProblemListPriority() { 238 NM retVal = this.getTypedField(6, 0); 239 return retVal; 240 } 241 242 243 244 /** 245 * Returns 246 * PRB-7: "Problem Established Date/Time" - creates it if necessary 247 */ 248 public TS getProblemEstablishedDateTime() { 249 TS retVal = this.getTypedField(7, 0); 250 return retVal; 251 } 252 253 /** 254 * Returns 255 * PRB-7: "Problem Established Date/Time" - creates it if necessary 256 */ 257 public TS getPrb7_ProblemEstablishedDateTime() { 258 TS retVal = this.getTypedField(7, 0); 259 return retVal; 260 } 261 262 263 264 /** 265 * Returns 266 * PRB-8: "Anticipated Problem Resolution Date/Time" - creates it if necessary 267 */ 268 public TS getAnticipatedProblemResolutionDateTime() { 269 TS retVal = this.getTypedField(8, 0); 270 return retVal; 271 } 272 273 /** 274 * Returns 275 * PRB-8: "Anticipated Problem Resolution Date/Time" - creates it if necessary 276 */ 277 public TS getPrb8_AnticipatedProblemResolutionDateTime() { 278 TS retVal = this.getTypedField(8, 0); 279 return retVal; 280 } 281 282 283 284 /** 285 * Returns 286 * PRB-9: "Actual Problem Resolution Date/Time" - creates it if necessary 287 */ 288 public TS getActualProblemResolutionDateTime() { 289 TS retVal = this.getTypedField(9, 0); 290 return retVal; 291 } 292 293 /** 294 * Returns 295 * PRB-9: "Actual Problem Resolution Date/Time" - creates it if necessary 296 */ 297 public TS getPrb9_ActualProblemResolutionDateTime() { 298 TS retVal = this.getTypedField(9, 0); 299 return retVal; 300 } 301 302 303 304 /** 305 * Returns 306 * PRB-10: "Problem Classification" - creates it if necessary 307 */ 308 public CE getProblemClassification() { 309 CE retVal = this.getTypedField(10, 0); 310 return retVal; 311 } 312 313 /** 314 * Returns 315 * PRB-10: "Problem Classification" - creates it if necessary 316 */ 317 public CE getPrb10_ProblemClassification() { 318 CE retVal = this.getTypedField(10, 0); 319 return retVal; 320 } 321 322 323 /** 324 * Returns all repetitions of Problem Management Discipline (PRB-11). 325 */ 326 public CE[] getProblemManagementDiscipline() { 327 CE[] retVal = this.getTypedField(11, new CE[0]); 328 return retVal; 329 } 330 331 332 /** 333 * Returns all repetitions of Problem Management Discipline (PRB-11). 334 */ 335 public CE[] getPrb11_ProblemManagementDiscipline() { 336 CE[] retVal = this.getTypedField(11, new CE[0]); 337 return retVal; 338 } 339 340 341 /** 342 * Returns a count of the current number of repetitions of Problem Management Discipline (PRB-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 getProblemManagementDisciplineReps() { 347 return this.getReps(11); 348 } 349 350 351 /** 352 * Returns a specific repetition of 353 * PRB-11: "Problem Management Discipline" - creates it if necessary 354 * 355 * @param rep The repetition index (0-indexed) 356 */ 357 public CE getProblemManagementDiscipline(int rep) { 358 CE retVal = this.getTypedField(11, rep); 359 return retVal; 360 } 361 362 /** 363 * Returns a specific repetition of 364 * PRB-11: "Problem Management Discipline" - creates it if necessary 365 * 366 * @param rep The repetition index (0-indexed) 367 */ 368 public CE getPrb11_ProblemManagementDiscipline(int rep) { 369 CE retVal = this.getTypedField(11, rep); 370 return retVal; 371 } 372 373 /** 374 * Returns a count of the current number of repetitions of Problem Management Discipline (PRB-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 getPrb11_ProblemManagementDisciplineReps() { 379 return this.getReps(11); 380 } 381 382 383 /** 384 * Inserts a repetition of 385 * PRB-11: "Problem Management Discipline" 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 CE insertProblemManagementDiscipline(int rep) throws HL7Exception { 391 return (CE) super.insertRepetition(11, rep); 392 } 393 394 395 /** 396 * Inserts a repetition of 397 * PRB-11: "Problem Management Discipline" 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 CE insertPrb11_ProblemManagementDiscipline(int rep) throws HL7Exception { 403 return (CE) super.insertRepetition(11, rep); 404 } 405 406 407 /** 408 * Removes a repetition of 409 * PRB-11: "Problem Management Discipline" 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 CE removeProblemManagementDiscipline(int rep) throws HL7Exception { 415 return (CE) super.removeRepetition(11, rep); 416 } 417 418 419 /** 420 * Removes a repetition of 421 * PRB-11: "Problem Management Discipline" 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 CE removePrb11_ProblemManagementDiscipline(int rep) throws HL7Exception { 427 return (CE) super.removeRepetition(11, rep); 428 } 429 430 431 432 433 /** 434 * Returns 435 * PRB-12: "Problem Persistence" - creates it if necessary 436 */ 437 public CE getProblemPersistence() { 438 CE retVal = this.getTypedField(12, 0); 439 return retVal; 440 } 441 442 /** 443 * Returns 444 * PRB-12: "Problem Persistence" - creates it if necessary 445 */ 446 public CE getPrb12_ProblemPersistence() { 447 CE retVal = this.getTypedField(12, 0); 448 return retVal; 449 } 450 451 452 453 /** 454 * Returns 455 * PRB-13: "Problem Confirmation Status" - creates it if necessary 456 */ 457 public CE getProblemConfirmationStatus() { 458 CE retVal = this.getTypedField(13, 0); 459 return retVal; 460 } 461 462 /** 463 * Returns 464 * PRB-13: "Problem Confirmation Status" - creates it if necessary 465 */ 466 public CE getPrb13_ProblemConfirmationStatus() { 467 CE retVal = this.getTypedField(13, 0); 468 return retVal; 469 } 470 471 472 473 /** 474 * Returns 475 * PRB-14: "Problem Life Cycle Status" - creates it if necessary 476 */ 477 public CE getProblemLifeCycleStatus() { 478 CE retVal = this.getTypedField(14, 0); 479 return retVal; 480 } 481 482 /** 483 * Returns 484 * PRB-14: "Problem Life Cycle Status" - creates it if necessary 485 */ 486 public CE getPrb14_ProblemLifeCycleStatus() { 487 CE retVal = this.getTypedField(14, 0); 488 return retVal; 489 } 490 491 492 493 /** 494 * Returns 495 * PRB-15: "Problem Life Cycle Status Date/Time" - creates it if necessary 496 */ 497 public TS getProblemLifeCycleStatusDateTime() { 498 TS retVal = this.getTypedField(15, 0); 499 return retVal; 500 } 501 502 /** 503 * Returns 504 * PRB-15: "Problem Life Cycle Status Date/Time" - creates it if necessary 505 */ 506 public TS getPrb15_ProblemLifeCycleStatusDateTime() { 507 TS retVal = this.getTypedField(15, 0); 508 return retVal; 509 } 510 511 512 513 /** 514 * Returns 515 * PRB-16: "Problem Date of Onset" - creates it if necessary 516 */ 517 public TS getProblemDateOfOnset() { 518 TS retVal = this.getTypedField(16, 0); 519 return retVal; 520 } 521 522 /** 523 * Returns 524 * PRB-16: "Problem Date of Onset" - creates it if necessary 525 */ 526 public TS getPrb16_ProblemDateOfOnset() { 527 TS retVal = this.getTypedField(16, 0); 528 return retVal; 529 } 530 531 532 533 /** 534 * Returns 535 * PRB-17: "Problem Onset Text" - creates it if necessary 536 */ 537 public ST getProblemOnsetText() { 538 ST retVal = this.getTypedField(17, 0); 539 return retVal; 540 } 541 542 /** 543 * Returns 544 * PRB-17: "Problem Onset Text" - creates it if necessary 545 */ 546 public ST getPrb17_ProblemOnsetText() { 547 ST retVal = this.getTypedField(17, 0); 548 return retVal; 549 } 550 551 552 553 /** 554 * Returns 555 * PRB-18: "Problem Ranking" - creates it if necessary 556 */ 557 public CE getProblemRanking() { 558 CE retVal = this.getTypedField(18, 0); 559 return retVal; 560 } 561 562 /** 563 * Returns 564 * PRB-18: "Problem Ranking" - creates it if necessary 565 */ 566 public CE getPrb18_ProblemRanking() { 567 CE retVal = this.getTypedField(18, 0); 568 return retVal; 569 } 570 571 572 573 /** 574 * Returns 575 * PRB-19: "Certainty of Problem" - creates it if necessary 576 */ 577 public CE getCertaintyOfProblem() { 578 CE retVal = this.getTypedField(19, 0); 579 return retVal; 580 } 581 582 /** 583 * Returns 584 * PRB-19: "Certainty of Problem" - creates it if necessary 585 */ 586 public CE getPrb19_CertaintyOfProblem() { 587 CE retVal = this.getTypedField(19, 0); 588 return retVal; 589 } 590 591 592 593 /** 594 * Returns 595 * PRB-20: "Probability of Problem (0-1)" - creates it if necessary 596 */ 597 public NM getProbabilityOfProblem() { 598 NM retVal = this.getTypedField(20, 0); 599 return retVal; 600 } 601 602 /** 603 * Returns 604 * PRB-20: "Probability of Problem (0-1)" - creates it if necessary 605 */ 606 public NM getPrb20_ProbabilityOfProblem() { 607 NM retVal = this.getTypedField(20, 0); 608 return retVal; 609 } 610 611 612 613 /** 614 * Returns 615 * PRB-21: "Individual Awareness of Problem" - creates it if necessary 616 */ 617 public CE getIndividualAwarenessOfProblem() { 618 CE retVal = this.getTypedField(21, 0); 619 return retVal; 620 } 621 622 /** 623 * Returns 624 * PRB-21: "Individual Awareness of Problem" - creates it if necessary 625 */ 626 public CE getPrb21_IndividualAwarenessOfProblem() { 627 CE retVal = this.getTypedField(21, 0); 628 return retVal; 629 } 630 631 632 633 /** 634 * Returns 635 * PRB-22: "Problem Prognosis" - creates it if necessary 636 */ 637 public CE getProblemPrognosis() { 638 CE retVal = this.getTypedField(22, 0); 639 return retVal; 640 } 641 642 /** 643 * Returns 644 * PRB-22: "Problem Prognosis" - creates it if necessary 645 */ 646 public CE getPrb22_ProblemPrognosis() { 647 CE retVal = this.getTypedField(22, 0); 648 return retVal; 649 } 650 651 652 653 /** 654 * Returns 655 * PRB-23: "Individual Awareness of Prognosis" - creates it if necessary 656 */ 657 public CE getIndividualAwarenessOfPrognosis() { 658 CE retVal = this.getTypedField(23, 0); 659 return retVal; 660 } 661 662 /** 663 * Returns 664 * PRB-23: "Individual Awareness of Prognosis" - creates it if necessary 665 */ 666 public CE getPrb23_IndividualAwarenessOfPrognosis() { 667 CE retVal = this.getTypedField(23, 0); 668 return retVal; 669 } 670 671 672 673 /** 674 * Returns 675 * PRB-24: "Family/Significant Other Awareness of Problem/Prognosis" - creates it if necessary 676 */ 677 public ST getFamilySignificantOtherAwarenessOfProblemPrognosis() { 678 ST retVal = this.getTypedField(24, 0); 679 return retVal; 680 } 681 682 /** 683 * Returns 684 * PRB-24: "Family/Significant Other Awareness of Problem/Prognosis" - creates it if necessary 685 */ 686 public ST getPrb24_FamilySignificantOtherAwarenessOfProblemPrognosis() { 687 ST retVal = this.getTypedField(24, 0); 688 return retVal; 689 } 690 691 692 693 /** 694 * Returns 695 * PRB-25: "Security/Sensitivity" - creates it if necessary 696 */ 697 public CE getSecuritySensitivity() { 698 CE retVal = this.getTypedField(25, 0); 699 return retVal; 700 } 701 702 /** 703 * Returns 704 * PRB-25: "Security/Sensitivity" - creates it if necessary 705 */ 706 public CE getPrb25_SecuritySensitivity() { 707 CE retVal = this.getTypedField(25, 0); 708 return retVal; 709 } 710 711 712 713 714 715 /** {@inheritDoc} */ 716 protected Type createNewTypeWithoutReflection(int field) { 717 switch (field) { 718 case 0: return new ID(getMessage(), new Integer( 287 )); 719 case 1: return new TS(getMessage()); 720 case 2: return new CE(getMessage()); 721 case 3: return new EI(getMessage()); 722 case 4: return new EI(getMessage()); 723 case 5: return new NM(getMessage()); 724 case 6: return new TS(getMessage()); 725 case 7: return new TS(getMessage()); 726 case 8: return new TS(getMessage()); 727 case 9: return new CE(getMessage()); 728 case 10: return new CE(getMessage()); 729 case 11: return new CE(getMessage()); 730 case 12: return new CE(getMessage()); 731 case 13: return new CE(getMessage()); 732 case 14: return new TS(getMessage()); 733 case 15: return new TS(getMessage()); 734 case 16: return new ST(getMessage()); 735 case 17: return new CE(getMessage()); 736 case 18: return new CE(getMessage()); 737 case 19: return new NM(getMessage()); 738 case 20: return new CE(getMessage()); 739 case 21: return new CE(getMessage()); 740 case 22: return new CE(getMessage()); 741 case 23: return new ST(getMessage()); 742 case 24: return new CE(getMessage()); 743 default: return null; 744 } 745 } 746 747 748} 749