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.v27.segment; 035 036// import ca.uhn.hl7v2.model.v27.group.*; 037import ca.uhn.hl7v2.model.v27.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 DRG message segment (Diagnosis Related Group). 050 * This segment has the following fields:</p> 051 * <ul> 052 * <li>DRG-1: Diagnostic Related Group (CNE) <b>optional </b> 053 * <li>DRG-2: DRG Assigned Date/Time (DTM) <b>optional </b> 054 * <li>DRG-3: DRG Approval Indicator (ID) <b>optional </b> 055 * <li>DRG-4: DRG Grouper Review Code (CWE) <b>optional </b> 056 * <li>DRG-5: Outlier Type (CWE) <b>optional </b> 057 * <li>DRG-6: Outlier Days (NM) <b>optional </b> 058 * <li>DRG-7: Outlier Cost (CP) <b>optional </b> 059 * <li>DRG-8: DRG Payor (CWE) <b>optional </b> 060 * <li>DRG-9: Outlier Reimbursement (CP) <b>optional </b> 061 * <li>DRG-10: Confidential Indicator (ID) <b>optional </b> 062 * <li>DRG-11: DRG Transfer Type (CWE) <b>optional </b> 063 * <li>DRG-12: Name of Coder (XPN) <b>optional </b> 064 * <li>DRG-13: Grouper Status (CWE) <b>optional </b> 065 * <li>DRG-14: PCCL Value Code (CWE) <b>optional </b> 066 * <li>DRG-15: Effective Weight (NM) <b>optional </b> 067 * <li>DRG-16: Monetary Amount (MO) <b>optional </b> 068 * <li>DRG-17: Status Patient (CWE) <b>optional </b> 069 * <li>DRG-18: Grouper Software Name (ST) <b>optional </b> 070 * <li>DRG-19: Grouper Software Version (ST) <b>optional </b> 071 * <li>DRG-20: Status Financial Calculation (CWE) <b>optional </b> 072 * <li>DRG-21: Relative Discount/Surcharge (MO) <b>optional </b> 073 * <li>DRG-22: Basic Charge (MO) <b>optional </b> 074 * <li>DRG-23: Total Charge (MO) <b>optional </b> 075 * <li>DRG-24: Discount/Surcharge (MO) <b>optional </b> 076 * <li>DRG-25: Calculated Days (NM) <b>optional </b> 077 * <li>DRG-26: Status Gender (CWE) <b>optional </b> 078 * <li>DRG-27: Status Age (CWE) <b>optional </b> 079 * <li>DRG-28: Status Length of Stay (CWE) <b>optional </b> 080 * <li>DRG-29: Status Same Day Flag (CWE) <b>optional </b> 081 * <li>DRG-30: Status Separation Mode (CWE) <b>optional </b> 082 * <li>DRG-31: Status Weight at Birth (CWE) <b>optional </b> 083 * <li>DRG-32: Status Respiration Minutes (CWE) <b>optional </b> 084 * <li>DRG-33: Status Admission (CWE) <b>optional </b> 085 * </ul> 086 */ 087@SuppressWarnings("unused") 088public class DRG extends AbstractSegment { 089 090 /** 091 * Creates a new DRG segment 092 */ 093 public DRG(Group parent, ModelClassFactory factory) { 094 super(parent, factory); 095 init(factory); 096 } 097 098 private void init(ModelClassFactory factory) { 099 try { 100 this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Diagnostic Related Group"); 101 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "DRG Assigned Date/Time"); 102 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "DRG Approval Indicator"); 103 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "DRG Grouper Review Code"); 104 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Outlier Type"); 105 this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Outlier Days"); 106 this.add(CP.class, false, 1, 0, new Object[]{ getMessage() }, "Outlier Cost"); 107 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "DRG Payor"); 108 this.add(CP.class, false, 1, 0, new Object[]{ getMessage() }, "Outlier Reimbursement"); 109 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Confidential Indicator"); 110 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "DRG Transfer Type"); 111 this.add(XPN.class, false, 1, 0, new Object[]{ getMessage() }, "Name of Coder"); 112 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Grouper Status"); 113 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "PCCL Value Code"); 114 this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Effective Weight"); 115 this.add(MO.class, false, 1, 0, new Object[]{ getMessage() }, "Monetary Amount"); 116 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Status Patient"); 117 this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Grouper Software Name"); 118 this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Grouper Software Version"); 119 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Status Financial Calculation"); 120 this.add(MO.class, false, 1, 0, new Object[]{ getMessage() }, "Relative Discount/Surcharge"); 121 this.add(MO.class, false, 1, 0, new Object[]{ getMessage() }, "Basic Charge"); 122 this.add(MO.class, false, 1, 0, new Object[]{ getMessage() }, "Total Charge"); 123 this.add(MO.class, false, 1, 0, new Object[]{ getMessage() }, "Discount/Surcharge"); 124 this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Calculated Days"); 125 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Status Gender"); 126 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Status Age"); 127 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Status Length of Stay"); 128 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Status Same Day Flag"); 129 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Status Separation Mode"); 130 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Status Weight at Birth"); 131 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Status Respiration Minutes"); 132 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Status Admission"); 133 } catch(HL7Exception e) { 134 log.error("Unexpected error creating DRG - this is probably a bug in the source code generator.", e); 135 } 136 } 137 138 139 140 /** 141 * Returns 142 * DRG-1: "Diagnostic Related Group" - creates it if necessary 143 */ 144 public CNE getDiagnosticRelatedGroup() { 145 CNE retVal = this.getTypedField(1, 0); 146 return retVal; 147 } 148 149 /** 150 * Returns 151 * DRG-1: "Diagnostic Related Group" - creates it if necessary 152 */ 153 public CNE getDrg1_DiagnosticRelatedGroup() { 154 CNE retVal = this.getTypedField(1, 0); 155 return retVal; 156 } 157 158 159 160 /** 161 * Returns 162 * DRG-2: "DRG Assigned Date/Time" - creates it if necessary 163 */ 164 public DTM getDRGAssignedDateTime() { 165 DTM retVal = this.getTypedField(2, 0); 166 return retVal; 167 } 168 169 /** 170 * Returns 171 * DRG-2: "DRG Assigned Date/Time" - creates it if necessary 172 */ 173 public DTM getDrg2_DRGAssignedDateTime() { 174 DTM retVal = this.getTypedField(2, 0); 175 return retVal; 176 } 177 178 179 180 /** 181 * Returns 182 * DRG-3: "DRG Approval Indicator" - creates it if necessary 183 */ 184 public ID getDRGApprovalIndicator() { 185 ID retVal = this.getTypedField(3, 0); 186 return retVal; 187 } 188 189 /** 190 * Returns 191 * DRG-3: "DRG Approval Indicator" - creates it if necessary 192 */ 193 public ID getDrg3_DRGApprovalIndicator() { 194 ID retVal = this.getTypedField(3, 0); 195 return retVal; 196 } 197 198 199 200 /** 201 * Returns 202 * DRG-4: "DRG Grouper Review Code" - creates it if necessary 203 */ 204 public CWE getDRGGrouperReviewCode() { 205 CWE retVal = this.getTypedField(4, 0); 206 return retVal; 207 } 208 209 /** 210 * Returns 211 * DRG-4: "DRG Grouper Review Code" - creates it if necessary 212 */ 213 public CWE getDrg4_DRGGrouperReviewCode() { 214 CWE retVal = this.getTypedField(4, 0); 215 return retVal; 216 } 217 218 219 220 /** 221 * Returns 222 * DRG-5: "Outlier Type" - creates it if necessary 223 */ 224 public CWE getOutlierType() { 225 CWE retVal = this.getTypedField(5, 0); 226 return retVal; 227 } 228 229 /** 230 * Returns 231 * DRG-5: "Outlier Type" - creates it if necessary 232 */ 233 public CWE getDrg5_OutlierType() { 234 CWE retVal = this.getTypedField(5, 0); 235 return retVal; 236 } 237 238 239 240 /** 241 * Returns 242 * DRG-6: "Outlier Days" - creates it if necessary 243 */ 244 public NM getOutlierDays() { 245 NM retVal = this.getTypedField(6, 0); 246 return retVal; 247 } 248 249 /** 250 * Returns 251 * DRG-6: "Outlier Days" - creates it if necessary 252 */ 253 public NM getDrg6_OutlierDays() { 254 NM retVal = this.getTypedField(6, 0); 255 return retVal; 256 } 257 258 259 260 /** 261 * Returns 262 * DRG-7: "Outlier Cost" - creates it if necessary 263 */ 264 public CP getOutlierCost() { 265 CP retVal = this.getTypedField(7, 0); 266 return retVal; 267 } 268 269 /** 270 * Returns 271 * DRG-7: "Outlier Cost" - creates it if necessary 272 */ 273 public CP getDrg7_OutlierCost() { 274 CP retVal = this.getTypedField(7, 0); 275 return retVal; 276 } 277 278 279 280 /** 281 * Returns 282 * DRG-8: "DRG Payor" - creates it if necessary 283 */ 284 public CWE getDRGPayor() { 285 CWE retVal = this.getTypedField(8, 0); 286 return retVal; 287 } 288 289 /** 290 * Returns 291 * DRG-8: "DRG Payor" - creates it if necessary 292 */ 293 public CWE getDrg8_DRGPayor() { 294 CWE retVal = this.getTypedField(8, 0); 295 return retVal; 296 } 297 298 299 300 /** 301 * Returns 302 * DRG-9: "Outlier Reimbursement" - creates it if necessary 303 */ 304 public CP getOutlierReimbursement() { 305 CP retVal = this.getTypedField(9, 0); 306 return retVal; 307 } 308 309 /** 310 * Returns 311 * DRG-9: "Outlier Reimbursement" - creates it if necessary 312 */ 313 public CP getDrg9_OutlierReimbursement() { 314 CP retVal = this.getTypedField(9, 0); 315 return retVal; 316 } 317 318 319 320 /** 321 * Returns 322 * DRG-10: "Confidential Indicator" - creates it if necessary 323 */ 324 public ID getConfidentialIndicator() { 325 ID retVal = this.getTypedField(10, 0); 326 return retVal; 327 } 328 329 /** 330 * Returns 331 * DRG-10: "Confidential Indicator" - creates it if necessary 332 */ 333 public ID getDrg10_ConfidentialIndicator() { 334 ID retVal = this.getTypedField(10, 0); 335 return retVal; 336 } 337 338 339 340 /** 341 * Returns 342 * DRG-11: "DRG Transfer Type" - creates it if necessary 343 */ 344 public CWE getDRGTransferType() { 345 CWE retVal = this.getTypedField(11, 0); 346 return retVal; 347 } 348 349 /** 350 * Returns 351 * DRG-11: "DRG Transfer Type" - creates it if necessary 352 */ 353 public CWE getDrg11_DRGTransferType() { 354 CWE retVal = this.getTypedField(11, 0); 355 return retVal; 356 } 357 358 359 360 /** 361 * Returns 362 * DRG-12: "Name of Coder" - creates it if necessary 363 */ 364 public XPN getNameOfCoder() { 365 XPN retVal = this.getTypedField(12, 0); 366 return retVal; 367 } 368 369 /** 370 * Returns 371 * DRG-12: "Name of Coder" - creates it if necessary 372 */ 373 public XPN getDrg12_NameOfCoder() { 374 XPN retVal = this.getTypedField(12, 0); 375 return retVal; 376 } 377 378 379 380 /** 381 * Returns 382 * DRG-13: "Grouper Status" - creates it if necessary 383 */ 384 public CWE getGrouperStatus() { 385 CWE retVal = this.getTypedField(13, 0); 386 return retVal; 387 } 388 389 /** 390 * Returns 391 * DRG-13: "Grouper Status" - creates it if necessary 392 */ 393 public CWE getDrg13_GrouperStatus() { 394 CWE retVal = this.getTypedField(13, 0); 395 return retVal; 396 } 397 398 399 400 /** 401 * Returns 402 * DRG-14: "PCCL Value Code" - creates it if necessary 403 */ 404 public CWE getPCCLValueCode() { 405 CWE retVal = this.getTypedField(14, 0); 406 return retVal; 407 } 408 409 /** 410 * Returns 411 * DRG-14: "PCCL Value Code" - creates it if necessary 412 */ 413 public CWE getDrg14_PCCLValueCode() { 414 CWE retVal = this.getTypedField(14, 0); 415 return retVal; 416 } 417 418 419 420 /** 421 * Returns 422 * DRG-15: "Effective Weight" - creates it if necessary 423 */ 424 public NM getEffectiveWeight() { 425 NM retVal = this.getTypedField(15, 0); 426 return retVal; 427 } 428 429 /** 430 * Returns 431 * DRG-15: "Effective Weight" - creates it if necessary 432 */ 433 public NM getDrg15_EffectiveWeight() { 434 NM retVal = this.getTypedField(15, 0); 435 return retVal; 436 } 437 438 439 440 /** 441 * Returns 442 * DRG-16: "Monetary Amount" - creates it if necessary 443 */ 444 public MO getMonetaryAmount() { 445 MO retVal = this.getTypedField(16, 0); 446 return retVal; 447 } 448 449 /** 450 * Returns 451 * DRG-16: "Monetary Amount" - creates it if necessary 452 */ 453 public MO getDrg16_MonetaryAmount() { 454 MO retVal = this.getTypedField(16, 0); 455 return retVal; 456 } 457 458 459 460 /** 461 * Returns 462 * DRG-17: "Status Patient" - creates it if necessary 463 */ 464 public CWE getStatusPatient() { 465 CWE retVal = this.getTypedField(17, 0); 466 return retVal; 467 } 468 469 /** 470 * Returns 471 * DRG-17: "Status Patient" - creates it if necessary 472 */ 473 public CWE getDrg17_StatusPatient() { 474 CWE retVal = this.getTypedField(17, 0); 475 return retVal; 476 } 477 478 479 480 /** 481 * Returns 482 * DRG-18: "Grouper Software Name" - creates it if necessary 483 */ 484 public ST getGrouperSoftwareName() { 485 ST retVal = this.getTypedField(18, 0); 486 return retVal; 487 } 488 489 /** 490 * Returns 491 * DRG-18: "Grouper Software Name" - creates it if necessary 492 */ 493 public ST getDrg18_GrouperSoftwareName() { 494 ST retVal = this.getTypedField(18, 0); 495 return retVal; 496 } 497 498 499 500 /** 501 * Returns 502 * DRG-19: "Grouper Software Version" - creates it if necessary 503 */ 504 public ST getGrouperSoftwareVersion() { 505 ST retVal = this.getTypedField(19, 0); 506 return retVal; 507 } 508 509 /** 510 * Returns 511 * DRG-19: "Grouper Software Version" - creates it if necessary 512 */ 513 public ST getDrg19_GrouperSoftwareVersion() { 514 ST retVal = this.getTypedField(19, 0); 515 return retVal; 516 } 517 518 519 520 /** 521 * Returns 522 * DRG-20: "Status Financial Calculation" - creates it if necessary 523 */ 524 public CWE getStatusFinancialCalculation() { 525 CWE retVal = this.getTypedField(20, 0); 526 return retVal; 527 } 528 529 /** 530 * Returns 531 * DRG-20: "Status Financial Calculation" - creates it if necessary 532 */ 533 public CWE getDrg20_StatusFinancialCalculation() { 534 CWE retVal = this.getTypedField(20, 0); 535 return retVal; 536 } 537 538 539 540 /** 541 * Returns 542 * DRG-21: "Relative Discount/Surcharge" - creates it if necessary 543 */ 544 public MO getRelativeDiscountSurcharge() { 545 MO retVal = this.getTypedField(21, 0); 546 return retVal; 547 } 548 549 /** 550 * Returns 551 * DRG-21: "Relative Discount/Surcharge" - creates it if necessary 552 */ 553 public MO getDrg21_RelativeDiscountSurcharge() { 554 MO retVal = this.getTypedField(21, 0); 555 return retVal; 556 } 557 558 559 560 /** 561 * Returns 562 * DRG-22: "Basic Charge" - creates it if necessary 563 */ 564 public MO getBasicCharge() { 565 MO retVal = this.getTypedField(22, 0); 566 return retVal; 567 } 568 569 /** 570 * Returns 571 * DRG-22: "Basic Charge" - creates it if necessary 572 */ 573 public MO getDrg22_BasicCharge() { 574 MO retVal = this.getTypedField(22, 0); 575 return retVal; 576 } 577 578 579 580 /** 581 * Returns 582 * DRG-23: "Total Charge" - creates it if necessary 583 */ 584 public MO getTotalCharge() { 585 MO retVal = this.getTypedField(23, 0); 586 return retVal; 587 } 588 589 /** 590 * Returns 591 * DRG-23: "Total Charge" - creates it if necessary 592 */ 593 public MO getDrg23_TotalCharge() { 594 MO retVal = this.getTypedField(23, 0); 595 return retVal; 596 } 597 598 599 600 /** 601 * Returns 602 * DRG-24: "Discount/Surcharge" - creates it if necessary 603 */ 604 public MO getDiscountSurcharge() { 605 MO retVal = this.getTypedField(24, 0); 606 return retVal; 607 } 608 609 /** 610 * Returns 611 * DRG-24: "Discount/Surcharge" - creates it if necessary 612 */ 613 public MO getDrg24_DiscountSurcharge() { 614 MO retVal = this.getTypedField(24, 0); 615 return retVal; 616 } 617 618 619 620 /** 621 * Returns 622 * DRG-25: "Calculated Days" - creates it if necessary 623 */ 624 public NM getCalculatedDays() { 625 NM retVal = this.getTypedField(25, 0); 626 return retVal; 627 } 628 629 /** 630 * Returns 631 * DRG-25: "Calculated Days" - creates it if necessary 632 */ 633 public NM getDrg25_CalculatedDays() { 634 NM retVal = this.getTypedField(25, 0); 635 return retVal; 636 } 637 638 639 640 /** 641 * Returns 642 * DRG-26: "Status Gender" - creates it if necessary 643 */ 644 public CWE getStatusGender() { 645 CWE retVal = this.getTypedField(26, 0); 646 return retVal; 647 } 648 649 /** 650 * Returns 651 * DRG-26: "Status Gender" - creates it if necessary 652 */ 653 public CWE getDrg26_StatusGender() { 654 CWE retVal = this.getTypedField(26, 0); 655 return retVal; 656 } 657 658 659 660 /** 661 * Returns 662 * DRG-27: "Status Age" - creates it if necessary 663 */ 664 public CWE getStatusAge() { 665 CWE retVal = this.getTypedField(27, 0); 666 return retVal; 667 } 668 669 /** 670 * Returns 671 * DRG-27: "Status Age" - creates it if necessary 672 */ 673 public CWE getDrg27_StatusAge() { 674 CWE retVal = this.getTypedField(27, 0); 675 return retVal; 676 } 677 678 679 680 /** 681 * Returns 682 * DRG-28: "Status Length of Stay" - creates it if necessary 683 */ 684 public CWE getStatusLengthOfStay() { 685 CWE retVal = this.getTypedField(28, 0); 686 return retVal; 687 } 688 689 /** 690 * Returns 691 * DRG-28: "Status Length of Stay" - creates it if necessary 692 */ 693 public CWE getDrg28_StatusLengthOfStay() { 694 CWE retVal = this.getTypedField(28, 0); 695 return retVal; 696 } 697 698 699 700 /** 701 * Returns 702 * DRG-29: "Status Same Day Flag" - creates it if necessary 703 */ 704 public CWE getStatusSameDayFlag() { 705 CWE retVal = this.getTypedField(29, 0); 706 return retVal; 707 } 708 709 /** 710 * Returns 711 * DRG-29: "Status Same Day Flag" - creates it if necessary 712 */ 713 public CWE getDrg29_StatusSameDayFlag() { 714 CWE retVal = this.getTypedField(29, 0); 715 return retVal; 716 } 717 718 719 720 /** 721 * Returns 722 * DRG-30: "Status Separation Mode" - creates it if necessary 723 */ 724 public CWE getStatusSeparationMode() { 725 CWE retVal = this.getTypedField(30, 0); 726 return retVal; 727 } 728 729 /** 730 * Returns 731 * DRG-30: "Status Separation Mode" - creates it if necessary 732 */ 733 public CWE getDrg30_StatusSeparationMode() { 734 CWE retVal = this.getTypedField(30, 0); 735 return retVal; 736 } 737 738 739 740 /** 741 * Returns 742 * DRG-31: "Status Weight at Birth" - creates it if necessary 743 */ 744 public CWE getStatusWeightAtBirth() { 745 CWE retVal = this.getTypedField(31, 0); 746 return retVal; 747 } 748 749 /** 750 * Returns 751 * DRG-31: "Status Weight at Birth" - creates it if necessary 752 */ 753 public CWE getDrg31_StatusWeightAtBirth() { 754 CWE retVal = this.getTypedField(31, 0); 755 return retVal; 756 } 757 758 759 760 /** 761 * Returns 762 * DRG-32: "Status Respiration Minutes" - creates it if necessary 763 */ 764 public CWE getStatusRespirationMinutes() { 765 CWE retVal = this.getTypedField(32, 0); 766 return retVal; 767 } 768 769 /** 770 * Returns 771 * DRG-32: "Status Respiration Minutes" - creates it if necessary 772 */ 773 public CWE getDrg32_StatusRespirationMinutes() { 774 CWE retVal = this.getTypedField(32, 0); 775 return retVal; 776 } 777 778 779 780 /** 781 * Returns 782 * DRG-33: "Status Admission" - creates it if necessary 783 */ 784 public CWE getStatusAdmission() { 785 CWE retVal = this.getTypedField(33, 0); 786 return retVal; 787 } 788 789 /** 790 * Returns 791 * DRG-33: "Status Admission" - creates it if necessary 792 */ 793 public CWE getDrg33_StatusAdmission() { 794 CWE retVal = this.getTypedField(33, 0); 795 return retVal; 796 } 797 798 799 800 801 802 /** {@inheritDoc} */ 803 protected Type createNewTypeWithoutReflection(int field) { 804 switch (field) { 805 case 0: return new CNE(getMessage()); 806 case 1: return new DTM(getMessage()); 807 case 2: return new ID(getMessage(), new Integer( 136 )); 808 case 3: return new CWE(getMessage()); 809 case 4: return new CWE(getMessage()); 810 case 5: return new NM(getMessage()); 811 case 6: return new CP(getMessage()); 812 case 7: return new CWE(getMessage()); 813 case 8: return new CP(getMessage()); 814 case 9: return new ID(getMessage(), new Integer( 136 )); 815 case 10: return new CWE(getMessage()); 816 case 11: return new XPN(getMessage()); 817 case 12: return new CWE(getMessage()); 818 case 13: return new CWE(getMessage()); 819 case 14: return new NM(getMessage()); 820 case 15: return new MO(getMessage()); 821 case 16: return new CWE(getMessage()); 822 case 17: return new ST(getMessage()); 823 case 18: return new ST(getMessage()); 824 case 19: return new CWE(getMessage()); 825 case 20: return new MO(getMessage()); 826 case 21: return new MO(getMessage()); 827 case 22: return new MO(getMessage()); 828 case 23: return new MO(getMessage()); 829 case 24: return new NM(getMessage()); 830 case 25: return new CWE(getMessage()); 831 case 26: return new CWE(getMessage()); 832 case 27: return new CWE(getMessage()); 833 case 28: return new CWE(getMessage()); 834 case 29: return new CWE(getMessage()); 835 case 30: return new CWE(getMessage()); 836 case 31: return new CWE(getMessage()); 837 case 32: return new CWE(getMessage()); 838 default: return null; 839 } 840 } 841 842 843} 844