View Javadoc
1   /*
2    * This class is an auto-generated source file for a HAPI
3    * HL7 v2.x standard structure class.
4    *
5    * For more information, visit: http://hl7api.sourceforge.net/
6    * 
7    * The contents of this file are subject to the Mozilla Public License Version 1.1 
8    * (the "License"); you may not use this file except in compliance with the License. 
9    * You may obtain a copy of the License at http://www.mozilla.org/MPL/ 
10   * Software distributed under the License is distributed on an "AS IS" basis, 
11   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the 
12   * specific language governing rights and limitations under the License. 
13   * 
14   * The Original Code is "[file_name]".  Description: 
15   * "[one_line_description]" 
16   * 
17   * The Initial Developer of the Original Code is University Health Network. Copyright (C) 
18   * 2012.  All Rights Reserved. 
19   * 
20   * Contributor(s): ______________________________________. 
21   * 
22   * Alternatively, the contents of this file may be used under the terms of the 
23   * GNU General Public License (the  "GPL"), in which case the provisions of the GPL are 
24   * applicable instead of those above.  If you wish to allow use of your version of this 
25   * file only under the terms of the GPL and not to allow others to use your version 
26   * of this file under the MPL, indicate your decision by deleting  the provisions above 
27   * and replace  them with the notice and other provisions required by the GPL License.  
28   * If you do not delete the provisions above, a recipient may use your version of 
29   * this file under either the MPL or the GPL. 
30   * 
31   */
32  
33  
34  package ca.uhn.hl7v2.model.v28.segment;
35  
36  // import ca.uhn.hl7v2.model.v28.group.*;
37  import ca.uhn.hl7v2.model.v28.datatype.*;
38  import ca.uhn.hl7v2.HL7Exception;
39  import ca.uhn.hl7v2.parser.ModelClassFactory;
40  import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
41  import ca.uhn.hl7v2.model.AbstractMessage;
42  import ca.uhn.hl7v2.model.Group;
43  import ca.uhn.hl7v2.model.Type;
44  import ca.uhn.hl7v2.model.AbstractSegment;
45  import ca.uhn.hl7v2.model.Varies;
46  
47  
48  /**
49   *<p>Represents an HL7 TXA message segment (Transcription Document Header). 
50   * This segment has the following fields:</p>
51   * <ul>
52       * <li>TXA-1: Set ID- TXA (SI) <b> </b>
53       * <li>TXA-2: Document Type (CWE) <b> </b>
54       * <li>TXA-3: Document Content Presentation (ID) <b>optional </b>
55       * <li>TXA-4: Activity Date/Time (DTM) <b>optional </b>
56       * <li>TXA-5: Primary Activity Provider Code/Name (XCN) <b>optional repeating</b>
57       * <li>TXA-6: Origination Date/Time (DTM) <b>optional </b>
58       * <li>TXA-7: Transcription Date/Time (DTM) <b>optional </b>
59       * <li>TXA-8: Edit Date/Time (DTM) <b>optional repeating</b>
60       * <li>TXA-9: Originator Code/Name (XCN) <b>optional repeating</b>
61       * <li>TXA-10: Assigned Document Authenticator (XCN) <b>optional repeating</b>
62       * <li>TXA-11: Transcriptionist Code/Name (XCN) <b>optional repeating</b>
63       * <li>TXA-12: Unique Document Number (EI) <b> </b>
64       * <li>TXA-13: Parent Document Number (EI) <b>optional </b>
65       * <li>TXA-14: Placer Order Number (EI) <b>optional repeating</b>
66       * <li>TXA-15: Filler Order Number (EI) <b>optional </b>
67       * <li>TXA-16: Unique Document File Name (ST) <b>optional </b>
68       * <li>TXA-17: Document Completion Status (ID) <b> </b>
69       * <li>TXA-18: Document Confidentiality Status (ID) <b>optional </b>
70       * <li>TXA-19: Document Availability Status (ID) <b>optional </b>
71       * <li>TXA-20: Document Storage Status (ID) <b>optional </b>
72       * <li>TXA-21: Document Change Reason (ST) <b>optional </b>
73       * <li>TXA-22: Authentication Person, Time Stamp (set) (PPN) <b>optional repeating</b>
74       * <li>TXA-23: Distributed Copies (Code and Name of Recipient(s) ) (XCN) <b>optional repeating</b>
75       * <li>TXA-24: Folder Assignment (CWE) <b>optional repeating</b>
76       * <li>TXA-25: Document Title (ST) <b>optional repeating</b>
77       * <li>TXA-26: Agreed Due Date/Time (DTM) <b>optional </b>
78   * </ul>
79   */
80  @SuppressWarnings("unused")
81  public class TXA extends AbstractSegment {
82  
83      /** 
84       * Creates a new TXA segment
85       */
86      public TXA(Group parent, ModelClassFactory factory) {
87         super(parent, factory);
88         init(factory);
89      }
90  
91      private void init(ModelClassFactory factory) {
92         try {
93                                    this.add(SI.class, true, 1, 4, new Object[]{ getMessage() }, "Set ID- TXA");
94                                    this.add(CWE.class, true, 1, 0, new Object[]{ getMessage() }, "Document Type");
95                                                this.add(ID.class, false, 1, 0, new Object[]{ getMessage(), new Integer(191) }, "Document Content Presentation");
96                                    this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Activity Date/Time");
97                                    this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Primary Activity Provider Code/Name");
98                                    this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Origination Date/Time");
99                                    this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Transcription Date/Time");
100                                   this.add(DTM.class, false, 0, 0, new Object[]{ getMessage() }, "Edit Date/Time");
101                                   this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Originator Code/Name");
102                                   this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Assigned Document Authenticator");
103                                   this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Transcriptionist Code/Name");
104                                   this.add(EI.class, true, 1, 0, new Object[]{ getMessage() }, "Unique Document Number");
105                                   this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Parent Document Number");
106                                   this.add(EI.class, false, 0, 0, new Object[]{ getMessage() }, "Placer Order Number");
107                                   this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Filler Order Number");
108                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Unique Document File Name");
109                                               this.add(ID.class, true, 1, 2, new Object[]{ getMessage(), new Integer(271) }, "Document Completion Status");
110                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(272) }, "Document Confidentiality Status");
111                                               this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(273) }, "Document Availability Status");
112                                               this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(275) }, "Document Storage Status");
113                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Document Change Reason");
114                                   this.add(PPN.class, false, 0, 0, new Object[]{ getMessage() }, "Authentication Person, Time Stamp (set)");
115                                   this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Distributed Copies (Code and Name of Recipient(s) )");
116                                   this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Folder Assignment");
117                                   this.add(ST.class, false, 0, 0, new Object[]{ getMessage() }, "Document Title");
118                                   this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Agreed Due Date/Time");
119        } catch(HL7Exception e) {
120           log.error("Unexpected error creating TXA - this is probably a bug in the source code generator.", e);
121        }
122     }
123 
124 
125 
126     /**
127      * Returns
128      * TXA-1: "Set ID- TXA" - creates it if necessary
129      */
130     public SI getSetIDTXA() { 
131 		SI retVal = this.getTypedField(1, 0);
132 		return retVal;
133     }
134     
135     /**
136      * Returns
137      * TXA-1: "Set ID- TXA" - creates it if necessary
138      */
139     public SI getTxa1_SetIDTXA() { 
140 		SI retVal = this.getTypedField(1, 0);
141 		return retVal;
142     }
143 
144 
145 
146     /**
147      * Returns
148      * TXA-2: "Document Type" - creates it if necessary
149      */
150     public CWE getDocumentType() { 
151 		CWE retVal = this.getTypedField(2, 0);
152 		return retVal;
153     }
154     
155     /**
156      * Returns
157      * TXA-2: "Document Type" - creates it if necessary
158      */
159     public CWE getTxa2_DocumentType() { 
160 		CWE retVal = this.getTypedField(2, 0);
161 		return retVal;
162     }
163 
164 
165 
166     /**
167      * Returns
168      * TXA-3: "Document Content Presentation" - creates it if necessary
169      */
170     public ID getDocumentContentPresentation() { 
171 		ID retVal = this.getTypedField(3, 0);
172 		return retVal;
173     }
174     
175     /**
176      * Returns
177      * TXA-3: "Document Content Presentation" - creates it if necessary
178      */
179     public ID getTxa3_DocumentContentPresentation() { 
180 		ID retVal = this.getTypedField(3, 0);
181 		return retVal;
182     }
183 
184 
185 
186     /**
187      * Returns
188      * TXA-4: "Activity Date/Time" - creates it if necessary
189      */
190     public DTM getActivityDateTime() { 
191 		DTM retVal = this.getTypedField(4, 0);
192 		return retVal;
193     }
194     
195     /**
196      * Returns
197      * TXA-4: "Activity Date/Time" - creates it if necessary
198      */
199     public DTM getTxa4_ActivityDateTime() { 
200 		DTM retVal = this.getTypedField(4, 0);
201 		return retVal;
202     }
203 
204 
205     /**
206      * Returns all repetitions of Primary Activity Provider Code/Name (TXA-5).
207      */
208     public XCN[] getPrimaryActivityProviderCodeName() {
209     	XCN[] retVal = this.getTypedField(5, new XCN[0]);
210     	return retVal;
211     }
212 
213 
214     /**
215      * Returns all repetitions of Primary Activity Provider Code/Name (TXA-5).
216      */
217     public XCN[] getTxa5_PrimaryActivityProviderCodeName() {
218     	XCN[] retVal = this.getTypedField(5, new XCN[0]);
219     	return retVal;
220     }
221 
222 
223     /**
224      * Returns a count of the current number of repetitions of Primary Activity Provider Code/Name (TXA-5).
225      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
226      * it will return zero.
227      */
228     public int getPrimaryActivityProviderCodeNameReps() {
229     	return this.getReps(5);
230     }
231 
232 
233     /**
234      * Returns a specific repetition of
235      * TXA-5: "Primary Activity Provider Code/Name" - creates it if necessary
236      *
237      * @param rep The repetition index (0-indexed)
238      */
239     public XCN getPrimaryActivityProviderCodeName(int rep) { 
240 		XCN retVal = this.getTypedField(5, rep);
241 		return retVal;
242     }
243 
244     /**
245      * Returns a specific repetition of
246      * TXA-5: "Primary Activity Provider Code/Name" - creates it if necessary
247      *
248      * @param rep The repetition index (0-indexed)
249      */
250     public XCN getTxa5_PrimaryActivityProviderCodeName(int rep) { 
251 		XCN retVal = this.getTypedField(5, rep);
252 		return retVal;
253     }
254 
255     /**
256      * Returns a count of the current number of repetitions of Primary Activity Provider Code/Name (TXA-5).
257      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
258      * it will return zero.
259      */
260     public int getTxa5_PrimaryActivityProviderCodeNameReps() {
261     	return this.getReps(5);
262     }
263 
264 
265     /**
266      * Inserts a repetition of
267      * TXA-5: "Primary Activity Provider Code/Name" at a specific index
268      *
269      * @param rep The repetition index (0-indexed)
270      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
271      */
272     public XCN insertPrimaryActivityProviderCodeName(int rep) throws HL7Exception { 
273         return (XCN) super.insertRepetition(5, rep);
274     }
275 
276 
277     /**
278      * Inserts a repetition of
279      * TXA-5: "Primary Activity Provider Code/Name" at a specific index
280      *
281      * @param rep The repetition index (0-indexed)
282      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
283      */
284     public XCN insertTxa5_PrimaryActivityProviderCodeName(int rep) throws HL7Exception { 
285         return (XCN) super.insertRepetition(5, rep);
286     }
287 
288 
289     /**
290      * Removes a repetition of
291      * TXA-5: "Primary Activity Provider Code/Name" at a specific index
292      *
293      * @param rep The repetition index (0-indexed)
294      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
295      */
296     public XCN removePrimaryActivityProviderCodeName(int rep) throws HL7Exception { 
297         return (XCN) super.removeRepetition(5, rep);
298     }
299 
300 
301     /**
302      * Removes a repetition of
303      * TXA-5: "Primary Activity Provider Code/Name" at a specific index
304      *
305      * @param rep The repetition index (0-indexed)
306      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
307      */
308     public XCN removeTxa5_PrimaryActivityProviderCodeName(int rep) throws HL7Exception { 
309         return (XCN) super.removeRepetition(5, rep);
310     }
311 
312 
313 
314 
315     /**
316      * Returns
317      * TXA-6: "Origination Date/Time" - creates it if necessary
318      */
319     public DTM getOriginationDateTime() { 
320 		DTM retVal = this.getTypedField(6, 0);
321 		return retVal;
322     }
323     
324     /**
325      * Returns
326      * TXA-6: "Origination Date/Time" - creates it if necessary
327      */
328     public DTM getTxa6_OriginationDateTime() { 
329 		DTM retVal = this.getTypedField(6, 0);
330 		return retVal;
331     }
332 
333 
334 
335     /**
336      * Returns
337      * TXA-7: "Transcription Date/Time" - creates it if necessary
338      */
339     public DTM getTranscriptionDateTime() { 
340 		DTM retVal = this.getTypedField(7, 0);
341 		return retVal;
342     }
343     
344     /**
345      * Returns
346      * TXA-7: "Transcription Date/Time" - creates it if necessary
347      */
348     public DTM getTxa7_TranscriptionDateTime() { 
349 		DTM retVal = this.getTypedField(7, 0);
350 		return retVal;
351     }
352 
353 
354     /**
355      * Returns all repetitions of Edit Date/Time (TXA-8).
356      */
357     public DTM[] getEditDateTime() {
358     	DTM[] retVal = this.getTypedField(8, new DTM[0]);
359     	return retVal;
360     }
361 
362 
363     /**
364      * Returns all repetitions of Edit Date/Time (TXA-8).
365      */
366     public DTM[] getTxa8_EditDateTime() {
367     	DTM[] retVal = this.getTypedField(8, new DTM[0]);
368     	return retVal;
369     }
370 
371 
372     /**
373      * Returns a count of the current number of repetitions of Edit Date/Time (TXA-8).
374      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
375      * it will return zero.
376      */
377     public int getEditDateTimeReps() {
378     	return this.getReps(8);
379     }
380 
381 
382     /**
383      * Returns a specific repetition of
384      * TXA-8: "Edit Date/Time" - creates it if necessary
385      *
386      * @param rep The repetition index (0-indexed)
387      */
388     public DTM getEditDateTime(int rep) { 
389 		DTM retVal = this.getTypedField(8, rep);
390 		return retVal;
391     }
392 
393     /**
394      * Returns a specific repetition of
395      * TXA-8: "Edit Date/Time" - creates it if necessary
396      *
397      * @param rep The repetition index (0-indexed)
398      */
399     public DTM getTxa8_EditDateTime(int rep) { 
400 		DTM retVal = this.getTypedField(8, rep);
401 		return retVal;
402     }
403 
404     /**
405      * Returns a count of the current number of repetitions of Edit Date/Time (TXA-8).
406      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
407      * it will return zero.
408      */
409     public int getTxa8_EditDateTimeReps() {
410     	return this.getReps(8);
411     }
412 
413 
414     /**
415      * Inserts a repetition of
416      * TXA-8: "Edit Date/Time" at a specific index
417      *
418      * @param rep The repetition index (0-indexed)
419      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
420      */
421     public DTM insertEditDateTime(int rep) throws HL7Exception { 
422         return (DTM) super.insertRepetition(8, rep);
423     }
424 
425 
426     /**
427      * Inserts a repetition of
428      * TXA-8: "Edit Date/Time" at a specific index
429      *
430      * @param rep The repetition index (0-indexed)
431      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
432      */
433     public DTM insertTxa8_EditDateTime(int rep) throws HL7Exception { 
434         return (DTM) super.insertRepetition(8, rep);
435     }
436 
437 
438     /**
439      * Removes a repetition of
440      * TXA-8: "Edit Date/Time" at a specific index
441      *
442      * @param rep The repetition index (0-indexed)
443      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
444      */
445     public DTM removeEditDateTime(int rep) throws HL7Exception { 
446         return (DTM) super.removeRepetition(8, rep);
447     }
448 
449 
450     /**
451      * Removes a repetition of
452      * TXA-8: "Edit Date/Time" at a specific index
453      *
454      * @param rep The repetition index (0-indexed)
455      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
456      */
457     public DTM removeTxa8_EditDateTime(int rep) throws HL7Exception { 
458         return (DTM) super.removeRepetition(8, rep);
459     }
460 
461 
462 
463     /**
464      * Returns all repetitions of Originator Code/Name (TXA-9).
465      */
466     public XCN[] getOriginatorCodeName() {
467     	XCN[] retVal = this.getTypedField(9, new XCN[0]);
468     	return retVal;
469     }
470 
471 
472     /**
473      * Returns all repetitions of Originator Code/Name (TXA-9).
474      */
475     public XCN[] getTxa9_OriginatorCodeName() {
476     	XCN[] retVal = this.getTypedField(9, new XCN[0]);
477     	return retVal;
478     }
479 
480 
481     /**
482      * Returns a count of the current number of repetitions of Originator Code/Name (TXA-9).
483      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
484      * it will return zero.
485      */
486     public int getOriginatorCodeNameReps() {
487     	return this.getReps(9);
488     }
489 
490 
491     /**
492      * Returns a specific repetition of
493      * TXA-9: "Originator Code/Name" - creates it if necessary
494      *
495      * @param rep The repetition index (0-indexed)
496      */
497     public XCN getOriginatorCodeName(int rep) { 
498 		XCN retVal = this.getTypedField(9, rep);
499 		return retVal;
500     }
501 
502     /**
503      * Returns a specific repetition of
504      * TXA-9: "Originator Code/Name" - creates it if necessary
505      *
506      * @param rep The repetition index (0-indexed)
507      */
508     public XCN getTxa9_OriginatorCodeName(int rep) { 
509 		XCN retVal = this.getTypedField(9, rep);
510 		return retVal;
511     }
512 
513     /**
514      * Returns a count of the current number of repetitions of Originator Code/Name (TXA-9).
515      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
516      * it will return zero.
517      */
518     public int getTxa9_OriginatorCodeNameReps() {
519     	return this.getReps(9);
520     }
521 
522 
523     /**
524      * Inserts a repetition of
525      * TXA-9: "Originator Code/Name" at a specific index
526      *
527      * @param rep The repetition index (0-indexed)
528      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
529      */
530     public XCN insertOriginatorCodeName(int rep) throws HL7Exception { 
531         return (XCN) super.insertRepetition(9, rep);
532     }
533 
534 
535     /**
536      * Inserts a repetition of
537      * TXA-9: "Originator Code/Name" at a specific index
538      *
539      * @param rep The repetition index (0-indexed)
540      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
541      */
542     public XCN insertTxa9_OriginatorCodeName(int rep) throws HL7Exception { 
543         return (XCN) super.insertRepetition(9, rep);
544     }
545 
546 
547     /**
548      * Removes a repetition of
549      * TXA-9: "Originator Code/Name" at a specific index
550      *
551      * @param rep The repetition index (0-indexed)
552      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
553      */
554     public XCN removeOriginatorCodeName(int rep) throws HL7Exception { 
555         return (XCN) super.removeRepetition(9, rep);
556     }
557 
558 
559     /**
560      * Removes a repetition of
561      * TXA-9: "Originator Code/Name" at a specific index
562      *
563      * @param rep The repetition index (0-indexed)
564      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
565      */
566     public XCN removeTxa9_OriginatorCodeName(int rep) throws HL7Exception { 
567         return (XCN) super.removeRepetition(9, rep);
568     }
569 
570 
571 
572     /**
573      * Returns all repetitions of Assigned Document Authenticator (TXA-10).
574      */
575     public XCN[] getAssignedDocumentAuthenticator() {
576     	XCN[] retVal = this.getTypedField(10, new XCN[0]);
577     	return retVal;
578     }
579 
580 
581     /**
582      * Returns all repetitions of Assigned Document Authenticator (TXA-10).
583      */
584     public XCN[] getTxa10_AssignedDocumentAuthenticator() {
585     	XCN[] retVal = this.getTypedField(10, new XCN[0]);
586     	return retVal;
587     }
588 
589 
590     /**
591      * Returns a count of the current number of repetitions of Assigned Document Authenticator (TXA-10).
592      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
593      * it will return zero.
594      */
595     public int getAssignedDocumentAuthenticatorReps() {
596     	return this.getReps(10);
597     }
598 
599 
600     /**
601      * Returns a specific repetition of
602      * TXA-10: "Assigned Document Authenticator" - creates it if necessary
603      *
604      * @param rep The repetition index (0-indexed)
605      */
606     public XCN getAssignedDocumentAuthenticator(int rep) { 
607 		XCN retVal = this.getTypedField(10, rep);
608 		return retVal;
609     }
610 
611     /**
612      * Returns a specific repetition of
613      * TXA-10: "Assigned Document Authenticator" - creates it if necessary
614      *
615      * @param rep The repetition index (0-indexed)
616      */
617     public XCN getTxa10_AssignedDocumentAuthenticator(int rep) { 
618 		XCN retVal = this.getTypedField(10, rep);
619 		return retVal;
620     }
621 
622     /**
623      * Returns a count of the current number of repetitions of Assigned Document Authenticator (TXA-10).
624      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
625      * it will return zero.
626      */
627     public int getTxa10_AssignedDocumentAuthenticatorReps() {
628     	return this.getReps(10);
629     }
630 
631 
632     /**
633      * Inserts a repetition of
634      * TXA-10: "Assigned Document Authenticator" at a specific index
635      *
636      * @param rep The repetition index (0-indexed)
637      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
638      */
639     public XCN insertAssignedDocumentAuthenticator(int rep) throws HL7Exception { 
640         return (XCN) super.insertRepetition(10, rep);
641     }
642 
643 
644     /**
645      * Inserts a repetition of
646      * TXA-10: "Assigned Document Authenticator" at a specific index
647      *
648      * @param rep The repetition index (0-indexed)
649      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
650      */
651     public XCN insertTxa10_AssignedDocumentAuthenticator(int rep) throws HL7Exception { 
652         return (XCN) super.insertRepetition(10, rep);
653     }
654 
655 
656     /**
657      * Removes a repetition of
658      * TXA-10: "Assigned Document Authenticator" at a specific index
659      *
660      * @param rep The repetition index (0-indexed)
661      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
662      */
663     public XCN removeAssignedDocumentAuthenticator(int rep) throws HL7Exception { 
664         return (XCN) super.removeRepetition(10, rep);
665     }
666 
667 
668     /**
669      * Removes a repetition of
670      * TXA-10: "Assigned Document Authenticator" at a specific index
671      *
672      * @param rep The repetition index (0-indexed)
673      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
674      */
675     public XCN removeTxa10_AssignedDocumentAuthenticator(int rep) throws HL7Exception { 
676         return (XCN) super.removeRepetition(10, rep);
677     }
678 
679 
680 
681     /**
682      * Returns all repetitions of Transcriptionist Code/Name (TXA-11).
683      */
684     public XCN[] getTranscriptionistCodeName() {
685     	XCN[] retVal = this.getTypedField(11, new XCN[0]);
686     	return retVal;
687     }
688 
689 
690     /**
691      * Returns all repetitions of Transcriptionist Code/Name (TXA-11).
692      */
693     public XCN[] getTxa11_TranscriptionistCodeName() {
694     	XCN[] retVal = this.getTypedField(11, new XCN[0]);
695     	return retVal;
696     }
697 
698 
699     /**
700      * Returns a count of the current number of repetitions of Transcriptionist Code/Name (TXA-11).
701      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
702      * it will return zero.
703      */
704     public int getTranscriptionistCodeNameReps() {
705     	return this.getReps(11);
706     }
707 
708 
709     /**
710      * Returns a specific repetition of
711      * TXA-11: "Transcriptionist Code/Name" - creates it if necessary
712      *
713      * @param rep The repetition index (0-indexed)
714      */
715     public XCN getTranscriptionistCodeName(int rep) { 
716 		XCN retVal = this.getTypedField(11, rep);
717 		return retVal;
718     }
719 
720     /**
721      * Returns a specific repetition of
722      * TXA-11: "Transcriptionist Code/Name" - creates it if necessary
723      *
724      * @param rep The repetition index (0-indexed)
725      */
726     public XCN getTxa11_TranscriptionistCodeName(int rep) { 
727 		XCN retVal = this.getTypedField(11, rep);
728 		return retVal;
729     }
730 
731     /**
732      * Returns a count of the current number of repetitions of Transcriptionist Code/Name (TXA-11).
733      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
734      * it will return zero.
735      */
736     public int getTxa11_TranscriptionistCodeNameReps() {
737     	return this.getReps(11);
738     }
739 
740 
741     /**
742      * Inserts a repetition of
743      * TXA-11: "Transcriptionist Code/Name" at a specific index
744      *
745      * @param rep The repetition index (0-indexed)
746      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
747      */
748     public XCN insertTranscriptionistCodeName(int rep) throws HL7Exception { 
749         return (XCN) super.insertRepetition(11, rep);
750     }
751 
752 
753     /**
754      * Inserts a repetition of
755      * TXA-11: "Transcriptionist Code/Name" 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 insertTxa11_TranscriptionistCodeName(int rep) throws HL7Exception { 
761         return (XCN) super.insertRepetition(11, rep);
762     }
763 
764 
765     /**
766      * Removes a repetition of
767      * TXA-11: "Transcriptionist Code/Name" 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 removeTranscriptionistCodeName(int rep) throws HL7Exception { 
773         return (XCN) super.removeRepetition(11, rep);
774     }
775 
776 
777     /**
778      * Removes a repetition of
779      * TXA-11: "Transcriptionist Code/Name" 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 removeTxa11_TranscriptionistCodeName(int rep) throws HL7Exception { 
785         return (XCN) super.removeRepetition(11, rep);
786     }
787 
788 
789 
790 
791     /**
792      * Returns
793      * TXA-12: "Unique Document Number" - creates it if necessary
794      */
795     public EI getUniqueDocumentNumber() { 
796 		EI retVal = this.getTypedField(12, 0);
797 		return retVal;
798     }
799     
800     /**
801      * Returns
802      * TXA-12: "Unique Document Number" - creates it if necessary
803      */
804     public EI getTxa12_UniqueDocumentNumber() { 
805 		EI retVal = this.getTypedField(12, 0);
806 		return retVal;
807     }
808 
809 
810 
811     /**
812      * Returns
813      * TXA-13: "Parent Document Number" - creates it if necessary
814      */
815     public EI getParentDocumentNumber() { 
816 		EI retVal = this.getTypedField(13, 0);
817 		return retVal;
818     }
819     
820     /**
821      * Returns
822      * TXA-13: "Parent Document Number" - creates it if necessary
823      */
824     public EI getTxa13_ParentDocumentNumber() { 
825 		EI retVal = this.getTypedField(13, 0);
826 		return retVal;
827     }
828 
829 
830     /**
831      * Returns all repetitions of Placer Order Number (TXA-14).
832      */
833     public EI[] getPlacerOrderNumber() {
834     	EI[] retVal = this.getTypedField(14, new EI[0]);
835     	return retVal;
836     }
837 
838 
839     /**
840      * Returns all repetitions of Placer Order Number (TXA-14).
841      */
842     public EI[] getTxa14_PlacerOrderNumber() {
843     	EI[] retVal = this.getTypedField(14, new EI[0]);
844     	return retVal;
845     }
846 
847 
848     /**
849      * Returns a count of the current number of repetitions of Placer Order Number (TXA-14).
850      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
851      * it will return zero.
852      */
853     public int getPlacerOrderNumberReps() {
854     	return this.getReps(14);
855     }
856 
857 
858     /**
859      * Returns a specific repetition of
860      * TXA-14: "Placer Order Number" - creates it if necessary
861      *
862      * @param rep The repetition index (0-indexed)
863      */
864     public EI getPlacerOrderNumber(int rep) { 
865 		EI retVal = this.getTypedField(14, rep);
866 		return retVal;
867     }
868 
869     /**
870      * Returns a specific repetition of
871      * TXA-14: "Placer Order Number" - creates it if necessary
872      *
873      * @param rep The repetition index (0-indexed)
874      */
875     public EI getTxa14_PlacerOrderNumber(int rep) { 
876 		EI retVal = this.getTypedField(14, rep);
877 		return retVal;
878     }
879 
880     /**
881      * Returns a count of the current number of repetitions of Placer Order Number (TXA-14).
882      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
883      * it will return zero.
884      */
885     public int getTxa14_PlacerOrderNumberReps() {
886     	return this.getReps(14);
887     }
888 
889 
890     /**
891      * Inserts a repetition of
892      * TXA-14: "Placer Order Number" at a specific index
893      *
894      * @param rep The repetition index (0-indexed)
895      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
896      */
897     public EI insertPlacerOrderNumber(int rep) throws HL7Exception { 
898         return (EI) super.insertRepetition(14, rep);
899     }
900 
901 
902     /**
903      * Inserts a repetition of
904      * TXA-14: "Placer Order Number" at a specific index
905      *
906      * @param rep The repetition index (0-indexed)
907      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
908      */
909     public EI insertTxa14_PlacerOrderNumber(int rep) throws HL7Exception { 
910         return (EI) super.insertRepetition(14, rep);
911     }
912 
913 
914     /**
915      * Removes a repetition of
916      * TXA-14: "Placer Order Number" at a specific index
917      *
918      * @param rep The repetition index (0-indexed)
919      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
920      */
921     public EI removePlacerOrderNumber(int rep) throws HL7Exception { 
922         return (EI) super.removeRepetition(14, rep);
923     }
924 
925 
926     /**
927      * Removes a repetition of
928      * TXA-14: "Placer Order Number" at a specific index
929      *
930      * @param rep The repetition index (0-indexed)
931      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
932      */
933     public EI removeTxa14_PlacerOrderNumber(int rep) throws HL7Exception { 
934         return (EI) super.removeRepetition(14, rep);
935     }
936 
937 
938 
939 
940     /**
941      * Returns
942      * TXA-15: "Filler Order Number" - creates it if necessary
943      */
944     public EI getFillerOrderNumber() { 
945 		EI retVal = this.getTypedField(15, 0);
946 		return retVal;
947     }
948     
949     /**
950      * Returns
951      * TXA-15: "Filler Order Number" - creates it if necessary
952      */
953     public EI getTxa15_FillerOrderNumber() { 
954 		EI retVal = this.getTypedField(15, 0);
955 		return retVal;
956     }
957 
958 
959 
960     /**
961      * Returns
962      * TXA-16: "Unique Document File Name" - creates it if necessary
963      */
964     public ST getUniqueDocumentFileName() { 
965 		ST retVal = this.getTypedField(16, 0);
966 		return retVal;
967     }
968     
969     /**
970      * Returns
971      * TXA-16: "Unique Document File Name" - creates it if necessary
972      */
973     public ST getTxa16_UniqueDocumentFileName() { 
974 		ST retVal = this.getTypedField(16, 0);
975 		return retVal;
976     }
977 
978 
979 
980     /**
981      * Returns
982      * TXA-17: "Document Completion Status" - creates it if necessary
983      */
984     public ID getDocumentCompletionStatus() { 
985 		ID retVal = this.getTypedField(17, 0);
986 		return retVal;
987     }
988     
989     /**
990      * Returns
991      * TXA-17: "Document Completion Status" - creates it if necessary
992      */
993     public ID getTxa17_DocumentCompletionStatus() { 
994 		ID retVal = this.getTypedField(17, 0);
995 		return retVal;
996     }
997 
998 
999 
1000     /**
1001      * Returns
1002      * TXA-18: "Document Confidentiality Status" - creates it if necessary
1003      */
1004     public ID getDocumentConfidentialityStatus() { 
1005 		ID retVal = this.getTypedField(18, 0);
1006 		return retVal;
1007     }
1008     
1009     /**
1010      * Returns
1011      * TXA-18: "Document Confidentiality Status" - creates it if necessary
1012      */
1013     public ID getTxa18_DocumentConfidentialityStatus() { 
1014 		ID retVal = this.getTypedField(18, 0);
1015 		return retVal;
1016     }
1017 
1018 
1019 
1020     /**
1021      * Returns
1022      * TXA-19: "Document Availability Status" - creates it if necessary
1023      */
1024     public ID getDocumentAvailabilityStatus() { 
1025 		ID retVal = this.getTypedField(19, 0);
1026 		return retVal;
1027     }
1028     
1029     /**
1030      * Returns
1031      * TXA-19: "Document Availability Status" - creates it if necessary
1032      */
1033     public ID getTxa19_DocumentAvailabilityStatus() { 
1034 		ID retVal = this.getTypedField(19, 0);
1035 		return retVal;
1036     }
1037 
1038 
1039 
1040     /**
1041      * Returns
1042      * TXA-20: "Document Storage Status" - creates it if necessary
1043      */
1044     public ID getDocumentStorageStatus() { 
1045 		ID retVal = this.getTypedField(20, 0);
1046 		return retVal;
1047     }
1048     
1049     /**
1050      * Returns
1051      * TXA-20: "Document Storage Status" - creates it if necessary
1052      */
1053     public ID getTxa20_DocumentStorageStatus() { 
1054 		ID retVal = this.getTypedField(20, 0);
1055 		return retVal;
1056     }
1057 
1058 
1059 
1060     /**
1061      * Returns
1062      * TXA-21: "Document Change Reason" - creates it if necessary
1063      */
1064     public ST getDocumentChangeReason() { 
1065 		ST retVal = this.getTypedField(21, 0);
1066 		return retVal;
1067     }
1068     
1069     /**
1070      * Returns
1071      * TXA-21: "Document Change Reason" - creates it if necessary
1072      */
1073     public ST getTxa21_DocumentChangeReason() { 
1074 		ST retVal = this.getTypedField(21, 0);
1075 		return retVal;
1076     }
1077 
1078 
1079     /**
1080      * Returns all repetitions of Authentication Person, Time Stamp (set) (TXA-22).
1081      */
1082     public PPN[] getAuthenticationPersonTimeStampSet() {
1083     	PPN[] retVal = this.getTypedField(22, new PPN[0]);
1084     	return retVal;
1085     }
1086 
1087 
1088     /**
1089      * Returns all repetitions of Authentication Person, Time Stamp (set) (TXA-22).
1090      */
1091     public PPN[] getTxa22_AuthenticationPersonTimeStampSet() {
1092     	PPN[] retVal = this.getTypedField(22, new PPN[0]);
1093     	return retVal;
1094     }
1095 
1096 
1097     /**
1098      * Returns a count of the current number of repetitions of Authentication Person, Time Stamp (set) (TXA-22).
1099      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1100      * it will return zero.
1101      */
1102     public int getAuthenticationPersonTimeStampSetReps() {
1103     	return this.getReps(22);
1104     }
1105 
1106 
1107     /**
1108      * Returns a specific repetition of
1109      * TXA-22: "Authentication Person, Time Stamp (set)" - creates it if necessary
1110      *
1111      * @param rep The repetition index (0-indexed)
1112      */
1113     public PPN getAuthenticationPersonTimeStampSet(int rep) { 
1114 		PPN retVal = this.getTypedField(22, rep);
1115 		return retVal;
1116     }
1117 
1118     /**
1119      * Returns a specific repetition of
1120      * TXA-22: "Authentication Person, Time Stamp (set)" - creates it if necessary
1121      *
1122      * @param rep The repetition index (0-indexed)
1123      */
1124     public PPN getTxa22_AuthenticationPersonTimeStampSet(int rep) { 
1125 		PPN retVal = this.getTypedField(22, rep);
1126 		return retVal;
1127     }
1128 
1129     /**
1130      * Returns a count of the current number of repetitions of Authentication Person, Time Stamp (set) (TXA-22).
1131      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1132      * it will return zero.
1133      */
1134     public int getTxa22_AuthenticationPersonTimeStampSetReps() {
1135     	return this.getReps(22);
1136     }
1137 
1138 
1139     /**
1140      * Inserts a repetition of
1141      * TXA-22: "Authentication Person, Time Stamp (set)" at a specific index
1142      *
1143      * @param rep The repetition index (0-indexed)
1144      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1145      */
1146     public PPN insertAuthenticationPersonTimeStampSet(int rep) throws HL7Exception { 
1147         return (PPN) super.insertRepetition(22, rep);
1148     }
1149 
1150 
1151     /**
1152      * Inserts a repetition of
1153      * TXA-22: "Authentication Person, Time Stamp (set)" at a specific index
1154      *
1155      * @param rep The repetition index (0-indexed)
1156      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1157      */
1158     public PPN insertTxa22_AuthenticationPersonTimeStampSet(int rep) throws HL7Exception { 
1159         return (PPN) super.insertRepetition(22, rep);
1160     }
1161 
1162 
1163     /**
1164      * Removes a repetition of
1165      * TXA-22: "Authentication Person, Time Stamp (set)" at a specific index
1166      *
1167      * @param rep The repetition index (0-indexed)
1168      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1169      */
1170     public PPN removeAuthenticationPersonTimeStampSet(int rep) throws HL7Exception { 
1171         return (PPN) super.removeRepetition(22, rep);
1172     }
1173 
1174 
1175     /**
1176      * Removes a repetition of
1177      * TXA-22: "Authentication Person, Time Stamp (set)" at a specific index
1178      *
1179      * @param rep The repetition index (0-indexed)
1180      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1181      */
1182     public PPN removeTxa22_AuthenticationPersonTimeStampSet(int rep) throws HL7Exception { 
1183         return (PPN) super.removeRepetition(22, rep);
1184     }
1185 
1186 
1187 
1188     /**
1189      * Returns all repetitions of Distributed Copies (Code and Name of Recipient(s) ) (TXA-23).
1190      */
1191     public XCN[] getDistributedCopiesCodeandNameofRecipients() {
1192     	XCN[] retVal = this.getTypedField(23, new XCN[0]);
1193     	return retVal;
1194     }
1195 
1196 
1197     /**
1198      * Returns all repetitions of Distributed Copies (Code and Name of Recipient(s) ) (TXA-23).
1199      */
1200     public XCN[] getTxa23_DistributedCopiesCodeandNameofRecipients() {
1201     	XCN[] retVal = this.getTypedField(23, new XCN[0]);
1202     	return retVal;
1203     }
1204 
1205 
1206     /**
1207      * Returns a count of the current number of repetitions of Distributed Copies (Code and Name of Recipient(s) ) (TXA-23).
1208      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1209      * it will return zero.
1210      */
1211     public int getDistributedCopiesCodeandNameofRecipientsReps() {
1212     	return this.getReps(23);
1213     }
1214 
1215 
1216     /**
1217      * Returns a specific repetition of
1218      * TXA-23: "Distributed Copies (Code and Name of Recipient(s) )" - creates it if necessary
1219      *
1220      * @param rep The repetition index (0-indexed)
1221      */
1222     public XCN getDistributedCopiesCodeandNameofRecipients(int rep) { 
1223 		XCN retVal = this.getTypedField(23, rep);
1224 		return retVal;
1225     }
1226 
1227     /**
1228      * Returns a specific repetition of
1229      * TXA-23: "Distributed Copies (Code and Name of Recipient(s) )" - creates it if necessary
1230      *
1231      * @param rep The repetition index (0-indexed)
1232      */
1233     public XCN getTxa23_DistributedCopiesCodeandNameofRecipients(int rep) { 
1234 		XCN retVal = this.getTypedField(23, rep);
1235 		return retVal;
1236     }
1237 
1238     /**
1239      * Returns a count of the current number of repetitions of Distributed Copies (Code and Name of Recipient(s) ) (TXA-23).
1240      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1241      * it will return zero.
1242      */
1243     public int getTxa23_DistributedCopiesCodeandNameofRecipientsReps() {
1244     	return this.getReps(23);
1245     }
1246 
1247 
1248     /**
1249      * Inserts a repetition of
1250      * TXA-23: "Distributed Copies (Code and Name of Recipient(s) )" at a specific index
1251      *
1252      * @param rep The repetition index (0-indexed)
1253      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1254      */
1255     public XCN insertDistributedCopiesCodeandNameofRecipients(int rep) throws HL7Exception { 
1256         return (XCN) super.insertRepetition(23, rep);
1257     }
1258 
1259 
1260     /**
1261      * Inserts a repetition of
1262      * TXA-23: "Distributed Copies (Code and Name of Recipient(s) )" at a specific index
1263      *
1264      * @param rep The repetition index (0-indexed)
1265      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1266      */
1267     public XCN insertTxa23_DistributedCopiesCodeandNameofRecipients(int rep) throws HL7Exception { 
1268         return (XCN) super.insertRepetition(23, rep);
1269     }
1270 
1271 
1272     /**
1273      * Removes a repetition of
1274      * TXA-23: "Distributed Copies (Code and Name of Recipient(s) )" at a specific index
1275      *
1276      * @param rep The repetition index (0-indexed)
1277      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1278      */
1279     public XCN removeDistributedCopiesCodeandNameofRecipients(int rep) throws HL7Exception { 
1280         return (XCN) super.removeRepetition(23, rep);
1281     }
1282 
1283 
1284     /**
1285      * Removes a repetition of
1286      * TXA-23: "Distributed Copies (Code and Name of Recipient(s) )" at a specific index
1287      *
1288      * @param rep The repetition index (0-indexed)
1289      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1290      */
1291     public XCN removeTxa23_DistributedCopiesCodeandNameofRecipients(int rep) throws HL7Exception { 
1292         return (XCN) super.removeRepetition(23, rep);
1293     }
1294 
1295 
1296 
1297     /**
1298      * Returns all repetitions of Folder Assignment (TXA-24).
1299      */
1300     public CWE[] getFolderAssignment() {
1301     	CWE[] retVal = this.getTypedField(24, new CWE[0]);
1302     	return retVal;
1303     }
1304 
1305 
1306     /**
1307      * Returns all repetitions of Folder Assignment (TXA-24).
1308      */
1309     public CWE[] getTxa24_FolderAssignment() {
1310     	CWE[] retVal = this.getTypedField(24, new CWE[0]);
1311     	return retVal;
1312     }
1313 
1314 
1315     /**
1316      * Returns a count of the current number of repetitions of Folder Assignment (TXA-24).
1317      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1318      * it will return zero.
1319      */
1320     public int getFolderAssignmentReps() {
1321     	return this.getReps(24);
1322     }
1323 
1324 
1325     /**
1326      * Returns a specific repetition of
1327      * TXA-24: "Folder Assignment" - creates it if necessary
1328      *
1329      * @param rep The repetition index (0-indexed)
1330      */
1331     public CWE getFolderAssignment(int rep) { 
1332 		CWE retVal = this.getTypedField(24, rep);
1333 		return retVal;
1334     }
1335 
1336     /**
1337      * Returns a specific repetition of
1338      * TXA-24: "Folder Assignment" - creates it if necessary
1339      *
1340      * @param rep The repetition index (0-indexed)
1341      */
1342     public CWE getTxa24_FolderAssignment(int rep) { 
1343 		CWE retVal = this.getTypedField(24, rep);
1344 		return retVal;
1345     }
1346 
1347     /**
1348      * Returns a count of the current number of repetitions of Folder Assignment (TXA-24).
1349      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1350      * it will return zero.
1351      */
1352     public int getTxa24_FolderAssignmentReps() {
1353     	return this.getReps(24);
1354     }
1355 
1356 
1357     /**
1358      * Inserts a repetition of
1359      * TXA-24: "Folder Assignment" at a specific index
1360      *
1361      * @param rep The repetition index (0-indexed)
1362      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1363      */
1364     public CWE insertFolderAssignment(int rep) throws HL7Exception { 
1365         return (CWE) super.insertRepetition(24, rep);
1366     }
1367 
1368 
1369     /**
1370      * Inserts a repetition of
1371      * TXA-24: "Folder Assignment" at a specific index
1372      *
1373      * @param rep The repetition index (0-indexed)
1374      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1375      */
1376     public CWE insertTxa24_FolderAssignment(int rep) throws HL7Exception { 
1377         return (CWE) super.insertRepetition(24, rep);
1378     }
1379 
1380 
1381     /**
1382      * Removes a repetition of
1383      * TXA-24: "Folder Assignment" at a specific index
1384      *
1385      * @param rep The repetition index (0-indexed)
1386      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1387      */
1388     public CWE removeFolderAssignment(int rep) throws HL7Exception { 
1389         return (CWE) super.removeRepetition(24, rep);
1390     }
1391 
1392 
1393     /**
1394      * Removes a repetition of
1395      * TXA-24: "Folder Assignment" at a specific index
1396      *
1397      * @param rep The repetition index (0-indexed)
1398      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1399      */
1400     public CWE removeTxa24_FolderAssignment(int rep) throws HL7Exception { 
1401         return (CWE) super.removeRepetition(24, rep);
1402     }
1403 
1404 
1405 
1406     /**
1407      * Returns all repetitions of Document Title (TXA-25).
1408      */
1409     public ST[] getDocumentTitle() {
1410     	ST[] retVal = this.getTypedField(25, new ST[0]);
1411     	return retVal;
1412     }
1413 
1414 
1415     /**
1416      * Returns all repetitions of Document Title (TXA-25).
1417      */
1418     public ST[] getTxa25_DocumentTitle() {
1419     	ST[] retVal = this.getTypedField(25, new ST[0]);
1420     	return retVal;
1421     }
1422 
1423 
1424     /**
1425      * Returns a count of the current number of repetitions of Document Title (TXA-25).
1426      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1427      * it will return zero.
1428      */
1429     public int getDocumentTitleReps() {
1430     	return this.getReps(25);
1431     }
1432 
1433 
1434     /**
1435      * Returns a specific repetition of
1436      * TXA-25: "Document Title" - creates it if necessary
1437      *
1438      * @param rep The repetition index (0-indexed)
1439      */
1440     public ST getDocumentTitle(int rep) { 
1441 		ST retVal = this.getTypedField(25, rep);
1442 		return retVal;
1443     }
1444 
1445     /**
1446      * Returns a specific repetition of
1447      * TXA-25: "Document Title" - creates it if necessary
1448      *
1449      * @param rep The repetition index (0-indexed)
1450      */
1451     public ST getTxa25_DocumentTitle(int rep) { 
1452 		ST retVal = this.getTypedField(25, rep);
1453 		return retVal;
1454     }
1455 
1456     /**
1457      * Returns a count of the current number of repetitions of Document Title (TXA-25).
1458      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1459      * it will return zero.
1460      */
1461     public int getTxa25_DocumentTitleReps() {
1462     	return this.getReps(25);
1463     }
1464 
1465 
1466     /**
1467      * Inserts a repetition of
1468      * TXA-25: "Document Title" at a specific index
1469      *
1470      * @param rep The repetition index (0-indexed)
1471      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1472      */
1473     public ST insertDocumentTitle(int rep) throws HL7Exception { 
1474         return (ST) super.insertRepetition(25, rep);
1475     }
1476 
1477 
1478     /**
1479      * Inserts a repetition of
1480      * TXA-25: "Document Title" at a specific index
1481      *
1482      * @param rep The repetition index (0-indexed)
1483      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1484      */
1485     public ST insertTxa25_DocumentTitle(int rep) throws HL7Exception { 
1486         return (ST) super.insertRepetition(25, rep);
1487     }
1488 
1489 
1490     /**
1491      * Removes a repetition of
1492      * TXA-25: "Document Title" at a specific index
1493      *
1494      * @param rep The repetition index (0-indexed)
1495      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1496      */
1497     public ST removeDocumentTitle(int rep) throws HL7Exception { 
1498         return (ST) super.removeRepetition(25, rep);
1499     }
1500 
1501 
1502     /**
1503      * Removes a repetition of
1504      * TXA-25: "Document Title" at a specific index
1505      *
1506      * @param rep The repetition index (0-indexed)
1507      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1508      */
1509     public ST removeTxa25_DocumentTitle(int rep) throws HL7Exception { 
1510         return (ST) super.removeRepetition(25, rep);
1511     }
1512 
1513 
1514 
1515 
1516     /**
1517      * Returns
1518      * TXA-26: "Agreed Due Date/Time" - creates it if necessary
1519      */
1520     public DTM getAgreedDueDateTime() { 
1521 		DTM retVal = this.getTypedField(26, 0);
1522 		return retVal;
1523     }
1524     
1525     /**
1526      * Returns
1527      * TXA-26: "Agreed Due Date/Time" - creates it if necessary
1528      */
1529     public DTM getTxa26_AgreedDueDateTime() { 
1530 		DTM retVal = this.getTypedField(26, 0);
1531 		return retVal;
1532     }
1533 
1534 
1535 
1536 
1537 
1538     /** {@inheritDoc} */   
1539     protected Type createNewTypeWithoutReflection(int field) {
1540        switch (field) {
1541           case 0: return new SI(getMessage());
1542           case 1: return new CWE(getMessage());
1543           case 2: return new ID(getMessage(), new Integer( 191 ));
1544           case 3: return new DTM(getMessage());
1545           case 4: return new XCN(getMessage());
1546           case 5: return new DTM(getMessage());
1547           case 6: return new DTM(getMessage());
1548           case 7: return new DTM(getMessage());
1549           case 8: return new XCN(getMessage());
1550           case 9: return new XCN(getMessage());
1551           case 10: return new XCN(getMessage());
1552           case 11: return new EI(getMessage());
1553           case 12: return new EI(getMessage());
1554           case 13: return new EI(getMessage());
1555           case 14: return new EI(getMessage());
1556           case 15: return new ST(getMessage());
1557           case 16: return new ID(getMessage(), new Integer( 271 ));
1558           case 17: return new ID(getMessage(), new Integer( 272 ));
1559           case 18: return new ID(getMessage(), new Integer( 273 ));
1560           case 19: return new ID(getMessage(), new Integer( 275 ));
1561           case 20: return new ST(getMessage());
1562           case 21: return new PPN(getMessage());
1563           case 22: return new XCN(getMessage());
1564           case 23: return new CWE(getMessage());
1565           case 24: return new ST(getMessage());
1566           case 25: return new DTM(getMessage());
1567           default: return null;
1568        }
1569    }
1570 
1571 
1572 }
1573