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.v26.segment; 035 036// import ca.uhn.hl7v2.model.v26.group.*; 037import ca.uhn.hl7v2.model.v26.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 DG1 message segment (Diagnosis). 049 * This segment has the following fields:</p> 050 * <ul> 051 * <li>DG1-1: Set ID - DG1 (SI) <b> </b> 052 * <li>DG1-2: Diagnosis Coding Method (NULLDT) <b>optional </b> 053 * <li>DG1-3: Diagnosis Code - DG1 (CWE) <b> </b> 054 * <li>DG1-4: Diagnosis Description (NULLDT) <b>optional </b> 055 * <li>DG1-5: Diagnosis Date/Time (DTM) <b>optional </b> 056 * <li>DG1-6: Diagnosis Type (IS) <b> </b> 057 * <li>DG1-7: Major Diagnostic Category (CNE) <b>optional </b> 058 * <li>DG1-8: Diagnostic Related Group (CNE) <b>optional </b> 059 * <li>DG1-9: DRG Approval Indicator (ID) <b>optional </b> 060 * <li>DG1-10: DRG Grouper Review Code (IS) <b>optional </b> 061 * <li>DG1-11: Outlier Type (CWE) <b>optional </b> 062 * <li>DG1-12: Outlier Days (NM) <b>optional </b> 063 * <li>DG1-13: Outlier Cost (CP) <b>optional </b> 064 * <li>DG1-14: Grouper Version And Type (NULLDT) <b>optional </b> 065 * <li>DG1-15: Diagnosis Priority (ID) <b>optional </b> 066 * <li>DG1-16: Diagnosing Clinician (XCN) <b>optional repeating</b> 067 * <li>DG1-17: Diagnosis Classification (IS) <b>optional </b> 068 * <li>DG1-18: Confidential Indicator (ID) <b>optional </b> 069 * <li>DG1-19: Attestation Date/Time (DTM) <b>optional </b> 070 * <li>DG1-20: Diagnosis Identifier (EI) <b>optional </b> 071 * <li>DG1-21: Diagnosis Action Code (ID) <b>optional </b> 072 * <li>DG1-22: Parent Diagnosis (EI) <b>optional </b> 073 * <li>DG1-23: DRG CCL Value Code (CWE) <b>optional </b> 074 * <li>DG1-24: DRG Grouping Usage (ID) <b>optional </b> 075 * <li>DG1-25: DRG Diagnosis Determination Status (IS) <b>optional </b> 076 * <li>DG1-26: Present On Admission (POA) Indicator (IS) <b>optional </b> 077 * </ul> 078 */ 079@SuppressWarnings("unused") 080public class DG1 extends AbstractSegment { 081 082 /** 083 * Creates a new DG1 segment 084 */ 085 public DG1(Group parent, ModelClassFactory factory) { 086 super(parent, factory); 087 init(factory); 088 } 089 090 private void init(ModelClassFactory factory) { 091 try { 092 this.add(SI.class, true, 1, 4, new Object[]{ getMessage() }, "Set ID - DG1"); 093 this.add(NULLDT.class, false, 1, 0, new Object[]{ getMessage() }, "Diagnosis Coding Method"); 094 this.add(CWE.class, true, 1, 250, new Object[]{ getMessage() }, "Diagnosis Code - DG1"); 095 this.add(NULLDT.class, false, 1, 0, new Object[]{ getMessage() }, "Diagnosis Description"); 096 this.add(DTM.class, false, 1, 24, new Object[]{ getMessage() }, "Diagnosis Date/Time"); 097 this.add(IS.class, true, 1, 2, new Object[]{ getMessage(), new Integer(52) }, "Diagnosis Type"); 098 this.add(CNE.class, false, 1, 1, new Object[]{ getMessage() }, "Major Diagnostic Category"); 099 this.add(CNE.class, false, 1, 250, new Object[]{ getMessage() }, "Diagnostic Related Group"); 100 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "DRG Approval Indicator"); 101 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(56) }, "DRG Grouper Review Code"); 102 this.add(CWE.class, false, 1, 250, new Object[]{ getMessage() }, "Outlier Type"); 103 this.add(NM.class, false, 1, 3, new Object[]{ getMessage() }, "Outlier Days"); 104 this.add(CP.class, false, 1, 12, new Object[]{ getMessage() }, "Outlier Cost"); 105 this.add(NULLDT.class, false, 1, 0, new Object[]{ getMessage() }, "Grouper Version And Type"); 106 this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(359) }, "Diagnosis Priority"); 107 this.add(XCN.class, false, 0, 250, new Object[]{ getMessage() }, "Diagnosing Clinician"); 108 this.add(IS.class, false, 1, 3, new Object[]{ getMessage(), new Integer(228) }, "Diagnosis Classification"); 109 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Confidential Indicator"); 110 this.add(DTM.class, false, 1, 24, new Object[]{ getMessage() }, "Attestation Date/Time"); 111 this.add(EI.class, false, 1, 427, new Object[]{ getMessage() }, "Diagnosis Identifier"); 112 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(206) }, "Diagnosis Action Code"); 113 this.add(EI.class, false, 1, 427, new Object[]{ getMessage() }, "Parent Diagnosis"); 114 this.add(CWE.class, false, 1, 705, new Object[]{ getMessage() }, "DRG CCL Value Code"); 115 this.add(ID.class, false, 1, 20, new Object[]{ getMessage(), new Integer(136) }, "DRG Grouping Usage"); 116 this.add(IS.class, false, 1, 20, new Object[]{ getMessage(), new Integer(731) }, "DRG Diagnosis Determination Status"); 117 this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(895) }, "Present On Admission (POA) Indicator"); 118 } catch(HL7Exception e) { 119 log.error("Unexpected error creating DG1 - this is probably a bug in the source code generator.", e); 120 } 121 } 122 123 124 125 /** 126 * Returns 127 * DG1-1: "Set ID - DG1" - creates it if necessary 128 */ 129 public SI getSetIDDG1() { 130 SI retVal = this.getTypedField(1, 0); 131 return retVal; 132 } 133 134 /** 135 * Returns 136 * DG1-1: "Set ID - DG1" - creates it if necessary 137 */ 138 public SI getDg11_SetIDDG1() { 139 SI retVal = this.getTypedField(1, 0); 140 return retVal; 141 } 142 143 144 145 /** 146 * Returns 147 * DG1-2: "Diagnosis Coding Method" - creates it if necessary 148 */ 149 public NULLDT getDiagnosisCodingMethod() { 150 NULLDT retVal = this.getTypedField(2, 0); 151 return retVal; 152 } 153 154 /** 155 * Returns 156 * DG1-2: "Diagnosis Coding Method" - creates it if necessary 157 */ 158 public NULLDT getDg12_DiagnosisCodingMethod() { 159 NULLDT retVal = this.getTypedField(2, 0); 160 return retVal; 161 } 162 163 164 165 /** 166 * Returns 167 * DG1-3: "Diagnosis Code - DG1" - creates it if necessary 168 */ 169 public CWE getDiagnosisCodeDG1() { 170 CWE retVal = this.getTypedField(3, 0); 171 return retVal; 172 } 173 174 /** 175 * Returns 176 * DG1-3: "Diagnosis Code - DG1" - creates it if necessary 177 */ 178 public CWE getDg13_DiagnosisCodeDG1() { 179 CWE retVal = this.getTypedField(3, 0); 180 return retVal; 181 } 182 183 184 185 /** 186 * Returns 187 * DG1-4: "Diagnosis Description" - creates it if necessary 188 */ 189 public NULLDT getDiagnosisDescription() { 190 NULLDT retVal = this.getTypedField(4, 0); 191 return retVal; 192 } 193 194 /** 195 * Returns 196 * DG1-4: "Diagnosis Description" - creates it if necessary 197 */ 198 public NULLDT getDg14_DiagnosisDescription() { 199 NULLDT retVal = this.getTypedField(4, 0); 200 return retVal; 201 } 202 203 204 205 /** 206 * Returns 207 * DG1-5: "Diagnosis Date/Time" - creates it if necessary 208 */ 209 public DTM getDiagnosisDateTime() { 210 DTM retVal = this.getTypedField(5, 0); 211 return retVal; 212 } 213 214 /** 215 * Returns 216 * DG1-5: "Diagnosis Date/Time" - creates it if necessary 217 */ 218 public DTM getDg15_DiagnosisDateTime() { 219 DTM retVal = this.getTypedField(5, 0); 220 return retVal; 221 } 222 223 224 225 /** 226 * Returns 227 * DG1-6: "Diagnosis Type" - creates it if necessary 228 */ 229 public IS getDiagnosisType() { 230 IS retVal = this.getTypedField(6, 0); 231 return retVal; 232 } 233 234 /** 235 * Returns 236 * DG1-6: "Diagnosis Type" - creates it if necessary 237 */ 238 public IS getDg16_DiagnosisType() { 239 IS retVal = this.getTypedField(6, 0); 240 return retVal; 241 } 242 243 244 245 /** 246 * Returns 247 * DG1-7: "Major Diagnostic Category" - creates it if necessary 248 */ 249 public CNE getMajorDiagnosticCategory() { 250 CNE retVal = this.getTypedField(7, 0); 251 return retVal; 252 } 253 254 /** 255 * Returns 256 * DG1-7: "Major Diagnostic Category" - creates it if necessary 257 */ 258 public CNE getDg17_MajorDiagnosticCategory() { 259 CNE retVal = this.getTypedField(7, 0); 260 return retVal; 261 } 262 263 264 265 /** 266 * Returns 267 * DG1-8: "Diagnostic Related Group" - creates it if necessary 268 */ 269 public CNE getDiagnosticRelatedGroup() { 270 CNE retVal = this.getTypedField(8, 0); 271 return retVal; 272 } 273 274 /** 275 * Returns 276 * DG1-8: "Diagnostic Related Group" - creates it if necessary 277 */ 278 public CNE getDg18_DiagnosticRelatedGroup() { 279 CNE retVal = this.getTypedField(8, 0); 280 return retVal; 281 } 282 283 284 285 /** 286 * Returns 287 * DG1-9: "DRG Approval Indicator" - creates it if necessary 288 */ 289 public ID getDRGApprovalIndicator() { 290 ID retVal = this.getTypedField(9, 0); 291 return retVal; 292 } 293 294 /** 295 * Returns 296 * DG1-9: "DRG Approval Indicator" - creates it if necessary 297 */ 298 public ID getDg19_DRGApprovalIndicator() { 299 ID retVal = this.getTypedField(9, 0); 300 return retVal; 301 } 302 303 304 305 /** 306 * Returns 307 * DG1-10: "DRG Grouper Review Code" - creates it if necessary 308 */ 309 public IS getDRGGrouperReviewCode() { 310 IS retVal = this.getTypedField(10, 0); 311 return retVal; 312 } 313 314 /** 315 * Returns 316 * DG1-10: "DRG Grouper Review Code" - creates it if necessary 317 */ 318 public IS getDg110_DRGGrouperReviewCode() { 319 IS retVal = this.getTypedField(10, 0); 320 return retVal; 321 } 322 323 324 325 /** 326 * Returns 327 * DG1-11: "Outlier Type" - creates it if necessary 328 */ 329 public CWE getOutlierType() { 330 CWE retVal = this.getTypedField(11, 0); 331 return retVal; 332 } 333 334 /** 335 * Returns 336 * DG1-11: "Outlier Type" - creates it if necessary 337 */ 338 public CWE getDg111_OutlierType() { 339 CWE retVal = this.getTypedField(11, 0); 340 return retVal; 341 } 342 343 344 345 /** 346 * Returns 347 * DG1-12: "Outlier Days" - creates it if necessary 348 */ 349 public NM getOutlierDays() { 350 NM retVal = this.getTypedField(12, 0); 351 return retVal; 352 } 353 354 /** 355 * Returns 356 * DG1-12: "Outlier Days" - creates it if necessary 357 */ 358 public NM getDg112_OutlierDays() { 359 NM retVal = this.getTypedField(12, 0); 360 return retVal; 361 } 362 363 364 365 /** 366 * Returns 367 * DG1-13: "Outlier Cost" - creates it if necessary 368 */ 369 public CP getOutlierCost() { 370 CP retVal = this.getTypedField(13, 0); 371 return retVal; 372 } 373 374 /** 375 * Returns 376 * DG1-13: "Outlier Cost" - creates it if necessary 377 */ 378 public CP getDg113_OutlierCost() { 379 CP retVal = this.getTypedField(13, 0); 380 return retVal; 381 } 382 383 384 385 /** 386 * Returns 387 * DG1-14: "Grouper Version And Type" - creates it if necessary 388 */ 389 public NULLDT getGrouperVersionAndType() { 390 NULLDT retVal = this.getTypedField(14, 0); 391 return retVal; 392 } 393 394 /** 395 * Returns 396 * DG1-14: "Grouper Version And Type" - creates it if necessary 397 */ 398 public NULLDT getDg114_GrouperVersionAndType() { 399 NULLDT retVal = this.getTypedField(14, 0); 400 return retVal; 401 } 402 403 404 405 /** 406 * Returns 407 * DG1-15: "Diagnosis Priority" - creates it if necessary 408 */ 409 public ID getDiagnosisPriority() { 410 ID retVal = this.getTypedField(15, 0); 411 return retVal; 412 } 413 414 /** 415 * Returns 416 * DG1-15: "Diagnosis Priority" - creates it if necessary 417 */ 418 public ID getDg115_DiagnosisPriority() { 419 ID retVal = this.getTypedField(15, 0); 420 return retVal; 421 } 422 423 424 /** 425 * Returns all repetitions of Diagnosing Clinician (DG1-16). 426 */ 427 public XCN[] getDiagnosingClinician() { 428 XCN[] retVal = this.getTypedField(16, new XCN[0]); 429 return retVal; 430 } 431 432 433 /** 434 * Returns all repetitions of Diagnosing Clinician (DG1-16). 435 */ 436 public XCN[] getDg116_DiagnosingClinician() { 437 XCN[] retVal = this.getTypedField(16, new XCN[0]); 438 return retVal; 439 } 440 441 442 /** 443 * Returns a count of the current number of repetitions of Diagnosing Clinician (DG1-16). 444 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 445 * it will return zero. 446 */ 447 public int getDiagnosingClinicianReps() { 448 return this.getReps(16); 449 } 450 451 452 /** 453 * Returns a specific repetition of 454 * DG1-16: "Diagnosing Clinician" - creates it if necessary 455 * 456 * @param rep The repetition index (0-indexed) 457 */ 458 public XCN getDiagnosingClinician(int rep) { 459 XCN retVal = this.getTypedField(16, rep); 460 return retVal; 461 } 462 463 /** 464 * Returns a specific repetition of 465 * DG1-16: "Diagnosing Clinician" - creates it if necessary 466 * 467 * @param rep The repetition index (0-indexed) 468 */ 469 public XCN getDg116_DiagnosingClinician(int rep) { 470 XCN retVal = this.getTypedField(16, rep); 471 return retVal; 472 } 473 474 /** 475 * Returns a count of the current number of repetitions of Diagnosing Clinician (DG1-16). 476 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 477 * it will return zero. 478 */ 479 public int getDg116_DiagnosingClinicianReps() { 480 return this.getReps(16); 481 } 482 483 484 /** 485 * Inserts a repetition of 486 * DG1-16: "Diagnosing Clinician" at a specific index 487 * 488 * @param rep The repetition index (0-indexed) 489 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 490 */ 491 public XCN insertDiagnosingClinician(int rep) throws HL7Exception { 492 return (XCN) super.insertRepetition(16, rep); 493 } 494 495 496 /** 497 * Inserts a repetition of 498 * DG1-16: "Diagnosing Clinician" at a specific index 499 * 500 * @param rep The repetition index (0-indexed) 501 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 502 */ 503 public XCN insertDg116_DiagnosingClinician(int rep) throws HL7Exception { 504 return (XCN) super.insertRepetition(16, rep); 505 } 506 507 508 /** 509 * Removes a repetition of 510 * DG1-16: "Diagnosing Clinician" at a specific index 511 * 512 * @param rep The repetition index (0-indexed) 513 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 514 */ 515 public XCN removeDiagnosingClinician(int rep) throws HL7Exception { 516 return (XCN) super.removeRepetition(16, rep); 517 } 518 519 520 /** 521 * Removes a repetition of 522 * DG1-16: "Diagnosing Clinician" at a specific index 523 * 524 * @param rep The repetition index (0-indexed) 525 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 526 */ 527 public XCN removeDg116_DiagnosingClinician(int rep) throws HL7Exception { 528 return (XCN) super.removeRepetition(16, rep); 529 } 530 531 532 533 534 /** 535 * Returns 536 * DG1-17: "Diagnosis Classification" - creates it if necessary 537 */ 538 public IS getDiagnosisClassification() { 539 IS retVal = this.getTypedField(17, 0); 540 return retVal; 541 } 542 543 /** 544 * Returns 545 * DG1-17: "Diagnosis Classification" - creates it if necessary 546 */ 547 public IS getDg117_DiagnosisClassification() { 548 IS retVal = this.getTypedField(17, 0); 549 return retVal; 550 } 551 552 553 554 /** 555 * Returns 556 * DG1-18: "Confidential Indicator" - creates it if necessary 557 */ 558 public ID getConfidentialIndicator() { 559 ID retVal = this.getTypedField(18, 0); 560 return retVal; 561 } 562 563 /** 564 * Returns 565 * DG1-18: "Confidential Indicator" - creates it if necessary 566 */ 567 public ID getDg118_ConfidentialIndicator() { 568 ID retVal = this.getTypedField(18, 0); 569 return retVal; 570 } 571 572 573 574 /** 575 * Returns 576 * DG1-19: "Attestation Date/Time" - creates it if necessary 577 */ 578 public DTM getAttestationDateTime() { 579 DTM retVal = this.getTypedField(19, 0); 580 return retVal; 581 } 582 583 /** 584 * Returns 585 * DG1-19: "Attestation Date/Time" - creates it if necessary 586 */ 587 public DTM getDg119_AttestationDateTime() { 588 DTM retVal = this.getTypedField(19, 0); 589 return retVal; 590 } 591 592 593 594 /** 595 * Returns 596 * DG1-20: "Diagnosis Identifier" - creates it if necessary 597 */ 598 public EI getDiagnosisIdentifier() { 599 EI retVal = this.getTypedField(20, 0); 600 return retVal; 601 } 602 603 /** 604 * Returns 605 * DG1-20: "Diagnosis Identifier" - creates it if necessary 606 */ 607 public EI getDg120_DiagnosisIdentifier() { 608 EI retVal = this.getTypedField(20, 0); 609 return retVal; 610 } 611 612 613 614 /** 615 * Returns 616 * DG1-21: "Diagnosis Action Code" - creates it if necessary 617 */ 618 public ID getDiagnosisActionCode() { 619 ID retVal = this.getTypedField(21, 0); 620 return retVal; 621 } 622 623 /** 624 * Returns 625 * DG1-21: "Diagnosis Action Code" - creates it if necessary 626 */ 627 public ID getDg121_DiagnosisActionCode() { 628 ID retVal = this.getTypedField(21, 0); 629 return retVal; 630 } 631 632 633 634 /** 635 * Returns 636 * DG1-22: "Parent Diagnosis" - creates it if necessary 637 */ 638 public EI getParentDiagnosis() { 639 EI retVal = this.getTypedField(22, 0); 640 return retVal; 641 } 642 643 /** 644 * Returns 645 * DG1-22: "Parent Diagnosis" - creates it if necessary 646 */ 647 public EI getDg122_ParentDiagnosis() { 648 EI retVal = this.getTypedField(22, 0); 649 return retVal; 650 } 651 652 653 654 /** 655 * Returns 656 * DG1-23: "DRG CCL Value Code" - creates it if necessary 657 */ 658 public CWE getDRGCCLValueCode() { 659 CWE retVal = this.getTypedField(23, 0); 660 return retVal; 661 } 662 663 /** 664 * Returns 665 * DG1-23: "DRG CCL Value Code" - creates it if necessary 666 */ 667 public CWE getDg123_DRGCCLValueCode() { 668 CWE retVal = this.getTypedField(23, 0); 669 return retVal; 670 } 671 672 673 674 /** 675 * Returns 676 * DG1-24: "DRG Grouping Usage" - creates it if necessary 677 */ 678 public ID getDRGGroupingUsage() { 679 ID retVal = this.getTypedField(24, 0); 680 return retVal; 681 } 682 683 /** 684 * Returns 685 * DG1-24: "DRG Grouping Usage" - creates it if necessary 686 */ 687 public ID getDg124_DRGGroupingUsage() { 688 ID retVal = this.getTypedField(24, 0); 689 return retVal; 690 } 691 692 693 694 /** 695 * Returns 696 * DG1-25: "DRG Diagnosis Determination Status" - creates it if necessary 697 */ 698 public IS getDRGDiagnosisDeterminationStatus() { 699 IS retVal = this.getTypedField(25, 0); 700 return retVal; 701 } 702 703 /** 704 * Returns 705 * DG1-25: "DRG Diagnosis Determination Status" - creates it if necessary 706 */ 707 public IS getDg125_DRGDiagnosisDeterminationStatus() { 708 IS retVal = this.getTypedField(25, 0); 709 return retVal; 710 } 711 712 713 714 /** 715 * Returns 716 * DG1-26: "Present On Admission (POA) Indicator" - creates it if necessary 717 */ 718 public IS getPresentOnAdmissionIndicator() { 719 IS retVal = this.getTypedField(26, 0); 720 return retVal; 721 } 722 723 /** 724 * Returns 725 * DG1-26: "Present On Admission (POA) Indicator" - creates it if necessary 726 */ 727 public IS getDg126_PresentOnAdmissionIndicator() { 728 IS retVal = this.getTypedField(26, 0); 729 return retVal; 730 } 731 732 733 734 735 736 /** {@inheritDoc} */ 737 protected Type createNewTypeWithoutReflection(int field) { 738 switch (field) { 739 case 0: return new SI(getMessage()); 740 case 1: return new NULLDT(getMessage()); 741 case 2: return new CWE(getMessage()); 742 case 3: return new NULLDT(getMessage()); 743 case 4: return new DTM(getMessage()); 744 case 5: return new IS(getMessage(), new Integer( 52 )); 745 case 6: return new CNE(getMessage()); 746 case 7: return new CNE(getMessage()); 747 case 8: return new ID(getMessage(), new Integer( 136 )); 748 case 9: return new IS(getMessage(), new Integer( 56 )); 749 case 10: return new CWE(getMessage()); 750 case 11: return new NM(getMessage()); 751 case 12: return new CP(getMessage()); 752 case 13: return new NULLDT(getMessage()); 753 case 14: return new ID(getMessage(), new Integer( 359 )); 754 case 15: return new XCN(getMessage()); 755 case 16: return new IS(getMessage(), new Integer( 228 )); 756 case 17: return new ID(getMessage(), new Integer( 136 )); 757 case 18: return new DTM(getMessage()); 758 case 19: return new EI(getMessage()); 759 case 20: return new ID(getMessage(), new Integer( 206 )); 760 case 21: return new EI(getMessage()); 761 case 22: return new CWE(getMessage()); 762 case 23: return new ID(getMessage(), new Integer( 136 )); 763 case 24: return new IS(getMessage(), new Integer( 731 )); 764 case 25: return new IS(getMessage(), new Integer( 895 )); 765 default: return null; 766 } 767 } 768 769 770} 771