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