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.message;
035
036import ca.uhn.hl7v2.model.v23.group.*;
037import ca.uhn.hl7v2.model.v23.segment.*;
038
039import java.util.List;
040
041import ca.uhn.hl7v2.HL7Exception;
042import ca.uhn.hl7v2.parser.ModelClassFactory;
043import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
044import ca.uhn.hl7v2.model.AbstractMessage;
045
046/**
047 * <p>Represents a RQA_I11 message structure (see chapter ?). This structure contains the 
048 * following elements: </p>
049 * <ul>
050                 * <li>1: MSH (Message header segment) <b> </b></li>
051                 * <li>2: RF1 (Referral Information Segment) <b>optional </b></li>
052                 * <li>3: RQA_I11_AUTHORIZATION (a Group object) <b>optional </b></li>
053                 * <li>4: RQA_I11_PROVIDER (a Group object) <b> repeating</b></li>
054                 * <li>5: PID (Patient Identification) <b> </b></li>
055                 * <li>6: NK1 (Next of kin) <b>optional repeating</b></li>
056                 * <li>7: RQA_I11_GUARANTOR_INSURANCE (a Group object) <b>optional </b></li>
057                 * <li>8: ACC (Accident) <b>optional </b></li>
058                 * <li>9: DG1 (Diagnosis) <b>optional repeating</b></li>
059                 * <li>10: DRG (Diagnosis Related Group) <b>optional repeating</b></li>
060                 * <li>11: AL1 (Patient allergy information) <b>optional repeating</b></li>
061                 * <li>12: RQA_I11_PROCEDURE (a Group object) <b>optional repeating</b></li>
062                 * <li>13: RQA_I11_RESULTS (a Group object) <b>optional repeating</b></li>
063                 * <li>14: RQA_I11_VISIT (a Group object) <b>optional </b></li>
064                 * <li>15: NTE (Notes and comments segment) <b>optional repeating</b></li>
065 * </ul>
066 */
067@SuppressWarnings("unused")
068public class RQA_I11 extends AbstractMessage  {
069
070    /**
071     * Creates a new RQA_I11 message with DefaultModelClassFactory. 
072     */ 
073    public RQA_I11() { 
074       this(new DefaultModelClassFactory());
075    }
076
077    /** 
078     * Creates a new RQA_I11 message with custom ModelClassFactory.
079     */
080    public RQA_I11(ModelClassFactory factory) {
081       super(factory);
082       init(factory);
083    }
084
085    private void init(ModelClassFactory factory) {
086       try {
087                          this.add(MSH.class, true, false);
088                          this.add(RF1.class, false, false);
089                          this.add(RQA_I11_AUTHORIZATION.class, false, false);
090                          this.add(RQA_I11_PROVIDER.class, true, true);
091                          this.add(PID.class, true, false);
092                          this.add(NK1.class, false, true);
093                          this.add(RQA_I11_GUARANTOR_INSURANCE.class, false, false);
094                          this.add(ACC.class, false, false);
095                          this.add(DG1.class, false, true);
096                          this.add(DRG.class, false, true);
097                          this.add(AL1.class, false, true);
098                          this.add(RQA_I11_PROCEDURE.class, false, true);
099                          this.add(RQA_I11_RESULTS.class, false, true);
100                          this.add(RQA_I11_VISIT.class, false, false);
101                          this.add(NTE.class, false, true);
102       } catch(HL7Exception e) {
103          log.error("Unexpected error creating RQA_I11 - this is probably a bug in the source code generator.", e);
104       }
105    }
106
107    /** 
108     * Returns "2.3"
109     */
110    public String getVersion() {
111       return "2.3";
112    }
113
114
115
116    /**
117     * Returns
118     * MSH (Message header segment) - creates it if necessary
119     */
120    public MSH getMSH() { 
121       return getTyped("MSH", MSH.class);
122    }
123
124
125
126
127    /**
128     * Returns
129     * RF1 (Referral Information Segment) - creates it if necessary
130     */
131    public RF1 getRF1() { 
132       return getTyped("RF1", RF1.class);
133    }
134
135
136
137
138    /**
139     * Returns
140     * AUTHORIZATION (a Group object) - creates it if necessary
141     */
142    public RQA_I11_AUTHORIZATION getAUTHORIZATION() { 
143       return getTyped("AUTHORIZATION", RQA_I11_AUTHORIZATION.class);
144    }
145
146
147
148
149    /**
150     * Returns
151     * the first repetition of 
152     * PROVIDER (a Group object) - creates it if necessary
153     */
154    public RQA_I11_PROVIDER getPROVIDER() { 
155       return getTyped("PROVIDER", RQA_I11_PROVIDER.class);
156    }
157
158
159    /**
160     * Returns a specific repetition of
161     * PROVIDER (a Group object) - creates it if necessary
162     *
163     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
164     * @throws HL7Exception if the repetition requested is more than one 
165     *     greater than the number of existing repetitions.
166     */
167    public RQA_I11_PROVIDER getPROVIDER(int rep) { 
168       return getTyped("PROVIDER", rep, RQA_I11_PROVIDER.class);
169    }
170
171    /** 
172     * Returns the number of existing repetitions of PROVIDER 
173     */ 
174    public int getPROVIDERReps() { 
175        return getReps("PROVIDER");
176    } 
177
178    /** 
179     * <p>
180     * Returns a non-modifiable List containing all current existing repetitions of PROVIDER.
181     * <p>
182     * <p>
183     * Note that unlike {@link #getPROVIDER()}, this method will not create any reps
184     * if none are already present, so an empty list may be returned.
185     * </p>
186     */ 
187    public List<RQA_I11_PROVIDER> getPROVIDERAll() throws HL7Exception {
188        return getAllAsList("PROVIDER", RQA_I11_PROVIDER.class);
189    } 
190
191    /**
192     * Inserts a specific repetition of PROVIDER (a Group object)
193     * @see AbstractGroup#insertRepetition(Structure, int) 
194     */
195    public void insertPROVIDER(RQA_I11_PROVIDER structure, int rep) throws HL7Exception { 
196       super.insertRepetition( "PROVIDER", structure, rep);
197    }
198
199
200    /**
201     * Inserts a specific repetition of PROVIDER (a Group object)
202     * @see AbstractGroup#insertRepetition(Structure, int) 
203     */
204    public RQA_I11_PROVIDER insertPROVIDER(int rep) throws HL7Exception { 
205       return (RQA_I11_PROVIDER)super.insertRepetition("PROVIDER", rep);
206    }
207
208
209    /**
210     * Removes a specific repetition of PROVIDER (a Group object)
211     * @see AbstractGroup#removeRepetition(String, int) 
212     */
213    public RQA_I11_PROVIDER removePROVIDER(int rep) throws HL7Exception { 
214       return (RQA_I11_PROVIDER)super.removeRepetition("PROVIDER", rep);
215    }
216
217
218
219    /**
220     * Returns
221     * PID (Patient Identification) - creates it if necessary
222     */
223    public PID getPID() { 
224       return getTyped("PID", PID.class);
225    }
226
227
228
229
230    /**
231     * Returns
232     * the first repetition of 
233     * NK1 (Next of kin) - creates it if necessary
234     */
235    public NK1 getNK1() { 
236       return getTyped("NK1", NK1.class);
237    }
238
239
240    /**
241     * Returns a specific repetition of
242     * NK1 (Next of kin) - creates it if necessary
243     *
244     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
245     * @throws HL7Exception if the repetition requested is more than one 
246     *     greater than the number of existing repetitions.
247     */
248    public NK1 getNK1(int rep) { 
249       return getTyped("NK1", rep, NK1.class);
250    }
251
252    /** 
253     * Returns the number of existing repetitions of NK1 
254     */ 
255    public int getNK1Reps() { 
256        return getReps("NK1");
257    } 
258
259    /** 
260     * <p>
261     * Returns a non-modifiable List containing all current existing repetitions of NK1.
262     * <p>
263     * <p>
264     * Note that unlike {@link #getNK1()}, this method will not create any reps
265     * if none are already present, so an empty list may be returned.
266     * </p>
267     */ 
268    public List<NK1> getNK1All() throws HL7Exception {
269        return getAllAsList("NK1", NK1.class);
270    } 
271
272    /**
273     * Inserts a specific repetition of NK1 (Next of kin)
274     * @see AbstractGroup#insertRepetition(Structure, int) 
275     */
276    public void insertNK1(NK1 structure, int rep) throws HL7Exception { 
277       super.insertRepetition( "NK1", structure, rep);
278    }
279
280
281    /**
282     * Inserts a specific repetition of NK1 (Next of kin)
283     * @see AbstractGroup#insertRepetition(Structure, int) 
284     */
285    public NK1 insertNK1(int rep) throws HL7Exception { 
286       return (NK1)super.insertRepetition("NK1", rep);
287    }
288
289
290    /**
291     * Removes a specific repetition of NK1 (Next of kin)
292     * @see AbstractGroup#removeRepetition(String, int) 
293     */
294    public NK1 removeNK1(int rep) throws HL7Exception { 
295       return (NK1)super.removeRepetition("NK1", rep);
296    }
297
298
299
300    /**
301     * Returns
302     * GUARANTOR_INSURANCE (a Group object) - creates it if necessary
303     */
304    public RQA_I11_GUARANTOR_INSURANCE getGUARANTOR_INSURANCE() { 
305       return getTyped("GUARANTOR_INSURANCE", RQA_I11_GUARANTOR_INSURANCE.class);
306    }
307
308
309
310
311    /**
312     * Returns
313     * ACC (Accident) - creates it if necessary
314     */
315    public ACC getACC() { 
316       return getTyped("ACC", ACC.class);
317    }
318
319
320
321
322    /**
323     * Returns
324     * the first repetition of 
325     * DG1 (Diagnosis) - creates it if necessary
326     */
327    public DG1 getDG1() { 
328       return getTyped("DG1", DG1.class);
329    }
330
331
332    /**
333     * Returns a specific repetition of
334     * DG1 (Diagnosis) - creates it if necessary
335     *
336     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
337     * @throws HL7Exception if the repetition requested is more than one 
338     *     greater than the number of existing repetitions.
339     */
340    public DG1 getDG1(int rep) { 
341       return getTyped("DG1", rep, DG1.class);
342    }
343
344    /** 
345     * Returns the number of existing repetitions of DG1 
346     */ 
347    public int getDG1Reps() { 
348        return getReps("DG1");
349    } 
350
351    /** 
352     * <p>
353     * Returns a non-modifiable List containing all current existing repetitions of DG1.
354     * <p>
355     * <p>
356     * Note that unlike {@link #getDG1()}, this method will not create any reps
357     * if none are already present, so an empty list may be returned.
358     * </p>
359     */ 
360    public List<DG1> getDG1All() throws HL7Exception {
361        return getAllAsList("DG1", DG1.class);
362    } 
363
364    /**
365     * Inserts a specific repetition of DG1 (Diagnosis)
366     * @see AbstractGroup#insertRepetition(Structure, int) 
367     */
368    public void insertDG1(DG1 structure, int rep) throws HL7Exception { 
369       super.insertRepetition( "DG1", structure, rep);
370    }
371
372
373    /**
374     * Inserts a specific repetition of DG1 (Diagnosis)
375     * @see AbstractGroup#insertRepetition(Structure, int) 
376     */
377    public DG1 insertDG1(int rep) throws HL7Exception { 
378       return (DG1)super.insertRepetition("DG1", rep);
379    }
380
381
382    /**
383     * Removes a specific repetition of DG1 (Diagnosis)
384     * @see AbstractGroup#removeRepetition(String, int) 
385     */
386    public DG1 removeDG1(int rep) throws HL7Exception { 
387       return (DG1)super.removeRepetition("DG1", rep);
388    }
389
390
391
392    /**
393     * Returns
394     * the first repetition of 
395     * DRG (Diagnosis Related Group) - creates it if necessary
396     */
397    public DRG getDRG() { 
398       return getTyped("DRG", DRG.class);
399    }
400
401
402    /**
403     * Returns a specific repetition of
404     * DRG (Diagnosis Related Group) - creates it if necessary
405     *
406     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
407     * @throws HL7Exception if the repetition requested is more than one 
408     *     greater than the number of existing repetitions.
409     */
410    public DRG getDRG(int rep) { 
411       return getTyped("DRG", rep, DRG.class);
412    }
413
414    /** 
415     * Returns the number of existing repetitions of DRG 
416     */ 
417    public int getDRGReps() { 
418        return getReps("DRG");
419    } 
420
421    /** 
422     * <p>
423     * Returns a non-modifiable List containing all current existing repetitions of DRG.
424     * <p>
425     * <p>
426     * Note that unlike {@link #getDRG()}, this method will not create any reps
427     * if none are already present, so an empty list may be returned.
428     * </p>
429     */ 
430    public List<DRG> getDRGAll() throws HL7Exception {
431        return getAllAsList("DRG", DRG.class);
432    } 
433
434    /**
435     * Inserts a specific repetition of DRG (Diagnosis Related Group)
436     * @see AbstractGroup#insertRepetition(Structure, int) 
437     */
438    public void insertDRG(DRG structure, int rep) throws HL7Exception { 
439       super.insertRepetition( "DRG", structure, rep);
440    }
441
442
443    /**
444     * Inserts a specific repetition of DRG (Diagnosis Related Group)
445     * @see AbstractGroup#insertRepetition(Structure, int) 
446     */
447    public DRG insertDRG(int rep) throws HL7Exception { 
448       return (DRG)super.insertRepetition("DRG", rep);
449    }
450
451
452    /**
453     * Removes a specific repetition of DRG (Diagnosis Related Group)
454     * @see AbstractGroup#removeRepetition(String, int) 
455     */
456    public DRG removeDRG(int rep) throws HL7Exception { 
457       return (DRG)super.removeRepetition("DRG", rep);
458    }
459
460
461
462    /**
463     * Returns
464     * the first repetition of 
465     * AL1 (Patient allergy information) - creates it if necessary
466     */
467    public AL1 getAL1() { 
468       return getTyped("AL1", AL1.class);
469    }
470
471
472    /**
473     * Returns a specific repetition of
474     * AL1 (Patient allergy information) - creates it if necessary
475     *
476     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
477     * @throws HL7Exception if the repetition requested is more than one 
478     *     greater than the number of existing repetitions.
479     */
480    public AL1 getAL1(int rep) { 
481       return getTyped("AL1", rep, AL1.class);
482    }
483
484    /** 
485     * Returns the number of existing repetitions of AL1 
486     */ 
487    public int getAL1Reps() { 
488        return getReps("AL1");
489    } 
490
491    /** 
492     * <p>
493     * Returns a non-modifiable List containing all current existing repetitions of AL1.
494     * <p>
495     * <p>
496     * Note that unlike {@link #getAL1()}, this method will not create any reps
497     * if none are already present, so an empty list may be returned.
498     * </p>
499     */ 
500    public List<AL1> getAL1All() throws HL7Exception {
501        return getAllAsList("AL1", AL1.class);
502    } 
503
504    /**
505     * Inserts a specific repetition of AL1 (Patient allergy information)
506     * @see AbstractGroup#insertRepetition(Structure, int) 
507     */
508    public void insertAL1(AL1 structure, int rep) throws HL7Exception { 
509       super.insertRepetition( "AL1", structure, rep);
510    }
511
512
513    /**
514     * Inserts a specific repetition of AL1 (Patient allergy information)
515     * @see AbstractGroup#insertRepetition(Structure, int) 
516     */
517    public AL1 insertAL1(int rep) throws HL7Exception { 
518       return (AL1)super.insertRepetition("AL1", rep);
519    }
520
521
522    /**
523     * Removes a specific repetition of AL1 (Patient allergy information)
524     * @see AbstractGroup#removeRepetition(String, int) 
525     */
526    public AL1 removeAL1(int rep) throws HL7Exception { 
527       return (AL1)super.removeRepetition("AL1", rep);
528    }
529
530
531
532    /**
533     * Returns
534     * the first repetition of 
535     * PROCEDURE (a Group object) - creates it if necessary
536     */
537    public RQA_I11_PROCEDURE getPROCEDURE() { 
538       return getTyped("PROCEDURE", RQA_I11_PROCEDURE.class);
539    }
540
541
542    /**
543     * Returns a specific repetition of
544     * PROCEDURE (a Group object) - creates it if necessary
545     *
546     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
547     * @throws HL7Exception if the repetition requested is more than one 
548     *     greater than the number of existing repetitions.
549     */
550    public RQA_I11_PROCEDURE getPROCEDURE(int rep) { 
551       return getTyped("PROCEDURE", rep, RQA_I11_PROCEDURE.class);
552    }
553
554    /** 
555     * Returns the number of existing repetitions of PROCEDURE 
556     */ 
557    public int getPROCEDUREReps() { 
558        return getReps("PROCEDURE");
559    } 
560
561    /** 
562     * <p>
563     * Returns a non-modifiable List containing all current existing repetitions of PROCEDURE.
564     * <p>
565     * <p>
566     * Note that unlike {@link #getPROCEDURE()}, this method will not create any reps
567     * if none are already present, so an empty list may be returned.
568     * </p>
569     */ 
570    public List<RQA_I11_PROCEDURE> getPROCEDUREAll() throws HL7Exception {
571        return getAllAsList("PROCEDURE", RQA_I11_PROCEDURE.class);
572    } 
573
574    /**
575     * Inserts a specific repetition of PROCEDURE (a Group object)
576     * @see AbstractGroup#insertRepetition(Structure, int) 
577     */
578    public void insertPROCEDURE(RQA_I11_PROCEDURE structure, int rep) throws HL7Exception { 
579       super.insertRepetition( "PROCEDURE", structure, rep);
580    }
581
582
583    /**
584     * Inserts a specific repetition of PROCEDURE (a Group object)
585     * @see AbstractGroup#insertRepetition(Structure, int) 
586     */
587    public RQA_I11_PROCEDURE insertPROCEDURE(int rep) throws HL7Exception { 
588       return (RQA_I11_PROCEDURE)super.insertRepetition("PROCEDURE", rep);
589    }
590
591
592    /**
593     * Removes a specific repetition of PROCEDURE (a Group object)
594     * @see AbstractGroup#removeRepetition(String, int) 
595     */
596    public RQA_I11_PROCEDURE removePROCEDURE(int rep) throws HL7Exception { 
597       return (RQA_I11_PROCEDURE)super.removeRepetition("PROCEDURE", rep);
598    }
599
600
601
602    /**
603     * Returns
604     * the first repetition of 
605     * RESULTS (a Group object) - creates it if necessary
606     */
607    public RQA_I11_RESULTS getRESULTS() { 
608       return getTyped("RESULTS", RQA_I11_RESULTS.class);
609    }
610
611
612    /**
613     * Returns a specific repetition of
614     * RESULTS (a Group object) - creates it if necessary
615     *
616     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
617     * @throws HL7Exception if the repetition requested is more than one 
618     *     greater than the number of existing repetitions.
619     */
620    public RQA_I11_RESULTS getRESULTS(int rep) { 
621       return getTyped("RESULTS", rep, RQA_I11_RESULTS.class);
622    }
623
624    /** 
625     * Returns the number of existing repetitions of RESULTS 
626     */ 
627    public int getRESULTSReps() { 
628        return getReps("RESULTS");
629    } 
630
631    /** 
632     * <p>
633     * Returns a non-modifiable List containing all current existing repetitions of RESULTS.
634     * <p>
635     * <p>
636     * Note that unlike {@link #getRESULTS()}, this method will not create any reps
637     * if none are already present, so an empty list may be returned.
638     * </p>
639     */ 
640    public List<RQA_I11_RESULTS> getRESULTSAll() throws HL7Exception {
641        return getAllAsList("RESULTS", RQA_I11_RESULTS.class);
642    } 
643
644    /**
645     * Inserts a specific repetition of RESULTS (a Group object)
646     * @see AbstractGroup#insertRepetition(Structure, int) 
647     */
648    public void insertRESULTS(RQA_I11_RESULTS structure, int rep) throws HL7Exception { 
649       super.insertRepetition( "RESULTS", structure, rep);
650    }
651
652
653    /**
654     * Inserts a specific repetition of RESULTS (a Group object)
655     * @see AbstractGroup#insertRepetition(Structure, int) 
656     */
657    public RQA_I11_RESULTS insertRESULTS(int rep) throws HL7Exception { 
658       return (RQA_I11_RESULTS)super.insertRepetition("RESULTS", rep);
659    }
660
661
662    /**
663     * Removes a specific repetition of RESULTS (a Group object)
664     * @see AbstractGroup#removeRepetition(String, int) 
665     */
666    public RQA_I11_RESULTS removeRESULTS(int rep) throws HL7Exception { 
667       return (RQA_I11_RESULTS)super.removeRepetition("RESULTS", rep);
668    }
669
670
671
672    /**
673     * Returns
674     * VISIT (a Group object) - creates it if necessary
675     */
676    public RQA_I11_VISIT getVISIT() { 
677       return getTyped("VISIT", RQA_I11_VISIT.class);
678    }
679
680
681
682
683    /**
684     * Returns
685     * the first repetition of 
686     * NTE (Notes and comments segment) - creates it if necessary
687     */
688    public NTE getNTE() { 
689       return getTyped("NTE", NTE.class);
690    }
691
692
693    /**
694     * Returns a specific repetition of
695     * NTE (Notes and comments segment) - creates it if necessary
696     *
697     * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
698     * @throws HL7Exception if the repetition requested is more than one 
699     *     greater than the number of existing repetitions.
700     */
701    public NTE getNTE(int rep) { 
702       return getTyped("NTE", rep, NTE.class);
703    }
704
705    /** 
706     * Returns the number of existing repetitions of NTE 
707     */ 
708    public int getNTEReps() { 
709        return getReps("NTE");
710    } 
711
712    /** 
713     * <p>
714     * Returns a non-modifiable List containing all current existing repetitions of NTE.
715     * <p>
716     * <p>
717     * Note that unlike {@link #getNTE()}, this method will not create any reps
718     * if none are already present, so an empty list may be returned.
719     * </p>
720     */ 
721    public List<NTE> getNTEAll() throws HL7Exception {
722        return getAllAsList("NTE", NTE.class);
723    } 
724
725    /**
726     * Inserts a specific repetition of NTE (Notes and comments segment)
727     * @see AbstractGroup#insertRepetition(Structure, int) 
728     */
729    public void insertNTE(NTE structure, int rep) throws HL7Exception { 
730       super.insertRepetition( "NTE", structure, rep);
731    }
732
733
734    /**
735     * Inserts a specific repetition of NTE (Notes and comments segment)
736     * @see AbstractGroup#insertRepetition(Structure, int) 
737     */
738    public NTE insertNTE(int rep) throws HL7Exception { 
739       return (NTE)super.insertRepetition("NTE", rep);
740    }
741
742
743    /**
744     * Removes a specific repetition of NTE (Notes and comments segment)
745     * @see AbstractGroup#removeRepetition(String, int) 
746     */
747    public NTE removeNTE(int rep) throws HL7Exception { 
748       return (NTE)super.removeRepetition("NTE", rep);
749    }
750
751
752
753}
754