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 OBR message segment (Observation Request). 050 * This segment has the following fields:</p> 051 * <ul> 052 * <li>OBR-1: Set ID - OBR (SI) <b>optional </b> 053 * <li>OBR-2: Placer Order Number (EI) <b>optional </b> 054 * <li>OBR-3: Filler Order Number (EI) <b>optional </b> 055 * <li>OBR-4: Universal Service Identifier (CWE) <b> </b> 056 * <li>OBR-5: Priority (NULLDT) <b>optional </b> 057 * <li>OBR-6: Requested Date/Time (NULLDT) <b>optional </b> 058 * <li>OBR-7: Observation Date/Time # (DTM) <b>optional </b> 059 * <li>OBR-8: Observation End Date/Time # (DTM) <b>optional </b> 060 * <li>OBR-9: Collection Volume * (CQ) <b>optional </b> 061 * <li>OBR-10: Collector Identifier * (XCN) <b>optional repeating</b> 062 * <li>OBR-11: Specimen Action Code * (ID) <b>optional </b> 063 * <li>OBR-12: Danger Code (CWE) <b>optional </b> 064 * <li>OBR-13: Relevant Clinical Information (CWE) <b>optional repeating</b> 065 * <li>OBR-14: Specimen Received Date/Time (DTM) <b>optional </b> 066 * <li>OBR-15: Specimen Source (NULLDT) <b>optional </b> 067 * <li>OBR-16: Ordering Provider (XCN) <b>optional repeating</b> 068 * <li>OBR-17: Order Callback Phone Number (XTN) <b>optional repeating</b> 069 * <li>OBR-18: Placer Field 1 (ST) <b>optional </b> 070 * <li>OBR-19: Placer Field 2 (ST) <b>optional </b> 071 * <li>OBR-20: Filler Field 1 + (ST) <b>optional </b> 072 * <li>OBR-21: Filler Field 2 + (ST) <b>optional </b> 073 * <li>OBR-22: Results Rpt/Status Chng - Date/Time + (DTM) <b>optional </b> 074 * <li>OBR-23: Charge to Practice + (MOC) <b>optional </b> 075 * <li>OBR-24: Diagnostic Serv Sect ID (ID) <b>optional </b> 076 * <li>OBR-25: Result Status + (ID) <b>optional </b> 077 * <li>OBR-26: Parent Result + (PRL) <b>optional </b> 078 * <li>OBR-27: Quantity/Timing (NULLDT) <b>optional repeating</b> 079 * <li>OBR-28: Result Copies To (XCN) <b>optional repeating</b> 080 * <li>OBR-29: Parent Results Observation Identifier (EIP) <b>optional </b> 081 * <li>OBR-30: Transportation Mode (ID) <b>optional </b> 082 * <li>OBR-31: Reason for Study (CWE) <b>optional repeating</b> 083 * <li>OBR-32: Principal Result Interpreter + (NDL) <b>optional </b> 084 * <li>OBR-33: Assistant Result Interpreter + (NDL) <b>optional repeating</b> 085 * <li>OBR-34: Technician + (NDL) <b>optional repeating</b> 086 * <li>OBR-35: Transcriptionist + (NDL) <b>optional repeating</b> 087 * <li>OBR-36: Scheduled Date/Time + (DTM) <b>optional </b> 088 * <li>OBR-37: Number of Sample Containers * (NM) <b>optional </b> 089 * <li>OBR-38: Transport Logistics of Collected Sample * (CWE) <b>optional repeating</b> 090 * <li>OBR-39: Collector's Comment * (CWE) <b>optional repeating</b> 091 * <li>OBR-40: Transport Arrangement Responsibility (CWE) <b>optional </b> 092 * <li>OBR-41: Transport Arranged (ID) <b>optional </b> 093 * <li>OBR-42: Escort Required (ID) <b>optional </b> 094 * <li>OBR-43: Planned Patient Transport Comment (CWE) <b>optional repeating</b> 095 * <li>OBR-44: Procedure Code (CNE) <b>optional </b> 096 * <li>OBR-45: Procedure Code Modifier (CNE) <b>optional repeating</b> 097 * <li>OBR-46: Placer Supplemental Service Information (CWE) <b>optional repeating</b> 098 * <li>OBR-47: Filler Supplemental Service Information (CWE) <b>optional repeating</b> 099 * <li>OBR-48: Medically Necessary Duplicate Procedure Reason (CWE) <b>optional </b> 100 * <li>OBR-49: Result Handling (CWE) <b>optional </b> 101 * <li>OBR-50: Parent Universal Service Identifier (CWE) <b>optional </b> 102 * <li>OBR-51: Observation Group ID (EI) <b>optional </b> 103 * <li>OBR-52: Parent Observation Group ID (EI) <b>optional </b> 104 * <li>OBR-53: Alternate Placer Order Number (CX) <b>optional repeating</b> 105 * <li>OBR-54: Parent Order (EIP) <b>optional </b> 106 * </ul> 107 */ 108@SuppressWarnings("unused") 109public class OBR extends AbstractSegment { 110 111 /** 112 * Creates a new OBR segment 113 */ 114 public OBR(Group parent, ModelClassFactory factory) { 115 super(parent, factory); 116 init(factory); 117 } 118 119 private void init(ModelClassFactory factory) { 120 try { 121 this.add(SI.class, false, 1, 4, new Object[]{ getMessage() }, "Set ID - OBR"); 122 this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Placer Order Number"); 123 this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Filler Order Number"); 124 this.add(CWE.class, true, 1, 0, new Object[]{ getMessage() }, "Universal Service Identifier"); 125 this.add(NULLDT.class, false, 1, 0, new Object[]{ getMessage() }, "Priority"); 126 this.add(NULLDT.class, false, 1, 0, new Object[]{ getMessage() }, "Requested Date/Time"); 127 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Observation Date/Time #"); 128 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Observation End Date/Time #"); 129 this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Collection Volume *"); 130 this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Collector Identifier *"); 131 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(65) }, "Specimen Action Code *"); 132 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Danger Code"); 133 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Relevant Clinical Information"); 134 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Specimen Received Date/Time"); 135 this.add(NULLDT.class, false, 1, 0, new Object[]{ getMessage() }, "Specimen Source"); 136 this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Ordering Provider"); 137 this.add(XTN.class, false, 2, 0, new Object[]{ getMessage() }, "Order Callback Phone Number"); 138 this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Placer Field 1"); 139 this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Placer Field 2"); 140 this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Filler Field 1 +"); 141 this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Filler Field 2 +"); 142 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Results Rpt/Status Chng - Date/Time +"); 143 this.add(MOC.class, false, 1, 0, new Object[]{ getMessage() }, "Charge to Practice +"); 144 this.add(ID.class, false, 1, 3, new Object[]{ getMessage(), new Integer(74) }, "Diagnostic Serv Sect ID"); 145 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(123) }, "Result Status +"); 146 this.add(PRL.class, false, 1, 0, new Object[]{ getMessage() }, "Parent Result +"); 147 this.add(NULLDT.class, false, 0, 0, new Object[]{ getMessage() }, "Quantity/Timing"); 148 this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Result Copies To"); 149 this.add(EIP.class, false, 1, 0, new Object[]{ getMessage() }, "Parent Results Observation Identifier"); 150 this.add(ID.class, false, 1, 4, new Object[]{ getMessage(), new Integer(124) }, "Transportation Mode"); 151 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Reason for Study"); 152 this.add(NDL.class, false, 1, 0, new Object[]{ getMessage() }, "Principal Result Interpreter +"); 153 this.add(NDL.class, false, 0, 0, new Object[]{ getMessage() }, "Assistant Result Interpreter +"); 154 this.add(NDL.class, false, 0, 0, new Object[]{ getMessage() }, "Technician +"); 155 this.add(NDL.class, false, 0, 0, new Object[]{ getMessage() }, "Transcriptionist +"); 156 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Scheduled Date/Time +"); 157 this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Number of Sample Containers *"); 158 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Transport Logistics of Collected Sample *"); 159 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Collector's Comment *"); 160 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Transport Arrangement Responsibility"); 161 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(224) }, "Transport Arranged"); 162 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(225) }, "Escort Required"); 163 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Planned Patient Transport Comment"); 164 this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Procedure Code"); 165 this.add(CNE.class, false, 0, 0, new Object[]{ getMessage() }, "Procedure Code Modifier"); 166 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Placer Supplemental Service Information"); 167 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Filler Supplemental Service Information"); 168 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Medically Necessary Duplicate Procedure Reason"); 169 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Result Handling"); 170 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Parent Universal Service Identifier"); 171 this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Observation Group ID"); 172 this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Parent Observation Group ID"); 173 this.add(CX.class, false, 0, 0, new Object[]{ getMessage() }, "Alternate Placer Order Number"); 174 this.add(EIP.class, false, 1, 0, new Object[]{ getMessage() }, "Parent Order"); 175 } catch(HL7Exception e) { 176 log.error("Unexpected error creating OBR - this is probably a bug in the source code generator.", e); 177 } 178 } 179 180 181 182 /** 183 * Returns 184 * OBR-1: "Set ID - OBR" - creates it if necessary 185 */ 186 public SI getSetIDOBR() { 187 SI retVal = this.getTypedField(1, 0); 188 return retVal; 189 } 190 191 /** 192 * Returns 193 * OBR-1: "Set ID - OBR" - creates it if necessary 194 */ 195 public SI getObr1_SetIDOBR() { 196 SI retVal = this.getTypedField(1, 0); 197 return retVal; 198 } 199 200 201 202 /** 203 * Returns 204 * OBR-2: "Placer Order Number" - creates it if necessary 205 */ 206 public EI getPlacerOrderNumber() { 207 EI retVal = this.getTypedField(2, 0); 208 return retVal; 209 } 210 211 /** 212 * Returns 213 * OBR-2: "Placer Order Number" - creates it if necessary 214 */ 215 public EI getObr2_PlacerOrderNumber() { 216 EI retVal = this.getTypedField(2, 0); 217 return retVal; 218 } 219 220 221 222 /** 223 * Returns 224 * OBR-3: "Filler Order Number" - creates it if necessary 225 */ 226 public EI getFillerOrderNumber() { 227 EI retVal = this.getTypedField(3, 0); 228 return retVal; 229 } 230 231 /** 232 * Returns 233 * OBR-3: "Filler Order Number" - creates it if necessary 234 */ 235 public EI getObr3_FillerOrderNumber() { 236 EI retVal = this.getTypedField(3, 0); 237 return retVal; 238 } 239 240 241 242 /** 243 * Returns 244 * OBR-4: "Universal Service Identifier" - creates it if necessary 245 */ 246 public CWE getUniversalServiceIdentifier() { 247 CWE retVal = this.getTypedField(4, 0); 248 return retVal; 249 } 250 251 /** 252 * Returns 253 * OBR-4: "Universal Service Identifier" - creates it if necessary 254 */ 255 public CWE getObr4_UniversalServiceIdentifier() { 256 CWE retVal = this.getTypedField(4, 0); 257 return retVal; 258 } 259 260 261 262 /** 263 * Returns 264 * OBR-5: "Priority" - creates it if necessary 265 */ 266 public NULLDT getPriority() { 267 NULLDT retVal = this.getTypedField(5, 0); 268 return retVal; 269 } 270 271 /** 272 * Returns 273 * OBR-5: "Priority" - creates it if necessary 274 */ 275 public NULLDT getObr5_Priority() { 276 NULLDT retVal = this.getTypedField(5, 0); 277 return retVal; 278 } 279 280 281 282 /** 283 * Returns 284 * OBR-6: "Requested Date/Time" - creates it if necessary 285 */ 286 public NULLDT getRequestedDateTime() { 287 NULLDT retVal = this.getTypedField(6, 0); 288 return retVal; 289 } 290 291 /** 292 * Returns 293 * OBR-6: "Requested Date/Time" - creates it if necessary 294 */ 295 public NULLDT getObr6_RequestedDateTime() { 296 NULLDT retVal = this.getTypedField(6, 0); 297 return retVal; 298 } 299 300 301 302 /** 303 * Returns 304 * OBR-7: "Observation Date/Time #" - creates it if necessary 305 */ 306 public DTM getObservationDateTime() { 307 DTM retVal = this.getTypedField(7, 0); 308 return retVal; 309 } 310 311 /** 312 * Returns 313 * OBR-7: "Observation Date/Time #" - creates it if necessary 314 */ 315 public DTM getObr7_ObservationDateTime() { 316 DTM retVal = this.getTypedField(7, 0); 317 return retVal; 318 } 319 320 321 322 /** 323 * Returns 324 * OBR-8: "Observation End Date/Time #" - creates it if necessary 325 */ 326 public DTM getObservationEndDateTime() { 327 DTM retVal = this.getTypedField(8, 0); 328 return retVal; 329 } 330 331 /** 332 * Returns 333 * OBR-8: "Observation End Date/Time #" - creates it if necessary 334 */ 335 public DTM getObr8_ObservationEndDateTime() { 336 DTM retVal = this.getTypedField(8, 0); 337 return retVal; 338 } 339 340 341 342 /** 343 * Returns 344 * OBR-9: "Collection Volume *" - creates it if necessary 345 */ 346 public CQ getCollectionVolume() { 347 CQ retVal = this.getTypedField(9, 0); 348 return retVal; 349 } 350 351 /** 352 * Returns 353 * OBR-9: "Collection Volume *" - creates it if necessary 354 */ 355 public CQ getObr9_CollectionVolume() { 356 CQ retVal = this.getTypedField(9, 0); 357 return retVal; 358 } 359 360 361 /** 362 * Returns all repetitions of Collector Identifier * (OBR-10). 363 */ 364 public XCN[] getCollectorIdentifier() { 365 XCN[] retVal = this.getTypedField(10, new XCN[0]); 366 return retVal; 367 } 368 369 370 /** 371 * Returns all repetitions of Collector Identifier * (OBR-10). 372 */ 373 public XCN[] getObr10_CollectorIdentifier() { 374 XCN[] retVal = this.getTypedField(10, new XCN[0]); 375 return retVal; 376 } 377 378 379 /** 380 * Returns a count of the current number of repetitions of Collector Identifier * (OBR-10). 381 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 382 * it will return zero. 383 */ 384 public int getCollectorIdentifierReps() { 385 return this.getReps(10); 386 } 387 388 389 /** 390 * Returns a specific repetition of 391 * OBR-10: "Collector Identifier *" - creates it if necessary 392 * 393 * @param rep The repetition index (0-indexed) 394 */ 395 public XCN getCollectorIdentifier(int rep) { 396 XCN retVal = this.getTypedField(10, rep); 397 return retVal; 398 } 399 400 /** 401 * Returns a specific repetition of 402 * OBR-10: "Collector Identifier *" - creates it if necessary 403 * 404 * @param rep The repetition index (0-indexed) 405 */ 406 public XCN getObr10_CollectorIdentifier(int rep) { 407 XCN retVal = this.getTypedField(10, rep); 408 return retVal; 409 } 410 411 /** 412 * Returns a count of the current number of repetitions of Collector Identifier * (OBR-10). 413 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 414 * it will return zero. 415 */ 416 public int getObr10_CollectorIdentifierReps() { 417 return this.getReps(10); 418 } 419 420 421 /** 422 * Inserts a repetition of 423 * OBR-10: "Collector Identifier *" at a specific index 424 * 425 * @param rep The repetition index (0-indexed) 426 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 427 */ 428 public XCN insertCollectorIdentifier(int rep) throws HL7Exception { 429 return (XCN) super.insertRepetition(10, rep); 430 } 431 432 433 /** 434 * Inserts a repetition of 435 * OBR-10: "Collector Identifier *" at a specific index 436 * 437 * @param rep The repetition index (0-indexed) 438 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 439 */ 440 public XCN insertObr10_CollectorIdentifier(int rep) throws HL7Exception { 441 return (XCN) super.insertRepetition(10, rep); 442 } 443 444 445 /** 446 * Removes a repetition of 447 * OBR-10: "Collector Identifier *" at a specific index 448 * 449 * @param rep The repetition index (0-indexed) 450 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 451 */ 452 public XCN removeCollectorIdentifier(int rep) throws HL7Exception { 453 return (XCN) super.removeRepetition(10, rep); 454 } 455 456 457 /** 458 * Removes a repetition of 459 * OBR-10: "Collector Identifier *" at a specific index 460 * 461 * @param rep The repetition index (0-indexed) 462 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 463 */ 464 public XCN removeObr10_CollectorIdentifier(int rep) throws HL7Exception { 465 return (XCN) super.removeRepetition(10, rep); 466 } 467 468 469 470 471 /** 472 * Returns 473 * OBR-11: "Specimen Action Code *" - creates it if necessary 474 */ 475 public ID getSpecimenActionCode() { 476 ID retVal = this.getTypedField(11, 0); 477 return retVal; 478 } 479 480 /** 481 * Returns 482 * OBR-11: "Specimen Action Code *" - creates it if necessary 483 */ 484 public ID getObr11_SpecimenActionCode() { 485 ID retVal = this.getTypedField(11, 0); 486 return retVal; 487 } 488 489 490 491 /** 492 * Returns 493 * OBR-12: "Danger Code" - creates it if necessary 494 */ 495 public CWE getDangerCode() { 496 CWE retVal = this.getTypedField(12, 0); 497 return retVal; 498 } 499 500 /** 501 * Returns 502 * OBR-12: "Danger Code" - creates it if necessary 503 */ 504 public CWE getObr12_DangerCode() { 505 CWE retVal = this.getTypedField(12, 0); 506 return retVal; 507 } 508 509 510 /** 511 * Returns all repetitions of Relevant Clinical Information (OBR-13). 512 */ 513 public CWE[] getRelevantClinicalInformation() { 514 CWE[] retVal = this.getTypedField(13, new CWE[0]); 515 return retVal; 516 } 517 518 519 /** 520 * Returns all repetitions of Relevant Clinical Information (OBR-13). 521 */ 522 public CWE[] getObr13_RelevantClinicalInformation() { 523 CWE[] retVal = this.getTypedField(13, new CWE[0]); 524 return retVal; 525 } 526 527 528 /** 529 * Returns a count of the current number of repetitions of Relevant Clinical Information (OBR-13). 530 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 531 * it will return zero. 532 */ 533 public int getRelevantClinicalInformationReps() { 534 return this.getReps(13); 535 } 536 537 538 /** 539 * Returns a specific repetition of 540 * OBR-13: "Relevant Clinical Information" - creates it if necessary 541 * 542 * @param rep The repetition index (0-indexed) 543 */ 544 public CWE getRelevantClinicalInformation(int rep) { 545 CWE retVal = this.getTypedField(13, rep); 546 return retVal; 547 } 548 549 /** 550 * Returns a specific repetition of 551 * OBR-13: "Relevant Clinical Information" - creates it if necessary 552 * 553 * @param rep The repetition index (0-indexed) 554 */ 555 public CWE getObr13_RelevantClinicalInformation(int rep) { 556 CWE retVal = this.getTypedField(13, rep); 557 return retVal; 558 } 559 560 /** 561 * Returns a count of the current number of repetitions of Relevant Clinical Information (OBR-13). 562 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 563 * it will return zero. 564 */ 565 public int getObr13_RelevantClinicalInformationReps() { 566 return this.getReps(13); 567 } 568 569 570 /** 571 * Inserts a repetition of 572 * OBR-13: "Relevant Clinical Information" at a specific index 573 * 574 * @param rep The repetition index (0-indexed) 575 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 576 */ 577 public CWE insertRelevantClinicalInformation(int rep) throws HL7Exception { 578 return (CWE) super.insertRepetition(13, rep); 579 } 580 581 582 /** 583 * Inserts a repetition of 584 * OBR-13: "Relevant Clinical Information" at a specific index 585 * 586 * @param rep The repetition index (0-indexed) 587 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 588 */ 589 public CWE insertObr13_RelevantClinicalInformation(int rep) throws HL7Exception { 590 return (CWE) super.insertRepetition(13, rep); 591 } 592 593 594 /** 595 * Removes a repetition of 596 * OBR-13: "Relevant Clinical Information" at a specific index 597 * 598 * @param rep The repetition index (0-indexed) 599 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 600 */ 601 public CWE removeRelevantClinicalInformation(int rep) throws HL7Exception { 602 return (CWE) super.removeRepetition(13, rep); 603 } 604 605 606 /** 607 * Removes a repetition of 608 * OBR-13: "Relevant Clinical Information" at a specific index 609 * 610 * @param rep The repetition index (0-indexed) 611 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 612 */ 613 public CWE removeObr13_RelevantClinicalInformation(int rep) throws HL7Exception { 614 return (CWE) super.removeRepetition(13, rep); 615 } 616 617 618 619 620 /** 621 * Returns 622 * OBR-14: "Specimen Received Date/Time" - creates it if necessary 623 */ 624 public DTM getSpecimenReceivedDateTime() { 625 DTM retVal = this.getTypedField(14, 0); 626 return retVal; 627 } 628 629 /** 630 * Returns 631 * OBR-14: "Specimen Received Date/Time" - creates it if necessary 632 */ 633 public DTM getObr14_SpecimenReceivedDateTime() { 634 DTM retVal = this.getTypedField(14, 0); 635 return retVal; 636 } 637 638 639 640 /** 641 * Returns 642 * OBR-15: "Specimen Source" - creates it if necessary 643 */ 644 public NULLDT getSpecimenSource() { 645 NULLDT retVal = this.getTypedField(15, 0); 646 return retVal; 647 } 648 649 /** 650 * Returns 651 * OBR-15: "Specimen Source" - creates it if necessary 652 */ 653 public NULLDT getObr15_SpecimenSource() { 654 NULLDT retVal = this.getTypedField(15, 0); 655 return retVal; 656 } 657 658 659 /** 660 * Returns all repetitions of Ordering Provider (OBR-16). 661 */ 662 public XCN[] getOrderingProvider() { 663 XCN[] retVal = this.getTypedField(16, new XCN[0]); 664 return retVal; 665 } 666 667 668 /** 669 * Returns all repetitions of Ordering Provider (OBR-16). 670 */ 671 public XCN[] getObr16_OrderingProvider() { 672 XCN[] retVal = this.getTypedField(16, new XCN[0]); 673 return retVal; 674 } 675 676 677 /** 678 * Returns a count of the current number of repetitions of Ordering Provider (OBR-16). 679 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 680 * it will return zero. 681 */ 682 public int getOrderingProviderReps() { 683 return this.getReps(16); 684 } 685 686 687 /** 688 * Returns a specific repetition of 689 * OBR-16: "Ordering Provider" - creates it if necessary 690 * 691 * @param rep The repetition index (0-indexed) 692 */ 693 public XCN getOrderingProvider(int rep) { 694 XCN retVal = this.getTypedField(16, rep); 695 return retVal; 696 } 697 698 /** 699 * Returns a specific repetition of 700 * OBR-16: "Ordering Provider" - creates it if necessary 701 * 702 * @param rep The repetition index (0-indexed) 703 */ 704 public XCN getObr16_OrderingProvider(int rep) { 705 XCN retVal = this.getTypedField(16, rep); 706 return retVal; 707 } 708 709 /** 710 * Returns a count of the current number of repetitions of Ordering Provider (OBR-16). 711 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 712 * it will return zero. 713 */ 714 public int getObr16_OrderingProviderReps() { 715 return this.getReps(16); 716 } 717 718 719 /** 720 * Inserts a repetition of 721 * OBR-16: "Ordering Provider" at a specific index 722 * 723 * @param rep The repetition index (0-indexed) 724 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 725 */ 726 public XCN insertOrderingProvider(int rep) throws HL7Exception { 727 return (XCN) super.insertRepetition(16, rep); 728 } 729 730 731 /** 732 * Inserts a repetition of 733 * OBR-16: "Ordering Provider" at a specific index 734 * 735 * @param rep The repetition index (0-indexed) 736 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 737 */ 738 public XCN insertObr16_OrderingProvider(int rep) throws HL7Exception { 739 return (XCN) super.insertRepetition(16, rep); 740 } 741 742 743 /** 744 * Removes a repetition of 745 * OBR-16: "Ordering Provider" at a specific index 746 * 747 * @param rep The repetition index (0-indexed) 748 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 749 */ 750 public XCN removeOrderingProvider(int rep) throws HL7Exception { 751 return (XCN) super.removeRepetition(16, rep); 752 } 753 754 755 /** 756 * Removes a repetition of 757 * OBR-16: "Ordering Provider" at a specific index 758 * 759 * @param rep The repetition index (0-indexed) 760 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 761 */ 762 public XCN removeObr16_OrderingProvider(int rep) throws HL7Exception { 763 return (XCN) super.removeRepetition(16, rep); 764 } 765 766 767 768 /** 769 * Returns all repetitions of Order Callback Phone Number (OBR-17). 770 */ 771 public XTN[] getOrderCallbackPhoneNumber() { 772 XTN[] retVal = this.getTypedField(17, new XTN[0]); 773 return retVal; 774 } 775 776 777 /** 778 * Returns all repetitions of Order Callback Phone Number (OBR-17). 779 */ 780 public XTN[] getObr17_OrderCallbackPhoneNumber() { 781 XTN[] retVal = this.getTypedField(17, new XTN[0]); 782 return retVal; 783 } 784 785 786 /** 787 * Returns a count of the current number of repetitions of Order Callback Phone Number (OBR-17). 788 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 789 * it will return zero. 790 */ 791 public int getOrderCallbackPhoneNumberReps() { 792 return this.getReps(17); 793 } 794 795 796 /** 797 * Returns a specific repetition of 798 * OBR-17: "Order Callback Phone Number" - creates it if necessary 799 * 800 * @param rep The repetition index (0-indexed) 801 */ 802 public XTN getOrderCallbackPhoneNumber(int rep) { 803 XTN retVal = this.getTypedField(17, rep); 804 return retVal; 805 } 806 807 /** 808 * Returns a specific repetition of 809 * OBR-17: "Order Callback Phone Number" - creates it if necessary 810 * 811 * @param rep The repetition index (0-indexed) 812 */ 813 public XTN getObr17_OrderCallbackPhoneNumber(int rep) { 814 XTN retVal = this.getTypedField(17, rep); 815 return retVal; 816 } 817 818 /** 819 * Returns a count of the current number of repetitions of Order Callback Phone Number (OBR-17). 820 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 821 * it will return zero. 822 */ 823 public int getObr17_OrderCallbackPhoneNumberReps() { 824 return this.getReps(17); 825 } 826 827 828 /** 829 * Inserts a repetition of 830 * OBR-17: "Order Callback Phone Number" at a specific index 831 * 832 * @param rep The repetition index (0-indexed) 833 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 834 */ 835 public XTN insertOrderCallbackPhoneNumber(int rep) throws HL7Exception { 836 return (XTN) super.insertRepetition(17, rep); 837 } 838 839 840 /** 841 * Inserts a repetition of 842 * OBR-17: "Order Callback Phone Number" at a specific index 843 * 844 * @param rep The repetition index (0-indexed) 845 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 846 */ 847 public XTN insertObr17_OrderCallbackPhoneNumber(int rep) throws HL7Exception { 848 return (XTN) super.insertRepetition(17, rep); 849 } 850 851 852 /** 853 * Removes a repetition of 854 * OBR-17: "Order Callback Phone Number" at a specific index 855 * 856 * @param rep The repetition index (0-indexed) 857 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 858 */ 859 public XTN removeOrderCallbackPhoneNumber(int rep) throws HL7Exception { 860 return (XTN) super.removeRepetition(17, rep); 861 } 862 863 864 /** 865 * Removes a repetition of 866 * OBR-17: "Order Callback Phone Number" at a specific index 867 * 868 * @param rep The repetition index (0-indexed) 869 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 870 */ 871 public XTN removeObr17_OrderCallbackPhoneNumber(int rep) throws HL7Exception { 872 return (XTN) super.removeRepetition(17, rep); 873 } 874 875 876 877 878 /** 879 * Returns 880 * OBR-18: "Placer Field 1" - creates it if necessary 881 */ 882 public ST getPlacerField1() { 883 ST retVal = this.getTypedField(18, 0); 884 return retVal; 885 } 886 887 /** 888 * Returns 889 * OBR-18: "Placer Field 1" - creates it if necessary 890 */ 891 public ST getObr18_PlacerField1() { 892 ST retVal = this.getTypedField(18, 0); 893 return retVal; 894 } 895 896 897 898 /** 899 * Returns 900 * OBR-19: "Placer Field 2" - creates it if necessary 901 */ 902 public ST getPlacerField2() { 903 ST retVal = this.getTypedField(19, 0); 904 return retVal; 905 } 906 907 /** 908 * Returns 909 * OBR-19: "Placer Field 2" - creates it if necessary 910 */ 911 public ST getObr19_PlacerField2() { 912 ST retVal = this.getTypedField(19, 0); 913 return retVal; 914 } 915 916 917 918 /** 919 * Returns 920 * OBR-20: "Filler Field 1 +" - creates it if necessary 921 */ 922 public ST getFillerField1() { 923 ST retVal = this.getTypedField(20, 0); 924 return retVal; 925 } 926 927 /** 928 * Returns 929 * OBR-20: "Filler Field 1 +" - creates it if necessary 930 */ 931 public ST getObr20_FillerField1() { 932 ST retVal = this.getTypedField(20, 0); 933 return retVal; 934 } 935 936 937 938 /** 939 * Returns 940 * OBR-21: "Filler Field 2 +" - creates it if necessary 941 */ 942 public ST getFillerField2() { 943 ST retVal = this.getTypedField(21, 0); 944 return retVal; 945 } 946 947 /** 948 * Returns 949 * OBR-21: "Filler Field 2 +" - creates it if necessary 950 */ 951 public ST getObr21_FillerField2() { 952 ST retVal = this.getTypedField(21, 0); 953 return retVal; 954 } 955 956 957 958 /** 959 * Returns 960 * OBR-22: "Results Rpt/Status Chng - Date/Time +" - creates it if necessary 961 */ 962 public DTM getResultsRptStatusChngDateTime() { 963 DTM retVal = this.getTypedField(22, 0); 964 return retVal; 965 } 966 967 /** 968 * Returns 969 * OBR-22: "Results Rpt/Status Chng - Date/Time +" - creates it if necessary 970 */ 971 public DTM getObr22_ResultsRptStatusChngDateTime() { 972 DTM retVal = this.getTypedField(22, 0); 973 return retVal; 974 } 975 976 977 978 /** 979 * Returns 980 * OBR-23: "Charge to Practice +" - creates it if necessary 981 */ 982 public MOC getChargeToPractice() { 983 MOC retVal = this.getTypedField(23, 0); 984 return retVal; 985 } 986 987 /** 988 * Returns 989 * OBR-23: "Charge to Practice +" - creates it if necessary 990 */ 991 public MOC getObr23_ChargeToPractice() { 992 MOC retVal = this.getTypedField(23, 0); 993 return retVal; 994 } 995 996 997 998 /** 999 * Returns 1000 * OBR-24: "Diagnostic Serv Sect ID" - creates it if necessary 1001 */ 1002 public ID getDiagnosticServSectID() { 1003 ID retVal = this.getTypedField(24, 0); 1004 return retVal; 1005 } 1006 1007 /** 1008 * Returns 1009 * OBR-24: "Diagnostic Serv Sect ID" - creates it if necessary 1010 */ 1011 public ID getObr24_DiagnosticServSectID() { 1012 ID retVal = this.getTypedField(24, 0); 1013 return retVal; 1014 } 1015 1016 1017 1018 /** 1019 * Returns 1020 * OBR-25: "Result Status +" - creates it if necessary 1021 */ 1022 public ID getResultStatus() { 1023 ID retVal = this.getTypedField(25, 0); 1024 return retVal; 1025 } 1026 1027 /** 1028 * Returns 1029 * OBR-25: "Result Status +" - creates it if necessary 1030 */ 1031 public ID getObr25_ResultStatus() { 1032 ID retVal = this.getTypedField(25, 0); 1033 return retVal; 1034 } 1035 1036 1037 1038 /** 1039 * Returns 1040 * OBR-26: "Parent Result +" - creates it if necessary 1041 */ 1042 public PRL getParentResult() { 1043 PRL retVal = this.getTypedField(26, 0); 1044 return retVal; 1045 } 1046 1047 /** 1048 * Returns 1049 * OBR-26: "Parent Result +" - creates it if necessary 1050 */ 1051 public PRL getObr26_ParentResult() { 1052 PRL retVal = this.getTypedField(26, 0); 1053 return retVal; 1054 } 1055 1056 1057 /** 1058 * Returns all repetitions of Quantity/Timing (OBR-27). 1059 */ 1060 public NULLDT[] getQuantityTiming() { 1061 NULLDT[] retVal = this.getTypedField(27, new NULLDT[0]); 1062 return retVal; 1063 } 1064 1065 1066 /** 1067 * Returns all repetitions of Quantity/Timing (OBR-27). 1068 */ 1069 public NULLDT[] getObr27_QuantityTiming() { 1070 NULLDT[] retVal = this.getTypedField(27, new NULLDT[0]); 1071 return retVal; 1072 } 1073 1074 1075 /** 1076 * Returns a count of the current number of repetitions of Quantity/Timing (OBR-27). 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 getQuantityTimingReps() { 1081 return this.getReps(27); 1082 } 1083 1084 1085 /** 1086 * Returns a specific repetition of 1087 * OBR-27: "Quantity/Timing" - creates it if necessary 1088 * 1089 * @param rep The repetition index (0-indexed) 1090 */ 1091 public NULLDT getQuantityTiming(int rep) { 1092 NULLDT retVal = this.getTypedField(27, rep); 1093 return retVal; 1094 } 1095 1096 /** 1097 * Returns a specific repetition of 1098 * OBR-27: "Quantity/Timing" - creates it if necessary 1099 * 1100 * @param rep The repetition index (0-indexed) 1101 */ 1102 public NULLDT getObr27_QuantityTiming(int rep) { 1103 NULLDT retVal = this.getTypedField(27, rep); 1104 return retVal; 1105 } 1106 1107 /** 1108 * Returns a count of the current number of repetitions of Quantity/Timing (OBR-27). 1109 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1110 * it will return zero. 1111 */ 1112 public int getObr27_QuantityTimingReps() { 1113 return this.getReps(27); 1114 } 1115 1116 1117 /** 1118 * Inserts a repetition of 1119 * OBR-27: "Quantity/Timing" at a specific index 1120 * 1121 * @param rep The repetition index (0-indexed) 1122 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1123 */ 1124 public NULLDT insertQuantityTiming(int rep) throws HL7Exception { 1125 return (NULLDT) super.insertRepetition(27, rep); 1126 } 1127 1128 1129 /** 1130 * Inserts a repetition of 1131 * OBR-27: "Quantity/Timing" at a specific index 1132 * 1133 * @param rep The repetition index (0-indexed) 1134 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1135 */ 1136 public NULLDT insertObr27_QuantityTiming(int rep) throws HL7Exception { 1137 return (NULLDT) super.insertRepetition(27, rep); 1138 } 1139 1140 1141 /** 1142 * Removes a repetition of 1143 * OBR-27: "Quantity/Timing" at a specific index 1144 * 1145 * @param rep The repetition index (0-indexed) 1146 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1147 */ 1148 public NULLDT removeQuantityTiming(int rep) throws HL7Exception { 1149 return (NULLDT) super.removeRepetition(27, rep); 1150 } 1151 1152 1153 /** 1154 * Removes a repetition of 1155 * OBR-27: "Quantity/Timing" at a specific index 1156 * 1157 * @param rep The repetition index (0-indexed) 1158 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1159 */ 1160 public NULLDT removeObr27_QuantityTiming(int rep) throws HL7Exception { 1161 return (NULLDT) super.removeRepetition(27, rep); 1162 } 1163 1164 1165 1166 /** 1167 * Returns all repetitions of Result Copies To (OBR-28). 1168 */ 1169 public XCN[] getResultCopiesTo() { 1170 XCN[] retVal = this.getTypedField(28, new XCN[0]); 1171 return retVal; 1172 } 1173 1174 1175 /** 1176 * Returns all repetitions of Result Copies To (OBR-28). 1177 */ 1178 public XCN[] getObr28_ResultCopiesTo() { 1179 XCN[] retVal = this.getTypedField(28, new XCN[0]); 1180 return retVal; 1181 } 1182 1183 1184 /** 1185 * Returns a count of the current number of repetitions of Result Copies To (OBR-28). 1186 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1187 * it will return zero. 1188 */ 1189 public int getResultCopiesToReps() { 1190 return this.getReps(28); 1191 } 1192 1193 1194 /** 1195 * Returns a specific repetition of 1196 * OBR-28: "Result Copies To" - creates it if necessary 1197 * 1198 * @param rep The repetition index (0-indexed) 1199 */ 1200 public XCN getResultCopiesTo(int rep) { 1201 XCN retVal = this.getTypedField(28, rep); 1202 return retVal; 1203 } 1204 1205 /** 1206 * Returns a specific repetition of 1207 * OBR-28: "Result Copies To" - creates it if necessary 1208 * 1209 * @param rep The repetition index (0-indexed) 1210 */ 1211 public XCN getObr28_ResultCopiesTo(int rep) { 1212 XCN retVal = this.getTypedField(28, rep); 1213 return retVal; 1214 } 1215 1216 /** 1217 * Returns a count of the current number of repetitions of Result Copies To (OBR-28). 1218 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1219 * it will return zero. 1220 */ 1221 public int getObr28_ResultCopiesToReps() { 1222 return this.getReps(28); 1223 } 1224 1225 1226 /** 1227 * Inserts a repetition of 1228 * OBR-28: "Result Copies To" at a specific index 1229 * 1230 * @param rep The repetition index (0-indexed) 1231 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1232 */ 1233 public XCN insertResultCopiesTo(int rep) throws HL7Exception { 1234 return (XCN) super.insertRepetition(28, rep); 1235 } 1236 1237 1238 /** 1239 * Inserts a repetition of 1240 * OBR-28: "Result Copies To" at a specific index 1241 * 1242 * @param rep The repetition index (0-indexed) 1243 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1244 */ 1245 public XCN insertObr28_ResultCopiesTo(int rep) throws HL7Exception { 1246 return (XCN) super.insertRepetition(28, rep); 1247 } 1248 1249 1250 /** 1251 * Removes a repetition of 1252 * OBR-28: "Result Copies To" at a specific index 1253 * 1254 * @param rep The repetition index (0-indexed) 1255 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1256 */ 1257 public XCN removeResultCopiesTo(int rep) throws HL7Exception { 1258 return (XCN) super.removeRepetition(28, rep); 1259 } 1260 1261 1262 /** 1263 * Removes a repetition of 1264 * OBR-28: "Result Copies To" at a specific index 1265 * 1266 * @param rep The repetition index (0-indexed) 1267 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1268 */ 1269 public XCN removeObr28_ResultCopiesTo(int rep) throws HL7Exception { 1270 return (XCN) super.removeRepetition(28, rep); 1271 } 1272 1273 1274 1275 1276 /** 1277 * Returns 1278 * OBR-29: "Parent Results Observation Identifier" - creates it if necessary 1279 */ 1280 public EIP getParentResultsObservationIdentifier() { 1281 EIP retVal = this.getTypedField(29, 0); 1282 return retVal; 1283 } 1284 1285 /** 1286 * Returns 1287 * OBR-29: "Parent Results Observation Identifier" - creates it if necessary 1288 */ 1289 public EIP getObr29_ParentResultsObservationIdentifier() { 1290 EIP retVal = this.getTypedField(29, 0); 1291 return retVal; 1292 } 1293 1294 1295 1296 /** 1297 * Returns 1298 * OBR-30: "Transportation Mode" - creates it if necessary 1299 */ 1300 public ID getTransportationMode() { 1301 ID retVal = this.getTypedField(30, 0); 1302 return retVal; 1303 } 1304 1305 /** 1306 * Returns 1307 * OBR-30: "Transportation Mode" - creates it if necessary 1308 */ 1309 public ID getObr30_TransportationMode() { 1310 ID retVal = this.getTypedField(30, 0); 1311 return retVal; 1312 } 1313 1314 1315 /** 1316 * Returns all repetitions of Reason for Study (OBR-31). 1317 */ 1318 public CWE[] getReasonForStudy() { 1319 CWE[] retVal = this.getTypedField(31, new CWE[0]); 1320 return retVal; 1321 } 1322 1323 1324 /** 1325 * Returns all repetitions of Reason for Study (OBR-31). 1326 */ 1327 public CWE[] getObr31_ReasonForStudy() { 1328 CWE[] retVal = this.getTypedField(31, new CWE[0]); 1329 return retVal; 1330 } 1331 1332 1333 /** 1334 * Returns a count of the current number of repetitions of Reason for Study (OBR-31). 1335 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1336 * it will return zero. 1337 */ 1338 public int getReasonForStudyReps() { 1339 return this.getReps(31); 1340 } 1341 1342 1343 /** 1344 * Returns a specific repetition of 1345 * OBR-31: "Reason for Study" - creates it if necessary 1346 * 1347 * @param rep The repetition index (0-indexed) 1348 */ 1349 public CWE getReasonForStudy(int rep) { 1350 CWE retVal = this.getTypedField(31, rep); 1351 return retVal; 1352 } 1353 1354 /** 1355 * Returns a specific repetition of 1356 * OBR-31: "Reason for Study" - creates it if necessary 1357 * 1358 * @param rep The repetition index (0-indexed) 1359 */ 1360 public CWE getObr31_ReasonForStudy(int rep) { 1361 CWE retVal = this.getTypedField(31, rep); 1362 return retVal; 1363 } 1364 1365 /** 1366 * Returns a count of the current number of repetitions of Reason for Study (OBR-31). 1367 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1368 * it will return zero. 1369 */ 1370 public int getObr31_ReasonForStudyReps() { 1371 return this.getReps(31); 1372 } 1373 1374 1375 /** 1376 * Inserts a repetition of 1377 * OBR-31: "Reason for Study" at a specific index 1378 * 1379 * @param rep The repetition index (0-indexed) 1380 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1381 */ 1382 public CWE insertReasonForStudy(int rep) throws HL7Exception { 1383 return (CWE) super.insertRepetition(31, rep); 1384 } 1385 1386 1387 /** 1388 * Inserts a repetition of 1389 * OBR-31: "Reason for Study" at a specific index 1390 * 1391 * @param rep The repetition index (0-indexed) 1392 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1393 */ 1394 public CWE insertObr31_ReasonForStudy(int rep) throws HL7Exception { 1395 return (CWE) super.insertRepetition(31, rep); 1396 } 1397 1398 1399 /** 1400 * Removes a repetition of 1401 * OBR-31: "Reason for Study" at a specific index 1402 * 1403 * @param rep The repetition index (0-indexed) 1404 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1405 */ 1406 public CWE removeReasonForStudy(int rep) throws HL7Exception { 1407 return (CWE) super.removeRepetition(31, rep); 1408 } 1409 1410 1411 /** 1412 * Removes a repetition of 1413 * OBR-31: "Reason for Study" at a specific index 1414 * 1415 * @param rep The repetition index (0-indexed) 1416 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1417 */ 1418 public CWE removeObr31_ReasonForStudy(int rep) throws HL7Exception { 1419 return (CWE) super.removeRepetition(31, rep); 1420 } 1421 1422 1423 1424 1425 /** 1426 * Returns 1427 * OBR-32: "Principal Result Interpreter +" - creates it if necessary 1428 */ 1429 public NDL getPrincipalResultInterpreter() { 1430 NDL retVal = this.getTypedField(32, 0); 1431 return retVal; 1432 } 1433 1434 /** 1435 * Returns 1436 * OBR-32: "Principal Result Interpreter +" - creates it if necessary 1437 */ 1438 public NDL getObr32_PrincipalResultInterpreter() { 1439 NDL retVal = this.getTypedField(32, 0); 1440 return retVal; 1441 } 1442 1443 1444 /** 1445 * Returns all repetitions of Assistant Result Interpreter + (OBR-33). 1446 */ 1447 public NDL[] getAssistantResultInterpreter() { 1448 NDL[] retVal = this.getTypedField(33, new NDL[0]); 1449 return retVal; 1450 } 1451 1452 1453 /** 1454 * Returns all repetitions of Assistant Result Interpreter + (OBR-33). 1455 */ 1456 public NDL[] getObr33_AssistantResultInterpreter() { 1457 NDL[] retVal = this.getTypedField(33, new NDL[0]); 1458 return retVal; 1459 } 1460 1461 1462 /** 1463 * Returns a count of the current number of repetitions of Assistant Result Interpreter + (OBR-33). 1464 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1465 * it will return zero. 1466 */ 1467 public int getAssistantResultInterpreterReps() { 1468 return this.getReps(33); 1469 } 1470 1471 1472 /** 1473 * Returns a specific repetition of 1474 * OBR-33: "Assistant Result Interpreter +" - creates it if necessary 1475 * 1476 * @param rep The repetition index (0-indexed) 1477 */ 1478 public NDL getAssistantResultInterpreter(int rep) { 1479 NDL retVal = this.getTypedField(33, rep); 1480 return retVal; 1481 } 1482 1483 /** 1484 * Returns a specific repetition of 1485 * OBR-33: "Assistant Result Interpreter +" - creates it if necessary 1486 * 1487 * @param rep The repetition index (0-indexed) 1488 */ 1489 public NDL getObr33_AssistantResultInterpreter(int rep) { 1490 NDL retVal = this.getTypedField(33, rep); 1491 return retVal; 1492 } 1493 1494 /** 1495 * Returns a count of the current number of repetitions of Assistant Result Interpreter + (OBR-33). 1496 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1497 * it will return zero. 1498 */ 1499 public int getObr33_AssistantResultInterpreterReps() { 1500 return this.getReps(33); 1501 } 1502 1503 1504 /** 1505 * Inserts a repetition of 1506 * OBR-33: "Assistant Result Interpreter +" at a specific index 1507 * 1508 * @param rep The repetition index (0-indexed) 1509 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1510 */ 1511 public NDL insertAssistantResultInterpreter(int rep) throws HL7Exception { 1512 return (NDL) super.insertRepetition(33, rep); 1513 } 1514 1515 1516 /** 1517 * Inserts a repetition of 1518 * OBR-33: "Assistant Result Interpreter +" at a specific index 1519 * 1520 * @param rep The repetition index (0-indexed) 1521 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1522 */ 1523 public NDL insertObr33_AssistantResultInterpreter(int rep) throws HL7Exception { 1524 return (NDL) super.insertRepetition(33, rep); 1525 } 1526 1527 1528 /** 1529 * Removes a repetition of 1530 * OBR-33: "Assistant Result Interpreter +" at a specific index 1531 * 1532 * @param rep The repetition index (0-indexed) 1533 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1534 */ 1535 public NDL removeAssistantResultInterpreter(int rep) throws HL7Exception { 1536 return (NDL) super.removeRepetition(33, rep); 1537 } 1538 1539 1540 /** 1541 * Removes a repetition of 1542 * OBR-33: "Assistant Result Interpreter +" at a specific index 1543 * 1544 * @param rep The repetition index (0-indexed) 1545 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1546 */ 1547 public NDL removeObr33_AssistantResultInterpreter(int rep) throws HL7Exception { 1548 return (NDL) super.removeRepetition(33, rep); 1549 } 1550 1551 1552 1553 /** 1554 * Returns all repetitions of Technician + (OBR-34). 1555 */ 1556 public NDL[] getTechnician() { 1557 NDL[] retVal = this.getTypedField(34, new NDL[0]); 1558 return retVal; 1559 } 1560 1561 1562 /** 1563 * Returns all repetitions of Technician + (OBR-34). 1564 */ 1565 public NDL[] getObr34_Technician() { 1566 NDL[] retVal = this.getTypedField(34, new NDL[0]); 1567 return retVal; 1568 } 1569 1570 1571 /** 1572 * Returns a count of the current number of repetitions of Technician + (OBR-34). 1573 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1574 * it will return zero. 1575 */ 1576 public int getTechnicianReps() { 1577 return this.getReps(34); 1578 } 1579 1580 1581 /** 1582 * Returns a specific repetition of 1583 * OBR-34: "Technician +" - creates it if necessary 1584 * 1585 * @param rep The repetition index (0-indexed) 1586 */ 1587 public NDL getTechnician(int rep) { 1588 NDL retVal = this.getTypedField(34, rep); 1589 return retVal; 1590 } 1591 1592 /** 1593 * Returns a specific repetition of 1594 * OBR-34: "Technician +" - creates it if necessary 1595 * 1596 * @param rep The repetition index (0-indexed) 1597 */ 1598 public NDL getObr34_Technician(int rep) { 1599 NDL retVal = this.getTypedField(34, rep); 1600 return retVal; 1601 } 1602 1603 /** 1604 * Returns a count of the current number of repetitions of Technician + (OBR-34). 1605 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1606 * it will return zero. 1607 */ 1608 public int getObr34_TechnicianReps() { 1609 return this.getReps(34); 1610 } 1611 1612 1613 /** 1614 * Inserts a repetition of 1615 * OBR-34: "Technician +" at a specific index 1616 * 1617 * @param rep The repetition index (0-indexed) 1618 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1619 */ 1620 public NDL insertTechnician(int rep) throws HL7Exception { 1621 return (NDL) super.insertRepetition(34, rep); 1622 } 1623 1624 1625 /** 1626 * Inserts a repetition of 1627 * OBR-34: "Technician +" at a specific index 1628 * 1629 * @param rep The repetition index (0-indexed) 1630 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1631 */ 1632 public NDL insertObr34_Technician(int rep) throws HL7Exception { 1633 return (NDL) super.insertRepetition(34, rep); 1634 } 1635 1636 1637 /** 1638 * Removes a repetition of 1639 * OBR-34: "Technician +" at a specific index 1640 * 1641 * @param rep The repetition index (0-indexed) 1642 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1643 */ 1644 public NDL removeTechnician(int rep) throws HL7Exception { 1645 return (NDL) super.removeRepetition(34, rep); 1646 } 1647 1648 1649 /** 1650 * Removes a repetition of 1651 * OBR-34: "Technician +" at a specific index 1652 * 1653 * @param rep The repetition index (0-indexed) 1654 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1655 */ 1656 public NDL removeObr34_Technician(int rep) throws HL7Exception { 1657 return (NDL) super.removeRepetition(34, rep); 1658 } 1659 1660 1661 1662 /** 1663 * Returns all repetitions of Transcriptionist + (OBR-35). 1664 */ 1665 public NDL[] getTranscriptionist() { 1666 NDL[] retVal = this.getTypedField(35, new NDL[0]); 1667 return retVal; 1668 } 1669 1670 1671 /** 1672 * Returns all repetitions of Transcriptionist + (OBR-35). 1673 */ 1674 public NDL[] getObr35_Transcriptionist() { 1675 NDL[] retVal = this.getTypedField(35, new NDL[0]); 1676 return retVal; 1677 } 1678 1679 1680 /** 1681 * Returns a count of the current number of repetitions of Transcriptionist + (OBR-35). 1682 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1683 * it will return zero. 1684 */ 1685 public int getTranscriptionistReps() { 1686 return this.getReps(35); 1687 } 1688 1689 1690 /** 1691 * Returns a specific repetition of 1692 * OBR-35: "Transcriptionist +" - creates it if necessary 1693 * 1694 * @param rep The repetition index (0-indexed) 1695 */ 1696 public NDL getTranscriptionist(int rep) { 1697 NDL retVal = this.getTypedField(35, rep); 1698 return retVal; 1699 } 1700 1701 /** 1702 * Returns a specific repetition of 1703 * OBR-35: "Transcriptionist +" - creates it if necessary 1704 * 1705 * @param rep The repetition index (0-indexed) 1706 */ 1707 public NDL getObr35_Transcriptionist(int rep) { 1708 NDL retVal = this.getTypedField(35, rep); 1709 return retVal; 1710 } 1711 1712 /** 1713 * Returns a count of the current number of repetitions of Transcriptionist + (OBR-35). 1714 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1715 * it will return zero. 1716 */ 1717 public int getObr35_TranscriptionistReps() { 1718 return this.getReps(35); 1719 } 1720 1721 1722 /** 1723 * Inserts a repetition of 1724 * OBR-35: "Transcriptionist +" at a specific index 1725 * 1726 * @param rep The repetition index (0-indexed) 1727 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1728 */ 1729 public NDL insertTranscriptionist(int rep) throws HL7Exception { 1730 return (NDL) super.insertRepetition(35, rep); 1731 } 1732 1733 1734 /** 1735 * Inserts a repetition of 1736 * OBR-35: "Transcriptionist +" at a specific index 1737 * 1738 * @param rep The repetition index (0-indexed) 1739 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1740 */ 1741 public NDL insertObr35_Transcriptionist(int rep) throws HL7Exception { 1742 return (NDL) super.insertRepetition(35, rep); 1743 } 1744 1745 1746 /** 1747 * Removes a repetition of 1748 * OBR-35: "Transcriptionist +" at a specific index 1749 * 1750 * @param rep The repetition index (0-indexed) 1751 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1752 */ 1753 public NDL removeTranscriptionist(int rep) throws HL7Exception { 1754 return (NDL) super.removeRepetition(35, rep); 1755 } 1756 1757 1758 /** 1759 * Removes a repetition of 1760 * OBR-35: "Transcriptionist +" at a specific index 1761 * 1762 * @param rep The repetition index (0-indexed) 1763 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1764 */ 1765 public NDL removeObr35_Transcriptionist(int rep) throws HL7Exception { 1766 return (NDL) super.removeRepetition(35, rep); 1767 } 1768 1769 1770 1771 1772 /** 1773 * Returns 1774 * OBR-36: "Scheduled Date/Time +" - creates it if necessary 1775 */ 1776 public DTM getScheduledDateTime() { 1777 DTM retVal = this.getTypedField(36, 0); 1778 return retVal; 1779 } 1780 1781 /** 1782 * Returns 1783 * OBR-36: "Scheduled Date/Time +" - creates it if necessary 1784 */ 1785 public DTM getObr36_ScheduledDateTime() { 1786 DTM retVal = this.getTypedField(36, 0); 1787 return retVal; 1788 } 1789 1790 1791 1792 /** 1793 * Returns 1794 * OBR-37: "Number of Sample Containers *" - creates it if necessary 1795 */ 1796 public NM getNumberOfSampleContainers() { 1797 NM retVal = this.getTypedField(37, 0); 1798 return retVal; 1799 } 1800 1801 /** 1802 * Returns 1803 * OBR-37: "Number of Sample Containers *" - creates it if necessary 1804 */ 1805 public NM getObr37_NumberOfSampleContainers() { 1806 NM retVal = this.getTypedField(37, 0); 1807 return retVal; 1808 } 1809 1810 1811 /** 1812 * Returns all repetitions of Transport Logistics of Collected Sample * (OBR-38). 1813 */ 1814 public CWE[] getTransportLogisticsOfCollectedSample() { 1815 CWE[] retVal = this.getTypedField(38, new CWE[0]); 1816 return retVal; 1817 } 1818 1819 1820 /** 1821 * Returns all repetitions of Transport Logistics of Collected Sample * (OBR-38). 1822 */ 1823 public CWE[] getObr38_TransportLogisticsOfCollectedSample() { 1824 CWE[] retVal = this.getTypedField(38, new CWE[0]); 1825 return retVal; 1826 } 1827 1828 1829 /** 1830 * Returns a count of the current number of repetitions of Transport Logistics of Collected Sample * (OBR-38). 1831 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1832 * it will return zero. 1833 */ 1834 public int getTransportLogisticsOfCollectedSampleReps() { 1835 return this.getReps(38); 1836 } 1837 1838 1839 /** 1840 * Returns a specific repetition of 1841 * OBR-38: "Transport Logistics of Collected Sample *" - creates it if necessary 1842 * 1843 * @param rep The repetition index (0-indexed) 1844 */ 1845 public CWE getTransportLogisticsOfCollectedSample(int rep) { 1846 CWE retVal = this.getTypedField(38, rep); 1847 return retVal; 1848 } 1849 1850 /** 1851 * Returns a specific repetition of 1852 * OBR-38: "Transport Logistics of Collected Sample *" - creates it if necessary 1853 * 1854 * @param rep The repetition index (0-indexed) 1855 */ 1856 public CWE getObr38_TransportLogisticsOfCollectedSample(int rep) { 1857 CWE retVal = this.getTypedField(38, rep); 1858 return retVal; 1859 } 1860 1861 /** 1862 * Returns a count of the current number of repetitions of Transport Logistics of Collected Sample * (OBR-38). 1863 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1864 * it will return zero. 1865 */ 1866 public int getObr38_TransportLogisticsOfCollectedSampleReps() { 1867 return this.getReps(38); 1868 } 1869 1870 1871 /** 1872 * Inserts a repetition of 1873 * OBR-38: "Transport Logistics of Collected Sample *" at a specific index 1874 * 1875 * @param rep The repetition index (0-indexed) 1876 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1877 */ 1878 public CWE insertTransportLogisticsOfCollectedSample(int rep) throws HL7Exception { 1879 return (CWE) super.insertRepetition(38, rep); 1880 } 1881 1882 1883 /** 1884 * Inserts a repetition of 1885 * OBR-38: "Transport Logistics of Collected Sample *" at a specific index 1886 * 1887 * @param rep The repetition index (0-indexed) 1888 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1889 */ 1890 public CWE insertObr38_TransportLogisticsOfCollectedSample(int rep) throws HL7Exception { 1891 return (CWE) super.insertRepetition(38, rep); 1892 } 1893 1894 1895 /** 1896 * Removes a repetition of 1897 * OBR-38: "Transport Logistics of Collected Sample *" at a specific index 1898 * 1899 * @param rep The repetition index (0-indexed) 1900 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1901 */ 1902 public CWE removeTransportLogisticsOfCollectedSample(int rep) throws HL7Exception { 1903 return (CWE) super.removeRepetition(38, rep); 1904 } 1905 1906 1907 /** 1908 * Removes a repetition of 1909 * OBR-38: "Transport Logistics of Collected Sample *" at a specific index 1910 * 1911 * @param rep The repetition index (0-indexed) 1912 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1913 */ 1914 public CWE removeObr38_TransportLogisticsOfCollectedSample(int rep) throws HL7Exception { 1915 return (CWE) super.removeRepetition(38, rep); 1916 } 1917 1918 1919 1920 /** 1921 * Returns all repetitions of Collector's Comment * (OBR-39). 1922 */ 1923 public CWE[] getCollectorSComment() { 1924 CWE[] retVal = this.getTypedField(39, new CWE[0]); 1925 return retVal; 1926 } 1927 1928 1929 /** 1930 * Returns all repetitions of Collector's Comment * (OBR-39). 1931 */ 1932 public CWE[] getObr39_CollectorSComment() { 1933 CWE[] retVal = this.getTypedField(39, new CWE[0]); 1934 return retVal; 1935 } 1936 1937 1938 /** 1939 * Returns a count of the current number of repetitions of Collector's Comment * (OBR-39). 1940 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1941 * it will return zero. 1942 */ 1943 public int getCollectorSCommentReps() { 1944 return this.getReps(39); 1945 } 1946 1947 1948 /** 1949 * Returns a specific repetition of 1950 * OBR-39: "Collector's Comment *" - creates it if necessary 1951 * 1952 * @param rep The repetition index (0-indexed) 1953 */ 1954 public CWE getCollectorSComment(int rep) { 1955 CWE retVal = this.getTypedField(39, rep); 1956 return retVal; 1957 } 1958 1959 /** 1960 * Returns a specific repetition of 1961 * OBR-39: "Collector's Comment *" - creates it if necessary 1962 * 1963 * @param rep The repetition index (0-indexed) 1964 */ 1965 public CWE getObr39_CollectorSComment(int rep) { 1966 CWE retVal = this.getTypedField(39, rep); 1967 return retVal; 1968 } 1969 1970 /** 1971 * Returns a count of the current number of repetitions of Collector's Comment * (OBR-39). 1972 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 1973 * it will return zero. 1974 */ 1975 public int getObr39_CollectorSCommentReps() { 1976 return this.getReps(39); 1977 } 1978 1979 1980 /** 1981 * Inserts a repetition of 1982 * OBR-39: "Collector's Comment *" at a specific index 1983 * 1984 * @param rep The repetition index (0-indexed) 1985 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1986 */ 1987 public CWE insertCollectorSComment(int rep) throws HL7Exception { 1988 return (CWE) super.insertRepetition(39, rep); 1989 } 1990 1991 1992 /** 1993 * Inserts a repetition of 1994 * OBR-39: "Collector's Comment *" at a specific index 1995 * 1996 * @param rep The repetition index (0-indexed) 1997 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 1998 */ 1999 public CWE insertObr39_CollectorSComment(int rep) throws HL7Exception { 2000 return (CWE) super.insertRepetition(39, rep); 2001 } 2002 2003 2004 /** 2005 * Removes a repetition of 2006 * OBR-39: "Collector's Comment *" at a specific index 2007 * 2008 * @param rep The repetition index (0-indexed) 2009 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2010 */ 2011 public CWE removeCollectorSComment(int rep) throws HL7Exception { 2012 return (CWE) super.removeRepetition(39, rep); 2013 } 2014 2015 2016 /** 2017 * Removes a repetition of 2018 * OBR-39: "Collector's Comment *" at a specific index 2019 * 2020 * @param rep The repetition index (0-indexed) 2021 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2022 */ 2023 public CWE removeObr39_CollectorSComment(int rep) throws HL7Exception { 2024 return (CWE) super.removeRepetition(39, rep); 2025 } 2026 2027 2028 2029 2030 /** 2031 * Returns 2032 * OBR-40: "Transport Arrangement Responsibility" - creates it if necessary 2033 */ 2034 public CWE getTransportArrangementResponsibility() { 2035 CWE retVal = this.getTypedField(40, 0); 2036 return retVal; 2037 } 2038 2039 /** 2040 * Returns 2041 * OBR-40: "Transport Arrangement Responsibility" - creates it if necessary 2042 */ 2043 public CWE getObr40_TransportArrangementResponsibility() { 2044 CWE retVal = this.getTypedField(40, 0); 2045 return retVal; 2046 } 2047 2048 2049 2050 /** 2051 * Returns 2052 * OBR-41: "Transport Arranged" - creates it if necessary 2053 */ 2054 public ID getTransportArranged() { 2055 ID retVal = this.getTypedField(41, 0); 2056 return retVal; 2057 } 2058 2059 /** 2060 * Returns 2061 * OBR-41: "Transport Arranged" - creates it if necessary 2062 */ 2063 public ID getObr41_TransportArranged() { 2064 ID retVal = this.getTypedField(41, 0); 2065 return retVal; 2066 } 2067 2068 2069 2070 /** 2071 * Returns 2072 * OBR-42: "Escort Required" - creates it if necessary 2073 */ 2074 public ID getEscortRequired() { 2075 ID retVal = this.getTypedField(42, 0); 2076 return retVal; 2077 } 2078 2079 /** 2080 * Returns 2081 * OBR-42: "Escort Required" - creates it if necessary 2082 */ 2083 public ID getObr42_EscortRequired() { 2084 ID retVal = this.getTypedField(42, 0); 2085 return retVal; 2086 } 2087 2088 2089 /** 2090 * Returns all repetitions of Planned Patient Transport Comment (OBR-43). 2091 */ 2092 public CWE[] getPlannedPatientTransportComment() { 2093 CWE[] retVal = this.getTypedField(43, new CWE[0]); 2094 return retVal; 2095 } 2096 2097 2098 /** 2099 * Returns all repetitions of Planned Patient Transport Comment (OBR-43). 2100 */ 2101 public CWE[] getObr43_PlannedPatientTransportComment() { 2102 CWE[] retVal = this.getTypedField(43, new CWE[0]); 2103 return retVal; 2104 } 2105 2106 2107 /** 2108 * Returns a count of the current number of repetitions of Planned Patient Transport Comment (OBR-43). 2109 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2110 * it will return zero. 2111 */ 2112 public int getPlannedPatientTransportCommentReps() { 2113 return this.getReps(43); 2114 } 2115 2116 2117 /** 2118 * Returns a specific repetition of 2119 * OBR-43: "Planned Patient Transport Comment" - creates it if necessary 2120 * 2121 * @param rep The repetition index (0-indexed) 2122 */ 2123 public CWE getPlannedPatientTransportComment(int rep) { 2124 CWE retVal = this.getTypedField(43, rep); 2125 return retVal; 2126 } 2127 2128 /** 2129 * Returns a specific repetition of 2130 * OBR-43: "Planned Patient Transport Comment" - creates it if necessary 2131 * 2132 * @param rep The repetition index (0-indexed) 2133 */ 2134 public CWE getObr43_PlannedPatientTransportComment(int rep) { 2135 CWE retVal = this.getTypedField(43, rep); 2136 return retVal; 2137 } 2138 2139 /** 2140 * Returns a count of the current number of repetitions of Planned Patient Transport Comment (OBR-43). 2141 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2142 * it will return zero. 2143 */ 2144 public int getObr43_PlannedPatientTransportCommentReps() { 2145 return this.getReps(43); 2146 } 2147 2148 2149 /** 2150 * Inserts a repetition of 2151 * OBR-43: "Planned Patient Transport Comment" at a specific index 2152 * 2153 * @param rep The repetition index (0-indexed) 2154 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2155 */ 2156 public CWE insertPlannedPatientTransportComment(int rep) throws HL7Exception { 2157 return (CWE) super.insertRepetition(43, rep); 2158 } 2159 2160 2161 /** 2162 * Inserts a repetition of 2163 * OBR-43: "Planned Patient Transport Comment" at a specific index 2164 * 2165 * @param rep The repetition index (0-indexed) 2166 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2167 */ 2168 public CWE insertObr43_PlannedPatientTransportComment(int rep) throws HL7Exception { 2169 return (CWE) super.insertRepetition(43, rep); 2170 } 2171 2172 2173 /** 2174 * Removes a repetition of 2175 * OBR-43: "Planned Patient Transport Comment" at a specific index 2176 * 2177 * @param rep The repetition index (0-indexed) 2178 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2179 */ 2180 public CWE removePlannedPatientTransportComment(int rep) throws HL7Exception { 2181 return (CWE) super.removeRepetition(43, rep); 2182 } 2183 2184 2185 /** 2186 * Removes a repetition of 2187 * OBR-43: "Planned Patient Transport Comment" at a specific index 2188 * 2189 * @param rep The repetition index (0-indexed) 2190 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2191 */ 2192 public CWE removeObr43_PlannedPatientTransportComment(int rep) throws HL7Exception { 2193 return (CWE) super.removeRepetition(43, rep); 2194 } 2195 2196 2197 2198 2199 /** 2200 * Returns 2201 * OBR-44: "Procedure Code" - creates it if necessary 2202 */ 2203 public CNE getProcedureCode() { 2204 CNE retVal = this.getTypedField(44, 0); 2205 return retVal; 2206 } 2207 2208 /** 2209 * Returns 2210 * OBR-44: "Procedure Code" - creates it if necessary 2211 */ 2212 public CNE getObr44_ProcedureCode() { 2213 CNE retVal = this.getTypedField(44, 0); 2214 return retVal; 2215 } 2216 2217 2218 /** 2219 * Returns all repetitions of Procedure Code Modifier (OBR-45). 2220 */ 2221 public CNE[] getProcedureCodeModifier() { 2222 CNE[] retVal = this.getTypedField(45, new CNE[0]); 2223 return retVal; 2224 } 2225 2226 2227 /** 2228 * Returns all repetitions of Procedure Code Modifier (OBR-45). 2229 */ 2230 public CNE[] getObr45_ProcedureCodeModifier() { 2231 CNE[] retVal = this.getTypedField(45, new CNE[0]); 2232 return retVal; 2233 } 2234 2235 2236 /** 2237 * Returns a count of the current number of repetitions of Procedure Code Modifier (OBR-45). 2238 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2239 * it will return zero. 2240 */ 2241 public int getProcedureCodeModifierReps() { 2242 return this.getReps(45); 2243 } 2244 2245 2246 /** 2247 * Returns a specific repetition of 2248 * OBR-45: "Procedure Code Modifier" - creates it if necessary 2249 * 2250 * @param rep The repetition index (0-indexed) 2251 */ 2252 public CNE getProcedureCodeModifier(int rep) { 2253 CNE retVal = this.getTypedField(45, rep); 2254 return retVal; 2255 } 2256 2257 /** 2258 * Returns a specific repetition of 2259 * OBR-45: "Procedure Code Modifier" - creates it if necessary 2260 * 2261 * @param rep The repetition index (0-indexed) 2262 */ 2263 public CNE getObr45_ProcedureCodeModifier(int rep) { 2264 CNE retVal = this.getTypedField(45, rep); 2265 return retVal; 2266 } 2267 2268 /** 2269 * Returns a count of the current number of repetitions of Procedure Code Modifier (OBR-45). 2270 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2271 * it will return zero. 2272 */ 2273 public int getObr45_ProcedureCodeModifierReps() { 2274 return this.getReps(45); 2275 } 2276 2277 2278 /** 2279 * Inserts a repetition of 2280 * OBR-45: "Procedure Code Modifier" at a specific index 2281 * 2282 * @param rep The repetition index (0-indexed) 2283 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2284 */ 2285 public CNE insertProcedureCodeModifier(int rep) throws HL7Exception { 2286 return (CNE) super.insertRepetition(45, rep); 2287 } 2288 2289 2290 /** 2291 * Inserts a repetition of 2292 * OBR-45: "Procedure Code Modifier" at a specific index 2293 * 2294 * @param rep The repetition index (0-indexed) 2295 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2296 */ 2297 public CNE insertObr45_ProcedureCodeModifier(int rep) throws HL7Exception { 2298 return (CNE) super.insertRepetition(45, rep); 2299 } 2300 2301 2302 /** 2303 * Removes a repetition of 2304 * OBR-45: "Procedure Code Modifier" at a specific index 2305 * 2306 * @param rep The repetition index (0-indexed) 2307 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2308 */ 2309 public CNE removeProcedureCodeModifier(int rep) throws HL7Exception { 2310 return (CNE) super.removeRepetition(45, rep); 2311 } 2312 2313 2314 /** 2315 * Removes a repetition of 2316 * OBR-45: "Procedure Code Modifier" at a specific index 2317 * 2318 * @param rep The repetition index (0-indexed) 2319 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2320 */ 2321 public CNE removeObr45_ProcedureCodeModifier(int rep) throws HL7Exception { 2322 return (CNE) super.removeRepetition(45, rep); 2323 } 2324 2325 2326 2327 /** 2328 * Returns all repetitions of Placer Supplemental Service Information (OBR-46). 2329 */ 2330 public CWE[] getPlacerSupplementalServiceInformation() { 2331 CWE[] retVal = this.getTypedField(46, new CWE[0]); 2332 return retVal; 2333 } 2334 2335 2336 /** 2337 * Returns all repetitions of Placer Supplemental Service Information (OBR-46). 2338 */ 2339 public CWE[] getObr46_PlacerSupplementalServiceInformation() { 2340 CWE[] retVal = this.getTypedField(46, new CWE[0]); 2341 return retVal; 2342 } 2343 2344 2345 /** 2346 * Returns a count of the current number of repetitions of Placer Supplemental Service Information (OBR-46). 2347 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2348 * it will return zero. 2349 */ 2350 public int getPlacerSupplementalServiceInformationReps() { 2351 return this.getReps(46); 2352 } 2353 2354 2355 /** 2356 * Returns a specific repetition of 2357 * OBR-46: "Placer Supplemental Service Information" - creates it if necessary 2358 * 2359 * @param rep The repetition index (0-indexed) 2360 */ 2361 public CWE getPlacerSupplementalServiceInformation(int rep) { 2362 CWE retVal = this.getTypedField(46, rep); 2363 return retVal; 2364 } 2365 2366 /** 2367 * Returns a specific repetition of 2368 * OBR-46: "Placer Supplemental Service Information" - creates it if necessary 2369 * 2370 * @param rep The repetition index (0-indexed) 2371 */ 2372 public CWE getObr46_PlacerSupplementalServiceInformation(int rep) { 2373 CWE retVal = this.getTypedField(46, rep); 2374 return retVal; 2375 } 2376 2377 /** 2378 * Returns a count of the current number of repetitions of Placer Supplemental Service Information (OBR-46). 2379 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2380 * it will return zero. 2381 */ 2382 public int getObr46_PlacerSupplementalServiceInformationReps() { 2383 return this.getReps(46); 2384 } 2385 2386 2387 /** 2388 * Inserts a repetition of 2389 * OBR-46: "Placer Supplemental Service Information" at a specific index 2390 * 2391 * @param rep The repetition index (0-indexed) 2392 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2393 */ 2394 public CWE insertPlacerSupplementalServiceInformation(int rep) throws HL7Exception { 2395 return (CWE) super.insertRepetition(46, rep); 2396 } 2397 2398 2399 /** 2400 * Inserts a repetition of 2401 * OBR-46: "Placer Supplemental Service Information" at a specific index 2402 * 2403 * @param rep The repetition index (0-indexed) 2404 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2405 */ 2406 public CWE insertObr46_PlacerSupplementalServiceInformation(int rep) throws HL7Exception { 2407 return (CWE) super.insertRepetition(46, rep); 2408 } 2409 2410 2411 /** 2412 * Removes a repetition of 2413 * OBR-46: "Placer Supplemental Service Information" at a specific index 2414 * 2415 * @param rep The repetition index (0-indexed) 2416 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2417 */ 2418 public CWE removePlacerSupplementalServiceInformation(int rep) throws HL7Exception { 2419 return (CWE) super.removeRepetition(46, rep); 2420 } 2421 2422 2423 /** 2424 * Removes a repetition of 2425 * OBR-46: "Placer Supplemental Service Information" at a specific index 2426 * 2427 * @param rep The repetition index (0-indexed) 2428 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2429 */ 2430 public CWE removeObr46_PlacerSupplementalServiceInformation(int rep) throws HL7Exception { 2431 return (CWE) super.removeRepetition(46, rep); 2432 } 2433 2434 2435 2436 /** 2437 * Returns all repetitions of Filler Supplemental Service Information (OBR-47). 2438 */ 2439 public CWE[] getFillerSupplementalServiceInformation() { 2440 CWE[] retVal = this.getTypedField(47, new CWE[0]); 2441 return retVal; 2442 } 2443 2444 2445 /** 2446 * Returns all repetitions of Filler Supplemental Service Information (OBR-47). 2447 */ 2448 public CWE[] getObr47_FillerSupplementalServiceInformation() { 2449 CWE[] retVal = this.getTypedField(47, new CWE[0]); 2450 return retVal; 2451 } 2452 2453 2454 /** 2455 * Returns a count of the current number of repetitions of Filler Supplemental Service Information (OBR-47). 2456 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2457 * it will return zero. 2458 */ 2459 public int getFillerSupplementalServiceInformationReps() { 2460 return this.getReps(47); 2461 } 2462 2463 2464 /** 2465 * Returns a specific repetition of 2466 * OBR-47: "Filler Supplemental Service Information" - creates it if necessary 2467 * 2468 * @param rep The repetition index (0-indexed) 2469 */ 2470 public CWE getFillerSupplementalServiceInformation(int rep) { 2471 CWE retVal = this.getTypedField(47, rep); 2472 return retVal; 2473 } 2474 2475 /** 2476 * Returns a specific repetition of 2477 * OBR-47: "Filler Supplemental Service Information" - creates it if necessary 2478 * 2479 * @param rep The repetition index (0-indexed) 2480 */ 2481 public CWE getObr47_FillerSupplementalServiceInformation(int rep) { 2482 CWE retVal = this.getTypedField(47, rep); 2483 return retVal; 2484 } 2485 2486 /** 2487 * Returns a count of the current number of repetitions of Filler Supplemental Service Information (OBR-47). 2488 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2489 * it will return zero. 2490 */ 2491 public int getObr47_FillerSupplementalServiceInformationReps() { 2492 return this.getReps(47); 2493 } 2494 2495 2496 /** 2497 * Inserts a repetition of 2498 * OBR-47: "Filler Supplemental Service Information" at a specific index 2499 * 2500 * @param rep The repetition index (0-indexed) 2501 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2502 */ 2503 public CWE insertFillerSupplementalServiceInformation(int rep) throws HL7Exception { 2504 return (CWE) super.insertRepetition(47, rep); 2505 } 2506 2507 2508 /** 2509 * Inserts a repetition of 2510 * OBR-47: "Filler Supplemental Service Information" at a specific index 2511 * 2512 * @param rep The repetition index (0-indexed) 2513 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2514 */ 2515 public CWE insertObr47_FillerSupplementalServiceInformation(int rep) throws HL7Exception { 2516 return (CWE) super.insertRepetition(47, rep); 2517 } 2518 2519 2520 /** 2521 * Removes a repetition of 2522 * OBR-47: "Filler Supplemental Service Information" at a specific index 2523 * 2524 * @param rep The repetition index (0-indexed) 2525 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2526 */ 2527 public CWE removeFillerSupplementalServiceInformation(int rep) throws HL7Exception { 2528 return (CWE) super.removeRepetition(47, rep); 2529 } 2530 2531 2532 /** 2533 * Removes a repetition of 2534 * OBR-47: "Filler Supplemental Service Information" at a specific index 2535 * 2536 * @param rep The repetition index (0-indexed) 2537 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2538 */ 2539 public CWE removeObr47_FillerSupplementalServiceInformation(int rep) throws HL7Exception { 2540 return (CWE) super.removeRepetition(47, rep); 2541 } 2542 2543 2544 2545 2546 /** 2547 * Returns 2548 * OBR-48: "Medically Necessary Duplicate Procedure Reason" - creates it if necessary 2549 */ 2550 public CWE getMedicallyNecessaryDuplicateProcedureReason() { 2551 CWE retVal = this.getTypedField(48, 0); 2552 return retVal; 2553 } 2554 2555 /** 2556 * Returns 2557 * OBR-48: "Medically Necessary Duplicate Procedure Reason" - creates it if necessary 2558 */ 2559 public CWE getObr48_MedicallyNecessaryDuplicateProcedureReason() { 2560 CWE retVal = this.getTypedField(48, 0); 2561 return retVal; 2562 } 2563 2564 2565 2566 /** 2567 * Returns 2568 * OBR-49: "Result Handling" - creates it if necessary 2569 */ 2570 public CWE getResultHandling() { 2571 CWE retVal = this.getTypedField(49, 0); 2572 return retVal; 2573 } 2574 2575 /** 2576 * Returns 2577 * OBR-49: "Result Handling" - creates it if necessary 2578 */ 2579 public CWE getObr49_ResultHandling() { 2580 CWE retVal = this.getTypedField(49, 0); 2581 return retVal; 2582 } 2583 2584 2585 2586 /** 2587 * Returns 2588 * OBR-50: "Parent Universal Service Identifier" - creates it if necessary 2589 */ 2590 public CWE getParentUniversalServiceIdentifier() { 2591 CWE retVal = this.getTypedField(50, 0); 2592 return retVal; 2593 } 2594 2595 /** 2596 * Returns 2597 * OBR-50: "Parent Universal Service Identifier" - creates it if necessary 2598 */ 2599 public CWE getObr50_ParentUniversalServiceIdentifier() { 2600 CWE retVal = this.getTypedField(50, 0); 2601 return retVal; 2602 } 2603 2604 2605 2606 /** 2607 * Returns 2608 * OBR-51: "Observation Group ID" - creates it if necessary 2609 */ 2610 public EI getObservationGroupID() { 2611 EI retVal = this.getTypedField(51, 0); 2612 return retVal; 2613 } 2614 2615 /** 2616 * Returns 2617 * OBR-51: "Observation Group ID" - creates it if necessary 2618 */ 2619 public EI getObr51_ObservationGroupID() { 2620 EI retVal = this.getTypedField(51, 0); 2621 return retVal; 2622 } 2623 2624 2625 2626 /** 2627 * Returns 2628 * OBR-52: "Parent Observation Group ID" - creates it if necessary 2629 */ 2630 public EI getParentObservationGroupID() { 2631 EI retVal = this.getTypedField(52, 0); 2632 return retVal; 2633 } 2634 2635 /** 2636 * Returns 2637 * OBR-52: "Parent Observation Group ID" - creates it if necessary 2638 */ 2639 public EI getObr52_ParentObservationGroupID() { 2640 EI retVal = this.getTypedField(52, 0); 2641 return retVal; 2642 } 2643 2644 2645 /** 2646 * Returns all repetitions of Alternate Placer Order Number (OBR-53). 2647 */ 2648 public CX[] getAlternatePlacerOrderNumber() { 2649 CX[] retVal = this.getTypedField(53, new CX[0]); 2650 return retVal; 2651 } 2652 2653 2654 /** 2655 * Returns all repetitions of Alternate Placer Order Number (OBR-53). 2656 */ 2657 public CX[] getObr53_AlternatePlacerOrderNumber() { 2658 CX[] retVal = this.getTypedField(53, new CX[0]); 2659 return retVal; 2660 } 2661 2662 2663 /** 2664 * Returns a count of the current number of repetitions of Alternate Placer Order Number (OBR-53). 2665 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2666 * it will return zero. 2667 */ 2668 public int getAlternatePlacerOrderNumberReps() { 2669 return this.getReps(53); 2670 } 2671 2672 2673 /** 2674 * Returns a specific repetition of 2675 * OBR-53: "Alternate Placer Order Number" - creates it if necessary 2676 * 2677 * @param rep The repetition index (0-indexed) 2678 */ 2679 public CX getAlternatePlacerOrderNumber(int rep) { 2680 CX retVal = this.getTypedField(53, rep); 2681 return retVal; 2682 } 2683 2684 /** 2685 * Returns a specific repetition of 2686 * OBR-53: "Alternate Placer Order Number" - creates it if necessary 2687 * 2688 * @param rep The repetition index (0-indexed) 2689 */ 2690 public CX getObr53_AlternatePlacerOrderNumber(int rep) { 2691 CX retVal = this.getTypedField(53, rep); 2692 return retVal; 2693 } 2694 2695 /** 2696 * Returns a count of the current number of repetitions of Alternate Placer Order Number (OBR-53). 2697 * This method does not create a repetition, so if no repetitions have currently been defined or accessed, 2698 * it will return zero. 2699 */ 2700 public int getObr53_AlternatePlacerOrderNumberReps() { 2701 return this.getReps(53); 2702 } 2703 2704 2705 /** 2706 * Inserts a repetition of 2707 * OBR-53: "Alternate Placer Order Number" at a specific index 2708 * 2709 * @param rep The repetition index (0-indexed) 2710 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2711 */ 2712 public CX insertAlternatePlacerOrderNumber(int rep) throws HL7Exception { 2713 return (CX) super.insertRepetition(53, rep); 2714 } 2715 2716 2717 /** 2718 * Inserts a repetition of 2719 * OBR-53: "Alternate Placer Order Number" at a specific index 2720 * 2721 * @param rep The repetition index (0-indexed) 2722 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2723 */ 2724 public CX insertObr53_AlternatePlacerOrderNumber(int rep) throws HL7Exception { 2725 return (CX) super.insertRepetition(53, rep); 2726 } 2727 2728 2729 /** 2730 * Removes a repetition of 2731 * OBR-53: "Alternate Placer Order Number" at a specific index 2732 * 2733 * @param rep The repetition index (0-indexed) 2734 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2735 */ 2736 public CX removeAlternatePlacerOrderNumber(int rep) throws HL7Exception { 2737 return (CX) super.removeRepetition(53, rep); 2738 } 2739 2740 2741 /** 2742 * Removes a repetition of 2743 * OBR-53: "Alternate Placer Order Number" at a specific index 2744 * 2745 * @param rep The repetition index (0-indexed) 2746 * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions) 2747 */ 2748 public CX removeObr53_AlternatePlacerOrderNumber(int rep) throws HL7Exception { 2749 return (CX) super.removeRepetition(53, rep); 2750 } 2751 2752 2753 2754 2755 /** 2756 * Returns 2757 * OBR-54: "Parent Order" - creates it if necessary 2758 */ 2759 public EIP getParentOrder() { 2760 EIP retVal = this.getTypedField(54, 0); 2761 return retVal; 2762 } 2763 2764 /** 2765 * Returns 2766 * OBR-54: "Parent Order" - creates it if necessary 2767 */ 2768 public EIP getObr54_ParentOrder() { 2769 EIP retVal = this.getTypedField(54, 0); 2770 return retVal; 2771 } 2772 2773 2774 2775 2776 2777 /** {@inheritDoc} */ 2778 protected Type createNewTypeWithoutReflection(int field) { 2779 switch (field) { 2780 case 0: return new SI(getMessage()); 2781 case 1: return new EI(getMessage()); 2782 case 2: return new EI(getMessage()); 2783 case 3: return new CWE(getMessage()); 2784 case 4: return new NULLDT(getMessage()); 2785 case 5: return new NULLDT(getMessage()); 2786 case 6: return new DTM(getMessage()); 2787 case 7: return new DTM(getMessage()); 2788 case 8: return new CQ(getMessage()); 2789 case 9: return new XCN(getMessage()); 2790 case 10: return new ID(getMessage(), new Integer( 65 )); 2791 case 11: return new CWE(getMessage()); 2792 case 12: return new CWE(getMessage()); 2793 case 13: return new DTM(getMessage()); 2794 case 14: return new NULLDT(getMessage()); 2795 case 15: return new XCN(getMessage()); 2796 case 16: return new XTN(getMessage()); 2797 case 17: return new ST(getMessage()); 2798 case 18: return new ST(getMessage()); 2799 case 19: return new ST(getMessage()); 2800 case 20: return new ST(getMessage()); 2801 case 21: return new DTM(getMessage()); 2802 case 22: return new MOC(getMessage()); 2803 case 23: return new ID(getMessage(), new Integer( 74 )); 2804 case 24: return new ID(getMessage(), new Integer( 123 )); 2805 case 25: return new PRL(getMessage()); 2806 case 26: return new NULLDT(getMessage()); 2807 case 27: return new XCN(getMessage()); 2808 case 28: return new EIP(getMessage()); 2809 case 29: return new ID(getMessage(), new Integer( 124 )); 2810 case 30: return new CWE(getMessage()); 2811 case 31: return new NDL(getMessage()); 2812 case 32: return new NDL(getMessage()); 2813 case 33: return new NDL(getMessage()); 2814 case 34: return new NDL(getMessage()); 2815 case 35: return new DTM(getMessage()); 2816 case 36: return new NM(getMessage()); 2817 case 37: return new CWE(getMessage()); 2818 case 38: return new CWE(getMessage()); 2819 case 39: return new CWE(getMessage()); 2820 case 40: return new ID(getMessage(), new Integer( 224 )); 2821 case 41: return new ID(getMessage(), new Integer( 225 )); 2822 case 42: return new CWE(getMessage()); 2823 case 43: return new CNE(getMessage()); 2824 case 44: return new CNE(getMessage()); 2825 case 45: return new CWE(getMessage()); 2826 case 46: return new CWE(getMessage()); 2827 case 47: return new CWE(getMessage()); 2828 case 48: return new CWE(getMessage()); 2829 case 49: return new CWE(getMessage()); 2830 case 50: return new EI(getMessage()); 2831 case 51: return new EI(getMessage()); 2832 case 52: return new CX(getMessage()); 2833 case 53: return new EIP(getMessage()); 2834 default: return null; 2835 } 2836 } 2837 2838 2839} 2840