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.v26.segment;
035
036// import ca.uhn.hl7v2.model.v26.group.*;
037import ca.uhn.hl7v2.model.v26.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 SCH message segment (Scheduling Activity Information). 
049 * This segment has the following fields:</p>
050 * <ul>
051     * <li>SCH-1: Placer Appointment ID (EI) <b>optional </b>
052     * <li>SCH-2: Filler Appointment ID (EI) <b>optional </b>
053     * <li>SCH-3: Occurrence Number (NM) <b>optional </b>
054     * <li>SCH-4: Placer Group Number (EI) <b>optional </b>
055     * <li>SCH-5: Schedule ID (CWE) <b>optional </b>
056     * <li>SCH-6: Event Reason (CWE) <b> </b>
057     * <li>SCH-7: Appointment Reason (CWE) <b>optional </b>
058     * <li>SCH-8: Appointment Type (CWE) <b>optional </b>
059     * <li>SCH-9: Appointment Duration (NM) <b>optional </b>
060     * <li>SCH-10: Appointment Duration Units (CNE) <b>optional </b>
061     * <li>SCH-11: Appointment Timing Quantity (TQ) <b>optional repeating</b>
062     * <li>SCH-12: Placer Contact Person (XCN) <b>optional repeating</b>
063     * <li>SCH-13: Placer Contact Phone Number (XTN) <b>optional </b>
064     * <li>SCH-14: Placer Contact Address (XAD) <b>optional repeating</b>
065     * <li>SCH-15: Placer Contact Location (PL) <b>optional </b>
066     * <li>SCH-16: Filler Contact Person (XCN) <b> repeating</b>
067     * <li>SCH-17: Filler Contact Phone Number (XTN) <b>optional </b>
068     * <li>SCH-18: Filler Contact Address (XAD) <b>optional repeating</b>
069     * <li>SCH-19: Filler Contact Location (PL) <b>optional </b>
070     * <li>SCH-20: Entered By Person (XCN) <b> repeating</b>
071     * <li>SCH-21: Entered By Phone Number (XTN) <b>optional repeating</b>
072     * <li>SCH-22: Entered By Location (PL) <b>optional </b>
073     * <li>SCH-23: Parent Placer Appointment ID (EI) <b>optional </b>
074     * <li>SCH-24: Parent Filler Appointment ID (EI) <b>optional </b>
075     * <li>SCH-25: Filler Status Code (CWE) <b>optional </b>
076     * <li>SCH-26: Placer Order Number (EI) <b>optional repeating</b>
077     * <li>SCH-27: Filler Order Number (EI) <b>optional repeating</b>
078 * </ul>
079 */
080@SuppressWarnings("unused")
081public class SCH extends AbstractSegment {
082
083    /** 
084     * Creates a new SCH segment
085     */
086    public SCH(Group parent, ModelClassFactory factory) {
087       super(parent, factory);
088       init(factory);
089    }
090
091    private void init(ModelClassFactory factory) {
092       try {
093                                  this.add(EI.class, false, 1, 75, new Object[]{ getMessage() }, "Placer Appointment ID");
094                                  this.add(EI.class, false, 1, 75, new Object[]{ getMessage() }, "Filler Appointment ID");
095                                  this.add(NM.class, false, 1, 5, new Object[]{ getMessage() }, "Occurrence Number");
096                                  this.add(EI.class, false, 1, 22, new Object[]{ getMessage() }, "Placer Group Number");
097                                  this.add(CWE.class, false, 1, 250, new Object[]{ getMessage() }, "Schedule ID");
098                                  this.add(CWE.class, true, 1, 250, new Object[]{ getMessage() }, "Event Reason");
099                                  this.add(CWE.class, false, 1, 250, new Object[]{ getMessage() }, "Appointment Reason");
100                                  this.add(CWE.class, false, 1, 250, new Object[]{ getMessage() }, "Appointment Type");
101                                  this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Appointment Duration");
102                                  this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Appointment Duration Units");
103                                  this.add(TQ.class, false, 0, 0, new Object[]{ getMessage() }, "Appointment Timing Quantity");
104                                  this.add(XCN.class, false, 0, 250, new Object[]{ getMessage() }, "Placer Contact Person");
105                                  this.add(XTN.class, false, 1, 250, new Object[]{ getMessage() }, "Placer Contact Phone Number");
106                                  this.add(XAD.class, false, 0, 250, new Object[]{ getMessage() }, "Placer Contact Address");
107                                  this.add(PL.class, false, 1, 80, new Object[]{ getMessage() }, "Placer Contact Location");
108                                  this.add(XCN.class, true, 0, 250, new Object[]{ getMessage() }, "Filler Contact Person");
109                                  this.add(XTN.class, false, 1, 250, new Object[]{ getMessage() }, "Filler Contact Phone Number");
110                                  this.add(XAD.class, false, 0, 250, new Object[]{ getMessage() }, "Filler Contact Address");
111                                  this.add(PL.class, false, 1, 80, new Object[]{ getMessage() }, "Filler Contact Location");
112                                  this.add(XCN.class, true, 0, 250, new Object[]{ getMessage() }, "Entered By Person");
113                                  this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Entered By Phone Number");
114                                  this.add(PL.class, false, 1, 80, new Object[]{ getMessage() }, "Entered By Location");
115                                  this.add(EI.class, false, 1, 75, new Object[]{ getMessage() }, "Parent Placer Appointment ID");
116                                  this.add(EI.class, false, 1, 75, new Object[]{ getMessage() }, "Parent Filler Appointment ID");
117                                  this.add(CWE.class, false, 1, 250, new Object[]{ getMessage() }, "Filler Status Code");
118                                  this.add(EI.class, false, 0, 427, new Object[]{ getMessage() }, "Placer Order Number");
119                                  this.add(EI.class, false, 0, 427, new Object[]{ getMessage() }, "Filler Order Number");
120       } catch(HL7Exception e) {
121          log.error("Unexpected error creating SCH - this is probably a bug in the source code generator.", e);
122       }
123    }
124
125
126
127    /**
128     * Returns
129     * SCH-1: "Placer Appointment ID" - creates it if necessary
130     */
131    public EI getPlacerAppointmentID() { 
132                EI retVal = this.getTypedField(1, 0);
133                return retVal;
134    }
135    
136    /**
137     * Returns
138     * SCH-1: "Placer Appointment ID" - creates it if necessary
139     */
140    public EI getSch1_PlacerAppointmentID() { 
141                EI retVal = this.getTypedField(1, 0);
142                return retVal;
143    }
144
145
146
147    /**
148     * Returns
149     * SCH-2: "Filler Appointment ID" - creates it if necessary
150     */
151    public EI getFillerAppointmentID() { 
152                EI retVal = this.getTypedField(2, 0);
153                return retVal;
154    }
155    
156    /**
157     * Returns
158     * SCH-2: "Filler Appointment ID" - creates it if necessary
159     */
160    public EI getSch2_FillerAppointmentID() { 
161                EI retVal = this.getTypedField(2, 0);
162                return retVal;
163    }
164
165
166
167    /**
168     * Returns
169     * SCH-3: "Occurrence Number" - creates it if necessary
170     */
171    public NM getOccurrenceNumber() { 
172                NM retVal = this.getTypedField(3, 0);
173                return retVal;
174    }
175    
176    /**
177     * Returns
178     * SCH-3: "Occurrence Number" - creates it if necessary
179     */
180    public NM getSch3_OccurrenceNumber() { 
181                NM retVal = this.getTypedField(3, 0);
182                return retVal;
183    }
184
185
186
187    /**
188     * Returns
189     * SCH-4: "Placer Group Number" - creates it if necessary
190     */
191    public EI getPlacerGroupNumber() { 
192                EI retVal = this.getTypedField(4, 0);
193                return retVal;
194    }
195    
196    /**
197     * Returns
198     * SCH-4: "Placer Group Number" - creates it if necessary
199     */
200    public EI getSch4_PlacerGroupNumber() { 
201                EI retVal = this.getTypedField(4, 0);
202                return retVal;
203    }
204
205
206
207    /**
208     * Returns
209     * SCH-5: "Schedule ID" - creates it if necessary
210     */
211    public CWE getScheduleID() { 
212                CWE retVal = this.getTypedField(5, 0);
213                return retVal;
214    }
215    
216    /**
217     * Returns
218     * SCH-5: "Schedule ID" - creates it if necessary
219     */
220    public CWE getSch5_ScheduleID() { 
221                CWE retVal = this.getTypedField(5, 0);
222                return retVal;
223    }
224
225
226
227    /**
228     * Returns
229     * SCH-6: "Event Reason" - creates it if necessary
230     */
231    public CWE getEventReason() { 
232                CWE retVal = this.getTypedField(6, 0);
233                return retVal;
234    }
235    
236    /**
237     * Returns
238     * SCH-6: "Event Reason" - creates it if necessary
239     */
240    public CWE getSch6_EventReason() { 
241                CWE retVal = this.getTypedField(6, 0);
242                return retVal;
243    }
244
245
246
247    /**
248     * Returns
249     * SCH-7: "Appointment Reason" - creates it if necessary
250     */
251    public CWE getAppointmentReason() { 
252                CWE retVal = this.getTypedField(7, 0);
253                return retVal;
254    }
255    
256    /**
257     * Returns
258     * SCH-7: "Appointment Reason" - creates it if necessary
259     */
260    public CWE getSch7_AppointmentReason() { 
261                CWE retVal = this.getTypedField(7, 0);
262                return retVal;
263    }
264
265
266
267    /**
268     * Returns
269     * SCH-8: "Appointment Type" - creates it if necessary
270     */
271    public CWE getAppointmentType() { 
272                CWE retVal = this.getTypedField(8, 0);
273                return retVal;
274    }
275    
276    /**
277     * Returns
278     * SCH-8: "Appointment Type" - creates it if necessary
279     */
280    public CWE getSch8_AppointmentType() { 
281                CWE retVal = this.getTypedField(8, 0);
282                return retVal;
283    }
284
285
286
287    /**
288     * Returns
289     * SCH-9: "Appointment Duration" - creates it if necessary
290     */
291    public NM getAppointmentDuration() { 
292                NM retVal = this.getTypedField(9, 0);
293                return retVal;
294    }
295    
296    /**
297     * Returns
298     * SCH-9: "Appointment Duration" - creates it if necessary
299     */
300    public NM getSch9_AppointmentDuration() { 
301                NM retVal = this.getTypedField(9, 0);
302                return retVal;
303    }
304
305
306
307    /**
308     * Returns
309     * SCH-10: "Appointment Duration Units" - creates it if necessary
310     */
311    public CNE getAppointmentDurationUnits() { 
312                CNE retVal = this.getTypedField(10, 0);
313                return retVal;
314    }
315    
316    /**
317     * Returns
318     * SCH-10: "Appointment Duration Units" - creates it if necessary
319     */
320    public CNE getSch10_AppointmentDurationUnits() { 
321                CNE retVal = this.getTypedField(10, 0);
322                return retVal;
323    }
324
325
326    /**
327     * Returns all repetitions of Appointment Timing Quantity (SCH-11).
328     */
329    public TQ[] getAppointmentTimingQuantity() {
330        TQ[] retVal = this.getTypedField(11, new TQ[0]);
331        return retVal;
332    }
333
334
335    /**
336     * Returns all repetitions of Appointment Timing Quantity (SCH-11).
337     */
338    public TQ[] getSch11_AppointmentTimingQuantity() {
339        TQ[] retVal = this.getTypedField(11, new TQ[0]);
340        return retVal;
341    }
342
343
344    /**
345     * Returns a count of the current number of repetitions of Appointment Timing Quantity (SCH-11).
346     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
347     * it will return zero.
348     */
349    public int getAppointmentTimingQuantityReps() {
350        return this.getReps(11);
351    }
352
353
354    /**
355     * Returns a specific repetition of
356     * SCH-11: "Appointment Timing Quantity" - creates it if necessary
357     *
358     * @param rep The repetition index (0-indexed)
359     */
360    public TQ getAppointmentTimingQuantity(int rep) { 
361                TQ retVal = this.getTypedField(11, rep);
362                return retVal;
363    }
364
365    /**
366     * Returns a specific repetition of
367     * SCH-11: "Appointment Timing Quantity" - creates it if necessary
368     *
369     * @param rep The repetition index (0-indexed)
370     */
371    public TQ getSch11_AppointmentTimingQuantity(int rep) { 
372                TQ retVal = this.getTypedField(11, rep);
373                return retVal;
374    }
375
376    /**
377     * Returns a count of the current number of repetitions of Appointment Timing Quantity (SCH-11).
378     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
379     * it will return zero.
380     */
381    public int getSch11_AppointmentTimingQuantityReps() {
382        return this.getReps(11);
383    }
384
385
386    /**
387     * Inserts a repetition of
388     * SCH-11: "Appointment Timing Quantity" at a specific index
389     *
390     * @param rep The repetition index (0-indexed)
391     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
392     */
393    public TQ insertAppointmentTimingQuantity(int rep) throws HL7Exception { 
394        return (TQ) super.insertRepetition(11, rep);
395    }
396
397
398    /**
399     * Inserts a repetition of
400     * SCH-11: "Appointment Timing Quantity" at a specific index
401     *
402     * @param rep The repetition index (0-indexed)
403     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
404     */
405    public TQ insertSch11_AppointmentTimingQuantity(int rep) throws HL7Exception { 
406        return (TQ) super.insertRepetition(11, rep);
407    }
408
409
410    /**
411     * Removes a repetition of
412     * SCH-11: "Appointment Timing Quantity" at a specific index
413     *
414     * @param rep The repetition index (0-indexed)
415     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
416     */
417    public TQ removeAppointmentTimingQuantity(int rep) throws HL7Exception { 
418        return (TQ) super.removeRepetition(11, rep);
419    }
420
421
422    /**
423     * Removes a repetition of
424     * SCH-11: "Appointment Timing Quantity" at a specific index
425     *
426     * @param rep The repetition index (0-indexed)
427     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
428     */
429    public TQ removeSch11_AppointmentTimingQuantity(int rep) throws HL7Exception { 
430        return (TQ) super.removeRepetition(11, rep);
431    }
432
433
434
435    /**
436     * Returns all repetitions of Placer Contact Person (SCH-12).
437     */
438    public XCN[] getPlacerContactPerson() {
439        XCN[] retVal = this.getTypedField(12, new XCN[0]);
440        return retVal;
441    }
442
443
444    /**
445     * Returns all repetitions of Placer Contact Person (SCH-12).
446     */
447    public XCN[] getSch12_PlacerContactPerson() {
448        XCN[] retVal = this.getTypedField(12, new XCN[0]);
449        return retVal;
450    }
451
452
453    /**
454     * Returns a count of the current number of repetitions of Placer Contact Person (SCH-12).
455     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
456     * it will return zero.
457     */
458    public int getPlacerContactPersonReps() {
459        return this.getReps(12);
460    }
461
462
463    /**
464     * Returns a specific repetition of
465     * SCH-12: "Placer Contact Person" - creates it if necessary
466     *
467     * @param rep The repetition index (0-indexed)
468     */
469    public XCN getPlacerContactPerson(int rep) { 
470                XCN retVal = this.getTypedField(12, rep);
471                return retVal;
472    }
473
474    /**
475     * Returns a specific repetition of
476     * SCH-12: "Placer Contact Person" - creates it if necessary
477     *
478     * @param rep The repetition index (0-indexed)
479     */
480    public XCN getSch12_PlacerContactPerson(int rep) { 
481                XCN retVal = this.getTypedField(12, rep);
482                return retVal;
483    }
484
485    /**
486     * Returns a count of the current number of repetitions of Placer Contact Person (SCH-12).
487     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
488     * it will return zero.
489     */
490    public int getSch12_PlacerContactPersonReps() {
491        return this.getReps(12);
492    }
493
494
495    /**
496     * Inserts a repetition of
497     * SCH-12: "Placer Contact Person" at a specific index
498     *
499     * @param rep The repetition index (0-indexed)
500     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
501     */
502    public XCN insertPlacerContactPerson(int rep) throws HL7Exception { 
503        return (XCN) super.insertRepetition(12, rep);
504    }
505
506
507    /**
508     * Inserts a repetition of
509     * SCH-12: "Placer Contact Person" at a specific index
510     *
511     * @param rep The repetition index (0-indexed)
512     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
513     */
514    public XCN insertSch12_PlacerContactPerson(int rep) throws HL7Exception { 
515        return (XCN) super.insertRepetition(12, rep);
516    }
517
518
519    /**
520     * Removes a repetition of
521     * SCH-12: "Placer Contact Person" at a specific index
522     *
523     * @param rep The repetition index (0-indexed)
524     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
525     */
526    public XCN removePlacerContactPerson(int rep) throws HL7Exception { 
527        return (XCN) super.removeRepetition(12, rep);
528    }
529
530
531    /**
532     * Removes a repetition of
533     * SCH-12: "Placer Contact Person" at a specific index
534     *
535     * @param rep The repetition index (0-indexed)
536     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
537     */
538    public XCN removeSch12_PlacerContactPerson(int rep) throws HL7Exception { 
539        return (XCN) super.removeRepetition(12, rep);
540    }
541
542
543
544
545    /**
546     * Returns
547     * SCH-13: "Placer Contact Phone Number" - creates it if necessary
548     */
549    public XTN getPlacerContactPhoneNumber() { 
550                XTN retVal = this.getTypedField(13, 0);
551                return retVal;
552    }
553    
554    /**
555     * Returns
556     * SCH-13: "Placer Contact Phone Number" - creates it if necessary
557     */
558    public XTN getSch13_PlacerContactPhoneNumber() { 
559                XTN retVal = this.getTypedField(13, 0);
560                return retVal;
561    }
562
563
564    /**
565     * Returns all repetitions of Placer Contact Address (SCH-14).
566     */
567    public XAD[] getPlacerContactAddress() {
568        XAD[] retVal = this.getTypedField(14, new XAD[0]);
569        return retVal;
570    }
571
572
573    /**
574     * Returns all repetitions of Placer Contact Address (SCH-14).
575     */
576    public XAD[] getSch14_PlacerContactAddress() {
577        XAD[] retVal = this.getTypedField(14, new XAD[0]);
578        return retVal;
579    }
580
581
582    /**
583     * Returns a count of the current number of repetitions of Placer Contact Address (SCH-14).
584     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
585     * it will return zero.
586     */
587    public int getPlacerContactAddressReps() {
588        return this.getReps(14);
589    }
590
591
592    /**
593     * Returns a specific repetition of
594     * SCH-14: "Placer Contact Address" - creates it if necessary
595     *
596     * @param rep The repetition index (0-indexed)
597     */
598    public XAD getPlacerContactAddress(int rep) { 
599                XAD retVal = this.getTypedField(14, rep);
600                return retVal;
601    }
602
603    /**
604     * Returns a specific repetition of
605     * SCH-14: "Placer Contact Address" - creates it if necessary
606     *
607     * @param rep The repetition index (0-indexed)
608     */
609    public XAD getSch14_PlacerContactAddress(int rep) { 
610                XAD retVal = this.getTypedField(14, rep);
611                return retVal;
612    }
613
614    /**
615     * Returns a count of the current number of repetitions of Placer Contact Address (SCH-14).
616     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
617     * it will return zero.
618     */
619    public int getSch14_PlacerContactAddressReps() {
620        return this.getReps(14);
621    }
622
623
624    /**
625     * Inserts a repetition of
626     * SCH-14: "Placer Contact Address" at a specific index
627     *
628     * @param rep The repetition index (0-indexed)
629     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
630     */
631    public XAD insertPlacerContactAddress(int rep) throws HL7Exception { 
632        return (XAD) super.insertRepetition(14, rep);
633    }
634
635
636    /**
637     * Inserts a repetition of
638     * SCH-14: "Placer Contact Address" at a specific index
639     *
640     * @param rep The repetition index (0-indexed)
641     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
642     */
643    public XAD insertSch14_PlacerContactAddress(int rep) throws HL7Exception { 
644        return (XAD) super.insertRepetition(14, rep);
645    }
646
647
648    /**
649     * Removes a repetition of
650     * SCH-14: "Placer Contact Address" at a specific index
651     *
652     * @param rep The repetition index (0-indexed)
653     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
654     */
655    public XAD removePlacerContactAddress(int rep) throws HL7Exception { 
656        return (XAD) super.removeRepetition(14, rep);
657    }
658
659
660    /**
661     * Removes a repetition of
662     * SCH-14: "Placer Contact Address" at a specific index
663     *
664     * @param rep The repetition index (0-indexed)
665     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
666     */
667    public XAD removeSch14_PlacerContactAddress(int rep) throws HL7Exception { 
668        return (XAD) super.removeRepetition(14, rep);
669    }
670
671
672
673
674    /**
675     * Returns
676     * SCH-15: "Placer Contact Location" - creates it if necessary
677     */
678    public PL getPlacerContactLocation() { 
679                PL retVal = this.getTypedField(15, 0);
680                return retVal;
681    }
682    
683    /**
684     * Returns
685     * SCH-15: "Placer Contact Location" - creates it if necessary
686     */
687    public PL getSch15_PlacerContactLocation() { 
688                PL retVal = this.getTypedField(15, 0);
689                return retVal;
690    }
691
692
693    /**
694     * Returns all repetitions of Filler Contact Person (SCH-16).
695     */
696    public XCN[] getFillerContactPerson() {
697        XCN[] retVal = this.getTypedField(16, new XCN[0]);
698        return retVal;
699    }
700
701
702    /**
703     * Returns all repetitions of Filler Contact Person (SCH-16).
704     */
705    public XCN[] getSch16_FillerContactPerson() {
706        XCN[] retVal = this.getTypedField(16, new XCN[0]);
707        return retVal;
708    }
709
710
711    /**
712     * Returns a count of the current number of repetitions of Filler Contact Person (SCH-16).
713     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
714     * it will return zero.
715     */
716    public int getFillerContactPersonReps() {
717        return this.getReps(16);
718    }
719
720
721    /**
722     * Returns a specific repetition of
723     * SCH-16: "Filler Contact Person" - creates it if necessary
724     *
725     * @param rep The repetition index (0-indexed)
726     */
727    public XCN getFillerContactPerson(int rep) { 
728                XCN retVal = this.getTypedField(16, rep);
729                return retVal;
730    }
731
732    /**
733     * Returns a specific repetition of
734     * SCH-16: "Filler Contact Person" - creates it if necessary
735     *
736     * @param rep The repetition index (0-indexed)
737     */
738    public XCN getSch16_FillerContactPerson(int rep) { 
739                XCN retVal = this.getTypedField(16, rep);
740                return retVal;
741    }
742
743    /**
744     * Returns a count of the current number of repetitions of Filler Contact Person (SCH-16).
745     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
746     * it will return zero.
747     */
748    public int getSch16_FillerContactPersonReps() {
749        return this.getReps(16);
750    }
751
752
753    /**
754     * Inserts a repetition of
755     * SCH-16: "Filler Contact Person" at a specific index
756     *
757     * @param rep The repetition index (0-indexed)
758     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
759     */
760    public XCN insertFillerContactPerson(int rep) throws HL7Exception { 
761        return (XCN) super.insertRepetition(16, rep);
762    }
763
764
765    /**
766     * Inserts a repetition of
767     * SCH-16: "Filler Contact Person" at a specific index
768     *
769     * @param rep The repetition index (0-indexed)
770     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
771     */
772    public XCN insertSch16_FillerContactPerson(int rep) throws HL7Exception { 
773        return (XCN) super.insertRepetition(16, rep);
774    }
775
776
777    /**
778     * Removes a repetition of
779     * SCH-16: "Filler Contact Person" at a specific index
780     *
781     * @param rep The repetition index (0-indexed)
782     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
783     */
784    public XCN removeFillerContactPerson(int rep) throws HL7Exception { 
785        return (XCN) super.removeRepetition(16, rep);
786    }
787
788
789    /**
790     * Removes a repetition of
791     * SCH-16: "Filler Contact Person" at a specific index
792     *
793     * @param rep The repetition index (0-indexed)
794     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
795     */
796    public XCN removeSch16_FillerContactPerson(int rep) throws HL7Exception { 
797        return (XCN) super.removeRepetition(16, rep);
798    }
799
800
801
802
803    /**
804     * Returns
805     * SCH-17: "Filler Contact Phone Number" - creates it if necessary
806     */
807    public XTN getFillerContactPhoneNumber() { 
808                XTN retVal = this.getTypedField(17, 0);
809                return retVal;
810    }
811    
812    /**
813     * Returns
814     * SCH-17: "Filler Contact Phone Number" - creates it if necessary
815     */
816    public XTN getSch17_FillerContactPhoneNumber() { 
817                XTN retVal = this.getTypedField(17, 0);
818                return retVal;
819    }
820
821
822    /**
823     * Returns all repetitions of Filler Contact Address (SCH-18).
824     */
825    public XAD[] getFillerContactAddress() {
826        XAD[] retVal = this.getTypedField(18, new XAD[0]);
827        return retVal;
828    }
829
830
831    /**
832     * Returns all repetitions of Filler Contact Address (SCH-18).
833     */
834    public XAD[] getSch18_FillerContactAddress() {
835        XAD[] retVal = this.getTypedField(18, new XAD[0]);
836        return retVal;
837    }
838
839
840    /**
841     * Returns a count of the current number of repetitions of Filler Contact Address (SCH-18).
842     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
843     * it will return zero.
844     */
845    public int getFillerContactAddressReps() {
846        return this.getReps(18);
847    }
848
849
850    /**
851     * Returns a specific repetition of
852     * SCH-18: "Filler Contact Address" - creates it if necessary
853     *
854     * @param rep The repetition index (0-indexed)
855     */
856    public XAD getFillerContactAddress(int rep) { 
857                XAD retVal = this.getTypedField(18, rep);
858                return retVal;
859    }
860
861    /**
862     * Returns a specific repetition of
863     * SCH-18: "Filler Contact Address" - creates it if necessary
864     *
865     * @param rep The repetition index (0-indexed)
866     */
867    public XAD getSch18_FillerContactAddress(int rep) { 
868                XAD retVal = this.getTypedField(18, rep);
869                return retVal;
870    }
871
872    /**
873     * Returns a count of the current number of repetitions of Filler Contact Address (SCH-18).
874     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
875     * it will return zero.
876     */
877    public int getSch18_FillerContactAddressReps() {
878        return this.getReps(18);
879    }
880
881
882    /**
883     * Inserts a repetition of
884     * SCH-18: "Filler Contact Address" at a specific index
885     *
886     * @param rep The repetition index (0-indexed)
887     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
888     */
889    public XAD insertFillerContactAddress(int rep) throws HL7Exception { 
890        return (XAD) super.insertRepetition(18, rep);
891    }
892
893
894    /**
895     * Inserts a repetition of
896     * SCH-18: "Filler Contact Address" at a specific index
897     *
898     * @param rep The repetition index (0-indexed)
899     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
900     */
901    public XAD insertSch18_FillerContactAddress(int rep) throws HL7Exception { 
902        return (XAD) super.insertRepetition(18, rep);
903    }
904
905
906    /**
907     * Removes a repetition of
908     * SCH-18: "Filler Contact Address" at a specific index
909     *
910     * @param rep The repetition index (0-indexed)
911     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
912     */
913    public XAD removeFillerContactAddress(int rep) throws HL7Exception { 
914        return (XAD) super.removeRepetition(18, rep);
915    }
916
917
918    /**
919     * Removes a repetition of
920     * SCH-18: "Filler Contact Address" at a specific index
921     *
922     * @param rep The repetition index (0-indexed)
923     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
924     */
925    public XAD removeSch18_FillerContactAddress(int rep) throws HL7Exception { 
926        return (XAD) super.removeRepetition(18, rep);
927    }
928
929
930
931
932    /**
933     * Returns
934     * SCH-19: "Filler Contact Location" - creates it if necessary
935     */
936    public PL getFillerContactLocation() { 
937                PL retVal = this.getTypedField(19, 0);
938                return retVal;
939    }
940    
941    /**
942     * Returns
943     * SCH-19: "Filler Contact Location" - creates it if necessary
944     */
945    public PL getSch19_FillerContactLocation() { 
946                PL retVal = this.getTypedField(19, 0);
947                return retVal;
948    }
949
950
951    /**
952     * Returns all repetitions of Entered By Person (SCH-20).
953     */
954    public XCN[] getEnteredByPerson() {
955        XCN[] retVal = this.getTypedField(20, new XCN[0]);
956        return retVal;
957    }
958
959
960    /**
961     * Returns all repetitions of Entered By Person (SCH-20).
962     */
963    public XCN[] getSch20_EnteredByPerson() {
964        XCN[] retVal = this.getTypedField(20, new XCN[0]);
965        return retVal;
966    }
967
968
969    /**
970     * Returns a count of the current number of repetitions of Entered By Person (SCH-20).
971     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
972     * it will return zero.
973     */
974    public int getEnteredByPersonReps() {
975        return this.getReps(20);
976    }
977
978
979    /**
980     * Returns a specific repetition of
981     * SCH-20: "Entered By Person" - creates it if necessary
982     *
983     * @param rep The repetition index (0-indexed)
984     */
985    public XCN getEnteredByPerson(int rep) { 
986                XCN retVal = this.getTypedField(20, rep);
987                return retVal;
988    }
989
990    /**
991     * Returns a specific repetition of
992     * SCH-20: "Entered By Person" - creates it if necessary
993     *
994     * @param rep The repetition index (0-indexed)
995     */
996    public XCN getSch20_EnteredByPerson(int rep) { 
997                XCN retVal = this.getTypedField(20, rep);
998                return retVal;
999    }
1000
1001    /**
1002     * Returns a count of the current number of repetitions of Entered By Person (SCH-20).
1003     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1004     * it will return zero.
1005     */
1006    public int getSch20_EnteredByPersonReps() {
1007        return this.getReps(20);
1008    }
1009
1010
1011    /**
1012     * Inserts a repetition of
1013     * SCH-20: "Entered By Person" at a specific index
1014     *
1015     * @param rep The repetition index (0-indexed)
1016     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1017     */
1018    public XCN insertEnteredByPerson(int rep) throws HL7Exception { 
1019        return (XCN) super.insertRepetition(20, rep);
1020    }
1021
1022
1023    /**
1024     * Inserts a repetition of
1025     * SCH-20: "Entered By Person" at a specific index
1026     *
1027     * @param rep The repetition index (0-indexed)
1028     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1029     */
1030    public XCN insertSch20_EnteredByPerson(int rep) throws HL7Exception { 
1031        return (XCN) super.insertRepetition(20, rep);
1032    }
1033
1034
1035    /**
1036     * Removes a repetition of
1037     * SCH-20: "Entered By Person" at a specific index
1038     *
1039     * @param rep The repetition index (0-indexed)
1040     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1041     */
1042    public XCN removeEnteredByPerson(int rep) throws HL7Exception { 
1043        return (XCN) super.removeRepetition(20, rep);
1044    }
1045
1046
1047    /**
1048     * Removes a repetition of
1049     * SCH-20: "Entered By Person" at a specific index
1050     *
1051     * @param rep The repetition index (0-indexed)
1052     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1053     */
1054    public XCN removeSch20_EnteredByPerson(int rep) throws HL7Exception { 
1055        return (XCN) super.removeRepetition(20, rep);
1056    }
1057
1058
1059
1060    /**
1061     * Returns all repetitions of Entered By Phone Number (SCH-21).
1062     */
1063    public XTN[] getEnteredByPhoneNumber() {
1064        XTN[] retVal = this.getTypedField(21, new XTN[0]);
1065        return retVal;
1066    }
1067
1068
1069    /**
1070     * Returns all repetitions of Entered By Phone Number (SCH-21).
1071     */
1072    public XTN[] getSch21_EnteredByPhoneNumber() {
1073        XTN[] retVal = this.getTypedField(21, new XTN[0]);
1074        return retVal;
1075    }
1076
1077
1078    /**
1079     * Returns a count of the current number of repetitions of Entered By Phone Number (SCH-21).
1080     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1081     * it will return zero.
1082     */
1083    public int getEnteredByPhoneNumberReps() {
1084        return this.getReps(21);
1085    }
1086
1087
1088    /**
1089     * Returns a specific repetition of
1090     * SCH-21: "Entered By Phone Number" - creates it if necessary
1091     *
1092     * @param rep The repetition index (0-indexed)
1093     */
1094    public XTN getEnteredByPhoneNumber(int rep) { 
1095                XTN retVal = this.getTypedField(21, rep);
1096                return retVal;
1097    }
1098
1099    /**
1100     * Returns a specific repetition of
1101     * SCH-21: "Entered By Phone Number" - creates it if necessary
1102     *
1103     * @param rep The repetition index (0-indexed)
1104     */
1105    public XTN getSch21_EnteredByPhoneNumber(int rep) { 
1106                XTN retVal = this.getTypedField(21, rep);
1107                return retVal;
1108    }
1109
1110    /**
1111     * Returns a count of the current number of repetitions of Entered By Phone Number (SCH-21).
1112     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1113     * it will return zero.
1114     */
1115    public int getSch21_EnteredByPhoneNumberReps() {
1116        return this.getReps(21);
1117    }
1118
1119
1120    /**
1121     * Inserts a repetition of
1122     * SCH-21: "Entered By Phone Number" at a specific index
1123     *
1124     * @param rep The repetition index (0-indexed)
1125     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1126     */
1127    public XTN insertEnteredByPhoneNumber(int rep) throws HL7Exception { 
1128        return (XTN) super.insertRepetition(21, rep);
1129    }
1130
1131
1132    /**
1133     * Inserts a repetition of
1134     * SCH-21: "Entered By Phone Number" at a specific index
1135     *
1136     * @param rep The repetition index (0-indexed)
1137     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1138     */
1139    public XTN insertSch21_EnteredByPhoneNumber(int rep) throws HL7Exception { 
1140        return (XTN) super.insertRepetition(21, rep);
1141    }
1142
1143
1144    /**
1145     * Removes a repetition of
1146     * SCH-21: "Entered By Phone Number" at a specific index
1147     *
1148     * @param rep The repetition index (0-indexed)
1149     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1150     */
1151    public XTN removeEnteredByPhoneNumber(int rep) throws HL7Exception { 
1152        return (XTN) super.removeRepetition(21, rep);
1153    }
1154
1155
1156    /**
1157     * Removes a repetition of
1158     * SCH-21: "Entered By Phone Number" at a specific index
1159     *
1160     * @param rep The repetition index (0-indexed)
1161     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1162     */
1163    public XTN removeSch21_EnteredByPhoneNumber(int rep) throws HL7Exception { 
1164        return (XTN) super.removeRepetition(21, rep);
1165    }
1166
1167
1168
1169
1170    /**
1171     * Returns
1172     * SCH-22: "Entered By Location" - creates it if necessary
1173     */
1174    public PL getEnteredByLocation() { 
1175                PL retVal = this.getTypedField(22, 0);
1176                return retVal;
1177    }
1178    
1179    /**
1180     * Returns
1181     * SCH-22: "Entered By Location" - creates it if necessary
1182     */
1183    public PL getSch22_EnteredByLocation() { 
1184                PL retVal = this.getTypedField(22, 0);
1185                return retVal;
1186    }
1187
1188
1189
1190    /**
1191     * Returns
1192     * SCH-23: "Parent Placer Appointment ID" - creates it if necessary
1193     */
1194    public EI getParentPlacerAppointmentID() { 
1195                EI retVal = this.getTypedField(23, 0);
1196                return retVal;
1197    }
1198    
1199    /**
1200     * Returns
1201     * SCH-23: "Parent Placer Appointment ID" - creates it if necessary
1202     */
1203    public EI getSch23_ParentPlacerAppointmentID() { 
1204                EI retVal = this.getTypedField(23, 0);
1205                return retVal;
1206    }
1207
1208
1209
1210    /**
1211     * Returns
1212     * SCH-24: "Parent Filler Appointment ID" - creates it if necessary
1213     */
1214    public EI getParentFillerAppointmentID() { 
1215                EI retVal = this.getTypedField(24, 0);
1216                return retVal;
1217    }
1218    
1219    /**
1220     * Returns
1221     * SCH-24: "Parent Filler Appointment ID" - creates it if necessary
1222     */
1223    public EI getSch24_ParentFillerAppointmentID() { 
1224                EI retVal = this.getTypedField(24, 0);
1225                return retVal;
1226    }
1227
1228
1229
1230    /**
1231     * Returns
1232     * SCH-25: "Filler Status Code" - creates it if necessary
1233     */
1234    public CWE getFillerStatusCode() { 
1235                CWE retVal = this.getTypedField(25, 0);
1236                return retVal;
1237    }
1238    
1239    /**
1240     * Returns
1241     * SCH-25: "Filler Status Code" - creates it if necessary
1242     */
1243    public CWE getSch25_FillerStatusCode() { 
1244                CWE retVal = this.getTypedField(25, 0);
1245                return retVal;
1246    }
1247
1248
1249    /**
1250     * Returns all repetitions of Placer Order Number (SCH-26).
1251     */
1252    public EI[] getPlacerOrderNumber() {
1253        EI[] retVal = this.getTypedField(26, new EI[0]);
1254        return retVal;
1255    }
1256
1257
1258    /**
1259     * Returns all repetitions of Placer Order Number (SCH-26).
1260     */
1261    public EI[] getSch26_PlacerOrderNumber() {
1262        EI[] retVal = this.getTypedField(26, new EI[0]);
1263        return retVal;
1264    }
1265
1266
1267    /**
1268     * Returns a count of the current number of repetitions of Placer Order Number (SCH-26).
1269     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1270     * it will return zero.
1271     */
1272    public int getPlacerOrderNumberReps() {
1273        return this.getReps(26);
1274    }
1275
1276
1277    /**
1278     * Returns a specific repetition of
1279     * SCH-26: "Placer Order Number" - creates it if necessary
1280     *
1281     * @param rep The repetition index (0-indexed)
1282     */
1283    public EI getPlacerOrderNumber(int rep) { 
1284                EI retVal = this.getTypedField(26, rep);
1285                return retVal;
1286    }
1287
1288    /**
1289     * Returns a specific repetition of
1290     * SCH-26: "Placer Order Number" - creates it if necessary
1291     *
1292     * @param rep The repetition index (0-indexed)
1293     */
1294    public EI getSch26_PlacerOrderNumber(int rep) { 
1295                EI retVal = this.getTypedField(26, rep);
1296                return retVal;
1297    }
1298
1299    /**
1300     * Returns a count of the current number of repetitions of Placer Order Number (SCH-26).
1301     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1302     * it will return zero.
1303     */
1304    public int getSch26_PlacerOrderNumberReps() {
1305        return this.getReps(26);
1306    }
1307
1308
1309    /**
1310     * Inserts a repetition of
1311     * SCH-26: "Placer Order Number" at a specific index
1312     *
1313     * @param rep The repetition index (0-indexed)
1314     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1315     */
1316    public EI insertPlacerOrderNumber(int rep) throws HL7Exception { 
1317        return (EI) super.insertRepetition(26, rep);
1318    }
1319
1320
1321    /**
1322     * Inserts a repetition of
1323     * SCH-26: "Placer Order Number" at a specific index
1324     *
1325     * @param rep The repetition index (0-indexed)
1326     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1327     */
1328    public EI insertSch26_PlacerOrderNumber(int rep) throws HL7Exception { 
1329        return (EI) super.insertRepetition(26, rep);
1330    }
1331
1332
1333    /**
1334     * Removes a repetition of
1335     * SCH-26: "Placer Order Number" at a specific index
1336     *
1337     * @param rep The repetition index (0-indexed)
1338     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1339     */
1340    public EI removePlacerOrderNumber(int rep) throws HL7Exception { 
1341        return (EI) super.removeRepetition(26, rep);
1342    }
1343
1344
1345    /**
1346     * Removes a repetition of
1347     * SCH-26: "Placer Order Number" at a specific index
1348     *
1349     * @param rep The repetition index (0-indexed)
1350     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1351     */
1352    public EI removeSch26_PlacerOrderNumber(int rep) throws HL7Exception { 
1353        return (EI) super.removeRepetition(26, rep);
1354    }
1355
1356
1357
1358    /**
1359     * Returns all repetitions of Filler Order Number (SCH-27).
1360     */
1361    public EI[] getFillerOrderNumber() {
1362        EI[] retVal = this.getTypedField(27, new EI[0]);
1363        return retVal;
1364    }
1365
1366
1367    /**
1368     * Returns all repetitions of Filler Order Number (SCH-27).
1369     */
1370    public EI[] getSch27_FillerOrderNumber() {
1371        EI[] retVal = this.getTypedField(27, new EI[0]);
1372        return retVal;
1373    }
1374
1375
1376    /**
1377     * Returns a count of the current number of repetitions of Filler Order Number (SCH-27).
1378     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1379     * it will return zero.
1380     */
1381    public int getFillerOrderNumberReps() {
1382        return this.getReps(27);
1383    }
1384
1385
1386    /**
1387     * Returns a specific repetition of
1388     * SCH-27: "Filler Order Number" - creates it if necessary
1389     *
1390     * @param rep The repetition index (0-indexed)
1391     */
1392    public EI getFillerOrderNumber(int rep) { 
1393                EI retVal = this.getTypedField(27, rep);
1394                return retVal;
1395    }
1396
1397    /**
1398     * Returns a specific repetition of
1399     * SCH-27: "Filler Order Number" - creates it if necessary
1400     *
1401     * @param rep The repetition index (0-indexed)
1402     */
1403    public EI getSch27_FillerOrderNumber(int rep) { 
1404                EI retVal = this.getTypedField(27, rep);
1405                return retVal;
1406    }
1407
1408    /**
1409     * Returns a count of the current number of repetitions of Filler Order Number (SCH-27).
1410     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1411     * it will return zero.
1412     */
1413    public int getSch27_FillerOrderNumberReps() {
1414        return this.getReps(27);
1415    }
1416
1417
1418    /**
1419     * Inserts a repetition of
1420     * SCH-27: "Filler Order Number" at a specific index
1421     *
1422     * @param rep The repetition index (0-indexed)
1423     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1424     */
1425    public EI insertFillerOrderNumber(int rep) throws HL7Exception { 
1426        return (EI) super.insertRepetition(27, rep);
1427    }
1428
1429
1430    /**
1431     * Inserts a repetition of
1432     * SCH-27: "Filler Order Number" at a specific index
1433     *
1434     * @param rep The repetition index (0-indexed)
1435     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1436     */
1437    public EI insertSch27_FillerOrderNumber(int rep) throws HL7Exception { 
1438        return (EI) super.insertRepetition(27, rep);
1439    }
1440
1441
1442    /**
1443     * Removes a repetition of
1444     * SCH-27: "Filler Order Number" at a specific index
1445     *
1446     * @param rep The repetition index (0-indexed)
1447     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1448     */
1449    public EI removeFillerOrderNumber(int rep) throws HL7Exception { 
1450        return (EI) super.removeRepetition(27, rep);
1451    }
1452
1453
1454    /**
1455     * Removes a repetition of
1456     * SCH-27: "Filler Order Number" at a specific index
1457     *
1458     * @param rep The repetition index (0-indexed)
1459     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1460     */
1461    public EI removeSch27_FillerOrderNumber(int rep) throws HL7Exception { 
1462        return (EI) super.removeRepetition(27, rep);
1463    }
1464
1465
1466
1467
1468
1469
1470    /** {@inheritDoc} */   
1471    protected Type createNewTypeWithoutReflection(int field) {
1472       switch (field) {
1473          case 0: return new EI(getMessage());
1474          case 1: return new EI(getMessage());
1475          case 2: return new NM(getMessage());
1476          case 3: return new EI(getMessage());
1477          case 4: return new CWE(getMessage());
1478          case 5: return new CWE(getMessage());
1479          case 6: return new CWE(getMessage());
1480          case 7: return new CWE(getMessage());
1481          case 8: return new NM(getMessage());
1482          case 9: return new CNE(getMessage());
1483          case 10: return new TQ(getMessage());
1484          case 11: return new XCN(getMessage());
1485          case 12: return new XTN(getMessage());
1486          case 13: return new XAD(getMessage());
1487          case 14: return new PL(getMessage());
1488          case 15: return new XCN(getMessage());
1489          case 16: return new XTN(getMessage());
1490          case 17: return new XAD(getMessage());
1491          case 18: return new PL(getMessage());
1492          case 19: return new XCN(getMessage());
1493          case 20: return new XTN(getMessage());
1494          case 21: return new PL(getMessage());
1495          case 22: return new EI(getMessage());
1496          case 23: return new EI(getMessage());
1497          case 24: return new CWE(getMessage());
1498          case 25: return new EI(getMessage());
1499          case 26: return new EI(getMessage());
1500          default: return null;
1501       }
1502   }
1503
1504
1505}
1506