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