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