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.v23.segment;
35  
36  // import ca.uhn.hl7v2.model.v23.group.*;
37  import ca.uhn.hl7v2.model.v23.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 ORC message segment (Common order segment). 
50   * This segment has the following fields:</p>
51   * <ul>
52       * <li>ORC-1: Order Control (ID) <b> </b>
53       * <li>ORC-2: Placer Order Number (EI) <b>optional repeating</b>
54       * <li>ORC-3: Filler Order Number (EI) <b>optional </b>
55       * <li>ORC-4: Placer Group Number (EI) <b>optional </b>
56       * <li>ORC-5: Order Status (ID) <b>optional </b>
57       * <li>ORC-6: Response Flag (ID) <b>optional </b>
58       * <li>ORC-7: Quantity/Timing (TQ) <b> </b>
59       * <li>ORC-8: Parent Order (CM_EIP) <b>optional </b>
60       * <li>ORC-9: Date/Time of Transaction (TS) <b>optional </b>
61       * <li>ORC-10: Entered By (XCN) <b>optional </b>
62       * <li>ORC-11: Verified By (XCN) <b>optional </b>
63       * <li>ORC-12: Ordering Provider (XCN) <b>optional repeating</b>
64       * <li>ORC-13: Enterer's Location (PL) <b>optional </b>
65       * <li>ORC-14: Call Back Phone Number (XTN) <b>optional repeating</b>
66       * <li>ORC-15: Order Effective Date/Time (TS) <b>optional </b>
67       * <li>ORC-16: Order Control Code Reason (CE) <b>optional </b>
68       * <li>ORC-17: Entering Organization (CE) <b>optional </b>
69       * <li>ORC-18: Entering Device (CE) <b>optional </b>
70       * <li>ORC-19: Action By (XCN) <b>optional </b>
71   * </ul>
72   */
73  @SuppressWarnings("unused")
74  public class ORC extends AbstractSegment {
75  
76      /** 
77       * Creates a new ORC segment
78       */
79      public ORC(Group parent, ModelClassFactory factory) {
80         super(parent, factory);
81         init(factory);
82      }
83  
84      private void init(ModelClassFactory factory) {
85         try {
86                                                this.add(ID.class, true, 1, 2, new Object[]{ getMessage(), new Integer(119) }, "Order Control");
87                                    this.add(EI.class, false, 0, 22, new Object[]{ getMessage() }, "Placer Order Number");
88                                    this.add(EI.class, false, 1, 22, new Object[]{ getMessage() }, "Filler Order Number");
89                                    this.add(EI.class, false, 1, 22, new Object[]{ getMessage() }, "Placer Group Number");
90                                                this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(38) }, "Order Status");
91                                                this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(121) }, "Response Flag");
92                                    this.add(TQ.class, true, 1, 200, new Object[]{ getMessage() }, "Quantity/Timing");
93                                    this.add(CM_EIP.class, false, 1, 200, new Object[]{ getMessage() }, "Parent Order");
94                                    this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Date/Time of Transaction");
95                                    this.add(XCN.class, false, 1, 120, new Object[]{ getMessage() }, "Entered By");
96                                    this.add(XCN.class, false, 1, 120, new Object[]{ getMessage() }, "Verified By");
97                                    this.add(XCN.class, false, 0, 120, new Object[]{ getMessage() }, "Ordering Provider");
98                                    this.add(PL.class, false, 1, 80, new Object[]{ getMessage() }, "Enterer's Location");
99                                    this.add(XTN.class, false, 2, 40, new Object[]{ getMessage() }, "Call Back Phone Number");
100                                   this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Order Effective Date/Time");
101                                   this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Order Control Code Reason");
102                                   this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Entering Organization");
103                                   this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Entering Device");
104                                   this.add(XCN.class, false, 1, 120, new Object[]{ getMessage() }, "Action By");
105        } catch(HL7Exception e) {
106           log.error("Unexpected error creating ORC - this is probably a bug in the source code generator.", e);
107        }
108     }
109 
110 
111 
112     /**
113      * Returns
114      * ORC-1: "Order Control" - creates it if necessary
115      */
116     public ID getOrderControl() { 
117 		ID retVal = this.getTypedField(1, 0);
118 		return retVal;
119     }
120     
121     /**
122      * Returns
123      * ORC-1: "Order Control" - creates it if necessary
124      */
125     public ID getOrc1_OrderControl() { 
126 		ID retVal = this.getTypedField(1, 0);
127 		return retVal;
128     }
129 
130 
131     /**
132      * Returns all repetitions of Placer Order Number (ORC-2).
133      */
134     public EI[] getPlacerOrderNumber() {
135     	EI[] retVal = this.getTypedField(2, new EI[0]);
136     	return retVal;
137     }
138 
139 
140     /**
141      * Returns all repetitions of Placer Order Number (ORC-2).
142      */
143     public EI[] getOrc2_PlacerOrderNumber() {
144     	EI[] retVal = this.getTypedField(2, new EI[0]);
145     	return retVal;
146     }
147 
148 
149     /**
150      * Returns a count of the current number of repetitions of Placer Order Number (ORC-2).
151      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
152      * it will return zero.
153      */
154     public int getPlacerOrderNumberReps() {
155     	return this.getReps(2);
156     }
157 
158 
159     /**
160      * Returns a specific repetition of
161      * ORC-2: "Placer Order Number" - creates it if necessary
162      *
163      * @param rep The repetition index (0-indexed)
164      */
165     public EI getPlacerOrderNumber(int rep) { 
166 		EI retVal = this.getTypedField(2, rep);
167 		return retVal;
168     }
169 
170     /**
171      * Returns a specific repetition of
172      * ORC-2: "Placer Order Number" - creates it if necessary
173      *
174      * @param rep The repetition index (0-indexed)
175      */
176     public EI getOrc2_PlacerOrderNumber(int rep) { 
177 		EI retVal = this.getTypedField(2, rep);
178 		return retVal;
179     }
180 
181     /**
182      * Returns a count of the current number of repetitions of Placer Order Number (ORC-2).
183      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
184      * it will return zero.
185      */
186     public int getOrc2_PlacerOrderNumberReps() {
187     	return this.getReps(2);
188     }
189 
190 
191     /**
192      * Inserts a repetition of
193      * ORC-2: "Placer Order Number" at a specific index
194      *
195      * @param rep The repetition index (0-indexed)
196      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
197      */
198     public EI insertPlacerOrderNumber(int rep) throws HL7Exception { 
199         return (EI) super.insertRepetition(2, rep);
200     }
201 
202 
203     /**
204      * Inserts a repetition of
205      * ORC-2: "Placer Order Number" at a specific index
206      *
207      * @param rep The repetition index (0-indexed)
208      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
209      */
210     public EI insertOrc2_PlacerOrderNumber(int rep) throws HL7Exception { 
211         return (EI) super.insertRepetition(2, rep);
212     }
213 
214 
215     /**
216      * Removes a repetition of
217      * ORC-2: "Placer Order Number" at a specific index
218      *
219      * @param rep The repetition index (0-indexed)
220      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
221      */
222     public EI removePlacerOrderNumber(int rep) throws HL7Exception { 
223         return (EI) super.removeRepetition(2, rep);
224     }
225 
226 
227     /**
228      * Removes a repetition of
229      * ORC-2: "Placer Order Number" at a specific index
230      *
231      * @param rep The repetition index (0-indexed)
232      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
233      */
234     public EI removeOrc2_PlacerOrderNumber(int rep) throws HL7Exception { 
235         return (EI) super.removeRepetition(2, rep);
236     }
237 
238 
239 
240 
241     /**
242      * Returns
243      * ORC-3: "Filler Order Number" - creates it if necessary
244      */
245     public EI getFillerOrderNumber() { 
246 		EI retVal = this.getTypedField(3, 0);
247 		return retVal;
248     }
249     
250     /**
251      * Returns
252      * ORC-3: "Filler Order Number" - creates it if necessary
253      */
254     public EI getOrc3_FillerOrderNumber() { 
255 		EI retVal = this.getTypedField(3, 0);
256 		return retVal;
257     }
258 
259 
260 
261     /**
262      * Returns
263      * ORC-4: "Placer Group Number" - creates it if necessary
264      */
265     public EI getPlacerGroupNumber() { 
266 		EI retVal = this.getTypedField(4, 0);
267 		return retVal;
268     }
269     
270     /**
271      * Returns
272      * ORC-4: "Placer Group Number" - creates it if necessary
273      */
274     public EI getOrc4_PlacerGroupNumber() { 
275 		EI retVal = this.getTypedField(4, 0);
276 		return retVal;
277     }
278 
279 
280 
281     /**
282      * Returns
283      * ORC-5: "Order Status" - creates it if necessary
284      */
285     public ID getOrderStatus() { 
286 		ID retVal = this.getTypedField(5, 0);
287 		return retVal;
288     }
289     
290     /**
291      * Returns
292      * ORC-5: "Order Status" - creates it if necessary
293      */
294     public ID getOrc5_OrderStatus() { 
295 		ID retVal = this.getTypedField(5, 0);
296 		return retVal;
297     }
298 
299 
300 
301     /**
302      * Returns
303      * ORC-6: "Response Flag" - creates it if necessary
304      */
305     public ID getResponseFlag() { 
306 		ID retVal = this.getTypedField(6, 0);
307 		return retVal;
308     }
309     
310     /**
311      * Returns
312      * ORC-6: "Response Flag" - creates it if necessary
313      */
314     public ID getOrc6_ResponseFlag() { 
315 		ID retVal = this.getTypedField(6, 0);
316 		return retVal;
317     }
318 
319 
320 
321     /**
322      * Returns
323      * ORC-7: "Quantity/Timing" - creates it if necessary
324      */
325     public TQ getQuantityTiming() { 
326 		TQ retVal = this.getTypedField(7, 0);
327 		return retVal;
328     }
329     
330     /**
331      * Returns
332      * ORC-7: "Quantity/Timing" - creates it if necessary
333      */
334     public TQ getOrc7_QuantityTiming() { 
335 		TQ retVal = this.getTypedField(7, 0);
336 		return retVal;
337     }
338 
339 
340 
341     /**
342      * Returns
343      * ORC-8: "Parent Order" - creates it if necessary
344      */
345     public CM_EIP getParentOrder() { 
346 		CM_EIP retVal = this.getTypedField(8, 0);
347 		return retVal;
348     }
349     
350     /**
351      * Returns
352      * ORC-8: "Parent Order" - creates it if necessary
353      */
354     public CM_EIP getOrc8_ParentOrder() { 
355 		CM_EIP retVal = this.getTypedField(8, 0);
356 		return retVal;
357     }
358 
359 
360 
361     /**
362      * Returns
363      * ORC-9: "Date/Time of Transaction" - creates it if necessary
364      */
365     public TS getDateTimeOfTransaction() { 
366 		TS retVal = this.getTypedField(9, 0);
367 		return retVal;
368     }
369     
370     /**
371      * Returns
372      * ORC-9: "Date/Time of Transaction" - creates it if necessary
373      */
374     public TS getOrc9_DateTimeOfTransaction() { 
375 		TS retVal = this.getTypedField(9, 0);
376 		return retVal;
377     }
378 
379 
380 
381     /**
382      * Returns
383      * ORC-10: "Entered By" - creates it if necessary
384      */
385     public XCN getEnteredBy() { 
386 		XCN retVal = this.getTypedField(10, 0);
387 		return retVal;
388     }
389     
390     /**
391      * Returns
392      * ORC-10: "Entered By" - creates it if necessary
393      */
394     public XCN getOrc10_EnteredBy() { 
395 		XCN retVal = this.getTypedField(10, 0);
396 		return retVal;
397     }
398 
399 
400 
401     /**
402      * Returns
403      * ORC-11: "Verified By" - creates it if necessary
404      */
405     public XCN getVerifiedBy() { 
406 		XCN retVal = this.getTypedField(11, 0);
407 		return retVal;
408     }
409     
410     /**
411      * Returns
412      * ORC-11: "Verified By" - creates it if necessary
413      */
414     public XCN getOrc11_VerifiedBy() { 
415 		XCN retVal = this.getTypedField(11, 0);
416 		return retVal;
417     }
418 
419 
420     /**
421      * Returns all repetitions of Ordering Provider (ORC-12).
422      */
423     public XCN[] getOrderingProvider() {
424     	XCN[] retVal = this.getTypedField(12, new XCN[0]);
425     	return retVal;
426     }
427 
428 
429     /**
430      * Returns all repetitions of Ordering Provider (ORC-12).
431      */
432     public XCN[] getOrc12_OrderingProvider() {
433     	XCN[] retVal = this.getTypedField(12, new XCN[0]);
434     	return retVal;
435     }
436 
437 
438     /**
439      * Returns a count of the current number of repetitions of Ordering Provider (ORC-12).
440      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
441      * it will return zero.
442      */
443     public int getOrderingProviderReps() {
444     	return this.getReps(12);
445     }
446 
447 
448     /**
449      * Returns a specific repetition of
450      * ORC-12: "Ordering Provider" - creates it if necessary
451      *
452      * @param rep The repetition index (0-indexed)
453      */
454     public XCN getOrderingProvider(int rep) { 
455 		XCN retVal = this.getTypedField(12, rep);
456 		return retVal;
457     }
458 
459     /**
460      * Returns a specific repetition of
461      * ORC-12: "Ordering Provider" - creates it if necessary
462      *
463      * @param rep The repetition index (0-indexed)
464      */
465     public XCN getOrc12_OrderingProvider(int rep) { 
466 		XCN retVal = this.getTypedField(12, rep);
467 		return retVal;
468     }
469 
470     /**
471      * Returns a count of the current number of repetitions of Ordering Provider (ORC-12).
472      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
473      * it will return zero.
474      */
475     public int getOrc12_OrderingProviderReps() {
476     	return this.getReps(12);
477     }
478 
479 
480     /**
481      * Inserts a repetition of
482      * ORC-12: "Ordering Provider" at a specific index
483      *
484      * @param rep The repetition index (0-indexed)
485      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
486      */
487     public XCN insertOrderingProvider(int rep) throws HL7Exception { 
488         return (XCN) super.insertRepetition(12, rep);
489     }
490 
491 
492     /**
493      * Inserts a repetition of
494      * ORC-12: "Ordering Provider" at a specific index
495      *
496      * @param rep The repetition index (0-indexed)
497      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
498      */
499     public XCN insertOrc12_OrderingProvider(int rep) throws HL7Exception { 
500         return (XCN) super.insertRepetition(12, rep);
501     }
502 
503 
504     /**
505      * Removes a repetition of
506      * ORC-12: "Ordering Provider" at a specific index
507      *
508      * @param rep The repetition index (0-indexed)
509      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
510      */
511     public XCN removeOrderingProvider(int rep) throws HL7Exception { 
512         return (XCN) super.removeRepetition(12, rep);
513     }
514 
515 
516     /**
517      * Removes a repetition of
518      * ORC-12: "Ordering Provider" at a specific index
519      *
520      * @param rep The repetition index (0-indexed)
521      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
522      */
523     public XCN removeOrc12_OrderingProvider(int rep) throws HL7Exception { 
524         return (XCN) super.removeRepetition(12, rep);
525     }
526 
527 
528 
529 
530     /**
531      * Returns
532      * ORC-13: "Enterer's Location" - creates it if necessary
533      */
534     public PL getEntererSLocation() { 
535 		PL retVal = this.getTypedField(13, 0);
536 		return retVal;
537     }
538     
539     /**
540      * Returns
541      * ORC-13: "Enterer's Location" - creates it if necessary
542      */
543     public PL getOrc13_EntererSLocation() { 
544 		PL retVal = this.getTypedField(13, 0);
545 		return retVal;
546     }
547 
548 
549     /**
550      * Returns all repetitions of Call Back Phone Number (ORC-14).
551      */
552     public XTN[] getCallBackPhoneNumber() {
553     	XTN[] retVal = this.getTypedField(14, new XTN[0]);
554     	return retVal;
555     }
556 
557 
558     /**
559      * Returns all repetitions of Call Back Phone Number (ORC-14).
560      */
561     public XTN[] getOrc14_CallBackPhoneNumber() {
562     	XTN[] retVal = this.getTypedField(14, new XTN[0]);
563     	return retVal;
564     }
565 
566 
567     /**
568      * Returns a count of the current number of repetitions of Call Back Phone Number (ORC-14).
569      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
570      * it will return zero.
571      */
572     public int getCallBackPhoneNumberReps() {
573     	return this.getReps(14);
574     }
575 
576 
577     /**
578      * Returns a specific repetition of
579      * ORC-14: "Call Back Phone Number" - creates it if necessary
580      *
581      * @param rep The repetition index (0-indexed)
582      */
583     public XTN getCallBackPhoneNumber(int rep) { 
584 		XTN retVal = this.getTypedField(14, rep);
585 		return retVal;
586     }
587 
588     /**
589      * Returns a specific repetition of
590      * ORC-14: "Call Back Phone Number" - creates it if necessary
591      *
592      * @param rep The repetition index (0-indexed)
593      */
594     public XTN getOrc14_CallBackPhoneNumber(int rep) { 
595 		XTN retVal = this.getTypedField(14, rep);
596 		return retVal;
597     }
598 
599     /**
600      * Returns a count of the current number of repetitions of Call Back Phone Number (ORC-14).
601      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
602      * it will return zero.
603      */
604     public int getOrc14_CallBackPhoneNumberReps() {
605     	return this.getReps(14);
606     }
607 
608 
609     /**
610      * Inserts a repetition of
611      * ORC-14: "Call Back Phone Number" at a specific index
612      *
613      * @param rep The repetition index (0-indexed)
614      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
615      */
616     public XTN insertCallBackPhoneNumber(int rep) throws HL7Exception { 
617         return (XTN) super.insertRepetition(14, rep);
618     }
619 
620 
621     /**
622      * Inserts a repetition of
623      * ORC-14: "Call Back Phone Number" at a specific index
624      *
625      * @param rep The repetition index (0-indexed)
626      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
627      */
628     public XTN insertOrc14_CallBackPhoneNumber(int rep) throws HL7Exception { 
629         return (XTN) super.insertRepetition(14, rep);
630     }
631 
632 
633     /**
634      * Removes a repetition of
635      * ORC-14: "Call Back Phone Number" at a specific index
636      *
637      * @param rep The repetition index (0-indexed)
638      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
639      */
640     public XTN removeCallBackPhoneNumber(int rep) throws HL7Exception { 
641         return (XTN) super.removeRepetition(14, rep);
642     }
643 
644 
645     /**
646      * Removes a repetition of
647      * ORC-14: "Call Back Phone Number" at a specific index
648      *
649      * @param rep The repetition index (0-indexed)
650      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
651      */
652     public XTN removeOrc14_CallBackPhoneNumber(int rep) throws HL7Exception { 
653         return (XTN) super.removeRepetition(14, rep);
654     }
655 
656 
657 
658 
659     /**
660      * Returns
661      * ORC-15: "Order Effective Date/Time" - creates it if necessary
662      */
663     public TS getOrderEffectiveDateTime() { 
664 		TS retVal = this.getTypedField(15, 0);
665 		return retVal;
666     }
667     
668     /**
669      * Returns
670      * ORC-15: "Order Effective Date/Time" - creates it if necessary
671      */
672     public TS getOrc15_OrderEffectiveDateTime() { 
673 		TS retVal = this.getTypedField(15, 0);
674 		return retVal;
675     }
676 
677 
678 
679     /**
680      * Returns
681      * ORC-16: "Order Control Code Reason" - creates it if necessary
682      */
683     public CE getOrderControlCodeReason() { 
684 		CE retVal = this.getTypedField(16, 0);
685 		return retVal;
686     }
687     
688     /**
689      * Returns
690      * ORC-16: "Order Control Code Reason" - creates it if necessary
691      */
692     public CE getOrc16_OrderControlCodeReason() { 
693 		CE retVal = this.getTypedField(16, 0);
694 		return retVal;
695     }
696 
697 
698 
699     /**
700      * Returns
701      * ORC-17: "Entering Organization" - creates it if necessary
702      */
703     public CE getEnteringOrganization() { 
704 		CE retVal = this.getTypedField(17, 0);
705 		return retVal;
706     }
707     
708     /**
709      * Returns
710      * ORC-17: "Entering Organization" - creates it if necessary
711      */
712     public CE getOrc17_EnteringOrganization() { 
713 		CE retVal = this.getTypedField(17, 0);
714 		return retVal;
715     }
716 
717 
718 
719     /**
720      * Returns
721      * ORC-18: "Entering Device" - creates it if necessary
722      */
723     public CE getEnteringDevice() { 
724 		CE retVal = this.getTypedField(18, 0);
725 		return retVal;
726     }
727     
728     /**
729      * Returns
730      * ORC-18: "Entering Device" - creates it if necessary
731      */
732     public CE getOrc18_EnteringDevice() { 
733 		CE retVal = this.getTypedField(18, 0);
734 		return retVal;
735     }
736 
737 
738 
739     /**
740      * Returns
741      * ORC-19: "Action By" - creates it if necessary
742      */
743     public XCN getActionBy() { 
744 		XCN retVal = this.getTypedField(19, 0);
745 		return retVal;
746     }
747     
748     /**
749      * Returns
750      * ORC-19: "Action By" - creates it if necessary
751      */
752     public XCN getOrc19_ActionBy() { 
753 		XCN retVal = this.getTypedField(19, 0);
754 		return retVal;
755     }
756 
757 
758 
759 
760 
761     /** {@inheritDoc} */   
762     protected Type createNewTypeWithoutReflection(int field) {
763        switch (field) {
764           case 0: return new ID(getMessage(), new Integer( 119 ));
765           case 1: return new EI(getMessage());
766           case 2: return new EI(getMessage());
767           case 3: return new EI(getMessage());
768           case 4: return new ID(getMessage(), new Integer( 38 ));
769           case 5: return new ID(getMessage(), new Integer( 121 ));
770           case 6: return new TQ(getMessage());
771           case 7: return new CM_EIP(getMessage());
772           case 8: return new TS(getMessage());
773           case 9: return new XCN(getMessage());
774           case 10: return new XCN(getMessage());
775           case 11: return new XCN(getMessage());
776           case 12: return new PL(getMessage());
777           case 13: return new XTN(getMessage());
778           case 14: return new TS(getMessage());
779           case 15: return new CE(getMessage());
780           case 16: return new CE(getMessage());
781           case 17: return new CE(getMessage());
782           case 18: return new XCN(getMessage());
783           default: return null;
784        }
785    }
786 
787 
788 }
789