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 IVT message segment (Material Location). 
50   * This segment has the following fields:</p>
51   * <ul>
52       * <li>IVT-1: Set Id - IVT (SI) <b> </b>
53       * <li>IVT-2: Inventory Location Identifier (EI) <b> </b>
54       * <li>IVT-3: Inventory Location Name (ST) <b>optional </b>
55       * <li>IVT-4: Source Location Identifier (EI) <b>optional </b>
56       * <li>IVT-5: Source Location Name (ST) <b>optional </b>
57       * <li>IVT-6: Item Status (CWE) <b>optional </b>
58       * <li>IVT-7: Bin Location Identifier (EI) <b>optional repeating</b>
59       * <li>IVT-8: Order Packaging (CWE) <b>optional </b>
60       * <li>IVT-9: Issue Packaging (CWE) <b>optional </b>
61       * <li>IVT-10: Default Inventory Asset Account (EI) <b>optional </b>
62       * <li>IVT-11: Patient Chargeable Indicator (CNE) <b>optional </b>
63       * <li>IVT-12: Transaction Code (CWE) <b>optional </b>
64       * <li>IVT-13: Transaction amount - unit (CP) <b>optional </b>
65       * <li>IVT-14: Item Importance Code (CWE) <b>optional </b>
66       * <li>IVT-15: Stocked Item Indicator (CNE) <b>optional </b>
67       * <li>IVT-16: Consignment Item Indicator (CNE) <b>optional </b>
68       * <li>IVT-17: Reusable Item Indicator (CNE) <b>optional </b>
69       * <li>IVT-18: Reusable Cost (CP) <b>optional </b>
70       * <li>IVT-19: Substitute Item Identifier (EI) <b>optional repeating</b>
71       * <li>IVT-20: Latex-Free Substitute Item Identifier (EI) <b>optional </b>
72       * <li>IVT-21: Recommended Reorder Theory (CWE) <b>optional </b>
73       * <li>IVT-22: Recommended Safety Stock Days (NM) <b>optional </b>
74       * <li>IVT-23: Recommended Maximum Days Inventory (NM) <b>optional </b>
75       * <li>IVT-24: Recommended Order Point (NM) <b>optional </b>
76       * <li>IVT-25: Recommended Order Amount (NM) <b>optional </b>
77       * <li>IVT-26: Operating Room Par Level Indicator (CNE) <b>optional </b>
78   * </ul>
79   */
80  @SuppressWarnings("unused")
81  public class IVT extends AbstractSegment {
82  
83      /** 
84       * Creates a new IVT segment
85       */
86      public IVT(Group parent, ModelClassFactory factory) {
87         super(parent, factory);
88         init(factory);
89      }
90  
91      private void init(ModelClassFactory factory) {
92         try {
93                                    this.add(SI.class, true, 1, 4, new Object[]{ getMessage() }, "Set Id - IVT");
94                                    this.add(EI.class, true, 1, 0, new Object[]{ getMessage() }, "Inventory Location Identifier");
95                                    this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Inventory Location Name");
96                                    this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Source Location Identifier");
97                                    this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Source Location Name");
98                                    this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Item Status");
99                                    this.add(EI.class, false, 0, 0, new Object[]{ getMessage() }, "Bin Location Identifier");
100                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Order Packaging");
101                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Issue Packaging");
102                                   this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Default Inventory Asset Account");
103                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Patient Chargeable Indicator");
104                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Transaction Code");
105                                   this.add(CP.class, false, 1, 0, new Object[]{ getMessage() }, "Transaction amount - unit");
106                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Item Importance Code");
107                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Stocked Item Indicator");
108                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Consignment Item Indicator");
109                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Reusable Item Indicator");
110                                   this.add(CP.class, false, 1, 0, new Object[]{ getMessage() }, "Reusable Cost");
111                                   this.add(EI.class, false, 0, 0, new Object[]{ getMessage() }, "Substitute Item Identifier");
112                                   this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Latex-Free Substitute Item Identifier");
113                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Recommended Reorder Theory");
114                                   this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Recommended Safety Stock Days");
115                                   this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Recommended Maximum Days Inventory");
116                                   this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Recommended Order Point");
117                                   this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Recommended Order Amount");
118                                   this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Operating Room Par Level Indicator");
119        } catch(HL7Exception e) {
120           log.error("Unexpected error creating IVT - this is probably a bug in the source code generator.", e);
121        }
122     }
123 
124 
125 
126     /**
127      * Returns
128      * IVT-1: "Set Id - IVT" - creates it if necessary
129      */
130     public SI getSetIdIVT() { 
131 		SI retVal = this.getTypedField(1, 0);
132 		return retVal;
133     }
134     
135     /**
136      * Returns
137      * IVT-1: "Set Id - IVT" - creates it if necessary
138      */
139     public SI getIvt1_SetIdIVT() { 
140 		SI retVal = this.getTypedField(1, 0);
141 		return retVal;
142     }
143 
144 
145 
146     /**
147      * Returns
148      * IVT-2: "Inventory Location Identifier" - creates it if necessary
149      */
150     public EI getInventoryLocationIdentifier() { 
151 		EI retVal = this.getTypedField(2, 0);
152 		return retVal;
153     }
154     
155     /**
156      * Returns
157      * IVT-2: "Inventory Location Identifier" - creates it if necessary
158      */
159     public EI getIvt2_InventoryLocationIdentifier() { 
160 		EI retVal = this.getTypedField(2, 0);
161 		return retVal;
162     }
163 
164 
165 
166     /**
167      * Returns
168      * IVT-3: "Inventory Location Name" - creates it if necessary
169      */
170     public ST getInventoryLocationName() { 
171 		ST retVal = this.getTypedField(3, 0);
172 		return retVal;
173     }
174     
175     /**
176      * Returns
177      * IVT-3: "Inventory Location Name" - creates it if necessary
178      */
179     public ST getIvt3_InventoryLocationName() { 
180 		ST retVal = this.getTypedField(3, 0);
181 		return retVal;
182     }
183 
184 
185 
186     /**
187      * Returns
188      * IVT-4: "Source Location Identifier" - creates it if necessary
189      */
190     public EI getSourceLocationIdentifier() { 
191 		EI retVal = this.getTypedField(4, 0);
192 		return retVal;
193     }
194     
195     /**
196      * Returns
197      * IVT-4: "Source Location Identifier" - creates it if necessary
198      */
199     public EI getIvt4_SourceLocationIdentifier() { 
200 		EI retVal = this.getTypedField(4, 0);
201 		return retVal;
202     }
203 
204 
205 
206     /**
207      * Returns
208      * IVT-5: "Source Location Name" - creates it if necessary
209      */
210     public ST getSourceLocationName() { 
211 		ST retVal = this.getTypedField(5, 0);
212 		return retVal;
213     }
214     
215     /**
216      * Returns
217      * IVT-5: "Source Location Name" - creates it if necessary
218      */
219     public ST getIvt5_SourceLocationName() { 
220 		ST retVal = this.getTypedField(5, 0);
221 		return retVal;
222     }
223 
224 
225 
226     /**
227      * Returns
228      * IVT-6: "Item Status" - creates it if necessary
229      */
230     public CWE getItemStatus() { 
231 		CWE retVal = this.getTypedField(6, 0);
232 		return retVal;
233     }
234     
235     /**
236      * Returns
237      * IVT-6: "Item Status" - creates it if necessary
238      */
239     public CWE getIvt6_ItemStatus() { 
240 		CWE retVal = this.getTypedField(6, 0);
241 		return retVal;
242     }
243 
244 
245     /**
246      * Returns all repetitions of Bin Location Identifier (IVT-7).
247      */
248     public EI[] getBinLocationIdentifier() {
249     	EI[] retVal = this.getTypedField(7, new EI[0]);
250     	return retVal;
251     }
252 
253 
254     /**
255      * Returns all repetitions of Bin Location Identifier (IVT-7).
256      */
257     public EI[] getIvt7_BinLocationIdentifier() {
258     	EI[] retVal = this.getTypedField(7, new EI[0]);
259     	return retVal;
260     }
261 
262 
263     /**
264      * Returns a count of the current number of repetitions of Bin Location Identifier (IVT-7).
265      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
266      * it will return zero.
267      */
268     public int getBinLocationIdentifierReps() {
269     	return this.getReps(7);
270     }
271 
272 
273     /**
274      * Returns a specific repetition of
275      * IVT-7: "Bin Location Identifier" - creates it if necessary
276      *
277      * @param rep The repetition index (0-indexed)
278      */
279     public EI getBinLocationIdentifier(int rep) { 
280 		EI retVal = this.getTypedField(7, rep);
281 		return retVal;
282     }
283 
284     /**
285      * Returns a specific repetition of
286      * IVT-7: "Bin Location Identifier" - creates it if necessary
287      *
288      * @param rep The repetition index (0-indexed)
289      */
290     public EI getIvt7_BinLocationIdentifier(int rep) { 
291 		EI retVal = this.getTypedField(7, rep);
292 		return retVal;
293     }
294 
295     /**
296      * Returns a count of the current number of repetitions of Bin Location Identifier (IVT-7).
297      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
298      * it will return zero.
299      */
300     public int getIvt7_BinLocationIdentifierReps() {
301     	return this.getReps(7);
302     }
303 
304 
305     /**
306      * Inserts a repetition of
307      * IVT-7: "Bin Location Identifier" at a specific index
308      *
309      * @param rep The repetition index (0-indexed)
310      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
311      */
312     public EI insertBinLocationIdentifier(int rep) throws HL7Exception { 
313         return (EI) super.insertRepetition(7, rep);
314     }
315 
316 
317     /**
318      * Inserts a repetition of
319      * IVT-7: "Bin Location Identifier" at a specific index
320      *
321      * @param rep The repetition index (0-indexed)
322      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
323      */
324     public EI insertIvt7_BinLocationIdentifier(int rep) throws HL7Exception { 
325         return (EI) super.insertRepetition(7, rep);
326     }
327 
328 
329     /**
330      * Removes a repetition of
331      * IVT-7: "Bin Location Identifier" at a specific index
332      *
333      * @param rep The repetition index (0-indexed)
334      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
335      */
336     public EI removeBinLocationIdentifier(int rep) throws HL7Exception { 
337         return (EI) super.removeRepetition(7, rep);
338     }
339 
340 
341     /**
342      * Removes a repetition of
343      * IVT-7: "Bin Location Identifier" at a specific index
344      *
345      * @param rep The repetition index (0-indexed)
346      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
347      */
348     public EI removeIvt7_BinLocationIdentifier(int rep) throws HL7Exception { 
349         return (EI) super.removeRepetition(7, rep);
350     }
351 
352 
353 
354 
355     /**
356      * Returns
357      * IVT-8: "Order Packaging" - creates it if necessary
358      */
359     public CWE getOrderPackaging() { 
360 		CWE retVal = this.getTypedField(8, 0);
361 		return retVal;
362     }
363     
364     /**
365      * Returns
366      * IVT-8: "Order Packaging" - creates it if necessary
367      */
368     public CWE getIvt8_OrderPackaging() { 
369 		CWE retVal = this.getTypedField(8, 0);
370 		return retVal;
371     }
372 
373 
374 
375     /**
376      * Returns
377      * IVT-9: "Issue Packaging" - creates it if necessary
378      */
379     public CWE getIssuePackaging() { 
380 		CWE retVal = this.getTypedField(9, 0);
381 		return retVal;
382     }
383     
384     /**
385      * Returns
386      * IVT-9: "Issue Packaging" - creates it if necessary
387      */
388     public CWE getIvt9_IssuePackaging() { 
389 		CWE retVal = this.getTypedField(9, 0);
390 		return retVal;
391     }
392 
393 
394 
395     /**
396      * Returns
397      * IVT-10: "Default Inventory Asset Account" - creates it if necessary
398      */
399     public EI getDefaultInventoryAssetAccount() { 
400 		EI retVal = this.getTypedField(10, 0);
401 		return retVal;
402     }
403     
404     /**
405      * Returns
406      * IVT-10: "Default Inventory Asset Account" - creates it if necessary
407      */
408     public EI getIvt10_DefaultInventoryAssetAccount() { 
409 		EI retVal = this.getTypedField(10, 0);
410 		return retVal;
411     }
412 
413 
414 
415     /**
416      * Returns
417      * IVT-11: "Patient Chargeable Indicator" - creates it if necessary
418      */
419     public CNE getPatientChargeableIndicator() { 
420 		CNE retVal = this.getTypedField(11, 0);
421 		return retVal;
422     }
423     
424     /**
425      * Returns
426      * IVT-11: "Patient Chargeable Indicator" - creates it if necessary
427      */
428     public CNE getIvt11_PatientChargeableIndicator() { 
429 		CNE retVal = this.getTypedField(11, 0);
430 		return retVal;
431     }
432 
433 
434 
435     /**
436      * Returns
437      * IVT-12: "Transaction Code" - creates it if necessary
438      */
439     public CWE getTransactionCode() { 
440 		CWE retVal = this.getTypedField(12, 0);
441 		return retVal;
442     }
443     
444     /**
445      * Returns
446      * IVT-12: "Transaction Code" - creates it if necessary
447      */
448     public CWE getIvt12_TransactionCode() { 
449 		CWE retVal = this.getTypedField(12, 0);
450 		return retVal;
451     }
452 
453 
454 
455     /**
456      * Returns
457      * IVT-13: "Transaction amount - unit" - creates it if necessary
458      */
459     public CP getTransactionAmountUnit() { 
460 		CP retVal = this.getTypedField(13, 0);
461 		return retVal;
462     }
463     
464     /**
465      * Returns
466      * IVT-13: "Transaction amount - unit" - creates it if necessary
467      */
468     public CP getIvt13_TransactionAmountUnit() { 
469 		CP retVal = this.getTypedField(13, 0);
470 		return retVal;
471     }
472 
473 
474 
475     /**
476      * Returns
477      * IVT-14: "Item Importance Code" - creates it if necessary
478      */
479     public CWE getItemImportanceCode() { 
480 		CWE retVal = this.getTypedField(14, 0);
481 		return retVal;
482     }
483     
484     /**
485      * Returns
486      * IVT-14: "Item Importance Code" - creates it if necessary
487      */
488     public CWE getIvt14_ItemImportanceCode() { 
489 		CWE retVal = this.getTypedField(14, 0);
490 		return retVal;
491     }
492 
493 
494 
495     /**
496      * Returns
497      * IVT-15: "Stocked Item Indicator" - creates it if necessary
498      */
499     public CNE getStockedItemIndicator() { 
500 		CNE retVal = this.getTypedField(15, 0);
501 		return retVal;
502     }
503     
504     /**
505      * Returns
506      * IVT-15: "Stocked Item Indicator" - creates it if necessary
507      */
508     public CNE getIvt15_StockedItemIndicator() { 
509 		CNE retVal = this.getTypedField(15, 0);
510 		return retVal;
511     }
512 
513 
514 
515     /**
516      * Returns
517      * IVT-16: "Consignment Item Indicator" - creates it if necessary
518      */
519     public CNE getConsignmentItemIndicator() { 
520 		CNE retVal = this.getTypedField(16, 0);
521 		return retVal;
522     }
523     
524     /**
525      * Returns
526      * IVT-16: "Consignment Item Indicator" - creates it if necessary
527      */
528     public CNE getIvt16_ConsignmentItemIndicator() { 
529 		CNE retVal = this.getTypedField(16, 0);
530 		return retVal;
531     }
532 
533 
534 
535     /**
536      * Returns
537      * IVT-17: "Reusable Item Indicator" - creates it if necessary
538      */
539     public CNE getReusableItemIndicator() { 
540 		CNE retVal = this.getTypedField(17, 0);
541 		return retVal;
542     }
543     
544     /**
545      * Returns
546      * IVT-17: "Reusable Item Indicator" - creates it if necessary
547      */
548     public CNE getIvt17_ReusableItemIndicator() { 
549 		CNE retVal = this.getTypedField(17, 0);
550 		return retVal;
551     }
552 
553 
554 
555     /**
556      * Returns
557      * IVT-18: "Reusable Cost" - creates it if necessary
558      */
559     public CP getReusableCost() { 
560 		CP retVal = this.getTypedField(18, 0);
561 		return retVal;
562     }
563     
564     /**
565      * Returns
566      * IVT-18: "Reusable Cost" - creates it if necessary
567      */
568     public CP getIvt18_ReusableCost() { 
569 		CP retVal = this.getTypedField(18, 0);
570 		return retVal;
571     }
572 
573 
574     /**
575      * Returns all repetitions of Substitute Item Identifier (IVT-19).
576      */
577     public EI[] getSubstituteItemIdentifier() {
578     	EI[] retVal = this.getTypedField(19, new EI[0]);
579     	return retVal;
580     }
581 
582 
583     /**
584      * Returns all repetitions of Substitute Item Identifier (IVT-19).
585      */
586     public EI[] getIvt19_SubstituteItemIdentifier() {
587     	EI[] retVal = this.getTypedField(19, new EI[0]);
588     	return retVal;
589     }
590 
591 
592     /**
593      * Returns a count of the current number of repetitions of Substitute Item Identifier (IVT-19).
594      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
595      * it will return zero.
596      */
597     public int getSubstituteItemIdentifierReps() {
598     	return this.getReps(19);
599     }
600 
601 
602     /**
603      * Returns a specific repetition of
604      * IVT-19: "Substitute Item Identifier" - creates it if necessary
605      *
606      * @param rep The repetition index (0-indexed)
607      */
608     public EI getSubstituteItemIdentifier(int rep) { 
609 		EI retVal = this.getTypedField(19, rep);
610 		return retVal;
611     }
612 
613     /**
614      * Returns a specific repetition of
615      * IVT-19: "Substitute Item Identifier" - creates it if necessary
616      *
617      * @param rep The repetition index (0-indexed)
618      */
619     public EI getIvt19_SubstituteItemIdentifier(int rep) { 
620 		EI retVal = this.getTypedField(19, rep);
621 		return retVal;
622     }
623 
624     /**
625      * Returns a count of the current number of repetitions of Substitute Item Identifier (IVT-19).
626      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
627      * it will return zero.
628      */
629     public int getIvt19_SubstituteItemIdentifierReps() {
630     	return this.getReps(19);
631     }
632 
633 
634     /**
635      * Inserts a repetition of
636      * IVT-19: "Substitute Item Identifier" at a specific index
637      *
638      * @param rep The repetition index (0-indexed)
639      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
640      */
641     public EI insertSubstituteItemIdentifier(int rep) throws HL7Exception { 
642         return (EI) super.insertRepetition(19, rep);
643     }
644 
645 
646     /**
647      * Inserts a repetition of
648      * IVT-19: "Substitute Item Identifier" at a specific index
649      *
650      * @param rep The repetition index (0-indexed)
651      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
652      */
653     public EI insertIvt19_SubstituteItemIdentifier(int rep) throws HL7Exception { 
654         return (EI) super.insertRepetition(19, rep);
655     }
656 
657 
658     /**
659      * Removes a repetition of
660      * IVT-19: "Substitute Item Identifier" at a specific index
661      *
662      * @param rep The repetition index (0-indexed)
663      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
664      */
665     public EI removeSubstituteItemIdentifier(int rep) throws HL7Exception { 
666         return (EI) super.removeRepetition(19, rep);
667     }
668 
669 
670     /**
671      * Removes a repetition of
672      * IVT-19: "Substitute Item Identifier" at a specific index
673      *
674      * @param rep The repetition index (0-indexed)
675      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
676      */
677     public EI removeIvt19_SubstituteItemIdentifier(int rep) throws HL7Exception { 
678         return (EI) super.removeRepetition(19, rep);
679     }
680 
681 
682 
683 
684     /**
685      * Returns
686      * IVT-20: "Latex-Free Substitute Item Identifier" - creates it if necessary
687      */
688     public EI getLatexFreeSubstituteItemIdentifier() { 
689 		EI retVal = this.getTypedField(20, 0);
690 		return retVal;
691     }
692     
693     /**
694      * Returns
695      * IVT-20: "Latex-Free Substitute Item Identifier" - creates it if necessary
696      */
697     public EI getIvt20_LatexFreeSubstituteItemIdentifier() { 
698 		EI retVal = this.getTypedField(20, 0);
699 		return retVal;
700     }
701 
702 
703 
704     /**
705      * Returns
706      * IVT-21: "Recommended Reorder Theory" - creates it if necessary
707      */
708     public CWE getRecommendedReorderTheory() { 
709 		CWE retVal = this.getTypedField(21, 0);
710 		return retVal;
711     }
712     
713     /**
714      * Returns
715      * IVT-21: "Recommended Reorder Theory" - creates it if necessary
716      */
717     public CWE getIvt21_RecommendedReorderTheory() { 
718 		CWE retVal = this.getTypedField(21, 0);
719 		return retVal;
720     }
721 
722 
723 
724     /**
725      * Returns
726      * IVT-22: "Recommended Safety Stock Days" - creates it if necessary
727      */
728     public NM getRecommendedSafetyStockDays() { 
729 		NM retVal = this.getTypedField(22, 0);
730 		return retVal;
731     }
732     
733     /**
734      * Returns
735      * IVT-22: "Recommended Safety Stock Days" - creates it if necessary
736      */
737     public NM getIvt22_RecommendedSafetyStockDays() { 
738 		NM retVal = this.getTypedField(22, 0);
739 		return retVal;
740     }
741 
742 
743 
744     /**
745      * Returns
746      * IVT-23: "Recommended Maximum Days Inventory" - creates it if necessary
747      */
748     public NM getRecommendedMaximumDaysInventory() { 
749 		NM retVal = this.getTypedField(23, 0);
750 		return retVal;
751     }
752     
753     /**
754      * Returns
755      * IVT-23: "Recommended Maximum Days Inventory" - creates it if necessary
756      */
757     public NM getIvt23_RecommendedMaximumDaysInventory() { 
758 		NM retVal = this.getTypedField(23, 0);
759 		return retVal;
760     }
761 
762 
763 
764     /**
765      * Returns
766      * IVT-24: "Recommended Order Point" - creates it if necessary
767      */
768     public NM getRecommendedOrderPoint() { 
769 		NM retVal = this.getTypedField(24, 0);
770 		return retVal;
771     }
772     
773     /**
774      * Returns
775      * IVT-24: "Recommended Order Point" - creates it if necessary
776      */
777     public NM getIvt24_RecommendedOrderPoint() { 
778 		NM retVal = this.getTypedField(24, 0);
779 		return retVal;
780     }
781 
782 
783 
784     /**
785      * Returns
786      * IVT-25: "Recommended Order Amount" - creates it if necessary
787      */
788     public NM getRecommendedOrderAmount() { 
789 		NM retVal = this.getTypedField(25, 0);
790 		return retVal;
791     }
792     
793     /**
794      * Returns
795      * IVT-25: "Recommended Order Amount" - creates it if necessary
796      */
797     public NM getIvt25_RecommendedOrderAmount() { 
798 		NM retVal = this.getTypedField(25, 0);
799 		return retVal;
800     }
801 
802 
803 
804     /**
805      * Returns
806      * IVT-26: "Operating Room Par Level Indicator" - creates it if necessary
807      */
808     public CNE getOperatingRoomParLevelIndicator() { 
809 		CNE retVal = this.getTypedField(26, 0);
810 		return retVal;
811     }
812     
813     /**
814      * Returns
815      * IVT-26: "Operating Room Par Level Indicator" - creates it if necessary
816      */
817     public CNE getIvt26_OperatingRoomParLevelIndicator() { 
818 		CNE retVal = this.getTypedField(26, 0);
819 		return retVal;
820     }
821 
822 
823 
824 
825 
826     /** {@inheritDoc} */   
827     protected Type createNewTypeWithoutReflection(int field) {
828        switch (field) {
829           case 0: return new SI(getMessage());
830           case 1: return new EI(getMessage());
831           case 2: return new ST(getMessage());
832           case 3: return new EI(getMessage());
833           case 4: return new ST(getMessage());
834           case 5: return new CWE(getMessage());
835           case 6: return new EI(getMessage());
836           case 7: return new CWE(getMessage());
837           case 8: return new CWE(getMessage());
838           case 9: return new EI(getMessage());
839           case 10: return new CNE(getMessage());
840           case 11: return new CWE(getMessage());
841           case 12: return new CP(getMessage());
842           case 13: return new CWE(getMessage());
843           case 14: return new CNE(getMessage());
844           case 15: return new CNE(getMessage());
845           case 16: return new CNE(getMessage());
846           case 17: return new CP(getMessage());
847           case 18: return new EI(getMessage());
848           case 19: return new EI(getMessage());
849           case 20: return new CWE(getMessage());
850           case 21: return new NM(getMessage());
851           case 22: return new NM(getMessage());
852           case 23: return new NM(getMessage());
853           case 24: return new NM(getMessage());
854           case 25: return new CNE(getMessage());
855           default: return null;
856        }
857    }
858 
859 
860 }
861