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