View Javadoc
1   /*
2    * This class is an auto-generated source file for a HAPI
3    * HL7 v2.x standard structure class.
4    *
5    * For more information, visit: http://hl7api.sourceforge.net/
6    * 
7    * The contents of this file are subject to the Mozilla Public License Version 1.1 
8    * (the "License"); you may not use this file except in compliance with the License. 
9    * You may obtain a copy of the License at http://www.mozilla.org/MPL/ 
10   * Software distributed under the License is distributed on an "AS IS" basis, 
11   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the 
12   * specific language governing rights and limitations under the License. 
13   * 
14   * The Original Code is "[file_name]".  Description: 
15   * "[one_line_description]" 
16   * 
17   * The Initial Developer of the Original Code is University Health Network. Copyright (C) 
18   * 2012.  All Rights Reserved. 
19   * 
20   * Contributor(s): ______________________________________. 
21   * 
22   * Alternatively, the contents of this file may be used under the terms of the 
23   * GNU General Public License (the  "GPL"), in which case the provisions of the GPL are 
24   * applicable instead of those above.  If you wish to allow use of your version of this 
25   * file only under the terms of the GPL and not to allow others to use your version 
26   * of this file under the MPL, indicate your decision by deleting  the provisions above 
27   * and replace  them with the notice and other provisions required by the GPL License.  
28   * If you do not delete the provisions above, a recipient may use your version of 
29   * this file under either the MPL or the GPL. 
30   * 
31   */
32  
33  
34  package ca.uhn.hl7v2.model.v28.segment;
35  
36  // import ca.uhn.hl7v2.model.v28.group.*;
37  import ca.uhn.hl7v2.model.v28.datatype.*;
38  import ca.uhn.hl7v2.HL7Exception;
39  import ca.uhn.hl7v2.parser.ModelClassFactory;
40  import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
41  import ca.uhn.hl7v2.model.AbstractMessage;
42  import ca.uhn.hl7v2.model.Group;
43  import ca.uhn.hl7v2.model.Type;
44  import ca.uhn.hl7v2.model.AbstractSegment;
45  import ca.uhn.hl7v2.model.Varies;
46  
47  
48  /**
49   *<p>Represents an HL7 SCD message segment (Anti-Microbial Cycle Data). 
50   * This segment has the following fields:</p>
51   * <ul>
52       * <li>SCD-1: Cycle Start Time (TM) <b>optional </b>
53       * <li>SCD-2: Cycle Count (NM) <b>optional </b>
54       * <li>SCD-3: Temp Max (CQ) <b>optional </b>
55       * <li>SCD-4: Temp Min (CQ) <b>optional </b>
56       * <li>SCD-5: Load Number (NM) <b>optional </b>
57       * <li>SCD-6: Condition Time (CQ) <b>optional </b>
58       * <li>SCD-7: Sterilize Time (CQ) <b>optional </b>
59       * <li>SCD-8: Exhaust Time (CQ) <b>optional </b>
60       * <li>SCD-9: Total Cycle Time (CQ) <b>optional </b>
61       * <li>SCD-10: Device Status (CWE) <b>optional </b>
62       * <li>SCD-11: Cycle Start Date/Time (DTM) <b>optional </b>
63       * <li>SCD-12: Dry Time (CQ) <b>optional </b>
64       * <li>SCD-13: Leak Rate (CQ) <b>optional </b>
65       * <li>SCD-14: Control Temperature (CQ) <b>optional </b>
66       * <li>SCD-15: Sterilizer Temperature (CQ) <b>optional </b>
67       * <li>SCD-16: Cycle Complete Time (TM) <b>optional </b>
68       * <li>SCD-17: Under Temperature (CQ) <b>optional </b>
69       * <li>SCD-18: Over Temperature (CQ) <b>optional </b>
70       * <li>SCD-19: Abort Cycle (CNE) <b>optional </b>
71       * <li>SCD-20: Alarm (CNE) <b>optional </b>
72       * <li>SCD-21: Long in Charge Phase (CNE) <b>optional </b>
73       * <li>SCD-22: Long in Exhaust Phase (CNE) <b>optional </b>
74       * <li>SCD-23: Long in Fast Exhaust Phase (CNE) <b>optional </b>
75       * <li>SCD-24: Reset (CNE) <b>optional </b>
76       * <li>SCD-25: Operator - Unload (XCN) <b>optional </b>
77       * <li>SCD-26: Door Open (CNE) <b>optional </b>
78       * <li>SCD-27: Reading Failure (CNE) <b>optional </b>
79       * <li>SCD-28: Cycle Type (CWE) <b>optional </b>
80       * <li>SCD-29: Thermal Rinse Time (CQ) <b>optional </b>
81       * <li>SCD-30: Wash Time (CQ) <b>optional </b>
82       * <li>SCD-31: Injection Rate (CQ) <b>optional </b>
83       * <li>SCD-32: Procedure Code (CNE) <b>optional </b>
84       * <li>SCD-33: Patient Identifier List (CX) <b>optional repeating</b>
85       * <li>SCD-34: Attending Doctor (XCN) <b>optional </b>
86       * <li>SCD-35: Dilution Factor (SN) <b>optional </b>
87       * <li>SCD-36: Fill Time (CQ) <b>optional </b>
88       * <li>SCD-37: Inlet Temperature (CQ) <b>optional </b>
89   * </ul>
90   */
91  @SuppressWarnings("unused")
92  public class SCD extends AbstractSegment {
93  
94      /** 
95       * Creates a new SCD segment
96       */
97      public SCD(Group parent, ModelClassFactory factory) {
98         super(parent, factory);
99         init(factory);
100     }
101 
102     private void init(ModelClassFactory factory) {
103        try {
104                                   this.add(TM.class, false, 1, 0, new Object[]{ getMessage() }, "Cycle Start Time");
105                                   this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Cycle Count");
106                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Temp Max");
107                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Temp Min");
108                                   this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Load Number");
109                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Condition Time");
110                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Sterilize Time");
111                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Exhaust Time");
112                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Total Cycle Time");
113                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Device Status");
114                                   this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Cycle Start Date/Time");
115                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Dry Time");
116                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Leak Rate");
117                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Control Temperature");
118                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Sterilizer Temperature");
119                                   this.add(TM.class, false, 1, 0, new Object[]{ getMessage() }, "Cycle Complete Time");
120                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Under Temperature");
121                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Over Temperature");
122                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Abort Cycle");
123                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Alarm");
124                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Long in Charge Phase");
125                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Long in Exhaust Phase");
126                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Long in Fast Exhaust Phase");
127                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Reset");
128                                   this.add(XCN.class, false, 1, 0, new Object[]{ getMessage() }, "Operator - Unload");
129                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Door Open");
130                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Reading Failure");
131                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Cycle Type");
132                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Thermal Rinse Time");
133                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Wash Time");
134                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Injection Rate");
135                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Procedure Code");
136                                   this.add(CX.class, false, 0, 0, new Object[]{ getMessage() }, "Patient Identifier List");
137                                   this.add(XCN.class, false, 1, 0, new Object[]{ getMessage() }, "Attending Doctor");
138                                   this.add(SN.class, false, 1, 0, new Object[]{ getMessage() }, "Dilution Factor");
139                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Fill Time");
140                                   this.add(CQ.class, false, 1, 0, new Object[]{ getMessage() }, "Inlet Temperature");
141        } catch(HL7Exception e) {
142           log.error("Unexpected error creating SCD - this is probably a bug in the source code generator.", e);
143        }
144     }
145 
146 
147 
148     /**
149      * Returns
150      * SCD-1: "Cycle Start Time" - creates it if necessary
151      */
152     public TM getCycleStartTime() { 
153 		TM retVal = this.getTypedField(1, 0);
154 		return retVal;
155     }
156     
157     /**
158      * Returns
159      * SCD-1: "Cycle Start Time" - creates it if necessary
160      */
161     public TM getScd1_CycleStartTime() { 
162 		TM retVal = this.getTypedField(1, 0);
163 		return retVal;
164     }
165 
166 
167 
168     /**
169      * Returns
170      * SCD-2: "Cycle Count" - creates it if necessary
171      */
172     public NM getCycleCount() { 
173 		NM retVal = this.getTypedField(2, 0);
174 		return retVal;
175     }
176     
177     /**
178      * Returns
179      * SCD-2: "Cycle Count" - creates it if necessary
180      */
181     public NM getScd2_CycleCount() { 
182 		NM retVal = this.getTypedField(2, 0);
183 		return retVal;
184     }
185 
186 
187 
188     /**
189      * Returns
190      * SCD-3: "Temp Max" - creates it if necessary
191      */
192     public CQ getTempMax() { 
193 		CQ retVal = this.getTypedField(3, 0);
194 		return retVal;
195     }
196     
197     /**
198      * Returns
199      * SCD-3: "Temp Max" - creates it if necessary
200      */
201     public CQ getScd3_TempMax() { 
202 		CQ retVal = this.getTypedField(3, 0);
203 		return retVal;
204     }
205 
206 
207 
208     /**
209      * Returns
210      * SCD-4: "Temp Min" - creates it if necessary
211      */
212     public CQ getTempMin() { 
213 		CQ retVal = this.getTypedField(4, 0);
214 		return retVal;
215     }
216     
217     /**
218      * Returns
219      * SCD-4: "Temp Min" - creates it if necessary
220      */
221     public CQ getScd4_TempMin() { 
222 		CQ retVal = this.getTypedField(4, 0);
223 		return retVal;
224     }
225 
226 
227 
228     /**
229      * Returns
230      * SCD-5: "Load Number" - creates it if necessary
231      */
232     public NM getLoadNumber() { 
233 		NM retVal = this.getTypedField(5, 0);
234 		return retVal;
235     }
236     
237     /**
238      * Returns
239      * SCD-5: "Load Number" - creates it if necessary
240      */
241     public NM getScd5_LoadNumber() { 
242 		NM retVal = this.getTypedField(5, 0);
243 		return retVal;
244     }
245 
246 
247 
248     /**
249      * Returns
250      * SCD-6: "Condition Time" - creates it if necessary
251      */
252     public CQ getConditionTime() { 
253 		CQ retVal = this.getTypedField(6, 0);
254 		return retVal;
255     }
256     
257     /**
258      * Returns
259      * SCD-6: "Condition Time" - creates it if necessary
260      */
261     public CQ getScd6_ConditionTime() { 
262 		CQ retVal = this.getTypedField(6, 0);
263 		return retVal;
264     }
265 
266 
267 
268     /**
269      * Returns
270      * SCD-7: "Sterilize Time" - creates it if necessary
271      */
272     public CQ getSterilizeTime() { 
273 		CQ retVal = this.getTypedField(7, 0);
274 		return retVal;
275     }
276     
277     /**
278      * Returns
279      * SCD-7: "Sterilize Time" - creates it if necessary
280      */
281     public CQ getScd7_SterilizeTime() { 
282 		CQ retVal = this.getTypedField(7, 0);
283 		return retVal;
284     }
285 
286 
287 
288     /**
289      * Returns
290      * SCD-8: "Exhaust Time" - creates it if necessary
291      */
292     public CQ getExhaustTime() { 
293 		CQ retVal = this.getTypedField(8, 0);
294 		return retVal;
295     }
296     
297     /**
298      * Returns
299      * SCD-8: "Exhaust Time" - creates it if necessary
300      */
301     public CQ getScd8_ExhaustTime() { 
302 		CQ retVal = this.getTypedField(8, 0);
303 		return retVal;
304     }
305 
306 
307 
308     /**
309      * Returns
310      * SCD-9: "Total Cycle Time" - creates it if necessary
311      */
312     public CQ getTotalCycleTime() { 
313 		CQ retVal = this.getTypedField(9, 0);
314 		return retVal;
315     }
316     
317     /**
318      * Returns
319      * SCD-9: "Total Cycle Time" - creates it if necessary
320      */
321     public CQ getScd9_TotalCycleTime() { 
322 		CQ retVal = this.getTypedField(9, 0);
323 		return retVal;
324     }
325 
326 
327 
328     /**
329      * Returns
330      * SCD-10: "Device Status" - creates it if necessary
331      */
332     public CWE getDeviceStatus() { 
333 		CWE retVal = this.getTypedField(10, 0);
334 		return retVal;
335     }
336     
337     /**
338      * Returns
339      * SCD-10: "Device Status" - creates it if necessary
340      */
341     public CWE getScd10_DeviceStatus() { 
342 		CWE retVal = this.getTypedField(10, 0);
343 		return retVal;
344     }
345 
346 
347 
348     /**
349      * Returns
350      * SCD-11: "Cycle Start Date/Time" - creates it if necessary
351      */
352     public DTM getCycleStartDateTime() { 
353 		DTM retVal = this.getTypedField(11, 0);
354 		return retVal;
355     }
356     
357     /**
358      * Returns
359      * SCD-11: "Cycle Start Date/Time" - creates it if necessary
360      */
361     public DTM getScd11_CycleStartDateTime() { 
362 		DTM retVal = this.getTypedField(11, 0);
363 		return retVal;
364     }
365 
366 
367 
368     /**
369      * Returns
370      * SCD-12: "Dry Time" - creates it if necessary
371      */
372     public CQ getDryTime() { 
373 		CQ retVal = this.getTypedField(12, 0);
374 		return retVal;
375     }
376     
377     /**
378      * Returns
379      * SCD-12: "Dry Time" - creates it if necessary
380      */
381     public CQ getScd12_DryTime() { 
382 		CQ retVal = this.getTypedField(12, 0);
383 		return retVal;
384     }
385 
386 
387 
388     /**
389      * Returns
390      * SCD-13: "Leak Rate" - creates it if necessary
391      */
392     public CQ getLeakRate() { 
393 		CQ retVal = this.getTypedField(13, 0);
394 		return retVal;
395     }
396     
397     /**
398      * Returns
399      * SCD-13: "Leak Rate" - creates it if necessary
400      */
401     public CQ getScd13_LeakRate() { 
402 		CQ retVal = this.getTypedField(13, 0);
403 		return retVal;
404     }
405 
406 
407 
408     /**
409      * Returns
410      * SCD-14: "Control Temperature" - creates it if necessary
411      */
412     public CQ getControlTemperature() { 
413 		CQ retVal = this.getTypedField(14, 0);
414 		return retVal;
415     }
416     
417     /**
418      * Returns
419      * SCD-14: "Control Temperature" - creates it if necessary
420      */
421     public CQ getScd14_ControlTemperature() { 
422 		CQ retVal = this.getTypedField(14, 0);
423 		return retVal;
424     }
425 
426 
427 
428     /**
429      * Returns
430      * SCD-15: "Sterilizer Temperature" - creates it if necessary
431      */
432     public CQ getSterilizerTemperature() { 
433 		CQ retVal = this.getTypedField(15, 0);
434 		return retVal;
435     }
436     
437     /**
438      * Returns
439      * SCD-15: "Sterilizer Temperature" - creates it if necessary
440      */
441     public CQ getScd15_SterilizerTemperature() { 
442 		CQ retVal = this.getTypedField(15, 0);
443 		return retVal;
444     }
445 
446 
447 
448     /**
449      * Returns
450      * SCD-16: "Cycle Complete Time" - creates it if necessary
451      */
452     public TM getCycleCompleteTime() { 
453 		TM retVal = this.getTypedField(16, 0);
454 		return retVal;
455     }
456     
457     /**
458      * Returns
459      * SCD-16: "Cycle Complete Time" - creates it if necessary
460      */
461     public TM getScd16_CycleCompleteTime() { 
462 		TM retVal = this.getTypedField(16, 0);
463 		return retVal;
464     }
465 
466 
467 
468     /**
469      * Returns
470      * SCD-17: "Under Temperature" - creates it if necessary
471      */
472     public CQ getUnderTemperature() { 
473 		CQ retVal = this.getTypedField(17, 0);
474 		return retVal;
475     }
476     
477     /**
478      * Returns
479      * SCD-17: "Under Temperature" - creates it if necessary
480      */
481     public CQ getScd17_UnderTemperature() { 
482 		CQ retVal = this.getTypedField(17, 0);
483 		return retVal;
484     }
485 
486 
487 
488     /**
489      * Returns
490      * SCD-18: "Over Temperature" - creates it if necessary
491      */
492     public CQ getOverTemperature() { 
493 		CQ retVal = this.getTypedField(18, 0);
494 		return retVal;
495     }
496     
497     /**
498      * Returns
499      * SCD-18: "Over Temperature" - creates it if necessary
500      */
501     public CQ getScd18_OverTemperature() { 
502 		CQ retVal = this.getTypedField(18, 0);
503 		return retVal;
504     }
505 
506 
507 
508     /**
509      * Returns
510      * SCD-19: "Abort Cycle" - creates it if necessary
511      */
512     public CNE getAbortCycle() { 
513 		CNE retVal = this.getTypedField(19, 0);
514 		return retVal;
515     }
516     
517     /**
518      * Returns
519      * SCD-19: "Abort Cycle" - creates it if necessary
520      */
521     public CNE getScd19_AbortCycle() { 
522 		CNE retVal = this.getTypedField(19, 0);
523 		return retVal;
524     }
525 
526 
527 
528     /**
529      * Returns
530      * SCD-20: "Alarm" - creates it if necessary
531      */
532     public CNE getAlarm() { 
533 		CNE retVal = this.getTypedField(20, 0);
534 		return retVal;
535     }
536     
537     /**
538      * Returns
539      * SCD-20: "Alarm" - creates it if necessary
540      */
541     public CNE getScd20_Alarm() { 
542 		CNE retVal = this.getTypedField(20, 0);
543 		return retVal;
544     }
545 
546 
547 
548     /**
549      * Returns
550      * SCD-21: "Long in Charge Phase" - creates it if necessary
551      */
552     public CNE getLongInChargePhase() { 
553 		CNE retVal = this.getTypedField(21, 0);
554 		return retVal;
555     }
556     
557     /**
558      * Returns
559      * SCD-21: "Long in Charge Phase" - creates it if necessary
560      */
561     public CNE getScd21_LongInChargePhase() { 
562 		CNE retVal = this.getTypedField(21, 0);
563 		return retVal;
564     }
565 
566 
567 
568     /**
569      * Returns
570      * SCD-22: "Long in Exhaust Phase" - creates it if necessary
571      */
572     public CNE getLongInExhaustPhase() { 
573 		CNE retVal = this.getTypedField(22, 0);
574 		return retVal;
575     }
576     
577     /**
578      * Returns
579      * SCD-22: "Long in Exhaust Phase" - creates it if necessary
580      */
581     public CNE getScd22_LongInExhaustPhase() { 
582 		CNE retVal = this.getTypedField(22, 0);
583 		return retVal;
584     }
585 
586 
587 
588     /**
589      * Returns
590      * SCD-23: "Long in Fast Exhaust Phase" - creates it if necessary
591      */
592     public CNE getLongInFastExhaustPhase() { 
593 		CNE retVal = this.getTypedField(23, 0);
594 		return retVal;
595     }
596     
597     /**
598      * Returns
599      * SCD-23: "Long in Fast Exhaust Phase" - creates it if necessary
600      */
601     public CNE getScd23_LongInFastExhaustPhase() { 
602 		CNE retVal = this.getTypedField(23, 0);
603 		return retVal;
604     }
605 
606 
607 
608     /**
609      * Returns
610      * SCD-24: "Reset" - creates it if necessary
611      */
612     public CNE getReset() { 
613 		CNE retVal = this.getTypedField(24, 0);
614 		return retVal;
615     }
616     
617     /**
618      * Returns
619      * SCD-24: "Reset" - creates it if necessary
620      */
621     public CNE getScd24_Reset() { 
622 		CNE retVal = this.getTypedField(24, 0);
623 		return retVal;
624     }
625 
626 
627 
628     /**
629      * Returns
630      * SCD-25: "Operator - Unload" - creates it if necessary
631      */
632     public XCN getOperatorUnload() { 
633 		XCN retVal = this.getTypedField(25, 0);
634 		return retVal;
635     }
636     
637     /**
638      * Returns
639      * SCD-25: "Operator - Unload" - creates it if necessary
640      */
641     public XCN getScd25_OperatorUnload() { 
642 		XCN retVal = this.getTypedField(25, 0);
643 		return retVal;
644     }
645 
646 
647 
648     /**
649      * Returns
650      * SCD-26: "Door Open" - creates it if necessary
651      */
652     public CNE getDoorOpen() { 
653 		CNE retVal = this.getTypedField(26, 0);
654 		return retVal;
655     }
656     
657     /**
658      * Returns
659      * SCD-26: "Door Open" - creates it if necessary
660      */
661     public CNE getScd26_DoorOpen() { 
662 		CNE retVal = this.getTypedField(26, 0);
663 		return retVal;
664     }
665 
666 
667 
668     /**
669      * Returns
670      * SCD-27: "Reading Failure" - creates it if necessary
671      */
672     public CNE getReadingFailure() { 
673 		CNE retVal = this.getTypedField(27, 0);
674 		return retVal;
675     }
676     
677     /**
678      * Returns
679      * SCD-27: "Reading Failure" - creates it if necessary
680      */
681     public CNE getScd27_ReadingFailure() { 
682 		CNE retVal = this.getTypedField(27, 0);
683 		return retVal;
684     }
685 
686 
687 
688     /**
689      * Returns
690      * SCD-28: "Cycle Type" - creates it if necessary
691      */
692     public CWE getCycleType() { 
693 		CWE retVal = this.getTypedField(28, 0);
694 		return retVal;
695     }
696     
697     /**
698      * Returns
699      * SCD-28: "Cycle Type" - creates it if necessary
700      */
701     public CWE getScd28_CycleType() { 
702 		CWE retVal = this.getTypedField(28, 0);
703 		return retVal;
704     }
705 
706 
707 
708     /**
709      * Returns
710      * SCD-29: "Thermal Rinse Time" - creates it if necessary
711      */
712     public CQ getThermalRinseTime() { 
713 		CQ retVal = this.getTypedField(29, 0);
714 		return retVal;
715     }
716     
717     /**
718      * Returns
719      * SCD-29: "Thermal Rinse Time" - creates it if necessary
720      */
721     public CQ getScd29_ThermalRinseTime() { 
722 		CQ retVal = this.getTypedField(29, 0);
723 		return retVal;
724     }
725 
726 
727 
728     /**
729      * Returns
730      * SCD-30: "Wash Time" - creates it if necessary
731      */
732     public CQ getWashTime() { 
733 		CQ retVal = this.getTypedField(30, 0);
734 		return retVal;
735     }
736     
737     /**
738      * Returns
739      * SCD-30: "Wash Time" - creates it if necessary
740      */
741     public CQ getScd30_WashTime() { 
742 		CQ retVal = this.getTypedField(30, 0);
743 		return retVal;
744     }
745 
746 
747 
748     /**
749      * Returns
750      * SCD-31: "Injection Rate" - creates it if necessary
751      */
752     public CQ getInjectionRate() { 
753 		CQ retVal = this.getTypedField(31, 0);
754 		return retVal;
755     }
756     
757     /**
758      * Returns
759      * SCD-31: "Injection Rate" - creates it if necessary
760      */
761     public CQ getScd31_InjectionRate() { 
762 		CQ retVal = this.getTypedField(31, 0);
763 		return retVal;
764     }
765 
766 
767 
768     /**
769      * Returns
770      * SCD-32: "Procedure Code" - creates it if necessary
771      */
772     public CNE getProcedureCode() { 
773 		CNE retVal = this.getTypedField(32, 0);
774 		return retVal;
775     }
776     
777     /**
778      * Returns
779      * SCD-32: "Procedure Code" - creates it if necessary
780      */
781     public CNE getScd32_ProcedureCode() { 
782 		CNE retVal = this.getTypedField(32, 0);
783 		return retVal;
784     }
785 
786 
787     /**
788      * Returns all repetitions of Patient Identifier List (SCD-33).
789      */
790     public CX[] getPatientIdentifierList() {
791     	CX[] retVal = this.getTypedField(33, new CX[0]);
792     	return retVal;
793     }
794 
795 
796     /**
797      * Returns all repetitions of Patient Identifier List (SCD-33).
798      */
799     public CX[] getScd33_PatientIdentifierList() {
800     	CX[] retVal = this.getTypedField(33, new CX[0]);
801     	return retVal;
802     }
803 
804 
805     /**
806      * Returns a count of the current number of repetitions of Patient Identifier List (SCD-33).
807      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
808      * it will return zero.
809      */
810     public int getPatientIdentifierListReps() {
811     	return this.getReps(33);
812     }
813 
814 
815     /**
816      * Returns a specific repetition of
817      * SCD-33: "Patient Identifier List" - creates it if necessary
818      *
819      * @param rep The repetition index (0-indexed)
820      */
821     public CX getPatientIdentifierList(int rep) { 
822 		CX retVal = this.getTypedField(33, rep);
823 		return retVal;
824     }
825 
826     /**
827      * Returns a specific repetition of
828      * SCD-33: "Patient Identifier List" - creates it if necessary
829      *
830      * @param rep The repetition index (0-indexed)
831      */
832     public CX getScd33_PatientIdentifierList(int rep) { 
833 		CX retVal = this.getTypedField(33, rep);
834 		return retVal;
835     }
836 
837     /**
838      * Returns a count of the current number of repetitions of Patient Identifier List (SCD-33).
839      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
840      * it will return zero.
841      */
842     public int getScd33_PatientIdentifierListReps() {
843     	return this.getReps(33);
844     }
845 
846 
847     /**
848      * Inserts a repetition of
849      * SCD-33: "Patient Identifier List" at a specific index
850      *
851      * @param rep The repetition index (0-indexed)
852      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
853      */
854     public CX insertPatientIdentifierList(int rep) throws HL7Exception { 
855         return (CX) super.insertRepetition(33, rep);
856     }
857 
858 
859     /**
860      * Inserts a repetition of
861      * SCD-33: "Patient Identifier List" at a specific index
862      *
863      * @param rep The repetition index (0-indexed)
864      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
865      */
866     public CX insertScd33_PatientIdentifierList(int rep) throws HL7Exception { 
867         return (CX) super.insertRepetition(33, rep);
868     }
869 
870 
871     /**
872      * Removes a repetition of
873      * SCD-33: "Patient Identifier List" at a specific index
874      *
875      * @param rep The repetition index (0-indexed)
876      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
877      */
878     public CX removePatientIdentifierList(int rep) throws HL7Exception { 
879         return (CX) super.removeRepetition(33, rep);
880     }
881 
882 
883     /**
884      * Removes a repetition of
885      * SCD-33: "Patient Identifier List" at a specific index
886      *
887      * @param rep The repetition index (0-indexed)
888      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
889      */
890     public CX removeScd33_PatientIdentifierList(int rep) throws HL7Exception { 
891         return (CX) super.removeRepetition(33, rep);
892     }
893 
894 
895 
896 
897     /**
898      * Returns
899      * SCD-34: "Attending Doctor" - creates it if necessary
900      */
901     public XCN getAttendingDoctor() { 
902 		XCN retVal = this.getTypedField(34, 0);
903 		return retVal;
904     }
905     
906     /**
907      * Returns
908      * SCD-34: "Attending Doctor" - creates it if necessary
909      */
910     public XCN getScd34_AttendingDoctor() { 
911 		XCN retVal = this.getTypedField(34, 0);
912 		return retVal;
913     }
914 
915 
916 
917     /**
918      * Returns
919      * SCD-35: "Dilution Factor" - creates it if necessary
920      */
921     public SN getDilutionFactor() { 
922 		SN retVal = this.getTypedField(35, 0);
923 		return retVal;
924     }
925     
926     /**
927      * Returns
928      * SCD-35: "Dilution Factor" - creates it if necessary
929      */
930     public SN getScd35_DilutionFactor() { 
931 		SN retVal = this.getTypedField(35, 0);
932 		return retVal;
933     }
934 
935 
936 
937     /**
938      * Returns
939      * SCD-36: "Fill Time" - creates it if necessary
940      */
941     public CQ getFillTime() { 
942 		CQ retVal = this.getTypedField(36, 0);
943 		return retVal;
944     }
945     
946     /**
947      * Returns
948      * SCD-36: "Fill Time" - creates it if necessary
949      */
950     public CQ getScd36_FillTime() { 
951 		CQ retVal = this.getTypedField(36, 0);
952 		return retVal;
953     }
954 
955 
956 
957     /**
958      * Returns
959      * SCD-37: "Inlet Temperature" - creates it if necessary
960      */
961     public CQ getInletTemperature() { 
962 		CQ retVal = this.getTypedField(37, 0);
963 		return retVal;
964     }
965     
966     /**
967      * Returns
968      * SCD-37: "Inlet Temperature" - creates it if necessary
969      */
970     public CQ getScd37_InletTemperature() { 
971 		CQ retVal = this.getTypedField(37, 0);
972 		return retVal;
973     }
974 
975 
976 
977 
978 
979     /** {@inheritDoc} */   
980     protected Type createNewTypeWithoutReflection(int field) {
981        switch (field) {
982           case 0: return new TM(getMessage());
983           case 1: return new NM(getMessage());
984           case 2: return new CQ(getMessage());
985           case 3: return new CQ(getMessage());
986           case 4: return new NM(getMessage());
987           case 5: return new CQ(getMessage());
988           case 6: return new CQ(getMessage());
989           case 7: return new CQ(getMessage());
990           case 8: return new CQ(getMessage());
991           case 9: return new CWE(getMessage());
992           case 10: return new DTM(getMessage());
993           case 11: return new CQ(getMessage());
994           case 12: return new CQ(getMessage());
995           case 13: return new CQ(getMessage());
996           case 14: return new CQ(getMessage());
997           case 15: return new TM(getMessage());
998           case 16: return new CQ(getMessage());
999           case 17: return new CQ(getMessage());
1000           case 18: return new CNE(getMessage());
1001           case 19: return new CNE(getMessage());
1002           case 20: return new CNE(getMessage());
1003           case 21: return new CNE(getMessage());
1004           case 22: return new CNE(getMessage());
1005           case 23: return new CNE(getMessage());
1006           case 24: return new XCN(getMessage());
1007           case 25: return new CNE(getMessage());
1008           case 26: return new CNE(getMessage());
1009           case 27: return new CWE(getMessage());
1010           case 28: return new CQ(getMessage());
1011           case 29: return new CQ(getMessage());
1012           case 30: return new CQ(getMessage());
1013           case 31: return new CNE(getMessage());
1014           case 32: return new CX(getMessage());
1015           case 33: return new XCN(getMessage());
1016           case 34: return new SN(getMessage());
1017           case 35: return new CQ(getMessage());
1018           case 36: return new CQ(getMessage());
1019           default: return null;
1020        }
1021    }
1022 
1023 
1024 }
1025