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.v21.segment;
035
036// import ca.uhn.hl7v2.model.v21.group.*;
037import ca.uhn.hl7v2.model.v21.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 - OBSERVATION REQUEST (SI) <b>optional </b>
053     * <li>OBR-2: PLACER ORDER # (CM) <b>optional </b>
054     * <li>OBR-3: FILLER ORDER # (CM) <b>optional </b>
055     * <li>OBR-4: UNIVERSAL SERVICE IDENT. (CE) <b> </b>
056     * <li>OBR-5: PRIORITY (ST) <b>optional </b>
057     * <li>OBR-6: REQUESTED DATE-TIME (TS) <b>optional </b>
058     * <li>OBR-7: OBSERVATION DATE/TIME (TS) <b> </b>
059     * <li>OBR-8: OBSERVATION END DATE/TIME (TS) <b> </b>
060     * <li>OBR-9: COLLECTION VOLUME (CQ) <b> </b>
061     * <li>OBR-10: COLLECTOR IDENTIFIER (CN) <b>optional repeating</b>
062     * <li>OBR-11: SPECIMEN ACTION CODE (ST) <b>optional </b>
063     * <li>OBR-12: DANGER CODE (CM) <b>optional </b>
064     * <li>OBR-13: RELEVANT CLINICAL INFO. (ST) <b>optional </b>
065     * <li>OBR-14: SPECIMEN RECEIVED DATE/TIME (TS) <b> </b>
066     * <li>OBR-15: SPECIMEN SOURCE (CM) <b>optional </b>
067     * <li>OBR-16: ORDERING PROVIDER (CN) <b>optional repeating</b>
068     * <li>OBR-17: ORDER CALL-BACK PHONE NUM (TN) <b>optional repeating</b>
069     * <li>OBR-18: PLACERS FIELD #1 (ST) <b>optional </b>
070     * <li>OBR-19: PLACERS FIELD #2 (ST) <b>optional </b>
071     * <li>OBR-20: FILLERS FIELD #1 (ST) <b>optional </b>
072     * <li>OBR-21: FILLERS FIELD #2 (ST) <b>optional </b>
073     * <li>OBR-22: RESULTS RPT/STATUS CHNG - DATE/T (TS) <b> </b>
074     * <li>OBR-23: CHARGE TO PRACTICE (CM) <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: LINKED RESULTS (CE) <b>optional </b>
078     * <li>OBR-27: QUANTITY/TIMING (CM) <b>optional repeating</b>
079     * <li>OBR-28: RESULT COPIES TO (CN) <b>optional repeating</b>
080     * <li>OBR-29: PARENT ACCESSION # (CM) <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 (CN) <b>optional </b>
084     * <li>OBR-33: ASSISTANT RESULT INTERPRETER (CN) <b>optional </b>
085     * <li>OBR-34: TECHNICIAN (CN) <b>optional </b>
086     * <li>OBR-35: TRANSCRIPTIONIST (CN) <b>optional </b>
087     * <li>OBR-36: SCHEDULED - DATE/TIME (TS) <b>optional </b>
088 * </ul>
089 */
090@SuppressWarnings("unused")
091public class OBR extends AbstractSegment {
092
093    /** 
094     * Creates a new OBR segment
095     */
096    public OBR(Group parent, ModelClassFactory factory) {
097       super(parent, factory);
098       init(factory);
099    }
100
101    private void init(ModelClassFactory factory) {
102       try {
103                                  this.add(SI.class, false, 1, 4, new Object[]{ getMessage() }, "SET ID - OBSERVATION REQUEST");
104                                  this.add(CM.class, false, 1, 75, new Object[]{ getMessage() }, "PLACER ORDER #");
105                                  this.add(CM.class, false, 1, 75, new Object[]{ getMessage() }, "FILLER ORDER #");
106                                  this.add(CE.class, true, 1, 200, new Object[]{ getMessage() }, "UNIVERSAL SERVICE IDENT.");
107                                  this.add(ST.class, false, 1, 2, new Object[]{ getMessage() }, "PRIORITY");
108                                  this.add(TS.class, false, 1, 19, new Object[]{ getMessage() }, "REQUESTED DATE-TIME");
109                                  this.add(TS.class, true, 1, 19, new Object[]{ getMessage() }, "OBSERVATION DATE/TIME");
110                                  this.add(TS.class, true, 1, 19, new Object[]{ getMessage() }, "OBSERVATION END DATE/TIME");
111                                  this.add(CQ.class, true, 1, 20, new Object[]{ getMessage() }, "COLLECTION VOLUME");
112                                  this.add(CN.class, false, 0, 60, new Object[]{ getMessage() }, "COLLECTOR IDENTIFIER");
113                                  this.add(ST.class, false, 1, 1, new Object[]{ getMessage() }, "SPECIMEN ACTION CODE");
114                                  this.add(CM.class, false, 1, 60, new Object[]{ getMessage() }, "DANGER CODE");
115                                  this.add(ST.class, false, 1, 300, new Object[]{ getMessage() }, "RELEVANT CLINICAL INFO.");
116                                  this.add(TS.class, true, 1, 19, new Object[]{ getMessage() }, "SPECIMEN RECEIVED DATE/TIME");
117                                  this.add(CM.class, false, 1, 300, new Object[]{ getMessage() }, "SPECIMEN SOURCE");
118                                  this.add(CN.class, false, 0, 60, new Object[]{ getMessage() }, "ORDERING PROVIDER");
119                                  this.add(TN.class, false, 2, 40, new Object[]{ getMessage() }, "ORDER CALL-BACK PHONE NUM");
120                                  this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "PLACERS FIELD #1");
121                                  this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "PLACERS FIELD #2");
122                                  this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "FILLERS FIELD #1");
123                                  this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "FILLERS FIELD #2");
124                                  this.add(TS.class, true, 1, 19, new Object[]{ getMessage() }, "RESULTS RPT/STATUS CHNG - DATE/T");
125                                  this.add(CM.class, false, 1, 40, new Object[]{ getMessage() }, "CHARGE TO PRACTICE");
126                                              this.add(ID.class, false, 1, 10, new Object[]{ getMessage(), new Integer(74) }, "DIAGNOSTIC SERV SECT ID");
127                                              this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(123) }, "RESULT STATUS");
128                                  this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "LINKED RESULTS");
129                                  this.add(CM.class, false, 0, 200, new Object[]{ getMessage() }, "QUANTITY/TIMING");
130                                  this.add(CN.class, false, 5, 80, new Object[]{ getMessage() }, "RESULT COPIES TO");
131                                  this.add(CM.class, false, 1, 150, new Object[]{ getMessage() }, "PARENT ACCESSION #");
132                                              this.add(ID.class, false, 1, 20, new Object[]{ getMessage(), new Integer(124) }, "TRANSPORTATION MODE");
133                                  this.add(CE.class, false, 0, 300, new Object[]{ getMessage() }, "REASON FOR STUDY");
134                                  this.add(CN.class, false, 1, 60, new Object[]{ getMessage() }, "PRINCIPAL RESULT INTERPRETER");
135                                  this.add(CN.class, false, 1, 60, new Object[]{ getMessage() }, "ASSISTANT RESULT INTERPRETER");
136                                  this.add(CN.class, false, 1, 60, new Object[]{ getMessage() }, "TECHNICIAN");
137                                  this.add(CN.class, false, 1, 60, new Object[]{ getMessage() }, "TRANSCRIPTIONIST");
138                                  this.add(TS.class, false, 1, 19, new Object[]{ getMessage() }, "SCHEDULED - DATE/TIME");
139       } catch(HL7Exception e) {
140          log.error("Unexpected error creating OBR - this is probably a bug in the source code generator.", e);
141       }
142    }
143
144
145
146    /**
147     * Returns
148     * OBR-1: "SET ID - OBSERVATION REQUEST" - creates it if necessary
149     */
150    public SI getSETIDOBSERVATIONREQUEST() { 
151                SI retVal = this.getTypedField(1, 0);
152                return retVal;
153    }
154    
155    /**
156     * Returns
157     * OBR-1: "SET ID - OBSERVATION REQUEST" - creates it if necessary
158     */
159    public SI getObr1_SETIDOBSERVATIONREQUEST() { 
160                SI retVal = this.getTypedField(1, 0);
161                return retVal;
162    }
163
164
165
166    /**
167     * Returns
168     * OBR-2: "PLACER ORDER #" - creates it if necessary
169     */
170    public CM getPLACERORDER() { 
171                CM retVal = this.getTypedField(2, 0);
172                return retVal;
173    }
174    
175    /**
176     * Returns
177     * OBR-2: "PLACER ORDER #" - creates it if necessary
178     */
179    public CM getObr2_PLACERORDER() { 
180                CM retVal = this.getTypedField(2, 0);
181                return retVal;
182    }
183
184
185
186    /**
187     * Returns
188     * OBR-3: "FILLER ORDER #" - creates it if necessary
189     */
190    public CM getFILLERORDER() { 
191                CM retVal = this.getTypedField(3, 0);
192                return retVal;
193    }
194    
195    /**
196     * Returns
197     * OBR-3: "FILLER ORDER #" - creates it if necessary
198     */
199    public CM getObr3_FILLERORDER() { 
200                CM retVal = this.getTypedField(3, 0);
201                return retVal;
202    }
203
204
205
206    /**
207     * Returns
208     * OBR-4: "UNIVERSAL SERVICE IDENT." - creates it if necessary
209     */
210    public CE getUNIVERSALSERVICEIDENT() { 
211                CE retVal = this.getTypedField(4, 0);
212                return retVal;
213    }
214    
215    /**
216     * Returns
217     * OBR-4: "UNIVERSAL SERVICE IDENT." - creates it if necessary
218     */
219    public CE getObr4_UNIVERSALSERVICEIDENT() { 
220                CE retVal = this.getTypedField(4, 0);
221                return retVal;
222    }
223
224
225
226    /**
227     * Returns
228     * OBR-5: "PRIORITY" - creates it if necessary
229     */
230    public ST getPRIORITY() { 
231                ST retVal = this.getTypedField(5, 0);
232                return retVal;
233    }
234    
235    /**
236     * Returns
237     * OBR-5: "PRIORITY" - creates it if necessary
238     */
239    public ST getObr5_PRIORITY() { 
240                ST retVal = this.getTypedField(5, 0);
241                return retVal;
242    }
243
244
245
246    /**
247     * Returns
248     * OBR-6: "REQUESTED DATE-TIME" - creates it if necessary
249     */
250    public TS getREQUESTEDDATETIME() { 
251                TS retVal = this.getTypedField(6, 0);
252                return retVal;
253    }
254    
255    /**
256     * Returns
257     * OBR-6: "REQUESTED DATE-TIME" - creates it if necessary
258     */
259    public TS getObr6_REQUESTEDDATETIME() { 
260                TS retVal = this.getTypedField(6, 0);
261                return retVal;
262    }
263
264
265
266    /**
267     * Returns
268     * OBR-7: "OBSERVATION DATE/TIME" - creates it if necessary
269     */
270    public TS getOBSERVATIONDATETIME() { 
271                TS retVal = this.getTypedField(7, 0);
272                return retVal;
273    }
274    
275    /**
276     * Returns
277     * OBR-7: "OBSERVATION DATE/TIME" - creates it if necessary
278     */
279    public TS getObr7_OBSERVATIONDATETIME() { 
280                TS retVal = this.getTypedField(7, 0);
281                return retVal;
282    }
283
284
285
286    /**
287     * Returns
288     * OBR-8: "OBSERVATION END DATE/TIME" - creates it if necessary
289     */
290    public TS getOBSERVATIONENDDATETIME() { 
291                TS retVal = this.getTypedField(8, 0);
292                return retVal;
293    }
294    
295    /**
296     * Returns
297     * OBR-8: "OBSERVATION END DATE/TIME" - creates it if necessary
298     */
299    public TS getObr8_OBSERVATIONENDDATETIME() { 
300                TS retVal = this.getTypedField(8, 0);
301                return retVal;
302    }
303
304
305
306    /**
307     * Returns
308     * OBR-9: "COLLECTION VOLUME" - creates it if necessary
309     */
310    public CQ getCOLLECTIONVOLUME() { 
311                CQ retVal = this.getTypedField(9, 0);
312                return retVal;
313    }
314    
315    /**
316     * Returns
317     * OBR-9: "COLLECTION VOLUME" - creates it if necessary
318     */
319    public CQ getObr9_COLLECTIONVOLUME() { 
320                CQ retVal = this.getTypedField(9, 0);
321                return retVal;
322    }
323
324
325    /**
326     * Returns all repetitions of COLLECTOR IDENTIFIER (OBR-10).
327     */
328    public CN[] getCOLLECTORIDENTIFIER() {
329        CN[] retVal = this.getTypedField(10, new CN[0]);
330        return retVal;
331    }
332
333
334    /**
335     * Returns all repetitions of COLLECTOR IDENTIFIER (OBR-10).
336     */
337    public CN[] getObr10_COLLECTORIDENTIFIER() {
338        CN[] retVal = this.getTypedField(10, new CN[0]);
339        return retVal;
340    }
341
342
343    /**
344     * Returns a count of the current number of repetitions of COLLECTOR IDENTIFIER (OBR-10).
345     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
346     * it will return zero.
347     */
348    public int getCOLLECTORIDENTIFIERReps() {
349        return this.getReps(10);
350    }
351
352
353    /**
354     * Returns a specific repetition of
355     * OBR-10: "COLLECTOR IDENTIFIER" - creates it if necessary
356     *
357     * @param rep The repetition index (0-indexed)
358     */
359    public CN getCOLLECTORIDENTIFIER(int rep) { 
360                CN retVal = this.getTypedField(10, rep);
361                return retVal;
362    }
363
364    /**
365     * Returns a specific repetition of
366     * OBR-10: "COLLECTOR IDENTIFIER" - creates it if necessary
367     *
368     * @param rep The repetition index (0-indexed)
369     */
370    public CN getObr10_COLLECTORIDENTIFIER(int rep) { 
371                CN retVal = this.getTypedField(10, rep);
372                return retVal;
373    }
374
375    /**
376     * Returns a count of the current number of repetitions of COLLECTOR IDENTIFIER (OBR-10).
377     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
378     * it will return zero.
379     */
380    public int getObr10_COLLECTORIDENTIFIERReps() {
381        return this.getReps(10);
382    }
383
384
385    /**
386     * Inserts a repetition of
387     * OBR-10: "COLLECTOR IDENTIFIER" at a specific index
388     *
389     * @param rep The repetition index (0-indexed)
390     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
391     */
392    public CN insertCOLLECTORIDENTIFIER(int rep) throws HL7Exception { 
393        return (CN) super.insertRepetition(10, rep);
394    }
395
396
397    /**
398     * Inserts a repetition of
399     * OBR-10: "COLLECTOR IDENTIFIER" at a specific index
400     *
401     * @param rep The repetition index (0-indexed)
402     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
403     */
404    public CN insertObr10_COLLECTORIDENTIFIER(int rep) throws HL7Exception { 
405        return (CN) super.insertRepetition(10, rep);
406    }
407
408
409    /**
410     * Removes a repetition of
411     * OBR-10: "COLLECTOR IDENTIFIER" at a specific index
412     *
413     * @param rep The repetition index (0-indexed)
414     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
415     */
416    public CN removeCOLLECTORIDENTIFIER(int rep) throws HL7Exception { 
417        return (CN) super.removeRepetition(10, rep);
418    }
419
420
421    /**
422     * Removes a repetition of
423     * OBR-10: "COLLECTOR IDENTIFIER" at a specific index
424     *
425     * @param rep The repetition index (0-indexed)
426     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
427     */
428    public CN removeObr10_COLLECTORIDENTIFIER(int rep) throws HL7Exception { 
429        return (CN) super.removeRepetition(10, rep);
430    }
431
432
433
434
435    /**
436     * Returns
437     * OBR-11: "SPECIMEN ACTION CODE" - creates it if necessary
438     */
439    public ST getSPECIMENACTIONCODE() { 
440                ST retVal = this.getTypedField(11, 0);
441                return retVal;
442    }
443    
444    /**
445     * Returns
446     * OBR-11: "SPECIMEN ACTION CODE" - creates it if necessary
447     */
448    public ST getObr11_SPECIMENACTIONCODE() { 
449                ST retVal = this.getTypedField(11, 0);
450                return retVal;
451    }
452
453
454
455    /**
456     * Returns
457     * OBR-12: "DANGER CODE" - creates it if necessary
458     */
459    public CM getDANGERCODE() { 
460                CM retVal = this.getTypedField(12, 0);
461                return retVal;
462    }
463    
464    /**
465     * Returns
466     * OBR-12: "DANGER CODE" - creates it if necessary
467     */
468    public CM getObr12_DANGERCODE() { 
469                CM retVal = this.getTypedField(12, 0);
470                return retVal;
471    }
472
473
474
475    /**
476     * Returns
477     * OBR-13: "RELEVANT CLINICAL INFO." - creates it if necessary
478     */
479    public ST getRELEVANTCLINICALINFO() { 
480                ST retVal = this.getTypedField(13, 0);
481                return retVal;
482    }
483    
484    /**
485     * Returns
486     * OBR-13: "RELEVANT CLINICAL INFO." - creates it if necessary
487     */
488    public ST getObr13_RELEVANTCLINICALINFO() { 
489                ST retVal = this.getTypedField(13, 0);
490                return retVal;
491    }
492
493
494
495    /**
496     * Returns
497     * OBR-14: "SPECIMEN RECEIVED DATE/TIME" - creates it if necessary
498     */
499    public TS getSPECIMENRECEIVEDDATETIME() { 
500                TS retVal = this.getTypedField(14, 0);
501                return retVal;
502    }
503    
504    /**
505     * Returns
506     * OBR-14: "SPECIMEN RECEIVED DATE/TIME" - creates it if necessary
507     */
508    public TS getObr14_SPECIMENRECEIVEDDATETIME() { 
509                TS retVal = this.getTypedField(14, 0);
510                return retVal;
511    }
512
513
514
515    /**
516     * Returns
517     * OBR-15: "SPECIMEN SOURCE" - creates it if necessary
518     */
519    public CM getSPECIMENSOURCE() { 
520                CM retVal = this.getTypedField(15, 0);
521                return retVal;
522    }
523    
524    /**
525     * Returns
526     * OBR-15: "SPECIMEN SOURCE" - creates it if necessary
527     */
528    public CM getObr15_SPECIMENSOURCE() { 
529                CM retVal = this.getTypedField(15, 0);
530                return retVal;
531    }
532
533
534    /**
535     * Returns all repetitions of ORDERING PROVIDER (OBR-16).
536     */
537    public CN[] getORDERINGPROVIDER() {
538        CN[] retVal = this.getTypedField(16, new CN[0]);
539        return retVal;
540    }
541
542
543    /**
544     * Returns all repetitions of ORDERING PROVIDER (OBR-16).
545     */
546    public CN[] getObr16_ORDERINGPROVIDER() {
547        CN[] retVal = this.getTypedField(16, new CN[0]);
548        return retVal;
549    }
550
551
552    /**
553     * Returns a count of the current number of repetitions of ORDERING PROVIDER (OBR-16).
554     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
555     * it will return zero.
556     */
557    public int getORDERINGPROVIDERReps() {
558        return this.getReps(16);
559    }
560
561
562    /**
563     * Returns a specific repetition of
564     * OBR-16: "ORDERING PROVIDER" - creates it if necessary
565     *
566     * @param rep The repetition index (0-indexed)
567     */
568    public CN getORDERINGPROVIDER(int rep) { 
569                CN retVal = this.getTypedField(16, rep);
570                return retVal;
571    }
572
573    /**
574     * Returns a specific repetition of
575     * OBR-16: "ORDERING PROVIDER" - creates it if necessary
576     *
577     * @param rep The repetition index (0-indexed)
578     */
579    public CN getObr16_ORDERINGPROVIDER(int rep) { 
580                CN retVal = this.getTypedField(16, rep);
581                return retVal;
582    }
583
584    /**
585     * Returns a count of the current number of repetitions of ORDERING PROVIDER (OBR-16).
586     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
587     * it will return zero.
588     */
589    public int getObr16_ORDERINGPROVIDERReps() {
590        return this.getReps(16);
591    }
592
593
594    /**
595     * Inserts a repetition of
596     * OBR-16: "ORDERING PROVIDER" at a specific index
597     *
598     * @param rep The repetition index (0-indexed)
599     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
600     */
601    public CN insertORDERINGPROVIDER(int rep) throws HL7Exception { 
602        return (CN) super.insertRepetition(16, rep);
603    }
604
605
606    /**
607     * Inserts a repetition of
608     * OBR-16: "ORDERING PROVIDER" at a specific index
609     *
610     * @param rep The repetition index (0-indexed)
611     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
612     */
613    public CN insertObr16_ORDERINGPROVIDER(int rep) throws HL7Exception { 
614        return (CN) super.insertRepetition(16, rep);
615    }
616
617
618    /**
619     * Removes a repetition of
620     * OBR-16: "ORDERING PROVIDER" at a specific index
621     *
622     * @param rep The repetition index (0-indexed)
623     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
624     */
625    public CN removeORDERINGPROVIDER(int rep) throws HL7Exception { 
626        return (CN) super.removeRepetition(16, rep);
627    }
628
629
630    /**
631     * Removes a repetition of
632     * OBR-16: "ORDERING PROVIDER" at a specific index
633     *
634     * @param rep The repetition index (0-indexed)
635     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
636     */
637    public CN removeObr16_ORDERINGPROVIDER(int rep) throws HL7Exception { 
638        return (CN) super.removeRepetition(16, rep);
639    }
640
641
642
643    /**
644     * Returns all repetitions of ORDER CALL-BACK PHONE NUM (OBR-17).
645     */
646    public TN[] getORDERCALLBACKPHONENUM() {
647        TN[] retVal = this.getTypedField(17, new TN[0]);
648        return retVal;
649    }
650
651
652    /**
653     * Returns all repetitions of ORDER CALL-BACK PHONE NUM (OBR-17).
654     */
655    public TN[] getObr17_ORDERCALLBACKPHONENUM() {
656        TN[] retVal = this.getTypedField(17, new TN[0]);
657        return retVal;
658    }
659
660
661    /**
662     * Returns a count of the current number of repetitions of ORDER CALL-BACK PHONE NUM (OBR-17).
663     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
664     * it will return zero.
665     */
666    public int getORDERCALLBACKPHONENUMReps() {
667        return this.getReps(17);
668    }
669
670
671    /**
672     * Returns a specific repetition of
673     * OBR-17: "ORDER CALL-BACK PHONE NUM" - creates it if necessary
674     *
675     * @param rep The repetition index (0-indexed)
676     */
677    public TN getORDERCALLBACKPHONENUM(int rep) { 
678                TN retVal = this.getTypedField(17, rep);
679                return retVal;
680    }
681
682    /**
683     * Returns a specific repetition of
684     * OBR-17: "ORDER CALL-BACK PHONE NUM" - creates it if necessary
685     *
686     * @param rep The repetition index (0-indexed)
687     */
688    public TN getObr17_ORDERCALLBACKPHONENUM(int rep) { 
689                TN retVal = this.getTypedField(17, rep);
690                return retVal;
691    }
692
693    /**
694     * Returns a count of the current number of repetitions of ORDER CALL-BACK PHONE NUM (OBR-17).
695     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
696     * it will return zero.
697     */
698    public int getObr17_ORDERCALLBACKPHONENUMReps() {
699        return this.getReps(17);
700    }
701
702
703    /**
704     * Inserts a repetition of
705     * OBR-17: "ORDER CALL-BACK PHONE NUM" at a specific index
706     *
707     * @param rep The repetition index (0-indexed)
708     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
709     */
710    public TN insertORDERCALLBACKPHONENUM(int rep) throws HL7Exception { 
711        return (TN) super.insertRepetition(17, rep);
712    }
713
714
715    /**
716     * Inserts a repetition of
717     * OBR-17: "ORDER CALL-BACK PHONE NUM" at a specific index
718     *
719     * @param rep The repetition index (0-indexed)
720     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
721     */
722    public TN insertObr17_ORDERCALLBACKPHONENUM(int rep) throws HL7Exception { 
723        return (TN) super.insertRepetition(17, rep);
724    }
725
726
727    /**
728     * Removes a repetition of
729     * OBR-17: "ORDER CALL-BACK PHONE NUM" at a specific index
730     *
731     * @param rep The repetition index (0-indexed)
732     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
733     */
734    public TN removeORDERCALLBACKPHONENUM(int rep) throws HL7Exception { 
735        return (TN) super.removeRepetition(17, rep);
736    }
737
738
739    /**
740     * Removes a repetition of
741     * OBR-17: "ORDER CALL-BACK PHONE NUM" at a specific index
742     *
743     * @param rep The repetition index (0-indexed)
744     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
745     */
746    public TN removeObr17_ORDERCALLBACKPHONENUM(int rep) throws HL7Exception { 
747        return (TN) super.removeRepetition(17, rep);
748    }
749
750
751
752
753    /**
754     * Returns
755     * OBR-18: "PLACERS FIELD #1" - creates it if necessary
756     */
757    public ST getPLACERSFIELD1() { 
758                ST retVal = this.getTypedField(18, 0);
759                return retVal;
760    }
761    
762    /**
763     * Returns
764     * OBR-18: "PLACERS FIELD #1" - creates it if necessary
765     */
766    public ST getObr18_PLACERSFIELD1() { 
767                ST retVal = this.getTypedField(18, 0);
768                return retVal;
769    }
770
771
772
773    /**
774     * Returns
775     * OBR-19: "PLACERS FIELD #2" - creates it if necessary
776     */
777    public ST getPLACERSFIELD2() { 
778                ST retVal = this.getTypedField(19, 0);
779                return retVal;
780    }
781    
782    /**
783     * Returns
784     * OBR-19: "PLACERS FIELD #2" - creates it if necessary
785     */
786    public ST getObr19_PLACERSFIELD2() { 
787                ST retVal = this.getTypedField(19, 0);
788                return retVal;
789    }
790
791
792
793    /**
794     * Returns
795     * OBR-20: "FILLERS FIELD #1" - creates it if necessary
796     */
797    public ST getFILLERSFIELD1() { 
798                ST retVal = this.getTypedField(20, 0);
799                return retVal;
800    }
801    
802    /**
803     * Returns
804     * OBR-20: "FILLERS FIELD #1" - creates it if necessary
805     */
806    public ST getObr20_FILLERSFIELD1() { 
807                ST retVal = this.getTypedField(20, 0);
808                return retVal;
809    }
810
811
812
813    /**
814     * Returns
815     * OBR-21: "FILLERS FIELD #2" - creates it if necessary
816     */
817    public ST getFILLERSFIELD2() { 
818                ST retVal = this.getTypedField(21, 0);
819                return retVal;
820    }
821    
822    /**
823     * Returns
824     * OBR-21: "FILLERS FIELD #2" - creates it if necessary
825     */
826    public ST getObr21_FILLERSFIELD2() { 
827                ST retVal = this.getTypedField(21, 0);
828                return retVal;
829    }
830
831
832
833    /**
834     * Returns
835     * OBR-22: "RESULTS RPT/STATUS CHNG - DATE/T" - creates it if necessary
836     */
837    public TS getRESULTSRPTSTATUSCHNGDATET() { 
838                TS retVal = this.getTypedField(22, 0);
839                return retVal;
840    }
841    
842    /**
843     * Returns
844     * OBR-22: "RESULTS RPT/STATUS CHNG - DATE/T" - creates it if necessary
845     */
846    public TS getObr22_RESULTSRPTSTATUSCHNGDATET() { 
847                TS retVal = this.getTypedField(22, 0);
848                return retVal;
849    }
850
851
852
853    /**
854     * Returns
855     * OBR-23: "CHARGE TO PRACTICE" - creates it if necessary
856     */
857    public CM getCHARGETOPRACTICE() { 
858                CM retVal = this.getTypedField(23, 0);
859                return retVal;
860    }
861    
862    /**
863     * Returns
864     * OBR-23: "CHARGE TO PRACTICE" - creates it if necessary
865     */
866    public CM getObr23_CHARGETOPRACTICE() { 
867                CM retVal = this.getTypedField(23, 0);
868                return retVal;
869    }
870
871
872
873    /**
874     * Returns
875     * OBR-24: "DIAGNOSTIC SERV SECT ID" - creates it if necessary
876     */
877    public ID getDIAGNOSTICSERVSECTID() { 
878                ID retVal = this.getTypedField(24, 0);
879                return retVal;
880    }
881    
882    /**
883     * Returns
884     * OBR-24: "DIAGNOSTIC SERV SECT ID" - creates it if necessary
885     */
886    public ID getObr24_DIAGNOSTICSERVSECTID() { 
887                ID retVal = this.getTypedField(24, 0);
888                return retVal;
889    }
890
891
892
893    /**
894     * Returns
895     * OBR-25: "RESULT STATUS" - creates it if necessary
896     */
897    public ID getRESULTSTATUS() { 
898                ID retVal = this.getTypedField(25, 0);
899                return retVal;
900    }
901    
902    /**
903     * Returns
904     * OBR-25: "RESULT STATUS" - creates it if necessary
905     */
906    public ID getObr25_RESULTSTATUS() { 
907                ID retVal = this.getTypedField(25, 0);
908                return retVal;
909    }
910
911
912
913    /**
914     * Returns
915     * OBR-26: "LINKED RESULTS" - creates it if necessary
916     */
917    public CE getLINKEDRESULTS() { 
918                CE retVal = this.getTypedField(26, 0);
919                return retVal;
920    }
921    
922    /**
923     * Returns
924     * OBR-26: "LINKED RESULTS" - creates it if necessary
925     */
926    public CE getObr26_LINKEDRESULTS() { 
927                CE retVal = this.getTypedField(26, 0);
928                return retVal;
929    }
930
931
932    /**
933     * Returns all repetitions of QUANTITY/TIMING (OBR-27).
934     */
935    public CM[] getQUANTITYTIMING() {
936        CM[] retVal = this.getTypedField(27, new CM[0]);
937        return retVal;
938    }
939
940
941    /**
942     * Returns all repetitions of QUANTITY/TIMING (OBR-27).
943     */
944    public CM[] getObr27_QUANTITYTIMING() {
945        CM[] retVal = this.getTypedField(27, new CM[0]);
946        return retVal;
947    }
948
949
950    /**
951     * Returns a count of the current number of repetitions of QUANTITY/TIMING (OBR-27).
952     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
953     * it will return zero.
954     */
955    public int getQUANTITYTIMINGReps() {
956        return this.getReps(27);
957    }
958
959
960    /**
961     * Returns a specific repetition of
962     * OBR-27: "QUANTITY/TIMING" - creates it if necessary
963     *
964     * @param rep The repetition index (0-indexed)
965     */
966    public CM getQUANTITYTIMING(int rep) { 
967                CM retVal = this.getTypedField(27, rep);
968                return retVal;
969    }
970
971    /**
972     * Returns a specific repetition of
973     * OBR-27: "QUANTITY/TIMING" - creates it if necessary
974     *
975     * @param rep The repetition index (0-indexed)
976     */
977    public CM getObr27_QUANTITYTIMING(int rep) { 
978                CM retVal = this.getTypedField(27, rep);
979                return retVal;
980    }
981
982    /**
983     * Returns a count of the current number of repetitions of QUANTITY/TIMING (OBR-27).
984     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
985     * it will return zero.
986     */
987    public int getObr27_QUANTITYTIMINGReps() {
988        return this.getReps(27);
989    }
990
991
992    /**
993     * Inserts a repetition of
994     * OBR-27: "QUANTITY/TIMING" at a specific index
995     *
996     * @param rep The repetition index (0-indexed)
997     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
998     */
999    public CM insertQUANTITYTIMING(int rep) throws HL7Exception { 
1000        return (CM) super.insertRepetition(27, rep);
1001    }
1002
1003
1004    /**
1005     * Inserts a repetition of
1006     * OBR-27: "QUANTITY/TIMING" at a specific index
1007     *
1008     * @param rep The repetition index (0-indexed)
1009     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1010     */
1011    public CM insertObr27_QUANTITYTIMING(int rep) throws HL7Exception { 
1012        return (CM) super.insertRepetition(27, rep);
1013    }
1014
1015
1016    /**
1017     * Removes a repetition of
1018     * OBR-27: "QUANTITY/TIMING" at a specific index
1019     *
1020     * @param rep The repetition index (0-indexed)
1021     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1022     */
1023    public CM removeQUANTITYTIMING(int rep) throws HL7Exception { 
1024        return (CM) super.removeRepetition(27, rep);
1025    }
1026
1027
1028    /**
1029     * Removes a repetition of
1030     * OBR-27: "QUANTITY/TIMING" at a specific index
1031     *
1032     * @param rep The repetition index (0-indexed)
1033     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1034     */
1035    public CM removeObr27_QUANTITYTIMING(int rep) throws HL7Exception { 
1036        return (CM) super.removeRepetition(27, rep);
1037    }
1038
1039
1040
1041    /**
1042     * Returns all repetitions of RESULT COPIES TO (OBR-28).
1043     */
1044    public CN[] getRESULTCOPIESTO() {
1045        CN[] retVal = this.getTypedField(28, new CN[0]);
1046        return retVal;
1047    }
1048
1049
1050    /**
1051     * Returns all repetitions of RESULT COPIES TO (OBR-28).
1052     */
1053    public CN[] getObr28_RESULTCOPIESTO() {
1054        CN[] retVal = this.getTypedField(28, new CN[0]);
1055        return retVal;
1056    }
1057
1058
1059    /**
1060     * Returns a count of the current number of repetitions of RESULT COPIES TO (OBR-28).
1061     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1062     * it will return zero.
1063     */
1064    public int getRESULTCOPIESTOReps() {
1065        return this.getReps(28);
1066    }
1067
1068
1069    /**
1070     * Returns a specific repetition of
1071     * OBR-28: "RESULT COPIES TO" - creates it if necessary
1072     *
1073     * @param rep The repetition index (0-indexed)
1074     */
1075    public CN getRESULTCOPIESTO(int rep) { 
1076                CN retVal = this.getTypedField(28, rep);
1077                return retVal;
1078    }
1079
1080    /**
1081     * Returns a specific repetition of
1082     * OBR-28: "RESULT COPIES TO" - creates it if necessary
1083     *
1084     * @param rep The repetition index (0-indexed)
1085     */
1086    public CN getObr28_RESULTCOPIESTO(int rep) { 
1087                CN retVal = this.getTypedField(28, rep);
1088                return retVal;
1089    }
1090
1091    /**
1092     * Returns a count of the current number of repetitions of RESULT COPIES TO (OBR-28).
1093     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1094     * it will return zero.
1095     */
1096    public int getObr28_RESULTCOPIESTOReps() {
1097        return this.getReps(28);
1098    }
1099
1100
1101    /**
1102     * Inserts a repetition of
1103     * OBR-28: "RESULT COPIES TO" at a specific index
1104     *
1105     * @param rep The repetition index (0-indexed)
1106     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1107     */
1108    public CN insertRESULTCOPIESTO(int rep) throws HL7Exception { 
1109        return (CN) super.insertRepetition(28, rep);
1110    }
1111
1112
1113    /**
1114     * Inserts a repetition of
1115     * OBR-28: "RESULT COPIES TO" at a specific index
1116     *
1117     * @param rep The repetition index (0-indexed)
1118     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1119     */
1120    public CN insertObr28_RESULTCOPIESTO(int rep) throws HL7Exception { 
1121        return (CN) super.insertRepetition(28, rep);
1122    }
1123
1124
1125    /**
1126     * Removes a repetition of
1127     * OBR-28: "RESULT COPIES TO" at a specific index
1128     *
1129     * @param rep The repetition index (0-indexed)
1130     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1131     */
1132    public CN removeRESULTCOPIESTO(int rep) throws HL7Exception { 
1133        return (CN) super.removeRepetition(28, rep);
1134    }
1135
1136
1137    /**
1138     * Removes a repetition of
1139     * OBR-28: "RESULT COPIES TO" at a specific index
1140     *
1141     * @param rep The repetition index (0-indexed)
1142     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1143     */
1144    public CN removeObr28_RESULTCOPIESTO(int rep) throws HL7Exception { 
1145        return (CN) super.removeRepetition(28, rep);
1146    }
1147
1148
1149
1150
1151    /**
1152     * Returns
1153     * OBR-29: "PARENT ACCESSION #" - creates it if necessary
1154     */
1155    public CM getPARENTACCESSION() { 
1156                CM retVal = this.getTypedField(29, 0);
1157                return retVal;
1158    }
1159    
1160    /**
1161     * Returns
1162     * OBR-29: "PARENT ACCESSION #" - creates it if necessary
1163     */
1164    public CM getObr29_PARENTACCESSION() { 
1165                CM retVal = this.getTypedField(29, 0);
1166                return retVal;
1167    }
1168
1169
1170
1171    /**
1172     * Returns
1173     * OBR-30: "TRANSPORTATION MODE" - creates it if necessary
1174     */
1175    public ID getTRANSPORTATIONMODE() { 
1176                ID retVal = this.getTypedField(30, 0);
1177                return retVal;
1178    }
1179    
1180    /**
1181     * Returns
1182     * OBR-30: "TRANSPORTATION MODE" - creates it if necessary
1183     */
1184    public ID getObr30_TRANSPORTATIONMODE() { 
1185                ID retVal = this.getTypedField(30, 0);
1186                return retVal;
1187    }
1188
1189
1190    /**
1191     * Returns all repetitions of REASON FOR STUDY (OBR-31).
1192     */
1193    public CE[] getREASONFORSTUDY() {
1194        CE[] retVal = this.getTypedField(31, new CE[0]);
1195        return retVal;
1196    }
1197
1198
1199    /**
1200     * Returns all repetitions of REASON FOR STUDY (OBR-31).
1201     */
1202    public CE[] getObr31_REASONFORSTUDY() {
1203        CE[] retVal = this.getTypedField(31, new CE[0]);
1204        return retVal;
1205    }
1206
1207
1208    /**
1209     * Returns a count of the current number of repetitions of REASON FOR STUDY (OBR-31).
1210     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1211     * it will return zero.
1212     */
1213    public int getREASONFORSTUDYReps() {
1214        return this.getReps(31);
1215    }
1216
1217
1218    /**
1219     * Returns a specific repetition of
1220     * OBR-31: "REASON FOR STUDY" - creates it if necessary
1221     *
1222     * @param rep The repetition index (0-indexed)
1223     */
1224    public CE getREASONFORSTUDY(int rep) { 
1225                CE retVal = this.getTypedField(31, rep);
1226                return retVal;
1227    }
1228
1229    /**
1230     * Returns a specific repetition of
1231     * OBR-31: "REASON FOR STUDY" - creates it if necessary
1232     *
1233     * @param rep The repetition index (0-indexed)
1234     */
1235    public CE getObr31_REASONFORSTUDY(int rep) { 
1236                CE retVal = this.getTypedField(31, rep);
1237                return retVal;
1238    }
1239
1240    /**
1241     * Returns a count of the current number of repetitions of REASON FOR STUDY (OBR-31).
1242     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1243     * it will return zero.
1244     */
1245    public int getObr31_REASONFORSTUDYReps() {
1246        return this.getReps(31);
1247    }
1248
1249
1250    /**
1251     * Inserts a repetition of
1252     * OBR-31: "REASON FOR STUDY" at a specific index
1253     *
1254     * @param rep The repetition index (0-indexed)
1255     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1256     */
1257    public CE insertREASONFORSTUDY(int rep) throws HL7Exception { 
1258        return (CE) super.insertRepetition(31, rep);
1259    }
1260
1261
1262    /**
1263     * Inserts a repetition of
1264     * OBR-31: "REASON FOR STUDY" at a specific index
1265     *
1266     * @param rep The repetition index (0-indexed)
1267     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1268     */
1269    public CE insertObr31_REASONFORSTUDY(int rep) throws HL7Exception { 
1270        return (CE) super.insertRepetition(31, rep);
1271    }
1272
1273
1274    /**
1275     * Removes a repetition of
1276     * OBR-31: "REASON FOR STUDY" at a specific index
1277     *
1278     * @param rep The repetition index (0-indexed)
1279     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1280     */
1281    public CE removeREASONFORSTUDY(int rep) throws HL7Exception { 
1282        return (CE) super.removeRepetition(31, rep);
1283    }
1284
1285
1286    /**
1287     * Removes a repetition of
1288     * OBR-31: "REASON FOR STUDY" at a specific index
1289     *
1290     * @param rep The repetition index (0-indexed)
1291     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1292     */
1293    public CE removeObr31_REASONFORSTUDY(int rep) throws HL7Exception { 
1294        return (CE) super.removeRepetition(31, rep);
1295    }
1296
1297
1298
1299
1300    /**
1301     * Returns
1302     * OBR-32: "PRINCIPAL RESULT INTERPRETER" - creates it if necessary
1303     */
1304    public CN getPRINCIPALRESULTINTERPRETER() { 
1305                CN retVal = this.getTypedField(32, 0);
1306                return retVal;
1307    }
1308    
1309    /**
1310     * Returns
1311     * OBR-32: "PRINCIPAL RESULT INTERPRETER" - creates it if necessary
1312     */
1313    public CN getObr32_PRINCIPALRESULTINTERPRETER() { 
1314                CN retVal = this.getTypedField(32, 0);
1315                return retVal;
1316    }
1317
1318
1319
1320    /**
1321     * Returns
1322     * OBR-33: "ASSISTANT RESULT INTERPRETER" - creates it if necessary
1323     */
1324    public CN getASSISTANTRESULTINTERPRETER() { 
1325                CN retVal = this.getTypedField(33, 0);
1326                return retVal;
1327    }
1328    
1329    /**
1330     * Returns
1331     * OBR-33: "ASSISTANT RESULT INTERPRETER" - creates it if necessary
1332     */
1333    public CN getObr33_ASSISTANTRESULTINTERPRETER() { 
1334                CN retVal = this.getTypedField(33, 0);
1335                return retVal;
1336    }
1337
1338
1339
1340    /**
1341     * Returns
1342     * OBR-34: "TECHNICIAN" - creates it if necessary
1343     */
1344    public CN getTECHNICIAN() { 
1345                CN retVal = this.getTypedField(34, 0);
1346                return retVal;
1347    }
1348    
1349    /**
1350     * Returns
1351     * OBR-34: "TECHNICIAN" - creates it if necessary
1352     */
1353    public CN getObr34_TECHNICIAN() { 
1354                CN retVal = this.getTypedField(34, 0);
1355                return retVal;
1356    }
1357
1358
1359
1360    /**
1361     * Returns
1362     * OBR-35: "TRANSCRIPTIONIST" - creates it if necessary
1363     */
1364    public CN getTRANSCRIPTIONIST() { 
1365                CN retVal = this.getTypedField(35, 0);
1366                return retVal;
1367    }
1368    
1369    /**
1370     * Returns
1371     * OBR-35: "TRANSCRIPTIONIST" - creates it if necessary
1372     */
1373    public CN getObr35_TRANSCRIPTIONIST() { 
1374                CN retVal = this.getTypedField(35, 0);
1375                return retVal;
1376    }
1377
1378
1379
1380    /**
1381     * Returns
1382     * OBR-36: "SCHEDULED - DATE/TIME" - creates it if necessary
1383     */
1384    public TS getSCHEDULEDDATETIME() { 
1385                TS retVal = this.getTypedField(36, 0);
1386                return retVal;
1387    }
1388    
1389    /**
1390     * Returns
1391     * OBR-36: "SCHEDULED - DATE/TIME" - creates it if necessary
1392     */
1393    public TS getObr36_SCHEDULEDDATETIME() { 
1394                TS retVal = this.getTypedField(36, 0);
1395                return retVal;
1396    }
1397
1398
1399
1400
1401
1402    /** {@inheritDoc} */   
1403    protected Type createNewTypeWithoutReflection(int field) {
1404       switch (field) {
1405          case 0: return new SI(getMessage());
1406          case 1: return new CM(getMessage());
1407          case 2: return new CM(getMessage());
1408          case 3: return new CE(getMessage());
1409          case 4: return new ST(getMessage());
1410          case 5: return new TS(getMessage());
1411          case 6: return new TS(getMessage());
1412          case 7: return new TS(getMessage());
1413          case 8: return new CQ(getMessage());
1414          case 9: return new CN(getMessage());
1415          case 10: return new ST(getMessage());
1416          case 11: return new CM(getMessage());
1417          case 12: return new ST(getMessage());
1418          case 13: return new TS(getMessage());
1419          case 14: return new CM(getMessage());
1420          case 15: return new CN(getMessage());
1421          case 16: return new TN(getMessage());
1422          case 17: return new ST(getMessage());
1423          case 18: return new ST(getMessage());
1424          case 19: return new ST(getMessage());
1425          case 20: return new ST(getMessage());
1426          case 21: return new TS(getMessage());
1427          case 22: return new CM(getMessage());
1428          case 23: return new ID(getMessage(), new Integer( 74 ));
1429          case 24: return new ID(getMessage(), new Integer( 123 ));
1430          case 25: return new CE(getMessage());
1431          case 26: return new CM(getMessage());
1432          case 27: return new CN(getMessage());
1433          case 28: return new CM(getMessage());
1434          case 29: return new ID(getMessage(), new Integer( 124 ));
1435          case 30: return new CE(getMessage());
1436          case 31: return new CN(getMessage());
1437          case 32: return new CN(getMessage());
1438          case 33: return new CN(getMessage());
1439          case 34: return new CN(getMessage());
1440          case 35: return new TS(getMessage());
1441          default: return null;
1442       }
1443   }
1444
1445
1446}
1447