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.v28.segment; 035 036// import ca.uhn.hl7v2.model.v28.group.*; 037import ca.uhn.hl7v2.model.v28.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 RXA message segment (Pharmacy/Treatment Administration). 050 * This segment has the following fields:</p> 051 * <ul> 052 * <li>RXA-1: Give Sub-ID Counter (NM) <b> </b> 053 * <li>RXA-2: Administration Sub-ID Counter (NM) <b> </b> 054 * <li>RXA-3: Date/Time Start of Administration (DTM) <b> </b> 055 * <li>RXA-4: Date/Time End of Administration (DTM) <b> </b> 056 * <li>RXA-5: Administered Code (CWE) <b> </b> 057 * <li>RXA-6: Administered Amount (NM) <b> </b> 058 * <li>RXA-7: Administered Units (CWE) <b>optional </b> 059 * <li>RXA-8: Administered Dosage Form (CWE) <b>optional </b> 060 * <li>RXA-9: Administration Notes (CWE) <b>optional repeating</b> 061 * <li>RXA-10: Administering Provider (XCN) <b>optional repeating</b> 062 * <li>RXA-11: Administered-at Location (NULLDT) <b>optional </b> 063 * <li>RXA-12: Administered Per (Time Unit) (ST) <b>optional </b> 064 * <li>RXA-13: Administered Strength (NM) <b>optional </b> 065 * <li>RXA-14: Administered Strength Units (CWE) <b>optional </b> 066 * <li>RXA-15: Substance Lot Number (ST) <b>optional repeating</b> 067 * <li>RXA-16: Substance Expiration Date (DTM) <b>optional repeating</b> 068 * <li>RXA-17: Substance Manufacturer Name (CWE) <b>optional repeating</b> 069 * <li>RXA-18: Substance/Treatment Refusal Reason (CWE) <b>optional repeating</b> 070 * <li>RXA-19: Indication (CWE) <b>optional repeating</b> 071 * <li>RXA-20: Completion Status (ID) <b>optional </b> 072 * <li>RXA-21: Action Code - RXA (ID) <b>optional </b> 073 * <li>RXA-22: System Entry Date/Time (DTM) <b>optional </b> 074 * <li>RXA-23: Administered Drug Strength Volume (NM) <b>optional </b> 075 * <li>RXA-24: Administered Drug Strength Volume Units (CWE) <b>optional </b> 076 * <li>RXA-25: Administered Barcode Identifier (CWE) <b>optional </b> 077 * <li>RXA-26: Pharmacy Order Type (ID) <b>optional </b> 078 * <li>RXA-27: Administer-at (PL) <b>optional </b> 079 * <li>RXA-28: Administered-at Address (XAD) <b>optional </b> 080 * <li>RXA-29: Administered Tag Identifier (EI) <b>optional repeating</b> 081 * </ul> 082 */ 083@SuppressWarnings("unused") 084public class RXA extends AbstractSegment { 085 086 /** 087 * Creates a new RXA segment 088 */ 089 public RXA(Group parent, ModelClassFactory factory) { 090 super(parent, factory); 091 init(factory); 092 } 093 094 private void init(ModelClassFactory factory) { 095 try { 096 this.add(NM.class, true, 1, 0, new Object[]{ getMessage() }, "Give Sub-ID Counter"); 097 this.add(NM.class, true, 1, 0, new Object[]{ getMessage() }, "Administration Sub-ID Counter"); 098 this.add(DTM.class, true, 1, 0, new Object[]{ getMessage() }, "Date/Time Start of Administration"); 099 this.add(DTM.class, true, 1, 0, new Object[]{ getMessage() }, "Date/Time End of Administration"); 100 this.add(CWE.class, true, 1, 0, new Object[]{ getMessage() }, "Administered Code"); 101 this.add(NM.class, true, 1, 0, new Object[]{ getMessage() }, "Administered Amount"); 102 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Administered Units"); 103 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Administered Dosage Form"); 104 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Administration Notes"); 105 this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Administering Provider"); 106 this.add(NULLDT.class, false, 1, 0, new Object[]{ getMessage() }, "Administered-at Location"); 107 this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Administered Per (Time Unit)"); 108 this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Administered Strength"); 109 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Administered Strength Units"); 110 this.add(ST.class, false, 0, 0, new Object[]{ getMessage() }, "Substance Lot Number"); 111 this.add(DTM.class, false, 0, 0, new Object[]{ getMessage() }, "Substance Expiration Date"); 112 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Substance Manufacturer Name"); 113 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Substance/Treatment Refusal Reason"); 114 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Indication"); 115 this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(322) }, "Completion Status"); 116 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(206) }, "Action Code - RXA"); 117 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "System Entry Date/Time"); 118 this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Administered Drug Strength Volume"); 119 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Administered Drug Strength Volume Units"); 120 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Administered Barcode Identifier"); 121 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(480) }, "Pharmacy Order Type"); 122 this.add(PL.class, false, 1, 0, new Object[]{ getMessage() }, "Administer-at"); 123 this.add(XAD.class, false, 1, 0, new Object[]{ getMessage() }, "Administered-at Address"); 124 this.add(EI.class, false, 0, 0, new Object[]{ getMessage() }, "Administered Tag Identifier"); 125 } catch(HL7Exception e) { 126 log.error("Unexpected error creating RXA - this is probably a bug in the source code generator.", e); 127 } 128 } 129 130 131 132 /** 133 * Returns 134 * RXA-1: "Give Sub-ID Counter" - creates it if necessary 135 */ 136 public NM getGiveSubIDCounter() { 137 NM retVal = this.getTypedField(1, 0); 138 return retVal; 139 } 140 141 /** 142 * Returns 143 * RXA-1: "Give Sub-ID Counter" - creates it if necessary 144 */ 145 public NM getRxa1_GiveSubIDCounter() { 146 NM retVal = this.getTypedField(1, 0); 147 return retVal; 148 } 149 150 151 152 /** 153 * Returns 154 * RXA-2: "Administration Sub-ID Counter" - creates it if necessary 155 */ 156 public NM getAdministrationSubIDCounter() { 157 NM retVal = this.getTypedField(2, 0); 158 return retVal; 159 } 160 161 /** 162 * Returns 163 * RXA-2: "Administration Sub-ID Counter" - creates it if necessary 164 */ 165 public NM getRxa2_AdministrationSubIDCounter() { 166 NM retVal = this.getTypedField(2, 0); 167 return retVal; 168 } 169 170 171 172 /** 173 * Returns 174 * RXA-3: "Date/Time Start of Administration" - creates it if necessary 175 */ 176 public DTM getDateTimeStartOfAdministration() { 177 DTM retVal = this.getTypedField(3, 0); 178 return retVal; 179 } 180 181 /** 182 * Returns 183 * RXA-3: "Date/Time Start of Administration" - creates it if necessary 184 */ 185 public DTM getRxa3_DateTimeStartOfAdministration() { 186 DTM retVal = this.getTypedField(3, 0); 187 return retVal; 188 } 189 190 191 192 /** 193 * Returns 194 * RXA-4: "Date/Time End of Administration" - creates it if necessary 195 */ 196 public DTM getDateTimeEndOfAdministration() { 197 DTM retVal = this.getTypedField(4, 0); 198 return retVal; 199 } 200 201 /** 202 * Returns 203 * RXA-4: "Date/Time End of Administration" - creates it if necessary 204 */ 205 public DTM getRxa4_DateTimeEndOfAdministration() { 206 DTM retVal = this.getTypedField(4, 0); 207 return retVal; 208 } 209 210 211 212 /** 213 * Returns 214 * RXA-5: "Administered Code" - creates it if necessary 215 */ 216 public CWE getAdministeredCode() { 217 CWE retVal = this.getTypedField(5, 0); 218 return retVal; 219 } 220 221 /** 222 * Returns 223 * RXA-5: "Administered Code" - creates it if necessary 224 */ 225 public CWE getRxa5_AdministeredCode() { 226 CWE retVal = this.getTypedField(5, 0); 227 return retVal; 228 } 229 230 231 232 /** 233 * Returns 234 * RXA-6: "Administered Amount" - creates it if necessary 235 */ 236 public NM getAdministeredAmount() { 237 NM retVal = this.getTypedField(6, 0); 238 return retVal; 239 } 240 241 /** 242 * Returns 243 * RXA-6: "Administered Amount" - creates it if necessary 244 */ 245 public NM getRxa6_AdministeredAmount() { 246 NM retVal = this.getTypedField(6, 0); 247 return retVal; 248 } 249 250 251 252 /** 253 * Returns 254 * RXA-7: "Administered Units" - creates it if necessary 255 */ 256 public CWE getAdministeredUnits() { 257 CWE retVal = this.getTypedField(7, 0); 258 return retVal; 259 } 260 261 /** 262 * Returns 263 * RXA-7: "Administered Units" - creates it if necessary 264 */ 265 public CWE getRxa7_AdministeredUnits() { 266 CWE retVal = this.getTypedField(7, 0); 267 return retVal; 268 } 269 270 271 272 /** 273 * Returns 274 * RXA-8: "Administered Dosage Form" - creates it if necessary 275 */ 276 public CWE getAdministeredDosageForm() { 277 CWE retVal = this.getTypedField(8, 0); 278 return retVal; 279 } 280 281 /** 282 * Returns 283 * RXA-8: "Administered Dosage Form" - creates it if necessary 284 */ 285 public CWE getRxa8_AdministeredDosageForm() { 286 CWE retVal = this.getTypedField(8, 0); 287 return retVal; 288 } 289 290 291 /** 292 * Returns all repetitions of Administration Notes (RXA-9). 293 */ 294 public CWE[] getAdministrationNotes() { 295 CWE[] retVal = this.getTypedField(9, new CWE[0]); 296 return retVal; 297 } 298 299 300 /** 301 * Returns all repetitions of Administration Notes (RXA-9). 302 */ 303 public CWE[] getRxa9_AdministrationNotes() { 304 CWE[] retVal = this.getTypedField(9, new CWE[0]); 305 return retVal; 306 } 307 308 309 /** 310 * Returns a count of the current number of repetitions of Administration Notes (RXA-9). 311 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 312 * it will return zero. 313 */ 314 public int getAdministrationNotesReps() { 315 return this.getReps(9); 316 } 317 318 319 /** 320 * Returns a specific repetition of 321 * RXA-9: "Administration Notes" - creates it if necessary 322 * 323 * @param rep The repetition index (0-indexed) 324 */ 325 public CWE getAdministrationNotes(int rep) { 326 CWE retVal = this.getTypedField(9, rep); 327 return retVal; 328 } 329 330 /** 331 * Returns a specific repetition of 332 * RXA-9: "Administration Notes" - creates it if necessary 333 * 334 * @param rep The repetition index (0-indexed) 335 */ 336 public CWE getRxa9_AdministrationNotes(int rep) { 337 CWE retVal = this.getTypedField(9, rep); 338 return retVal; 339 } 340 341 /** 342 * Returns a count of the current number of repetitions of Administration Notes (RXA-9). 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 getRxa9_AdministrationNotesReps() { 347 return this.getReps(9); 348 } 349 350 351 /** 352 * Inserts a repetition of 353 * RXA-9: "Administration Notes" at a specific index 354 * 355 * @param rep The repetition index (0-indexed) 356 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 357 */ 358 public CWE insertAdministrationNotes(int rep) throws HL7Exception { 359 return (CWE) super.insertRepetition(9, rep); 360 } 361 362 363 /** 364 * Inserts a repetition of 365 * RXA-9: "Administration Notes" at a specific index 366 * 367 * @param rep The repetition index (0-indexed) 368 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 369 */ 370 public CWE insertRxa9_AdministrationNotes(int rep) throws HL7Exception { 371 return (CWE) super.insertRepetition(9, rep); 372 } 373 374 375 /** 376 * Removes a repetition of 377 * RXA-9: "Administration Notes" at a specific index 378 * 379 * @param rep The repetition index (0-indexed) 380 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 381 */ 382 public CWE removeAdministrationNotes(int rep) throws HL7Exception { 383 return (CWE) super.removeRepetition(9, rep); 384 } 385 386 387 /** 388 * Removes a repetition of 389 * RXA-9: "Administration Notes" at a specific index 390 * 391 * @param rep The repetition index (0-indexed) 392 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 393 */ 394 public CWE removeRxa9_AdministrationNotes(int rep) throws HL7Exception { 395 return (CWE) super.removeRepetition(9, rep); 396 } 397 398 399 400 /** 401 * Returns all repetitions of Administering Provider (RXA-10). 402 */ 403 public XCN[] getAdministeringProvider() { 404 XCN[] retVal = this.getTypedField(10, new XCN[0]); 405 return retVal; 406 } 407 408 409 /** 410 * Returns all repetitions of Administering Provider (RXA-10). 411 */ 412 public XCN[] getRxa10_AdministeringProvider() { 413 XCN[] retVal = this.getTypedField(10, new XCN[0]); 414 return retVal; 415 } 416 417 418 /** 419 * Returns a count of the current number of repetitions of Administering Provider (RXA-10). 420 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 421 * it will return zero. 422 */ 423 public int getAdministeringProviderReps() { 424 return this.getReps(10); 425 } 426 427 428 /** 429 * Returns a specific repetition of 430 * RXA-10: "Administering Provider" - creates it if necessary 431 * 432 * @param rep The repetition index (0-indexed) 433 */ 434 public XCN getAdministeringProvider(int rep) { 435 XCN retVal = this.getTypedField(10, rep); 436 return retVal; 437 } 438 439 /** 440 * Returns a specific repetition of 441 * RXA-10: "Administering Provider" - creates it if necessary 442 * 443 * @param rep The repetition index (0-indexed) 444 */ 445 public XCN getRxa10_AdministeringProvider(int rep) { 446 XCN retVal = this.getTypedField(10, rep); 447 return retVal; 448 } 449 450 /** 451 * Returns a count of the current number of repetitions of Administering Provider (RXA-10). 452 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 453 * it will return zero. 454 */ 455 public int getRxa10_AdministeringProviderReps() { 456 return this.getReps(10); 457 } 458 459 460 /** 461 * Inserts a repetition of 462 * RXA-10: "Administering Provider" at a specific index 463 * 464 * @param rep The repetition index (0-indexed) 465 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 466 */ 467 public XCN insertAdministeringProvider(int rep) throws HL7Exception { 468 return (XCN) super.insertRepetition(10, rep); 469 } 470 471 472 /** 473 * Inserts a repetition of 474 * RXA-10: "Administering Provider" at a specific index 475 * 476 * @param rep The repetition index (0-indexed) 477 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 478 */ 479 public XCN insertRxa10_AdministeringProvider(int rep) throws HL7Exception { 480 return (XCN) super.insertRepetition(10, rep); 481 } 482 483 484 /** 485 * Removes a repetition of 486 * RXA-10: "Administering Provider" 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 removeAdministeringProvider(int rep) throws HL7Exception { 492 return (XCN) super.removeRepetition(10, rep); 493 } 494 495 496 /** 497 * Removes a repetition of 498 * RXA-10: "Administering Provider" 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 removeRxa10_AdministeringProvider(int rep) throws HL7Exception { 504 return (XCN) super.removeRepetition(10, rep); 505 } 506 507 508 509 510 /** 511 * Returns 512 * RXA-11: "Administered-at Location" - creates it if necessary 513 */ 514 public NULLDT getAdministeredAtLocation() { 515 NULLDT retVal = this.getTypedField(11, 0); 516 return retVal; 517 } 518 519 /** 520 * Returns 521 * RXA-11: "Administered-at Location" - creates it if necessary 522 */ 523 public NULLDT getRxa11_AdministeredAtLocation() { 524 NULLDT retVal = this.getTypedField(11, 0); 525 return retVal; 526 } 527 528 529 530 /** 531 * Returns 532 * RXA-12: "Administered Per (Time Unit)" - creates it if necessary 533 */ 534 public ST getAdministeredPerTimeUnit() { 535 ST retVal = this.getTypedField(12, 0); 536 return retVal; 537 } 538 539 /** 540 * Returns 541 * RXA-12: "Administered Per (Time Unit)" - creates it if necessary 542 */ 543 public ST getRxa12_AdministeredPerTimeUnit() { 544 ST retVal = this.getTypedField(12, 0); 545 return retVal; 546 } 547 548 549 550 /** 551 * Returns 552 * RXA-13: "Administered Strength" - creates it if necessary 553 */ 554 public NM getAdministeredStrength() { 555 NM retVal = this.getTypedField(13, 0); 556 return retVal; 557 } 558 559 /** 560 * Returns 561 * RXA-13: "Administered Strength" - creates it if necessary 562 */ 563 public NM getRxa13_AdministeredStrength() { 564 NM retVal = this.getTypedField(13, 0); 565 return retVal; 566 } 567 568 569 570 /** 571 * Returns 572 * RXA-14: "Administered Strength Units" - creates it if necessary 573 */ 574 public CWE getAdministeredStrengthUnits() { 575 CWE retVal = this.getTypedField(14, 0); 576 return retVal; 577 } 578 579 /** 580 * Returns 581 * RXA-14: "Administered Strength Units" - creates it if necessary 582 */ 583 public CWE getRxa14_AdministeredStrengthUnits() { 584 CWE retVal = this.getTypedField(14, 0); 585 return retVal; 586 } 587 588 589 /** 590 * Returns all repetitions of Substance Lot Number (RXA-15). 591 */ 592 public ST[] getSubstanceLotNumber() { 593 ST[] retVal = this.getTypedField(15, new ST[0]); 594 return retVal; 595 } 596 597 598 /** 599 * Returns all repetitions of Substance Lot Number (RXA-15). 600 */ 601 public ST[] getRxa15_SubstanceLotNumber() { 602 ST[] retVal = this.getTypedField(15, new ST[0]); 603 return retVal; 604 } 605 606 607 /** 608 * Returns a count of the current number of repetitions of Substance Lot Number (RXA-15). 609 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 610 * it will return zero. 611 */ 612 public int getSubstanceLotNumberReps() { 613 return this.getReps(15); 614 } 615 616 617 /** 618 * Returns a specific repetition of 619 * RXA-15: "Substance Lot Number" - creates it if necessary 620 * 621 * @param rep The repetition index (0-indexed) 622 */ 623 public ST getSubstanceLotNumber(int rep) { 624 ST retVal = this.getTypedField(15, rep); 625 return retVal; 626 } 627 628 /** 629 * Returns a specific repetition of 630 * RXA-15: "Substance Lot Number" - creates it if necessary 631 * 632 * @param rep The repetition index (0-indexed) 633 */ 634 public ST getRxa15_SubstanceLotNumber(int rep) { 635 ST retVal = this.getTypedField(15, rep); 636 return retVal; 637 } 638 639 /** 640 * Returns a count of the current number of repetitions of Substance Lot Number (RXA-15). 641 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 642 * it will return zero. 643 */ 644 public int getRxa15_SubstanceLotNumberReps() { 645 return this.getReps(15); 646 } 647 648 649 /** 650 * Inserts a repetition of 651 * RXA-15: "Substance Lot Number" at a specific index 652 * 653 * @param rep The repetition index (0-indexed) 654 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 655 */ 656 public ST insertSubstanceLotNumber(int rep) throws HL7Exception { 657 return (ST) super.insertRepetition(15, rep); 658 } 659 660 661 /** 662 * Inserts a repetition of 663 * RXA-15: "Substance Lot Number" at a specific index 664 * 665 * @param rep The repetition index (0-indexed) 666 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 667 */ 668 public ST insertRxa15_SubstanceLotNumber(int rep) throws HL7Exception { 669 return (ST) super.insertRepetition(15, rep); 670 } 671 672 673 /** 674 * Removes a repetition of 675 * RXA-15: "Substance Lot Number" at a specific index 676 * 677 * @param rep The repetition index (0-indexed) 678 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 679 */ 680 public ST removeSubstanceLotNumber(int rep) throws HL7Exception { 681 return (ST) super.removeRepetition(15, rep); 682 } 683 684 685 /** 686 * Removes a repetition of 687 * RXA-15: "Substance Lot Number" at a specific index 688 * 689 * @param rep The repetition index (0-indexed) 690 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 691 */ 692 public ST removeRxa15_SubstanceLotNumber(int rep) throws HL7Exception { 693 return (ST) super.removeRepetition(15, rep); 694 } 695 696 697 698 /** 699 * Returns all repetitions of Substance Expiration Date (RXA-16). 700 */ 701 public DTM[] getSubstanceExpirationDate() { 702 DTM[] retVal = this.getTypedField(16, new DTM[0]); 703 return retVal; 704 } 705 706 707 /** 708 * Returns all repetitions of Substance Expiration Date (RXA-16). 709 */ 710 public DTM[] getRxa16_SubstanceExpirationDate() { 711 DTM[] retVal = this.getTypedField(16, new DTM[0]); 712 return retVal; 713 } 714 715 716 /** 717 * Returns a count of the current number of repetitions of Substance Expiration Date (RXA-16). 718 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 719 * it will return zero. 720 */ 721 public int getSubstanceExpirationDateReps() { 722 return this.getReps(16); 723 } 724 725 726 /** 727 * Returns a specific repetition of 728 * RXA-16: "Substance Expiration Date" - creates it if necessary 729 * 730 * @param rep The repetition index (0-indexed) 731 */ 732 public DTM getSubstanceExpirationDate(int rep) { 733 DTM retVal = this.getTypedField(16, rep); 734 return retVal; 735 } 736 737 /** 738 * Returns a specific repetition of 739 * RXA-16: "Substance Expiration Date" - creates it if necessary 740 * 741 * @param rep The repetition index (0-indexed) 742 */ 743 public DTM getRxa16_SubstanceExpirationDate(int rep) { 744 DTM retVal = this.getTypedField(16, rep); 745 return retVal; 746 } 747 748 /** 749 * Returns a count of the current number of repetitions of Substance Expiration Date (RXA-16). 750 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 751 * it will return zero. 752 */ 753 public int getRxa16_SubstanceExpirationDateReps() { 754 return this.getReps(16); 755 } 756 757 758 /** 759 * Inserts a repetition of 760 * RXA-16: "Substance Expiration Date" at a specific index 761 * 762 * @param rep The repetition index (0-indexed) 763 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 764 */ 765 public DTM insertSubstanceExpirationDate(int rep) throws HL7Exception { 766 return (DTM) super.insertRepetition(16, rep); 767 } 768 769 770 /** 771 * Inserts a repetition of 772 * RXA-16: "Substance Expiration Date" at a specific index 773 * 774 * @param rep The repetition index (0-indexed) 775 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 776 */ 777 public DTM insertRxa16_SubstanceExpirationDate(int rep) throws HL7Exception { 778 return (DTM) super.insertRepetition(16, rep); 779 } 780 781 782 /** 783 * Removes a repetition of 784 * RXA-16: "Substance Expiration Date" at a specific index 785 * 786 * @param rep The repetition index (0-indexed) 787 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 788 */ 789 public DTM removeSubstanceExpirationDate(int rep) throws HL7Exception { 790 return (DTM) super.removeRepetition(16, rep); 791 } 792 793 794 /** 795 * Removes a repetition of 796 * RXA-16: "Substance Expiration Date" at a specific index 797 * 798 * @param rep The repetition index (0-indexed) 799 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 800 */ 801 public DTM removeRxa16_SubstanceExpirationDate(int rep) throws HL7Exception { 802 return (DTM) super.removeRepetition(16, rep); 803 } 804 805 806 807 /** 808 * Returns all repetitions of Substance Manufacturer Name (RXA-17). 809 */ 810 public CWE[] getSubstanceManufacturerName() { 811 CWE[] retVal = this.getTypedField(17, new CWE[0]); 812 return retVal; 813 } 814 815 816 /** 817 * Returns all repetitions of Substance Manufacturer Name (RXA-17). 818 */ 819 public CWE[] getRxa17_SubstanceManufacturerName() { 820 CWE[] retVal = this.getTypedField(17, new CWE[0]); 821 return retVal; 822 } 823 824 825 /** 826 * Returns a count of the current number of repetitions of Substance Manufacturer Name (RXA-17). 827 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 828 * it will return zero. 829 */ 830 public int getSubstanceManufacturerNameReps() { 831 return this.getReps(17); 832 } 833 834 835 /** 836 * Returns a specific repetition of 837 * RXA-17: "Substance Manufacturer Name" - creates it if necessary 838 * 839 * @param rep The repetition index (0-indexed) 840 */ 841 public CWE getSubstanceManufacturerName(int rep) { 842 CWE retVal = this.getTypedField(17, rep); 843 return retVal; 844 } 845 846 /** 847 * Returns a specific repetition of 848 * RXA-17: "Substance Manufacturer Name" - creates it if necessary 849 * 850 * @param rep The repetition index (0-indexed) 851 */ 852 public CWE getRxa17_SubstanceManufacturerName(int rep) { 853 CWE retVal = this.getTypedField(17, rep); 854 return retVal; 855 } 856 857 /** 858 * Returns a count of the current number of repetitions of Substance Manufacturer Name (RXA-17). 859 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 860 * it will return zero. 861 */ 862 public int getRxa17_SubstanceManufacturerNameReps() { 863 return this.getReps(17); 864 } 865 866 867 /** 868 * Inserts a repetition of 869 * RXA-17: "Substance Manufacturer Name" at a specific index 870 * 871 * @param rep The repetition index (0-indexed) 872 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 873 */ 874 public CWE insertSubstanceManufacturerName(int rep) throws HL7Exception { 875 return (CWE) super.insertRepetition(17, rep); 876 } 877 878 879 /** 880 * Inserts a repetition of 881 * RXA-17: "Substance Manufacturer Name" at a specific index 882 * 883 * @param rep The repetition index (0-indexed) 884 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 885 */ 886 public CWE insertRxa17_SubstanceManufacturerName(int rep) throws HL7Exception { 887 return (CWE) super.insertRepetition(17, rep); 888 } 889 890 891 /** 892 * Removes a repetition of 893 * RXA-17: "Substance Manufacturer Name" at a specific index 894 * 895 * @param rep The repetition index (0-indexed) 896 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 897 */ 898 public CWE removeSubstanceManufacturerName(int rep) throws HL7Exception { 899 return (CWE) super.removeRepetition(17, rep); 900 } 901 902 903 /** 904 * Removes a repetition of 905 * RXA-17: "Substance Manufacturer Name" at a specific index 906 * 907 * @param rep The repetition index (0-indexed) 908 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 909 */ 910 public CWE removeRxa17_SubstanceManufacturerName(int rep) throws HL7Exception { 911 return (CWE) super.removeRepetition(17, rep); 912 } 913 914 915 916 /** 917 * Returns all repetitions of Substance/Treatment Refusal Reason (RXA-18). 918 */ 919 public CWE[] getSubstanceTreatmentRefusalReason() { 920 CWE[] retVal = this.getTypedField(18, new CWE[0]); 921 return retVal; 922 } 923 924 925 /** 926 * Returns all repetitions of Substance/Treatment Refusal Reason (RXA-18). 927 */ 928 public CWE[] getRxa18_SubstanceTreatmentRefusalReason() { 929 CWE[] retVal = this.getTypedField(18, new CWE[0]); 930 return retVal; 931 } 932 933 934 /** 935 * Returns a count of the current number of repetitions of Substance/Treatment Refusal Reason (RXA-18). 936 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 937 * it will return zero. 938 */ 939 public int getSubstanceTreatmentRefusalReasonReps() { 940 return this.getReps(18); 941 } 942 943 944 /** 945 * Returns a specific repetition of 946 * RXA-18: "Substance/Treatment Refusal Reason" - creates it if necessary 947 * 948 * @param rep The repetition index (0-indexed) 949 */ 950 public CWE getSubstanceTreatmentRefusalReason(int rep) { 951 CWE retVal = this.getTypedField(18, rep); 952 return retVal; 953 } 954 955 /** 956 * Returns a specific repetition of 957 * RXA-18: "Substance/Treatment Refusal Reason" - creates it if necessary 958 * 959 * @param rep The repetition index (0-indexed) 960 */ 961 public CWE getRxa18_SubstanceTreatmentRefusalReason(int rep) { 962 CWE retVal = this.getTypedField(18, rep); 963 return retVal; 964 } 965 966 /** 967 * Returns a count of the current number of repetitions of Substance/Treatment Refusal Reason (RXA-18). 968 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 969 * it will return zero. 970 */ 971 public int getRxa18_SubstanceTreatmentRefusalReasonReps() { 972 return this.getReps(18); 973 } 974 975 976 /** 977 * Inserts a repetition of 978 * RXA-18: "Substance/Treatment Refusal Reason" at a specific index 979 * 980 * @param rep The repetition index (0-indexed) 981 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 982 */ 983 public CWE insertSubstanceTreatmentRefusalReason(int rep) throws HL7Exception { 984 return (CWE) super.insertRepetition(18, rep); 985 } 986 987 988 /** 989 * Inserts a repetition of 990 * RXA-18: "Substance/Treatment Refusal Reason" at a specific index 991 * 992 * @param rep The repetition index (0-indexed) 993 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 994 */ 995 public CWE insertRxa18_SubstanceTreatmentRefusalReason(int rep) throws HL7Exception { 996 return (CWE) super.insertRepetition(18, rep); 997 } 998 999 1000 /** 1001 * Removes a repetition of 1002 * RXA-18: "Substance/Treatment Refusal Reason" at a specific index 1003 * 1004 * @param rep The repetition index (0-indexed) 1005 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1006 */ 1007 public CWE removeSubstanceTreatmentRefusalReason(int rep) throws HL7Exception { 1008 return (CWE) super.removeRepetition(18, rep); 1009 } 1010 1011 1012 /** 1013 * Removes a repetition of 1014 * RXA-18: "Substance/Treatment Refusal Reason" at a specific index 1015 * 1016 * @param rep The repetition index (0-indexed) 1017 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1018 */ 1019 public CWE removeRxa18_SubstanceTreatmentRefusalReason(int rep) throws HL7Exception { 1020 return (CWE) super.removeRepetition(18, rep); 1021 } 1022 1023 1024 1025 /** 1026 * Returns all repetitions of Indication (RXA-19). 1027 */ 1028 public CWE[] getIndication() { 1029 CWE[] retVal = this.getTypedField(19, new CWE[0]); 1030 return retVal; 1031 } 1032 1033 1034 /** 1035 * Returns all repetitions of Indication (RXA-19). 1036 */ 1037 public CWE[] getRxa19_Indication() { 1038 CWE[] retVal = this.getTypedField(19, new CWE[0]); 1039 return retVal; 1040 } 1041 1042 1043 /** 1044 * Returns a count of the current number of repetitions of Indication (RXA-19). 1045 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1046 * it will return zero. 1047 */ 1048 public int getIndicationReps() { 1049 return this.getReps(19); 1050 } 1051 1052 1053 /** 1054 * Returns a specific repetition of 1055 * RXA-19: "Indication" - creates it if necessary 1056 * 1057 * @param rep The repetition index (0-indexed) 1058 */ 1059 public CWE getIndication(int rep) { 1060 CWE retVal = this.getTypedField(19, rep); 1061 return retVal; 1062 } 1063 1064 /** 1065 * Returns a specific repetition of 1066 * RXA-19: "Indication" - creates it if necessary 1067 * 1068 * @param rep The repetition index (0-indexed) 1069 */ 1070 public CWE getRxa19_Indication(int rep) { 1071 CWE retVal = this.getTypedField(19, rep); 1072 return retVal; 1073 } 1074 1075 /** 1076 * Returns a count of the current number of repetitions of Indication (RXA-19). 1077 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1078 * it will return zero. 1079 */ 1080 public int getRxa19_IndicationReps() { 1081 return this.getReps(19); 1082 } 1083 1084 1085 /** 1086 * Inserts a repetition of 1087 * RXA-19: "Indication" at a specific index 1088 * 1089 * @param rep The repetition index (0-indexed) 1090 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1091 */ 1092 public CWE insertIndication(int rep) throws HL7Exception { 1093 return (CWE) super.insertRepetition(19, rep); 1094 } 1095 1096 1097 /** 1098 * Inserts a repetition of 1099 * RXA-19: "Indication" at a specific index 1100 * 1101 * @param rep The repetition index (0-indexed) 1102 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1103 */ 1104 public CWE insertRxa19_Indication(int rep) throws HL7Exception { 1105 return (CWE) super.insertRepetition(19, rep); 1106 } 1107 1108 1109 /** 1110 * Removes a repetition of 1111 * RXA-19: "Indication" at a specific index 1112 * 1113 * @param rep The repetition index (0-indexed) 1114 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1115 */ 1116 public CWE removeIndication(int rep) throws HL7Exception { 1117 return (CWE) super.removeRepetition(19, rep); 1118 } 1119 1120 1121 /** 1122 * Removes a repetition of 1123 * RXA-19: "Indication" at a specific index 1124 * 1125 * @param rep The repetition index (0-indexed) 1126 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1127 */ 1128 public CWE removeRxa19_Indication(int rep) throws HL7Exception { 1129 return (CWE) super.removeRepetition(19, rep); 1130 } 1131 1132 1133 1134 1135 /** 1136 * Returns 1137 * RXA-20: "Completion Status" - creates it if necessary 1138 */ 1139 public ID getCompletionStatus() { 1140 ID retVal = this.getTypedField(20, 0); 1141 return retVal; 1142 } 1143 1144 /** 1145 * Returns 1146 * RXA-20: "Completion Status" - creates it if necessary 1147 */ 1148 public ID getRxa20_CompletionStatus() { 1149 ID retVal = this.getTypedField(20, 0); 1150 return retVal; 1151 } 1152 1153 1154 1155 /** 1156 * Returns 1157 * RXA-21: "Action Code - RXA" - creates it if necessary 1158 */ 1159 public ID getActionCodeRXA() { 1160 ID retVal = this.getTypedField(21, 0); 1161 return retVal; 1162 } 1163 1164 /** 1165 * Returns 1166 * RXA-21: "Action Code - RXA" - creates it if necessary 1167 */ 1168 public ID getRxa21_ActionCodeRXA() { 1169 ID retVal = this.getTypedField(21, 0); 1170 return retVal; 1171 } 1172 1173 1174 1175 /** 1176 * Returns 1177 * RXA-22: "System Entry Date/Time" - creates it if necessary 1178 */ 1179 public DTM getSystemEntryDateTime() { 1180 DTM retVal = this.getTypedField(22, 0); 1181 return retVal; 1182 } 1183 1184 /** 1185 * Returns 1186 * RXA-22: "System Entry Date/Time" - creates it if necessary 1187 */ 1188 public DTM getRxa22_SystemEntryDateTime() { 1189 DTM retVal = this.getTypedField(22, 0); 1190 return retVal; 1191 } 1192 1193 1194 1195 /** 1196 * Returns 1197 * RXA-23: "Administered Drug Strength Volume" - creates it if necessary 1198 */ 1199 public NM getAdministeredDrugStrengthVolume() { 1200 NM retVal = this.getTypedField(23, 0); 1201 return retVal; 1202 } 1203 1204 /** 1205 * Returns 1206 * RXA-23: "Administered Drug Strength Volume" - creates it if necessary 1207 */ 1208 public NM getRxa23_AdministeredDrugStrengthVolume() { 1209 NM retVal = this.getTypedField(23, 0); 1210 return retVal; 1211 } 1212 1213 1214 1215 /** 1216 * Returns 1217 * RXA-24: "Administered Drug Strength Volume Units" - creates it if necessary 1218 */ 1219 public CWE getAdministeredDrugStrengthVolumeUnits() { 1220 CWE retVal = this.getTypedField(24, 0); 1221 return retVal; 1222 } 1223 1224 /** 1225 * Returns 1226 * RXA-24: "Administered Drug Strength Volume Units" - creates it if necessary 1227 */ 1228 public CWE getRxa24_AdministeredDrugStrengthVolumeUnits() { 1229 CWE retVal = this.getTypedField(24, 0); 1230 return retVal; 1231 } 1232 1233 1234 1235 /** 1236 * Returns 1237 * RXA-25: "Administered Barcode Identifier" - creates it if necessary 1238 */ 1239 public CWE getAdministeredBarcodeIdentifier() { 1240 CWE retVal = this.getTypedField(25, 0); 1241 return retVal; 1242 } 1243 1244 /** 1245 * Returns 1246 * RXA-25: "Administered Barcode Identifier" - creates it if necessary 1247 */ 1248 public CWE getRxa25_AdministeredBarcodeIdentifier() { 1249 CWE retVal = this.getTypedField(25, 0); 1250 return retVal; 1251 } 1252 1253 1254 1255 /** 1256 * Returns 1257 * RXA-26: "Pharmacy Order Type" - creates it if necessary 1258 */ 1259 public ID getPharmacyOrderType() { 1260 ID retVal = this.getTypedField(26, 0); 1261 return retVal; 1262 } 1263 1264 /** 1265 * Returns 1266 * RXA-26: "Pharmacy Order Type" - creates it if necessary 1267 */ 1268 public ID getRxa26_PharmacyOrderType() { 1269 ID retVal = this.getTypedField(26, 0); 1270 return retVal; 1271 } 1272 1273 1274 1275 /** 1276 * Returns 1277 * RXA-27: "Administer-at" - creates it if necessary 1278 */ 1279 public PL getAdministerAt() { 1280 PL retVal = this.getTypedField(27, 0); 1281 return retVal; 1282 } 1283 1284 /** 1285 * Returns 1286 * RXA-27: "Administer-at" - creates it if necessary 1287 */ 1288 public PL getRxa27_AdministerAt() { 1289 PL retVal = this.getTypedField(27, 0); 1290 return retVal; 1291 } 1292 1293 1294 1295 /** 1296 * Returns 1297 * RXA-28: "Administered-at Address" - creates it if necessary 1298 */ 1299 public XAD getAdministeredAtAddress() { 1300 XAD retVal = this.getTypedField(28, 0); 1301 return retVal; 1302 } 1303 1304 /** 1305 * Returns 1306 * RXA-28: "Administered-at Address" - creates it if necessary 1307 */ 1308 public XAD getRxa28_AdministeredAtAddress() { 1309 XAD retVal = this.getTypedField(28, 0); 1310 return retVal; 1311 } 1312 1313 1314 /** 1315 * Returns all repetitions of Administered Tag Identifier (RXA-29). 1316 */ 1317 public EI[] getAdministeredTagIdentifier() { 1318 EI[] retVal = this.getTypedField(29, new EI[0]); 1319 return retVal; 1320 } 1321 1322 1323 /** 1324 * Returns all repetitions of Administered Tag Identifier (RXA-29). 1325 */ 1326 public EI[] getRxa29_AdministeredTagIdentifier() { 1327 EI[] retVal = this.getTypedField(29, new EI[0]); 1328 return retVal; 1329 } 1330 1331 1332 /** 1333 * Returns a count of the current number of repetitions of Administered Tag Identifier (RXA-29). 1334 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1335 * it will return zero. 1336 */ 1337 public int getAdministeredTagIdentifierReps() { 1338 return this.getReps(29); 1339 } 1340 1341 1342 /** 1343 * Returns a specific repetition of 1344 * RXA-29: "Administered Tag Identifier" - creates it if necessary 1345 * 1346 * @param rep The repetition index (0-indexed) 1347 */ 1348 public EI getAdministeredTagIdentifier(int rep) { 1349 EI retVal = this.getTypedField(29, rep); 1350 return retVal; 1351 } 1352 1353 /** 1354 * Returns a specific repetition of 1355 * RXA-29: "Administered Tag Identifier" - creates it if necessary 1356 * 1357 * @param rep The repetition index (0-indexed) 1358 */ 1359 public EI getRxa29_AdministeredTagIdentifier(int rep) { 1360 EI retVal = this.getTypedField(29, rep); 1361 return retVal; 1362 } 1363 1364 /** 1365 * Returns a count of the current number of repetitions of Administered Tag Identifier (RXA-29). 1366 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1367 * it will return zero. 1368 */ 1369 public int getRxa29_AdministeredTagIdentifierReps() { 1370 return this.getReps(29); 1371 } 1372 1373 1374 /** 1375 * Inserts a repetition of 1376 * RXA-29: "Administered Tag Identifier" at a specific index 1377 * 1378 * @param rep The repetition index (0-indexed) 1379 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1380 */ 1381 public EI insertAdministeredTagIdentifier(int rep) throws HL7Exception { 1382 return (EI) super.insertRepetition(29, rep); 1383 } 1384 1385 1386 /** 1387 * Inserts a repetition of 1388 * RXA-29: "Administered Tag Identifier" at a specific index 1389 * 1390 * @param rep The repetition index (0-indexed) 1391 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1392 */ 1393 public EI insertRxa29_AdministeredTagIdentifier(int rep) throws HL7Exception { 1394 return (EI) super.insertRepetition(29, rep); 1395 } 1396 1397 1398 /** 1399 * Removes a repetition of 1400 * RXA-29: "Administered Tag Identifier" at a specific index 1401 * 1402 * @param rep The repetition index (0-indexed) 1403 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1404 */ 1405 public EI removeAdministeredTagIdentifier(int rep) throws HL7Exception { 1406 return (EI) super.removeRepetition(29, rep); 1407 } 1408 1409 1410 /** 1411 * Removes a repetition of 1412 * RXA-29: "Administered Tag Identifier" at a specific index 1413 * 1414 * @param rep The repetition index (0-indexed) 1415 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1416 */ 1417 public EI removeRxa29_AdministeredTagIdentifier(int rep) throws HL7Exception { 1418 return (EI) super.removeRepetition(29, rep); 1419 } 1420 1421 1422 1423 1424 1425 1426 /** {@inheritDoc} */ 1427 protected Type createNewTypeWithoutReflection(int field) { 1428 switch (field) { 1429 case 0: return new NM(getMessage()); 1430 case 1: return new NM(getMessage()); 1431 case 2: return new DTM(getMessage()); 1432 case 3: return new DTM(getMessage()); 1433 case 4: return new CWE(getMessage()); 1434 case 5: return new NM(getMessage()); 1435 case 6: return new CWE(getMessage()); 1436 case 7: return new CWE(getMessage()); 1437 case 8: return new CWE(getMessage()); 1438 case 9: return new XCN(getMessage()); 1439 case 10: return new NULLDT(getMessage()); 1440 case 11: return new ST(getMessage()); 1441 case 12: return new NM(getMessage()); 1442 case 13: return new CWE(getMessage()); 1443 case 14: return new ST(getMessage()); 1444 case 15: return new DTM(getMessage()); 1445 case 16: return new CWE(getMessage()); 1446 case 17: return new CWE(getMessage()); 1447 case 18: return new CWE(getMessage()); 1448 case 19: return new ID(getMessage(), new Integer( 322 )); 1449 case 20: return new ID(getMessage(), new Integer( 206 )); 1450 case 21: return new DTM(getMessage()); 1451 case 22: return new NM(getMessage()); 1452 case 23: return new CWE(getMessage()); 1453 case 24: return new CWE(getMessage()); 1454 case 25: return new ID(getMessage(), new Integer( 480 )); 1455 case 26: return new PL(getMessage()); 1456 case 27: return new XAD(getMessage()); 1457 case 28: return new EI(getMessage()); 1458 default: return null; 1459 } 1460 } 1461 1462 1463} 1464