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.v23.segment;
035
036// import ca.uhn.hl7v2.model.v23.group.*;
037import ca.uhn.hl7v2.model.v23.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/**
049 *<p>Represents an HL7 ARQ message segment (Appointment Request). 
050 * This segment has the following fields:</p>
051 * <ul>
052     * <li>ARQ-1: Placer Appointment ID (EI) <b> </b>
053     * <li>ARQ-2: Filler Appointment ID (EI) <b>optional </b>
054     * <li>ARQ-3: Occurrence Number (NM) <b>optional </b>
055     * <li>ARQ-4: Placer Group Number (EI) <b>optional </b>
056     * <li>ARQ-5: Schedule ID (CE) <b>optional </b>
057     * <li>ARQ-6: Request Event Reason (CE) <b>optional </b>
058     * <li>ARQ-7: Appointment Reason (CE) <b>optional </b>
059     * <li>ARQ-8: Appointment Type (CE) <b>optional </b>
060     * <li>ARQ-9: Appointment Duration (NM) <b>optional </b>
061     * <li>ARQ-10: Appointment Duration Units (CE) <b>optional </b>
062     * <li>ARQ-11: Requested Start Date/Time Range (DR) <b>optional repeating</b>
063     * <li>ARQ-12: Priority (ST) <b>optional </b>
064     * <li>ARQ-13: Repeating Interval (RI) <b>optional </b>
065     * <li>ARQ-14: Repeating Interval Duration (ST) <b>optional </b>
066     * <li>ARQ-15: Placer Contact Person (XCN) <b>optional </b>
067     * <li>ARQ-16: Placer Contact Phone Number (XTN) <b>optional </b>
068     * <li>ARQ-17: Placer Contact Address (XAD) <b>optional </b>
069     * <li>ARQ-18: Placer Contact Location (PL) <b>optional </b>
070     * <li>ARQ-19: Entered By Person (XCN) <b> </b>
071     * <li>ARQ-20: Entered By Phone Number (XTN) <b>optional repeating</b>
072     * <li>ARQ-21: Entered By Location (PL) <b>optional </b>
073     * <li>ARQ-22: Parent Placer Appointment ID (EI) <b>optional </b>
074     * <li>ARQ-23: Parent Filler Appointment ID (EI) <b>optional </b>
075 * </ul>
076 */
077@SuppressWarnings("unused")
078public class ARQ extends AbstractSegment {
079
080    /** 
081     * Creates a new ARQ segment
082     */
083    public ARQ(Group parent, ModelClassFactory factory) {
084       super(parent, factory);
085       init(factory);
086    }
087
088    private void init(ModelClassFactory factory) {
089       try {
090                                  this.add(EI.class, true, 1, 22, new Object[]{ getMessage() }, "Placer Appointment ID");
091                                  this.add(EI.class, false, 1, 22, new Object[]{ getMessage() }, "Filler Appointment ID");
092                                  this.add(NM.class, false, 1, 5, new Object[]{ getMessage() }, "Occurrence Number");
093                                  this.add(EI.class, false, 1, 37, new Object[]{ getMessage() }, "Placer Group Number");
094                                  this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Schedule ID");
095                                  this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Request Event Reason");
096                                  this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Appointment Reason");
097                                  this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Appointment Type");
098                                  this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Appointment Duration");
099                                  this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Appointment Duration Units");
100                                  this.add(DR.class, false, 0, 53, new Object[]{ getMessage() }, "Requested Start Date/Time Range");
101                                  this.add(ST.class, false, 1, 5, new Object[]{ getMessage() }, "Priority");
102                                  this.add(RI.class, false, 1, 100, new Object[]{ getMessage() }, "Repeating Interval");
103                                  this.add(ST.class, false, 1, 5, new Object[]{ getMessage() }, "Repeating Interval Duration");
104                                  this.add(XCN.class, false, 1, 48, new Object[]{ getMessage() }, "Placer Contact Person");
105                                  this.add(XTN.class, false, 1, 40, new Object[]{ getMessage() }, "Placer Contact Phone Number");
106                                  this.add(XAD.class, false, 1, 106, 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, 1, 48, new Object[]{ getMessage() }, "Entered By Person");
109                                  this.add(XTN.class, false, 0, 40, new Object[]{ getMessage() }, "Entered By Phone Number");
110                                  this.add(PL.class, false, 1, 80, new Object[]{ getMessage() }, "Entered By Location");
111                                  this.add(EI.class, false, 1, 75, new Object[]{ getMessage() }, "Parent Placer Appointment ID");
112                                  this.add(EI.class, false, 1, 75, new Object[]{ getMessage() }, "Parent Filler Appointment ID");
113       } catch(HL7Exception e) {
114          log.error("Unexpected error creating ARQ - this is probably a bug in the source code generator.", e);
115       }
116    }
117
118
119
120    /**
121     * Returns
122     * ARQ-1: "Placer Appointment ID" - creates it if necessary
123     */
124    public EI getPlacerAppointmentID() { 
125                EI retVal = this.getTypedField(1, 0);
126                return retVal;
127    }
128    
129    /**
130     * Returns
131     * ARQ-1: "Placer Appointment ID" - creates it if necessary
132     */
133    public EI getArq1_PlacerAppointmentID() { 
134                EI retVal = this.getTypedField(1, 0);
135                return retVal;
136    }
137
138
139
140    /**
141     * Returns
142     * ARQ-2: "Filler Appointment ID" - creates it if necessary
143     */
144    public EI getFillerAppointmentID() { 
145                EI retVal = this.getTypedField(2, 0);
146                return retVal;
147    }
148    
149    /**
150     * Returns
151     * ARQ-2: "Filler Appointment ID" - creates it if necessary
152     */
153    public EI getArq2_FillerAppointmentID() { 
154                EI retVal = this.getTypedField(2, 0);
155                return retVal;
156    }
157
158
159
160    /**
161     * Returns
162     * ARQ-3: "Occurrence Number" - creates it if necessary
163     */
164    public NM getOccurrenceNumber() { 
165                NM retVal = this.getTypedField(3, 0);
166                return retVal;
167    }
168    
169    /**
170     * Returns
171     * ARQ-3: "Occurrence Number" - creates it if necessary
172     */
173    public NM getArq3_OccurrenceNumber() { 
174                NM retVal = this.getTypedField(3, 0);
175                return retVal;
176    }
177
178
179
180    /**
181     * Returns
182     * ARQ-4: "Placer Group Number" - creates it if necessary
183     */
184    public EI getPlacerGroupNumber() { 
185                EI retVal = this.getTypedField(4, 0);
186                return retVal;
187    }
188    
189    /**
190     * Returns
191     * ARQ-4: "Placer Group Number" - creates it if necessary
192     */
193    public EI getArq4_PlacerGroupNumber() { 
194                EI retVal = this.getTypedField(4, 0);
195                return retVal;
196    }
197
198
199
200    /**
201     * Returns
202     * ARQ-5: "Schedule ID" - creates it if necessary
203     */
204    public CE getScheduleID() { 
205                CE retVal = this.getTypedField(5, 0);
206                return retVal;
207    }
208    
209    /**
210     * Returns
211     * ARQ-5: "Schedule ID" - creates it if necessary
212     */
213    public CE getArq5_ScheduleID() { 
214                CE retVal = this.getTypedField(5, 0);
215                return retVal;
216    }
217
218
219
220    /**
221     * Returns
222     * ARQ-6: "Request Event Reason" - creates it if necessary
223     */
224    public CE getRequestEventReason() { 
225                CE retVal = this.getTypedField(6, 0);
226                return retVal;
227    }
228    
229    /**
230     * Returns
231     * ARQ-6: "Request Event Reason" - creates it if necessary
232     */
233    public CE getArq6_RequestEventReason() { 
234                CE retVal = this.getTypedField(6, 0);
235                return retVal;
236    }
237
238
239
240    /**
241     * Returns
242     * ARQ-7: "Appointment Reason" - creates it if necessary
243     */
244    public CE getAppointmentReason() { 
245                CE retVal = this.getTypedField(7, 0);
246                return retVal;
247    }
248    
249    /**
250     * Returns
251     * ARQ-7: "Appointment Reason" - creates it if necessary
252     */
253    public CE getArq7_AppointmentReason() { 
254                CE retVal = this.getTypedField(7, 0);
255                return retVal;
256    }
257
258
259
260    /**
261     * Returns
262     * ARQ-8: "Appointment Type" - creates it if necessary
263     */
264    public CE getAppointmentType() { 
265                CE retVal = this.getTypedField(8, 0);
266                return retVal;
267    }
268    
269    /**
270     * Returns
271     * ARQ-8: "Appointment Type" - creates it if necessary
272     */
273    public CE getArq8_AppointmentType() { 
274                CE retVal = this.getTypedField(8, 0);
275                return retVal;
276    }
277
278
279
280    /**
281     * Returns
282     * ARQ-9: "Appointment Duration" - creates it if necessary
283     */
284    public NM getAppointmentDuration() { 
285                NM retVal = this.getTypedField(9, 0);
286                return retVal;
287    }
288    
289    /**
290     * Returns
291     * ARQ-9: "Appointment Duration" - creates it if necessary
292     */
293    public NM getArq9_AppointmentDuration() { 
294                NM retVal = this.getTypedField(9, 0);
295                return retVal;
296    }
297
298
299
300    /**
301     * Returns
302     * ARQ-10: "Appointment Duration Units" - creates it if necessary
303     */
304    public CE getAppointmentDurationUnits() { 
305                CE retVal = this.getTypedField(10, 0);
306                return retVal;
307    }
308    
309    /**
310     * Returns
311     * ARQ-10: "Appointment Duration Units" - creates it if necessary
312     */
313    public CE getArq10_AppointmentDurationUnits() { 
314                CE retVal = this.getTypedField(10, 0);
315                return retVal;
316    }
317
318
319    /**
320     * Returns all repetitions of Requested Start Date/Time Range (ARQ-11).
321     */
322    public DR[] getRequestedStartDateTimeRange() {
323        DR[] retVal = this.getTypedField(11, new DR[0]);
324        return retVal;
325    }
326
327
328    /**
329     * Returns all repetitions of Requested Start Date/Time Range (ARQ-11).
330     */
331    public DR[] getArq11_RequestedStartDateTimeRange() {
332        DR[] retVal = this.getTypedField(11, new DR[0]);
333        return retVal;
334    }
335
336
337    /**
338     * Returns a count of the current number of repetitions of Requested Start Date/Time Range (ARQ-11).
339     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
340     * it will return zero.
341     */
342    public int getRequestedStartDateTimeRangeReps() {
343        return this.getReps(11);
344    }
345
346
347    /**
348     * Returns a specific repetition of
349     * ARQ-11: "Requested Start Date/Time Range" - creates it if necessary
350     *
351     * @param rep The repetition index (0-indexed)
352     */
353    public DR getRequestedStartDateTimeRange(int rep) { 
354                DR retVal = this.getTypedField(11, rep);
355                return retVal;
356    }
357
358    /**
359     * Returns a specific repetition of
360     * ARQ-11: "Requested Start Date/Time Range" - creates it if necessary
361     *
362     * @param rep The repetition index (0-indexed)
363     */
364    public DR getArq11_RequestedStartDateTimeRange(int rep) { 
365                DR retVal = this.getTypedField(11, rep);
366                return retVal;
367    }
368
369    /**
370     * Returns a count of the current number of repetitions of Requested Start Date/Time Range (ARQ-11).
371     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
372     * it will return zero.
373     */
374    public int getArq11_RequestedStartDateTimeRangeReps() {
375        return this.getReps(11);
376    }
377
378
379    /**
380     * Inserts a repetition of
381     * ARQ-11: "Requested Start Date/Time Range" at a specific index
382     *
383     * @param rep The repetition index (0-indexed)
384     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
385     */
386    public DR insertRequestedStartDateTimeRange(int rep) throws HL7Exception { 
387        return (DR) super.insertRepetition(11, rep);
388    }
389
390
391    /**
392     * Inserts a repetition of
393     * ARQ-11: "Requested Start Date/Time Range" at a specific index
394     *
395     * @param rep The repetition index (0-indexed)
396     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
397     */
398    public DR insertArq11_RequestedStartDateTimeRange(int rep) throws HL7Exception { 
399        return (DR) super.insertRepetition(11, rep);
400    }
401
402
403    /**
404     * Removes a repetition of
405     * ARQ-11: "Requested Start Date/Time Range" at a specific index
406     *
407     * @param rep The repetition index (0-indexed)
408     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
409     */
410    public DR removeRequestedStartDateTimeRange(int rep) throws HL7Exception { 
411        return (DR) super.removeRepetition(11, rep);
412    }
413
414
415    /**
416     * Removes a repetition of
417     * ARQ-11: "Requested Start Date/Time Range" at a specific index
418     *
419     * @param rep The repetition index (0-indexed)
420     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
421     */
422    public DR removeArq11_RequestedStartDateTimeRange(int rep) throws HL7Exception { 
423        return (DR) super.removeRepetition(11, rep);
424    }
425
426
427
428
429    /**
430     * Returns
431     * ARQ-12: "Priority" - creates it if necessary
432     */
433    public ST getPriority() { 
434                ST retVal = this.getTypedField(12, 0);
435                return retVal;
436    }
437    
438    /**
439     * Returns
440     * ARQ-12: "Priority" - creates it if necessary
441     */
442    public ST getArq12_Priority() { 
443                ST retVal = this.getTypedField(12, 0);
444                return retVal;
445    }
446
447
448
449    /**
450     * Returns
451     * ARQ-13: "Repeating Interval" - creates it if necessary
452     */
453    public RI getRepeatingInterval() { 
454                RI retVal = this.getTypedField(13, 0);
455                return retVal;
456    }
457    
458    /**
459     * Returns
460     * ARQ-13: "Repeating Interval" - creates it if necessary
461     */
462    public RI getArq13_RepeatingInterval() { 
463                RI retVal = this.getTypedField(13, 0);
464                return retVal;
465    }
466
467
468
469    /**
470     * Returns
471     * ARQ-14: "Repeating Interval Duration" - creates it if necessary
472     */
473    public ST getRepeatingIntervalDuration() { 
474                ST retVal = this.getTypedField(14, 0);
475                return retVal;
476    }
477    
478    /**
479     * Returns
480     * ARQ-14: "Repeating Interval Duration" - creates it if necessary
481     */
482    public ST getArq14_RepeatingIntervalDuration() { 
483                ST retVal = this.getTypedField(14, 0);
484                return retVal;
485    }
486
487
488
489    /**
490     * Returns
491     * ARQ-15: "Placer Contact Person" - creates it if necessary
492     */
493    public XCN getPlacerContactPerson() { 
494                XCN retVal = this.getTypedField(15, 0);
495                return retVal;
496    }
497    
498    /**
499     * Returns
500     * ARQ-15: "Placer Contact Person" - creates it if necessary
501     */
502    public XCN getArq15_PlacerContactPerson() { 
503                XCN retVal = this.getTypedField(15, 0);
504                return retVal;
505    }
506
507
508
509    /**
510     * Returns
511     * ARQ-16: "Placer Contact Phone Number" - creates it if necessary
512     */
513    public XTN getPlacerContactPhoneNumber() { 
514                XTN retVal = this.getTypedField(16, 0);
515                return retVal;
516    }
517    
518    /**
519     * Returns
520     * ARQ-16: "Placer Contact Phone Number" - creates it if necessary
521     */
522    public XTN getArq16_PlacerContactPhoneNumber() { 
523                XTN retVal = this.getTypedField(16, 0);
524                return retVal;
525    }
526
527
528
529    /**
530     * Returns
531     * ARQ-17: "Placer Contact Address" - creates it if necessary
532     */
533    public XAD getPlacerContactAddress() { 
534                XAD retVal = this.getTypedField(17, 0);
535                return retVal;
536    }
537    
538    /**
539     * Returns
540     * ARQ-17: "Placer Contact Address" - creates it if necessary
541     */
542    public XAD getArq17_PlacerContactAddress() { 
543                XAD retVal = this.getTypedField(17, 0);
544                return retVal;
545    }
546
547
548
549    /**
550     * Returns
551     * ARQ-18: "Placer Contact Location" - creates it if necessary
552     */
553    public PL getPlacerContactLocation() { 
554                PL retVal = this.getTypedField(18, 0);
555                return retVal;
556    }
557    
558    /**
559     * Returns
560     * ARQ-18: "Placer Contact Location" - creates it if necessary
561     */
562    public PL getArq18_PlacerContactLocation() { 
563                PL retVal = this.getTypedField(18, 0);
564                return retVal;
565    }
566
567
568
569    /**
570     * Returns
571     * ARQ-19: "Entered By Person" - creates it if necessary
572     */
573    public XCN getEnteredByPerson() { 
574                XCN retVal = this.getTypedField(19, 0);
575                return retVal;
576    }
577    
578    /**
579     * Returns
580     * ARQ-19: "Entered By Person" - creates it if necessary
581     */
582    public XCN getArq19_EnteredByPerson() { 
583                XCN retVal = this.getTypedField(19, 0);
584                return retVal;
585    }
586
587
588    /**
589     * Returns all repetitions of Entered By Phone Number (ARQ-20).
590     */
591    public XTN[] getEnteredByPhoneNumber() {
592        XTN[] retVal = this.getTypedField(20, new XTN[0]);
593        return retVal;
594    }
595
596
597    /**
598     * Returns all repetitions of Entered By Phone Number (ARQ-20).
599     */
600    public XTN[] getArq20_EnteredByPhoneNumber() {
601        XTN[] retVal = this.getTypedField(20, new XTN[0]);
602        return retVal;
603    }
604
605
606    /**
607     * Returns a count of the current number of repetitions of Entered By Phone Number (ARQ-20).
608     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
609     * it will return zero.
610     */
611    public int getEnteredByPhoneNumberReps() {
612        return this.getReps(20);
613    }
614
615
616    /**
617     * Returns a specific repetition of
618     * ARQ-20: "Entered By Phone Number" - creates it if necessary
619     *
620     * @param rep The repetition index (0-indexed)
621     */
622    public XTN getEnteredByPhoneNumber(int rep) { 
623                XTN retVal = this.getTypedField(20, rep);
624                return retVal;
625    }
626
627    /**
628     * Returns a specific repetition of
629     * ARQ-20: "Entered By Phone Number" - creates it if necessary
630     *
631     * @param rep The repetition index (0-indexed)
632     */
633    public XTN getArq20_EnteredByPhoneNumber(int rep) { 
634                XTN retVal = this.getTypedField(20, rep);
635                return retVal;
636    }
637
638    /**
639     * Returns a count of the current number of repetitions of Entered By Phone Number (ARQ-20).
640     * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
641     * it will return zero.
642     */
643    public int getArq20_EnteredByPhoneNumberReps() {
644        return this.getReps(20);
645    }
646
647
648    /**
649     * Inserts a repetition of
650     * ARQ-20: "Entered By Phone Number" 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 XTN insertEnteredByPhoneNumber(int rep) throws HL7Exception { 
656        return (XTN) super.insertRepetition(20, rep);
657    }
658
659
660    /**
661     * Inserts a repetition of
662     * ARQ-20: "Entered By Phone Number" 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 XTN insertArq20_EnteredByPhoneNumber(int rep) throws HL7Exception { 
668        return (XTN) super.insertRepetition(20, rep);
669    }
670
671
672    /**
673     * Removes a repetition of
674     * ARQ-20: "Entered By Phone Number" at a specific index
675     *
676     * @param rep The repetition index (0-indexed)
677     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
678     */
679    public XTN removeEnteredByPhoneNumber(int rep) throws HL7Exception { 
680        return (XTN) super.removeRepetition(20, rep);
681    }
682
683
684    /**
685     * Removes a repetition of
686     * ARQ-20: "Entered By Phone Number" at a specific index
687     *
688     * @param rep The repetition index (0-indexed)
689     * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
690     */
691    public XTN removeArq20_EnteredByPhoneNumber(int rep) throws HL7Exception { 
692        return (XTN) super.removeRepetition(20, rep);
693    }
694
695
696
697
698    /**
699     * Returns
700     * ARQ-21: "Entered By Location" - creates it if necessary
701     */
702    public PL getEnteredByLocation() { 
703                PL retVal = this.getTypedField(21, 0);
704                return retVal;
705    }
706    
707    /**
708     * Returns
709     * ARQ-21: "Entered By Location" - creates it if necessary
710     */
711    public PL getArq21_EnteredByLocation() { 
712                PL retVal = this.getTypedField(21, 0);
713                return retVal;
714    }
715
716
717
718    /**
719     * Returns
720     * ARQ-22: "Parent Placer Appointment ID" - creates it if necessary
721     */
722    public EI getParentPlacerAppointmentID() { 
723                EI retVal = this.getTypedField(22, 0);
724                return retVal;
725    }
726    
727    /**
728     * Returns
729     * ARQ-22: "Parent Placer Appointment ID" - creates it if necessary
730     */
731    public EI getArq22_ParentPlacerAppointmentID() { 
732                EI retVal = this.getTypedField(22, 0);
733                return retVal;
734    }
735
736
737
738    /**
739     * Returns
740     * ARQ-23: "Parent Filler Appointment ID" - creates it if necessary
741     */
742    public EI getParentFillerAppointmentID() { 
743                EI retVal = this.getTypedField(23, 0);
744                return retVal;
745    }
746    
747    /**
748     * Returns
749     * ARQ-23: "Parent Filler Appointment ID" - creates it if necessary
750     */
751    public EI getArq23_ParentFillerAppointmentID() { 
752                EI retVal = this.getTypedField(23, 0);
753                return retVal;
754    }
755
756
757
758
759
760    /** {@inheritDoc} */   
761    protected Type createNewTypeWithoutReflection(int field) {
762       switch (field) {
763          case 0: return new EI(getMessage());
764          case 1: return new EI(getMessage());
765          case 2: return new NM(getMessage());
766          case 3: return new EI(getMessage());
767          case 4: return new CE(getMessage());
768          case 5: return new CE(getMessage());
769          case 6: return new CE(getMessage());
770          case 7: return new CE(getMessage());
771          case 8: return new NM(getMessage());
772          case 9: return new CE(getMessage());
773          case 10: return new DR(getMessage());
774          case 11: return new ST(getMessage());
775          case 12: return new RI(getMessage());
776          case 13: return new ST(getMessage());
777          case 14: return new XCN(getMessage());
778          case 15: return new XTN(getMessage());
779          case 16: return new XAD(getMessage());
780          case 17: return new PL(getMessage());
781          case 18: return new XCN(getMessage());
782          case 19: return new XTN(getMessage());
783          case 20: return new PL(getMessage());
784          case 21: return new EI(getMessage());
785          case 22: return new EI(getMessage());
786          default: return null;
787       }
788   }
789
790
791}
792