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