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.v24.segment;
35  
36  // import ca.uhn.hl7v2.model.v24.group.*;
37  import ca.uhn.hl7v2.model.v24.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 GT1 message segment (Guarantor). 
50   * This segment has the following fields:</p>
51   * <ul>
52       * <li>GT1-1: Set ID - GT1 (SI) <b> </b>
53       * <li>GT1-2: Guarantor Number (CX) <b>optional repeating</b>
54       * <li>GT1-3: Guarantor Name (XPN) <b> repeating</b>
55       * <li>GT1-4: Guarantor Spouse Name (XPN) <b>optional repeating</b>
56       * <li>GT1-5: Guarantor Address (XAD) <b>optional repeating</b>
57       * <li>GT1-6: Guarantor Ph Num - Home (XTN) <b>optional repeating</b>
58       * <li>GT1-7: Guarantor Ph Num - Business (XTN) <b>optional repeating</b>
59       * <li>GT1-8: Guarantor Date/Time Of Birth (TS) <b>optional </b>
60       * <li>GT1-9: Guarantor Administrative Sex (IS) <b>optional </b>
61       * <li>GT1-10: Guarantor Type (IS) <b>optional </b>
62       * <li>GT1-11: Guarantor Relationship (CE) <b>optional </b>
63       * <li>GT1-12: Guarantor SSN (ST) <b>optional </b>
64       * <li>GT1-13: Guarantor Date - Begin (DT) <b>optional </b>
65       * <li>GT1-14: Guarantor Date - End (DT) <b>optional </b>
66       * <li>GT1-15: Guarantor Priority (NM) <b>optional </b>
67       * <li>GT1-16: Guarantor Employer Name (XPN) <b>optional repeating</b>
68       * <li>GT1-17: Guarantor Employer Address (XAD) <b>optional repeating</b>
69       * <li>GT1-18: Guarantor Employer Phone Number (XTN) <b>optional repeating</b>
70       * <li>GT1-19: Guarantor Employee ID Number (CX) <b>optional repeating</b>
71       * <li>GT1-20: Guarantor Employment Status (IS) <b>optional </b>
72       * <li>GT1-21: Guarantor Organization Name (XON) <b>optional repeating</b>
73       * <li>GT1-22: Guarantor Billing Hold Flag (ID) <b>optional </b>
74       * <li>GT1-23: Guarantor Credit Rating Code (CE) <b>optional </b>
75       * <li>GT1-24: Guarantor Death Date And Time (TS) <b>optional </b>
76       * <li>GT1-25: Guarantor Death Flag (ID) <b>optional </b>
77       * <li>GT1-26: Guarantor Charge Adjustment Code (CE) <b>optional </b>
78       * <li>GT1-27: Guarantor Household Annual Income (CP) <b>optional </b>
79       * <li>GT1-28: Guarantor Household Size (NM) <b>optional </b>
80       * <li>GT1-29: Guarantor Employer ID Number (CX) <b>optional repeating</b>
81       * <li>GT1-30: Guarantor Marital Status Code (CE) <b>optional </b>
82       * <li>GT1-31: Guarantor Hire Effective Date (DT) <b>optional </b>
83       * <li>GT1-32: Employment Stop Date (DT) <b>optional </b>
84       * <li>GT1-33: Living Dependency (IS) <b>optional </b>
85       * <li>GT1-34: Ambulatory Status (IS) <b>optional repeating</b>
86       * <li>GT1-35: Citizenship (CE) <b>optional repeating</b>
87       * <li>GT1-36: Primary Language (CE) <b>optional </b>
88       * <li>GT1-37: Living Arrangement (IS) <b>optional </b>
89       * <li>GT1-38: Publicity Code (CE) <b>optional </b>
90       * <li>GT1-39: Protection Indicator (ID) <b>optional </b>
91       * <li>GT1-40: Student Indicator (IS) <b>optional </b>
92       * <li>GT1-41: Religion (CE) <b>optional </b>
93       * <li>GT1-42: Mother's Maiden Name (XPN) <b>optional repeating</b>
94       * <li>GT1-43: Nationality (CE) <b>optional </b>
95       * <li>GT1-44: Ethnic Group (CE) <b>optional repeating</b>
96       * <li>GT1-45: Contact Person's Name (XPN) <b>optional repeating</b>
97       * <li>GT1-46: Contact Person's Telephone Number (XTN) <b>optional repeating</b>
98       * <li>GT1-47: Contact Reason (CE) <b>optional </b>
99       * <li>GT1-48: Contact Relationship (IS) <b>optional </b>
100      * <li>GT1-49: Job Title (ST) <b>optional </b>
101      * <li>GT1-50: Job Code/Class (JCC) <b>optional </b>
102      * <li>GT1-51: Guarantor Employer's Organization Name (XON) <b>optional repeating</b>
103      * <li>GT1-52: Handicap (IS) <b>optional </b>
104      * <li>GT1-53: Job Status (IS) <b>optional </b>
105      * <li>GT1-54: Guarantor Financial Class (FC) <b>optional </b>
106      * <li>GT1-55: Guarantor Race (CE) <b>optional repeating</b>
107  * </ul>
108  */
109 @SuppressWarnings("unused")
110 public class GT1 extends AbstractSegment {
111 
112     /** 
113      * Creates a new GT1 segment
114      */
115     public GT1(Group parent, ModelClassFactory factory) {
116        super(parent, factory);
117        init(factory);
118     }
119 
120     private void init(ModelClassFactory factory) {
121        try {
122                                   this.add(SI.class, true, 1, 4, new Object[]{ getMessage() }, "Set ID - GT1");
123                                   this.add(CX.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Number");
124                                   this.add(XPN.class, true, 0, 250, new Object[]{ getMessage() }, "Guarantor Name");
125                                   this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Spouse Name");
126                                   this.add(XAD.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Address");
127                                   this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Ph Num - Home");
128                                   this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Ph Num - Business");
129                                   this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Guarantor Date/Time Of Birth");
130                                               this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(1) }, "Guarantor Administrative Sex");
131                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(68) }, "Guarantor Type");
132                                   this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Guarantor Relationship");
133                                   this.add(ST.class, false, 1, 11, new Object[]{ getMessage() }, "Guarantor SSN");
134                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Guarantor Date - Begin");
135                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Guarantor Date - End");
136                                   this.add(NM.class, false, 1, 2, new Object[]{ getMessage() }, "Guarantor Priority");
137                                   this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Employer Name");
138                                   this.add(XAD.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Employer Address");
139                                   this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Employer Phone Number");
140                                   this.add(CX.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Employee ID Number");
141                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(66) }, "Guarantor Employment Status");
142                                   this.add(XON.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Organization Name");
143                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Guarantor Billing Hold Flag");
144                                   this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Guarantor Credit Rating Code");
145                                   this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Guarantor Death Date And Time");
146                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Guarantor Death Flag");
147                                   this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Guarantor Charge Adjustment Code");
148                                   this.add(CP.class, false, 1, 10, new Object[]{ getMessage() }, "Guarantor Household Annual Income");
149                                   this.add(NM.class, false, 1, 3, new Object[]{ getMessage() }, "Guarantor Household Size");
150                                   this.add(CX.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Employer ID Number");
151                                   this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Guarantor Marital Status Code");
152                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Guarantor Hire Effective Date");
153                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Employment Stop Date");
154                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(223) }, "Living Dependency");
155                                               this.add(IS.class, false, 0, 2, new Object[]{ getMessage(), new Integer(9) }, "Ambulatory Status");
156                                   this.add(CE.class, false, 0, 250, new Object[]{ getMessage() }, "Citizenship");
157                                   this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Primary Language");
158                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(220) }, "Living Arrangement");
159                                   this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Publicity Code");
160                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Protection Indicator");
161                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(231) }, "Student Indicator");
162                                   this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Religion");
163                                   this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Mother's Maiden Name");
164                                   this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Nationality");
165                                   this.add(CE.class, false, 0, 250, new Object[]{ getMessage() }, "Ethnic Group");
166                                   this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Contact Person's Name");
167                                   this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Contact Person's Telephone Number");
168                                   this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Contact Reason");
169                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(63) }, "Contact Relationship");
170                                   this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Job Title");
171                                   this.add(JCC.class, false, 1, 20, new Object[]{ getMessage() }, "Job Code/Class");
172                                   this.add(XON.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Employer's Organization Name");
173                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(295) }, "Handicap");
174                                               this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(311) }, "Job Status");
175                                   this.add(FC.class, false, 1, 50, new Object[]{ getMessage() }, "Guarantor Financial Class");
176                                   this.add(CE.class, false, 0, 250, new Object[]{ getMessage() }, "Guarantor Race");
177        } catch(HL7Exception e) {
178           log.error("Unexpected error creating GT1 - this is probably a bug in the source code generator.", e);
179        }
180     }
181 
182 
183 
184     /**
185      * Returns
186      * GT1-1: "Set ID - GT1" - creates it if necessary
187      */
188     public SI getSetIDGT1() { 
189 		SI retVal = this.getTypedField(1, 0);
190 		return retVal;
191     }
192     
193     /**
194      * Returns
195      * GT1-1: "Set ID - GT1" - creates it if necessary
196      */
197     public SI getGt11_SetIDGT1() { 
198 		SI retVal = this.getTypedField(1, 0);
199 		return retVal;
200     }
201 
202 
203     /**
204      * Returns all repetitions of Guarantor Number (GT1-2).
205      */
206     public CX[] getGuarantorNumber() {
207     	CX[] retVal = this.getTypedField(2, new CX[0]);
208     	return retVal;
209     }
210 
211 
212     /**
213      * Returns all repetitions of Guarantor Number (GT1-2).
214      */
215     public CX[] getGt12_GuarantorNumber() {
216     	CX[] retVal = this.getTypedField(2, new CX[0]);
217     	return retVal;
218     }
219 
220 
221     /**
222      * Returns a count of the current number of repetitions of Guarantor Number (GT1-2).
223      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
224      * it will return zero.
225      */
226     public int getGuarantorNumberReps() {
227     	return this.getReps(2);
228     }
229 
230 
231     /**
232      * Returns a specific repetition of
233      * GT1-2: "Guarantor Number" - creates it if necessary
234      *
235      * @param rep The repetition index (0-indexed)
236      */
237     public CX getGuarantorNumber(int rep) { 
238 		CX retVal = this.getTypedField(2, rep);
239 		return retVal;
240     }
241 
242     /**
243      * Returns a specific repetition of
244      * GT1-2: "Guarantor Number" - creates it if necessary
245      *
246      * @param rep The repetition index (0-indexed)
247      */
248     public CX getGt12_GuarantorNumber(int rep) { 
249 		CX retVal = this.getTypedField(2, rep);
250 		return retVal;
251     }
252 
253     /**
254      * Returns a count of the current number of repetitions of Guarantor Number (GT1-2).
255      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
256      * it will return zero.
257      */
258     public int getGt12_GuarantorNumberReps() {
259     	return this.getReps(2);
260     }
261 
262 
263     /**
264      * Inserts a repetition of
265      * GT1-2: "Guarantor Number" at a specific index
266      *
267      * @param rep The repetition index (0-indexed)
268      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
269      */
270     public CX insertGuarantorNumber(int rep) throws HL7Exception { 
271         return (CX) super.insertRepetition(2, rep);
272     }
273 
274 
275     /**
276      * Inserts a repetition of
277      * GT1-2: "Guarantor Number" at a specific index
278      *
279      * @param rep The repetition index (0-indexed)
280      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
281      */
282     public CX insertGt12_GuarantorNumber(int rep) throws HL7Exception { 
283         return (CX) super.insertRepetition(2, rep);
284     }
285 
286 
287     /**
288      * Removes a repetition of
289      * GT1-2: "Guarantor Number" at a specific index
290      *
291      * @param rep The repetition index (0-indexed)
292      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
293      */
294     public CX removeGuarantorNumber(int rep) throws HL7Exception { 
295         return (CX) super.removeRepetition(2, rep);
296     }
297 
298 
299     /**
300      * Removes a repetition of
301      * GT1-2: "Guarantor Number" at a specific index
302      *
303      * @param rep The repetition index (0-indexed)
304      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
305      */
306     public CX removeGt12_GuarantorNumber(int rep) throws HL7Exception { 
307         return (CX) super.removeRepetition(2, rep);
308     }
309 
310 
311 
312     /**
313      * Returns all repetitions of Guarantor Name (GT1-3).
314      */
315     public XPN[] getGuarantorName() {
316     	XPN[] retVal = this.getTypedField(3, new XPN[0]);
317     	return retVal;
318     }
319 
320 
321     /**
322      * Returns all repetitions of Guarantor Name (GT1-3).
323      */
324     public XPN[] getGt13_GuarantorName() {
325     	XPN[] retVal = this.getTypedField(3, new XPN[0]);
326     	return retVal;
327     }
328 
329 
330     /**
331      * Returns a count of the current number of repetitions of Guarantor Name (GT1-3).
332      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
333      * it will return zero.
334      */
335     public int getGuarantorNameReps() {
336     	return this.getReps(3);
337     }
338 
339 
340     /**
341      * Returns a specific repetition of
342      * GT1-3: "Guarantor Name" - creates it if necessary
343      *
344      * @param rep The repetition index (0-indexed)
345      */
346     public XPN getGuarantorName(int rep) { 
347 		XPN retVal = this.getTypedField(3, rep);
348 		return retVal;
349     }
350 
351     /**
352      * Returns a specific repetition of
353      * GT1-3: "Guarantor Name" - creates it if necessary
354      *
355      * @param rep The repetition index (0-indexed)
356      */
357     public XPN getGt13_GuarantorName(int rep) { 
358 		XPN retVal = this.getTypedField(3, rep);
359 		return retVal;
360     }
361 
362     /**
363      * Returns a count of the current number of repetitions of Guarantor Name (GT1-3).
364      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
365      * it will return zero.
366      */
367     public int getGt13_GuarantorNameReps() {
368     	return this.getReps(3);
369     }
370 
371 
372     /**
373      * Inserts a repetition of
374      * GT1-3: "Guarantor Name" at a specific index
375      *
376      * @param rep The repetition index (0-indexed)
377      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
378      */
379     public XPN insertGuarantorName(int rep) throws HL7Exception { 
380         return (XPN) super.insertRepetition(3, rep);
381     }
382 
383 
384     /**
385      * Inserts a repetition of
386      * GT1-3: "Guarantor Name" at a specific index
387      *
388      * @param rep The repetition index (0-indexed)
389      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
390      */
391     public XPN insertGt13_GuarantorName(int rep) throws HL7Exception { 
392         return (XPN) super.insertRepetition(3, rep);
393     }
394 
395 
396     /**
397      * Removes a repetition of
398      * GT1-3: "Guarantor Name" at a specific index
399      *
400      * @param rep The repetition index (0-indexed)
401      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
402      */
403     public XPN removeGuarantorName(int rep) throws HL7Exception { 
404         return (XPN) super.removeRepetition(3, rep);
405     }
406 
407 
408     /**
409      * Removes a repetition of
410      * GT1-3: "Guarantor Name" at a specific index
411      *
412      * @param rep The repetition index (0-indexed)
413      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
414      */
415     public XPN removeGt13_GuarantorName(int rep) throws HL7Exception { 
416         return (XPN) super.removeRepetition(3, rep);
417     }
418 
419 
420 
421     /**
422      * Returns all repetitions of Guarantor Spouse Name (GT1-4).
423      */
424     public XPN[] getGuarantorSpouseName() {
425     	XPN[] retVal = this.getTypedField(4, new XPN[0]);
426     	return retVal;
427     }
428 
429 
430     /**
431      * Returns all repetitions of Guarantor Spouse Name (GT1-4).
432      */
433     public XPN[] getGt14_GuarantorSpouseName() {
434     	XPN[] retVal = this.getTypedField(4, new XPN[0]);
435     	return retVal;
436     }
437 
438 
439     /**
440      * Returns a count of the current number of repetitions of Guarantor Spouse Name (GT1-4).
441      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
442      * it will return zero.
443      */
444     public int getGuarantorSpouseNameReps() {
445     	return this.getReps(4);
446     }
447 
448 
449     /**
450      * Returns a specific repetition of
451      * GT1-4: "Guarantor Spouse Name" - creates it if necessary
452      *
453      * @param rep The repetition index (0-indexed)
454      */
455     public XPN getGuarantorSpouseName(int rep) { 
456 		XPN retVal = this.getTypedField(4, rep);
457 		return retVal;
458     }
459 
460     /**
461      * Returns a specific repetition of
462      * GT1-4: "Guarantor Spouse Name" - creates it if necessary
463      *
464      * @param rep The repetition index (0-indexed)
465      */
466     public XPN getGt14_GuarantorSpouseName(int rep) { 
467 		XPN retVal = this.getTypedField(4, rep);
468 		return retVal;
469     }
470 
471     /**
472      * Returns a count of the current number of repetitions of Guarantor Spouse Name (GT1-4).
473      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
474      * it will return zero.
475      */
476     public int getGt14_GuarantorSpouseNameReps() {
477     	return this.getReps(4);
478     }
479 
480 
481     /**
482      * Inserts a repetition of
483      * GT1-4: "Guarantor Spouse Name" at a specific index
484      *
485      * @param rep The repetition index (0-indexed)
486      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
487      */
488     public XPN insertGuarantorSpouseName(int rep) throws HL7Exception { 
489         return (XPN) super.insertRepetition(4, rep);
490     }
491 
492 
493     /**
494      * Inserts a repetition of
495      * GT1-4: "Guarantor Spouse Name" at a specific index
496      *
497      * @param rep The repetition index (0-indexed)
498      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
499      */
500     public XPN insertGt14_GuarantorSpouseName(int rep) throws HL7Exception { 
501         return (XPN) super.insertRepetition(4, rep);
502     }
503 
504 
505     /**
506      * Removes a repetition of
507      * GT1-4: "Guarantor Spouse Name" at a specific index
508      *
509      * @param rep The repetition index (0-indexed)
510      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
511      */
512     public XPN removeGuarantorSpouseName(int rep) throws HL7Exception { 
513         return (XPN) super.removeRepetition(4, rep);
514     }
515 
516 
517     /**
518      * Removes a repetition of
519      * GT1-4: "Guarantor Spouse Name" at a specific index
520      *
521      * @param rep The repetition index (0-indexed)
522      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
523      */
524     public XPN removeGt14_GuarantorSpouseName(int rep) throws HL7Exception { 
525         return (XPN) super.removeRepetition(4, rep);
526     }
527 
528 
529 
530     /**
531      * Returns all repetitions of Guarantor Address (GT1-5).
532      */
533     public XAD[] getGuarantorAddress() {
534     	XAD[] retVal = this.getTypedField(5, new XAD[0]);
535     	return retVal;
536     }
537 
538 
539     /**
540      * Returns all repetitions of Guarantor Address (GT1-5).
541      */
542     public XAD[] getGt15_GuarantorAddress() {
543     	XAD[] retVal = this.getTypedField(5, new XAD[0]);
544     	return retVal;
545     }
546 
547 
548     /**
549      * Returns a count of the current number of repetitions of Guarantor Address (GT1-5).
550      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
551      * it will return zero.
552      */
553     public int getGuarantorAddressReps() {
554     	return this.getReps(5);
555     }
556 
557 
558     /**
559      * Returns a specific repetition of
560      * GT1-5: "Guarantor Address" - creates it if necessary
561      *
562      * @param rep The repetition index (0-indexed)
563      */
564     public XAD getGuarantorAddress(int rep) { 
565 		XAD retVal = this.getTypedField(5, rep);
566 		return retVal;
567     }
568 
569     /**
570      * Returns a specific repetition of
571      * GT1-5: "Guarantor Address" - creates it if necessary
572      *
573      * @param rep The repetition index (0-indexed)
574      */
575     public XAD getGt15_GuarantorAddress(int rep) { 
576 		XAD retVal = this.getTypedField(5, rep);
577 		return retVal;
578     }
579 
580     /**
581      * Returns a count of the current number of repetitions of Guarantor Address (GT1-5).
582      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
583      * it will return zero.
584      */
585     public int getGt15_GuarantorAddressReps() {
586     	return this.getReps(5);
587     }
588 
589 
590     /**
591      * Inserts a repetition of
592      * GT1-5: "Guarantor Address" at a specific index
593      *
594      * @param rep The repetition index (0-indexed)
595      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
596      */
597     public XAD insertGuarantorAddress(int rep) throws HL7Exception { 
598         return (XAD) super.insertRepetition(5, rep);
599     }
600 
601 
602     /**
603      * Inserts a repetition of
604      * GT1-5: "Guarantor Address" at a specific index
605      *
606      * @param rep The repetition index (0-indexed)
607      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
608      */
609     public XAD insertGt15_GuarantorAddress(int rep) throws HL7Exception { 
610         return (XAD) super.insertRepetition(5, rep);
611     }
612 
613 
614     /**
615      * Removes a repetition of
616      * GT1-5: "Guarantor Address" at a specific index
617      *
618      * @param rep The repetition index (0-indexed)
619      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
620      */
621     public XAD removeGuarantorAddress(int rep) throws HL7Exception { 
622         return (XAD) super.removeRepetition(5, rep);
623     }
624 
625 
626     /**
627      * Removes a repetition of
628      * GT1-5: "Guarantor Address" at a specific index
629      *
630      * @param rep The repetition index (0-indexed)
631      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
632      */
633     public XAD removeGt15_GuarantorAddress(int rep) throws HL7Exception { 
634         return (XAD) super.removeRepetition(5, rep);
635     }
636 
637 
638 
639     /**
640      * Returns all repetitions of Guarantor Ph Num - Home (GT1-6).
641      */
642     public XTN[] getGuarantorPhNumHome() {
643     	XTN[] retVal = this.getTypedField(6, new XTN[0]);
644     	return retVal;
645     }
646 
647 
648     /**
649      * Returns all repetitions of Guarantor Ph Num - Home (GT1-6).
650      */
651     public XTN[] getGt16_GuarantorPhNumHome() {
652     	XTN[] retVal = this.getTypedField(6, new XTN[0]);
653     	return retVal;
654     }
655 
656 
657     /**
658      * Returns a count of the current number of repetitions of Guarantor Ph Num - Home (GT1-6).
659      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
660      * it will return zero.
661      */
662     public int getGuarantorPhNumHomeReps() {
663     	return this.getReps(6);
664     }
665 
666 
667     /**
668      * Returns a specific repetition of
669      * GT1-6: "Guarantor Ph Num - Home" - creates it if necessary
670      *
671      * @param rep The repetition index (0-indexed)
672      */
673     public XTN getGuarantorPhNumHome(int rep) { 
674 		XTN retVal = this.getTypedField(6, rep);
675 		return retVal;
676     }
677 
678     /**
679      * Returns a specific repetition of
680      * GT1-6: "Guarantor Ph Num - Home" - creates it if necessary
681      *
682      * @param rep The repetition index (0-indexed)
683      */
684     public XTN getGt16_GuarantorPhNumHome(int rep) { 
685 		XTN retVal = this.getTypedField(6, rep);
686 		return retVal;
687     }
688 
689     /**
690      * Returns a count of the current number of repetitions of Guarantor Ph Num - Home (GT1-6).
691      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
692      * it will return zero.
693      */
694     public int getGt16_GuarantorPhNumHomeReps() {
695     	return this.getReps(6);
696     }
697 
698 
699     /**
700      * Inserts a repetition of
701      * GT1-6: "Guarantor Ph Num - Home" at a specific index
702      *
703      * @param rep The repetition index (0-indexed)
704      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
705      */
706     public XTN insertGuarantorPhNumHome(int rep) throws HL7Exception { 
707         return (XTN) super.insertRepetition(6, rep);
708     }
709 
710 
711     /**
712      * Inserts a repetition of
713      * GT1-6: "Guarantor Ph Num - Home" at a specific index
714      *
715      * @param rep The repetition index (0-indexed)
716      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
717      */
718     public XTN insertGt16_GuarantorPhNumHome(int rep) throws HL7Exception { 
719         return (XTN) super.insertRepetition(6, rep);
720     }
721 
722 
723     /**
724      * Removes a repetition of
725      * GT1-6: "Guarantor Ph Num - Home" at a specific index
726      *
727      * @param rep The repetition index (0-indexed)
728      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
729      */
730     public XTN removeGuarantorPhNumHome(int rep) throws HL7Exception { 
731         return (XTN) super.removeRepetition(6, rep);
732     }
733 
734 
735     /**
736      * Removes a repetition of
737      * GT1-6: "Guarantor Ph Num - Home" at a specific index
738      *
739      * @param rep The repetition index (0-indexed)
740      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
741      */
742     public XTN removeGt16_GuarantorPhNumHome(int rep) throws HL7Exception { 
743         return (XTN) super.removeRepetition(6, rep);
744     }
745 
746 
747 
748     /**
749      * Returns all repetitions of Guarantor Ph Num - Business (GT1-7).
750      */
751     public XTN[] getGuarantorPhNumBusiness() {
752     	XTN[] retVal = this.getTypedField(7, new XTN[0]);
753     	return retVal;
754     }
755 
756 
757     /**
758      * Returns all repetitions of Guarantor Ph Num - Business (GT1-7).
759      */
760     public XTN[] getGt17_GuarantorPhNumBusiness() {
761     	XTN[] retVal = this.getTypedField(7, new XTN[0]);
762     	return retVal;
763     }
764 
765 
766     /**
767      * Returns a count of the current number of repetitions of Guarantor Ph Num - Business (GT1-7).
768      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
769      * it will return zero.
770      */
771     public int getGuarantorPhNumBusinessReps() {
772     	return this.getReps(7);
773     }
774 
775 
776     /**
777      * Returns a specific repetition of
778      * GT1-7: "Guarantor Ph Num - Business" - creates it if necessary
779      *
780      * @param rep The repetition index (0-indexed)
781      */
782     public XTN getGuarantorPhNumBusiness(int rep) { 
783 		XTN retVal = this.getTypedField(7, rep);
784 		return retVal;
785     }
786 
787     /**
788      * Returns a specific repetition of
789      * GT1-7: "Guarantor Ph Num - Business" - creates it if necessary
790      *
791      * @param rep The repetition index (0-indexed)
792      */
793     public XTN getGt17_GuarantorPhNumBusiness(int rep) { 
794 		XTN retVal = this.getTypedField(7, rep);
795 		return retVal;
796     }
797 
798     /**
799      * Returns a count of the current number of repetitions of Guarantor Ph Num - Business (GT1-7).
800      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
801      * it will return zero.
802      */
803     public int getGt17_GuarantorPhNumBusinessReps() {
804     	return this.getReps(7);
805     }
806 
807 
808     /**
809      * Inserts a repetition of
810      * GT1-7: "Guarantor Ph Num - Business" at a specific index
811      *
812      * @param rep The repetition index (0-indexed)
813      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
814      */
815     public XTN insertGuarantorPhNumBusiness(int rep) throws HL7Exception { 
816         return (XTN) super.insertRepetition(7, rep);
817     }
818 
819 
820     /**
821      * Inserts a repetition of
822      * GT1-7: "Guarantor Ph Num - Business" at a specific index
823      *
824      * @param rep The repetition index (0-indexed)
825      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
826      */
827     public XTN insertGt17_GuarantorPhNumBusiness(int rep) throws HL7Exception { 
828         return (XTN) super.insertRepetition(7, rep);
829     }
830 
831 
832     /**
833      * Removes a repetition of
834      * GT1-7: "Guarantor Ph Num - Business" at a specific index
835      *
836      * @param rep The repetition index (0-indexed)
837      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
838      */
839     public XTN removeGuarantorPhNumBusiness(int rep) throws HL7Exception { 
840         return (XTN) super.removeRepetition(7, rep);
841     }
842 
843 
844     /**
845      * Removes a repetition of
846      * GT1-7: "Guarantor Ph Num - Business" at a specific index
847      *
848      * @param rep The repetition index (0-indexed)
849      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
850      */
851     public XTN removeGt17_GuarantorPhNumBusiness(int rep) throws HL7Exception { 
852         return (XTN) super.removeRepetition(7, rep);
853     }
854 
855 
856 
857 
858     /**
859      * Returns
860      * GT1-8: "Guarantor Date/Time Of Birth" - creates it if necessary
861      */
862     public TS getGuarantorDateTimeOfBirth() { 
863 		TS retVal = this.getTypedField(8, 0);
864 		return retVal;
865     }
866     
867     /**
868      * Returns
869      * GT1-8: "Guarantor Date/Time Of Birth" - creates it if necessary
870      */
871     public TS getGt18_GuarantorDateTimeOfBirth() { 
872 		TS retVal = this.getTypedField(8, 0);
873 		return retVal;
874     }
875 
876 
877 
878     /**
879      * Returns
880      * GT1-9: "Guarantor Administrative Sex" - creates it if necessary
881      */
882     public IS getGuarantorAdministrativeSex() { 
883 		IS retVal = this.getTypedField(9, 0);
884 		return retVal;
885     }
886     
887     /**
888      * Returns
889      * GT1-9: "Guarantor Administrative Sex" - creates it if necessary
890      */
891     public IS getGt19_GuarantorAdministrativeSex() { 
892 		IS retVal = this.getTypedField(9, 0);
893 		return retVal;
894     }
895 
896 
897 
898     /**
899      * Returns
900      * GT1-10: "Guarantor Type" - creates it if necessary
901      */
902     public IS getGuarantorType() { 
903 		IS retVal = this.getTypedField(10, 0);
904 		return retVal;
905     }
906     
907     /**
908      * Returns
909      * GT1-10: "Guarantor Type" - creates it if necessary
910      */
911     public IS getGt110_GuarantorType() { 
912 		IS retVal = this.getTypedField(10, 0);
913 		return retVal;
914     }
915 
916 
917 
918     /**
919      * Returns
920      * GT1-11: "Guarantor Relationship" - creates it if necessary
921      */
922     public CE getGuarantorRelationship() { 
923 		CE retVal = this.getTypedField(11, 0);
924 		return retVal;
925     }
926     
927     /**
928      * Returns
929      * GT1-11: "Guarantor Relationship" - creates it if necessary
930      */
931     public CE getGt111_GuarantorRelationship() { 
932 		CE retVal = this.getTypedField(11, 0);
933 		return retVal;
934     }
935 
936 
937 
938     /**
939      * Returns
940      * GT1-12: "Guarantor SSN" - creates it if necessary
941      */
942     public ST getGuarantorSSN() { 
943 		ST retVal = this.getTypedField(12, 0);
944 		return retVal;
945     }
946     
947     /**
948      * Returns
949      * GT1-12: "Guarantor SSN" - creates it if necessary
950      */
951     public ST getGt112_GuarantorSSN() { 
952 		ST retVal = this.getTypedField(12, 0);
953 		return retVal;
954     }
955 
956 
957 
958     /**
959      * Returns
960      * GT1-13: "Guarantor Date - Begin" - creates it if necessary
961      */
962     public DT getGuarantorDateBegin() { 
963 		DT retVal = this.getTypedField(13, 0);
964 		return retVal;
965     }
966     
967     /**
968      * Returns
969      * GT1-13: "Guarantor Date - Begin" - creates it if necessary
970      */
971     public DT getGt113_GuarantorDateBegin() { 
972 		DT retVal = this.getTypedField(13, 0);
973 		return retVal;
974     }
975 
976 
977 
978     /**
979      * Returns
980      * GT1-14: "Guarantor Date - End" - creates it if necessary
981      */
982     public DT getGuarantorDateEnd() { 
983 		DT retVal = this.getTypedField(14, 0);
984 		return retVal;
985     }
986     
987     /**
988      * Returns
989      * GT1-14: "Guarantor Date - End" - creates it if necessary
990      */
991     public DT getGt114_GuarantorDateEnd() { 
992 		DT retVal = this.getTypedField(14, 0);
993 		return retVal;
994     }
995 
996 
997 
998     /**
999      * Returns
1000      * GT1-15: "Guarantor Priority" - creates it if necessary
1001      */
1002     public NM getGuarantorPriority() { 
1003 		NM retVal = this.getTypedField(15, 0);
1004 		return retVal;
1005     }
1006     
1007     /**
1008      * Returns
1009      * GT1-15: "Guarantor Priority" - creates it if necessary
1010      */
1011     public NM getGt115_GuarantorPriority() { 
1012 		NM retVal = this.getTypedField(15, 0);
1013 		return retVal;
1014     }
1015 
1016 
1017     /**
1018      * Returns all repetitions of Guarantor Employer Name (GT1-16).
1019      */
1020     public XPN[] getGuarantorEmployerName() {
1021     	XPN[] retVal = this.getTypedField(16, new XPN[0]);
1022     	return retVal;
1023     }
1024 
1025 
1026     /**
1027      * Returns all repetitions of Guarantor Employer Name (GT1-16).
1028      */
1029     public XPN[] getGt116_GuarantorEmployerName() {
1030     	XPN[] retVal = this.getTypedField(16, new XPN[0]);
1031     	return retVal;
1032     }
1033 
1034 
1035     /**
1036      * Returns a count of the current number of repetitions of Guarantor Employer Name (GT1-16).
1037      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1038      * it will return zero.
1039      */
1040     public int getGuarantorEmployerNameReps() {
1041     	return this.getReps(16);
1042     }
1043 
1044 
1045     /**
1046      * Returns a specific repetition of
1047      * GT1-16: "Guarantor Employer Name" - creates it if necessary
1048      *
1049      * @param rep The repetition index (0-indexed)
1050      */
1051     public XPN getGuarantorEmployerName(int rep) { 
1052 		XPN retVal = this.getTypedField(16, rep);
1053 		return retVal;
1054     }
1055 
1056     /**
1057      * Returns a specific repetition of
1058      * GT1-16: "Guarantor Employer Name" - creates it if necessary
1059      *
1060      * @param rep The repetition index (0-indexed)
1061      */
1062     public XPN getGt116_GuarantorEmployerName(int rep) { 
1063 		XPN retVal = this.getTypedField(16, rep);
1064 		return retVal;
1065     }
1066 
1067     /**
1068      * Returns a count of the current number of repetitions of Guarantor Employer Name (GT1-16).
1069      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1070      * it will return zero.
1071      */
1072     public int getGt116_GuarantorEmployerNameReps() {
1073     	return this.getReps(16);
1074     }
1075 
1076 
1077     /**
1078      * Inserts a repetition of
1079      * GT1-16: "Guarantor Employer Name" at a specific index
1080      *
1081      * @param rep The repetition index (0-indexed)
1082      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1083      */
1084     public XPN insertGuarantorEmployerName(int rep) throws HL7Exception { 
1085         return (XPN) super.insertRepetition(16, rep);
1086     }
1087 
1088 
1089     /**
1090      * Inserts a repetition of
1091      * GT1-16: "Guarantor Employer Name" at a specific index
1092      *
1093      * @param rep The repetition index (0-indexed)
1094      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1095      */
1096     public XPN insertGt116_GuarantorEmployerName(int rep) throws HL7Exception { 
1097         return (XPN) super.insertRepetition(16, rep);
1098     }
1099 
1100 
1101     /**
1102      * Removes a repetition of
1103      * GT1-16: "Guarantor Employer Name" at a specific index
1104      *
1105      * @param rep The repetition index (0-indexed)
1106      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1107      */
1108     public XPN removeGuarantorEmployerName(int rep) throws HL7Exception { 
1109         return (XPN) super.removeRepetition(16, rep);
1110     }
1111 
1112 
1113     /**
1114      * Removes a repetition of
1115      * GT1-16: "Guarantor Employer Name" at a specific index
1116      *
1117      * @param rep The repetition index (0-indexed)
1118      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1119      */
1120     public XPN removeGt116_GuarantorEmployerName(int rep) throws HL7Exception { 
1121         return (XPN) super.removeRepetition(16, rep);
1122     }
1123 
1124 
1125 
1126     /**
1127      * Returns all repetitions of Guarantor Employer Address (GT1-17).
1128      */
1129     public XAD[] getGuarantorEmployerAddress() {
1130     	XAD[] retVal = this.getTypedField(17, new XAD[0]);
1131     	return retVal;
1132     }
1133 
1134 
1135     /**
1136      * Returns all repetitions of Guarantor Employer Address (GT1-17).
1137      */
1138     public XAD[] getGt117_GuarantorEmployerAddress() {
1139     	XAD[] retVal = this.getTypedField(17, new XAD[0]);
1140     	return retVal;
1141     }
1142 
1143 
1144     /**
1145      * Returns a count of the current number of repetitions of Guarantor Employer Address (GT1-17).
1146      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1147      * it will return zero.
1148      */
1149     public int getGuarantorEmployerAddressReps() {
1150     	return this.getReps(17);
1151     }
1152 
1153 
1154     /**
1155      * Returns a specific repetition of
1156      * GT1-17: "Guarantor Employer Address" - creates it if necessary
1157      *
1158      * @param rep The repetition index (0-indexed)
1159      */
1160     public XAD getGuarantorEmployerAddress(int rep) { 
1161 		XAD retVal = this.getTypedField(17, rep);
1162 		return retVal;
1163     }
1164 
1165     /**
1166      * Returns a specific repetition of
1167      * GT1-17: "Guarantor Employer Address" - creates it if necessary
1168      *
1169      * @param rep The repetition index (0-indexed)
1170      */
1171     public XAD getGt117_GuarantorEmployerAddress(int rep) { 
1172 		XAD retVal = this.getTypedField(17, rep);
1173 		return retVal;
1174     }
1175 
1176     /**
1177      * Returns a count of the current number of repetitions of Guarantor Employer Address (GT1-17).
1178      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1179      * it will return zero.
1180      */
1181     public int getGt117_GuarantorEmployerAddressReps() {
1182     	return this.getReps(17);
1183     }
1184 
1185 
1186     /**
1187      * Inserts a repetition of
1188      * GT1-17: "Guarantor Employer Address" at a specific index
1189      *
1190      * @param rep The repetition index (0-indexed)
1191      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1192      */
1193     public XAD insertGuarantorEmployerAddress(int rep) throws HL7Exception { 
1194         return (XAD) super.insertRepetition(17, rep);
1195     }
1196 
1197 
1198     /**
1199      * Inserts a repetition of
1200      * GT1-17: "Guarantor Employer Address" at a specific index
1201      *
1202      * @param rep The repetition index (0-indexed)
1203      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1204      */
1205     public XAD insertGt117_GuarantorEmployerAddress(int rep) throws HL7Exception { 
1206         return (XAD) super.insertRepetition(17, rep);
1207     }
1208 
1209 
1210     /**
1211      * Removes a repetition of
1212      * GT1-17: "Guarantor Employer Address" at a specific index
1213      *
1214      * @param rep The repetition index (0-indexed)
1215      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1216      */
1217     public XAD removeGuarantorEmployerAddress(int rep) throws HL7Exception { 
1218         return (XAD) super.removeRepetition(17, rep);
1219     }
1220 
1221 
1222     /**
1223      * Removes a repetition of
1224      * GT1-17: "Guarantor Employer Address" at a specific index
1225      *
1226      * @param rep The repetition index (0-indexed)
1227      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1228      */
1229     public XAD removeGt117_GuarantorEmployerAddress(int rep) throws HL7Exception { 
1230         return (XAD) super.removeRepetition(17, rep);
1231     }
1232 
1233 
1234 
1235     /**
1236      * Returns all repetitions of Guarantor Employer Phone Number (GT1-18).
1237      */
1238     public XTN[] getGuarantorEmployerPhoneNumber() {
1239     	XTN[] retVal = this.getTypedField(18, new XTN[0]);
1240     	return retVal;
1241     }
1242 
1243 
1244     /**
1245      * Returns all repetitions of Guarantor Employer Phone Number (GT1-18).
1246      */
1247     public XTN[] getGt118_GuarantorEmployerPhoneNumber() {
1248     	XTN[] retVal = this.getTypedField(18, new XTN[0]);
1249     	return retVal;
1250     }
1251 
1252 
1253     /**
1254      * Returns a count of the current number of repetitions of Guarantor Employer Phone Number (GT1-18).
1255      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1256      * it will return zero.
1257      */
1258     public int getGuarantorEmployerPhoneNumberReps() {
1259     	return this.getReps(18);
1260     }
1261 
1262 
1263     /**
1264      * Returns a specific repetition of
1265      * GT1-18: "Guarantor Employer Phone Number" - creates it if necessary
1266      *
1267      * @param rep The repetition index (0-indexed)
1268      */
1269     public XTN getGuarantorEmployerPhoneNumber(int rep) { 
1270 		XTN retVal = this.getTypedField(18, rep);
1271 		return retVal;
1272     }
1273 
1274     /**
1275      * Returns a specific repetition of
1276      * GT1-18: "Guarantor Employer Phone Number" - creates it if necessary
1277      *
1278      * @param rep The repetition index (0-indexed)
1279      */
1280     public XTN getGt118_GuarantorEmployerPhoneNumber(int rep) { 
1281 		XTN retVal = this.getTypedField(18, rep);
1282 		return retVal;
1283     }
1284 
1285     /**
1286      * Returns a count of the current number of repetitions of Guarantor Employer Phone Number (GT1-18).
1287      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1288      * it will return zero.
1289      */
1290     public int getGt118_GuarantorEmployerPhoneNumberReps() {
1291     	return this.getReps(18);
1292     }
1293 
1294 
1295     /**
1296      * Inserts a repetition of
1297      * GT1-18: "Guarantor Employer Phone Number" at a specific index
1298      *
1299      * @param rep The repetition index (0-indexed)
1300      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1301      */
1302     public XTN insertGuarantorEmployerPhoneNumber(int rep) throws HL7Exception { 
1303         return (XTN) super.insertRepetition(18, rep);
1304     }
1305 
1306 
1307     /**
1308      * Inserts a repetition of
1309      * GT1-18: "Guarantor Employer Phone Number" at a specific index
1310      *
1311      * @param rep The repetition index (0-indexed)
1312      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1313      */
1314     public XTN insertGt118_GuarantorEmployerPhoneNumber(int rep) throws HL7Exception { 
1315         return (XTN) super.insertRepetition(18, rep);
1316     }
1317 
1318 
1319     /**
1320      * Removes a repetition of
1321      * GT1-18: "Guarantor Employer Phone Number" at a specific index
1322      *
1323      * @param rep The repetition index (0-indexed)
1324      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1325      */
1326     public XTN removeGuarantorEmployerPhoneNumber(int rep) throws HL7Exception { 
1327         return (XTN) super.removeRepetition(18, rep);
1328     }
1329 
1330 
1331     /**
1332      * Removes a repetition of
1333      * GT1-18: "Guarantor Employer Phone Number" at a specific index
1334      *
1335      * @param rep The repetition index (0-indexed)
1336      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1337      */
1338     public XTN removeGt118_GuarantorEmployerPhoneNumber(int rep) throws HL7Exception { 
1339         return (XTN) super.removeRepetition(18, rep);
1340     }
1341 
1342 
1343 
1344     /**
1345      * Returns all repetitions of Guarantor Employee ID Number (GT1-19).
1346      */
1347     public CX[] getGuarantorEmployeeIDNumber() {
1348     	CX[] retVal = this.getTypedField(19, new CX[0]);
1349     	return retVal;
1350     }
1351 
1352 
1353     /**
1354      * Returns all repetitions of Guarantor Employee ID Number (GT1-19).
1355      */
1356     public CX[] getGt119_GuarantorEmployeeIDNumber() {
1357     	CX[] retVal = this.getTypedField(19, new CX[0]);
1358     	return retVal;
1359     }
1360 
1361 
1362     /**
1363      * Returns a count of the current number of repetitions of Guarantor Employee ID Number (GT1-19).
1364      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1365      * it will return zero.
1366      */
1367     public int getGuarantorEmployeeIDNumberReps() {
1368     	return this.getReps(19);
1369     }
1370 
1371 
1372     /**
1373      * Returns a specific repetition of
1374      * GT1-19: "Guarantor Employee ID Number" - creates it if necessary
1375      *
1376      * @param rep The repetition index (0-indexed)
1377      */
1378     public CX getGuarantorEmployeeIDNumber(int rep) { 
1379 		CX retVal = this.getTypedField(19, rep);
1380 		return retVal;
1381     }
1382 
1383     /**
1384      * Returns a specific repetition of
1385      * GT1-19: "Guarantor Employee ID Number" - creates it if necessary
1386      *
1387      * @param rep The repetition index (0-indexed)
1388      */
1389     public CX getGt119_GuarantorEmployeeIDNumber(int rep) { 
1390 		CX retVal = this.getTypedField(19, rep);
1391 		return retVal;
1392     }
1393 
1394     /**
1395      * Returns a count of the current number of repetitions of Guarantor Employee ID Number (GT1-19).
1396      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1397      * it will return zero.
1398      */
1399     public int getGt119_GuarantorEmployeeIDNumberReps() {
1400     	return this.getReps(19);
1401     }
1402 
1403 
1404     /**
1405      * Inserts a repetition of
1406      * GT1-19: "Guarantor Employee ID Number" at a specific index
1407      *
1408      * @param rep The repetition index (0-indexed)
1409      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1410      */
1411     public CX insertGuarantorEmployeeIDNumber(int rep) throws HL7Exception { 
1412         return (CX) super.insertRepetition(19, rep);
1413     }
1414 
1415 
1416     /**
1417      * Inserts a repetition of
1418      * GT1-19: "Guarantor Employee ID Number" at a specific index
1419      *
1420      * @param rep The repetition index (0-indexed)
1421      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1422      */
1423     public CX insertGt119_GuarantorEmployeeIDNumber(int rep) throws HL7Exception { 
1424         return (CX) super.insertRepetition(19, rep);
1425     }
1426 
1427 
1428     /**
1429      * Removes a repetition of
1430      * GT1-19: "Guarantor Employee ID Number" at a specific index
1431      *
1432      * @param rep The repetition index (0-indexed)
1433      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1434      */
1435     public CX removeGuarantorEmployeeIDNumber(int rep) throws HL7Exception { 
1436         return (CX) super.removeRepetition(19, rep);
1437     }
1438 
1439 
1440     /**
1441      * Removes a repetition of
1442      * GT1-19: "Guarantor Employee ID Number" at a specific index
1443      *
1444      * @param rep The repetition index (0-indexed)
1445      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1446      */
1447     public CX removeGt119_GuarantorEmployeeIDNumber(int rep) throws HL7Exception { 
1448         return (CX) super.removeRepetition(19, rep);
1449     }
1450 
1451 
1452 
1453 
1454     /**
1455      * Returns
1456      * GT1-20: "Guarantor Employment Status" - creates it if necessary
1457      */
1458     public IS getGuarantorEmploymentStatus() { 
1459 		IS retVal = this.getTypedField(20, 0);
1460 		return retVal;
1461     }
1462     
1463     /**
1464      * Returns
1465      * GT1-20: "Guarantor Employment Status" - creates it if necessary
1466      */
1467     public IS getGt120_GuarantorEmploymentStatus() { 
1468 		IS retVal = this.getTypedField(20, 0);
1469 		return retVal;
1470     }
1471 
1472 
1473     /**
1474      * Returns all repetitions of Guarantor Organization Name (GT1-21).
1475      */
1476     public XON[] getGuarantorOrganizationName() {
1477     	XON[] retVal = this.getTypedField(21, new XON[0]);
1478     	return retVal;
1479     }
1480 
1481 
1482     /**
1483      * Returns all repetitions of Guarantor Organization Name (GT1-21).
1484      */
1485     public XON[] getGt121_GuarantorOrganizationName() {
1486     	XON[] retVal = this.getTypedField(21, new XON[0]);
1487     	return retVal;
1488     }
1489 
1490 
1491     /**
1492      * Returns a count of the current number of repetitions of Guarantor Organization Name (GT1-21).
1493      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1494      * it will return zero.
1495      */
1496     public int getGuarantorOrganizationNameReps() {
1497     	return this.getReps(21);
1498     }
1499 
1500 
1501     /**
1502      * Returns a specific repetition of
1503      * GT1-21: "Guarantor Organization Name" - creates it if necessary
1504      *
1505      * @param rep The repetition index (0-indexed)
1506      */
1507     public XON getGuarantorOrganizationName(int rep) { 
1508 		XON retVal = this.getTypedField(21, rep);
1509 		return retVal;
1510     }
1511 
1512     /**
1513      * Returns a specific repetition of
1514      * GT1-21: "Guarantor Organization Name" - creates it if necessary
1515      *
1516      * @param rep The repetition index (0-indexed)
1517      */
1518     public XON getGt121_GuarantorOrganizationName(int rep) { 
1519 		XON retVal = this.getTypedField(21, rep);
1520 		return retVal;
1521     }
1522 
1523     /**
1524      * Returns a count of the current number of repetitions of Guarantor Organization Name (GT1-21).
1525      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1526      * it will return zero.
1527      */
1528     public int getGt121_GuarantorOrganizationNameReps() {
1529     	return this.getReps(21);
1530     }
1531 
1532 
1533     /**
1534      * Inserts a repetition of
1535      * GT1-21: "Guarantor Organization Name" at a specific index
1536      *
1537      * @param rep The repetition index (0-indexed)
1538      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1539      */
1540     public XON insertGuarantorOrganizationName(int rep) throws HL7Exception { 
1541         return (XON) super.insertRepetition(21, rep);
1542     }
1543 
1544 
1545     /**
1546      * Inserts a repetition of
1547      * GT1-21: "Guarantor Organization Name" at a specific index
1548      *
1549      * @param rep The repetition index (0-indexed)
1550      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1551      */
1552     public XON insertGt121_GuarantorOrganizationName(int rep) throws HL7Exception { 
1553         return (XON) super.insertRepetition(21, rep);
1554     }
1555 
1556 
1557     /**
1558      * Removes a repetition of
1559      * GT1-21: "Guarantor Organization Name" at a specific index
1560      *
1561      * @param rep The repetition index (0-indexed)
1562      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1563      */
1564     public XON removeGuarantorOrganizationName(int rep) throws HL7Exception { 
1565         return (XON) super.removeRepetition(21, rep);
1566     }
1567 
1568 
1569     /**
1570      * Removes a repetition of
1571      * GT1-21: "Guarantor Organization Name" at a specific index
1572      *
1573      * @param rep The repetition index (0-indexed)
1574      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1575      */
1576     public XON removeGt121_GuarantorOrganizationName(int rep) throws HL7Exception { 
1577         return (XON) super.removeRepetition(21, rep);
1578     }
1579 
1580 
1581 
1582 
1583     /**
1584      * Returns
1585      * GT1-22: "Guarantor Billing Hold Flag" - creates it if necessary
1586      */
1587     public ID getGuarantorBillingHoldFlag() { 
1588 		ID retVal = this.getTypedField(22, 0);
1589 		return retVal;
1590     }
1591     
1592     /**
1593      * Returns
1594      * GT1-22: "Guarantor Billing Hold Flag" - creates it if necessary
1595      */
1596     public ID getGt122_GuarantorBillingHoldFlag() { 
1597 		ID retVal = this.getTypedField(22, 0);
1598 		return retVal;
1599     }
1600 
1601 
1602 
1603     /**
1604      * Returns
1605      * GT1-23: "Guarantor Credit Rating Code" - creates it if necessary
1606      */
1607     public CE getGuarantorCreditRatingCode() { 
1608 		CE retVal = this.getTypedField(23, 0);
1609 		return retVal;
1610     }
1611     
1612     /**
1613      * Returns
1614      * GT1-23: "Guarantor Credit Rating Code" - creates it if necessary
1615      */
1616     public CE getGt123_GuarantorCreditRatingCode() { 
1617 		CE retVal = this.getTypedField(23, 0);
1618 		return retVal;
1619     }
1620 
1621 
1622 
1623     /**
1624      * Returns
1625      * GT1-24: "Guarantor Death Date And Time" - creates it if necessary
1626      */
1627     public TS getGuarantorDeathDateAndTime() { 
1628 		TS retVal = this.getTypedField(24, 0);
1629 		return retVal;
1630     }
1631     
1632     /**
1633      * Returns
1634      * GT1-24: "Guarantor Death Date And Time" - creates it if necessary
1635      */
1636     public TS getGt124_GuarantorDeathDateAndTime() { 
1637 		TS retVal = this.getTypedField(24, 0);
1638 		return retVal;
1639     }
1640 
1641 
1642 
1643     /**
1644      * Returns
1645      * GT1-25: "Guarantor Death Flag" - creates it if necessary
1646      */
1647     public ID getGuarantorDeathFlag() { 
1648 		ID retVal = this.getTypedField(25, 0);
1649 		return retVal;
1650     }
1651     
1652     /**
1653      * Returns
1654      * GT1-25: "Guarantor Death Flag" - creates it if necessary
1655      */
1656     public ID getGt125_GuarantorDeathFlag() { 
1657 		ID retVal = this.getTypedField(25, 0);
1658 		return retVal;
1659     }
1660 
1661 
1662 
1663     /**
1664      * Returns
1665      * GT1-26: "Guarantor Charge Adjustment Code" - creates it if necessary
1666      */
1667     public CE getGuarantorChargeAdjustmentCode() { 
1668 		CE retVal = this.getTypedField(26, 0);
1669 		return retVal;
1670     }
1671     
1672     /**
1673      * Returns
1674      * GT1-26: "Guarantor Charge Adjustment Code" - creates it if necessary
1675      */
1676     public CE getGt126_GuarantorChargeAdjustmentCode() { 
1677 		CE retVal = this.getTypedField(26, 0);
1678 		return retVal;
1679     }
1680 
1681 
1682 
1683     /**
1684      * Returns
1685      * GT1-27: "Guarantor Household Annual Income" - creates it if necessary
1686      */
1687     public CP getGuarantorHouseholdAnnualIncome() { 
1688 		CP retVal = this.getTypedField(27, 0);
1689 		return retVal;
1690     }
1691     
1692     /**
1693      * Returns
1694      * GT1-27: "Guarantor Household Annual Income" - creates it if necessary
1695      */
1696     public CP getGt127_GuarantorHouseholdAnnualIncome() { 
1697 		CP retVal = this.getTypedField(27, 0);
1698 		return retVal;
1699     }
1700 
1701 
1702 
1703     /**
1704      * Returns
1705      * GT1-28: "Guarantor Household Size" - creates it if necessary
1706      */
1707     public NM getGuarantorHouseholdSize() { 
1708 		NM retVal = this.getTypedField(28, 0);
1709 		return retVal;
1710     }
1711     
1712     /**
1713      * Returns
1714      * GT1-28: "Guarantor Household Size" - creates it if necessary
1715      */
1716     public NM getGt128_GuarantorHouseholdSize() { 
1717 		NM retVal = this.getTypedField(28, 0);
1718 		return retVal;
1719     }
1720 
1721 
1722     /**
1723      * Returns all repetitions of Guarantor Employer ID Number (GT1-29).
1724      */
1725     public CX[] getGuarantorEmployerIDNumber() {
1726     	CX[] retVal = this.getTypedField(29, new CX[0]);
1727     	return retVal;
1728     }
1729 
1730 
1731     /**
1732      * Returns all repetitions of Guarantor Employer ID Number (GT1-29).
1733      */
1734     public CX[] getGt129_GuarantorEmployerIDNumber() {
1735     	CX[] retVal = this.getTypedField(29, new CX[0]);
1736     	return retVal;
1737     }
1738 
1739 
1740     /**
1741      * Returns a count of the current number of repetitions of Guarantor Employer ID Number (GT1-29).
1742      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1743      * it will return zero.
1744      */
1745     public int getGuarantorEmployerIDNumberReps() {
1746     	return this.getReps(29);
1747     }
1748 
1749 
1750     /**
1751      * Returns a specific repetition of
1752      * GT1-29: "Guarantor Employer ID Number" - creates it if necessary
1753      *
1754      * @param rep The repetition index (0-indexed)
1755      */
1756     public CX getGuarantorEmployerIDNumber(int rep) { 
1757 		CX retVal = this.getTypedField(29, rep);
1758 		return retVal;
1759     }
1760 
1761     /**
1762      * Returns a specific repetition of
1763      * GT1-29: "Guarantor Employer ID Number" - creates it if necessary
1764      *
1765      * @param rep The repetition index (0-indexed)
1766      */
1767     public CX getGt129_GuarantorEmployerIDNumber(int rep) { 
1768 		CX retVal = this.getTypedField(29, rep);
1769 		return retVal;
1770     }
1771 
1772     /**
1773      * Returns a count of the current number of repetitions of Guarantor Employer ID Number (GT1-29).
1774      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1775      * it will return zero.
1776      */
1777     public int getGt129_GuarantorEmployerIDNumberReps() {
1778     	return this.getReps(29);
1779     }
1780 
1781 
1782     /**
1783      * Inserts a repetition of
1784      * GT1-29: "Guarantor Employer ID Number" at a specific index
1785      *
1786      * @param rep The repetition index (0-indexed)
1787      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1788      */
1789     public CX insertGuarantorEmployerIDNumber(int rep) throws HL7Exception { 
1790         return (CX) super.insertRepetition(29, rep);
1791     }
1792 
1793 
1794     /**
1795      * Inserts a repetition of
1796      * GT1-29: "Guarantor Employer ID Number" at a specific index
1797      *
1798      * @param rep The repetition index (0-indexed)
1799      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1800      */
1801     public CX insertGt129_GuarantorEmployerIDNumber(int rep) throws HL7Exception { 
1802         return (CX) super.insertRepetition(29, rep);
1803     }
1804 
1805 
1806     /**
1807      * Removes a repetition of
1808      * GT1-29: "Guarantor Employer ID Number" at a specific index
1809      *
1810      * @param rep The repetition index (0-indexed)
1811      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1812      */
1813     public CX removeGuarantorEmployerIDNumber(int rep) throws HL7Exception { 
1814         return (CX) super.removeRepetition(29, rep);
1815     }
1816 
1817 
1818     /**
1819      * Removes a repetition of
1820      * GT1-29: "Guarantor Employer ID Number" at a specific index
1821      *
1822      * @param rep The repetition index (0-indexed)
1823      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1824      */
1825     public CX removeGt129_GuarantorEmployerIDNumber(int rep) throws HL7Exception { 
1826         return (CX) super.removeRepetition(29, rep);
1827     }
1828 
1829 
1830 
1831 
1832     /**
1833      * Returns
1834      * GT1-30: "Guarantor Marital Status Code" - creates it if necessary
1835      */
1836     public CE getGuarantorMaritalStatusCode() { 
1837 		CE retVal = this.getTypedField(30, 0);
1838 		return retVal;
1839     }
1840     
1841     /**
1842      * Returns
1843      * GT1-30: "Guarantor Marital Status Code" - creates it if necessary
1844      */
1845     public CE getGt130_GuarantorMaritalStatusCode() { 
1846 		CE retVal = this.getTypedField(30, 0);
1847 		return retVal;
1848     }
1849 
1850 
1851 
1852     /**
1853      * Returns
1854      * GT1-31: "Guarantor Hire Effective Date" - creates it if necessary
1855      */
1856     public DT getGuarantorHireEffectiveDate() { 
1857 		DT retVal = this.getTypedField(31, 0);
1858 		return retVal;
1859     }
1860     
1861     /**
1862      * Returns
1863      * GT1-31: "Guarantor Hire Effective Date" - creates it if necessary
1864      */
1865     public DT getGt131_GuarantorHireEffectiveDate() { 
1866 		DT retVal = this.getTypedField(31, 0);
1867 		return retVal;
1868     }
1869 
1870 
1871 
1872     /**
1873      * Returns
1874      * GT1-32: "Employment Stop Date" - creates it if necessary
1875      */
1876     public DT getEmploymentStopDate() { 
1877 		DT retVal = this.getTypedField(32, 0);
1878 		return retVal;
1879     }
1880     
1881     /**
1882      * Returns
1883      * GT1-32: "Employment Stop Date" - creates it if necessary
1884      */
1885     public DT getGt132_EmploymentStopDate() { 
1886 		DT retVal = this.getTypedField(32, 0);
1887 		return retVal;
1888     }
1889 
1890 
1891 
1892     /**
1893      * Returns
1894      * GT1-33: "Living Dependency" - creates it if necessary
1895      */
1896     public IS getLivingDependency() { 
1897 		IS retVal = this.getTypedField(33, 0);
1898 		return retVal;
1899     }
1900     
1901     /**
1902      * Returns
1903      * GT1-33: "Living Dependency" - creates it if necessary
1904      */
1905     public IS getGt133_LivingDependency() { 
1906 		IS retVal = this.getTypedField(33, 0);
1907 		return retVal;
1908     }
1909 
1910 
1911     /**
1912      * Returns all repetitions of Ambulatory Status (GT1-34).
1913      */
1914     public IS[] getAmbulatoryStatus() {
1915     	IS[] retVal = this.getTypedField(34, new IS[0]);
1916     	return retVal;
1917     }
1918 
1919 
1920     /**
1921      * Returns all repetitions of Ambulatory Status (GT1-34).
1922      */
1923     public IS[] getGt134_AmbulatoryStatus() {
1924     	IS[] retVal = this.getTypedField(34, new IS[0]);
1925     	return retVal;
1926     }
1927 
1928 
1929     /**
1930      * Returns a count of the current number of repetitions of Ambulatory Status (GT1-34).
1931      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1932      * it will return zero.
1933      */
1934     public int getAmbulatoryStatusReps() {
1935     	return this.getReps(34);
1936     }
1937 
1938 
1939     /**
1940      * Returns a specific repetition of
1941      * GT1-34: "Ambulatory Status" - creates it if necessary
1942      *
1943      * @param rep The repetition index (0-indexed)
1944      */
1945     public IS getAmbulatoryStatus(int rep) { 
1946 		IS retVal = this.getTypedField(34, rep);
1947 		return retVal;
1948     }
1949 
1950     /**
1951      * Returns a specific repetition of
1952      * GT1-34: "Ambulatory Status" - creates it if necessary
1953      *
1954      * @param rep The repetition index (0-indexed)
1955      */
1956     public IS getGt134_AmbulatoryStatus(int rep) { 
1957 		IS retVal = this.getTypedField(34, rep);
1958 		return retVal;
1959     }
1960 
1961     /**
1962      * Returns a count of the current number of repetitions of Ambulatory Status (GT1-34).
1963      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1964      * it will return zero.
1965      */
1966     public int getGt134_AmbulatoryStatusReps() {
1967     	return this.getReps(34);
1968     }
1969 
1970 
1971     /**
1972      * Inserts a repetition of
1973      * GT1-34: "Ambulatory Status" at a specific index
1974      *
1975      * @param rep The repetition index (0-indexed)
1976      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1977      */
1978     public IS insertAmbulatoryStatus(int rep) throws HL7Exception { 
1979         return (IS) super.insertRepetition(34, rep);
1980     }
1981 
1982 
1983     /**
1984      * Inserts a repetition of
1985      * GT1-34: "Ambulatory Status" at a specific index
1986      *
1987      * @param rep The repetition index (0-indexed)
1988      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1989      */
1990     public IS insertGt134_AmbulatoryStatus(int rep) throws HL7Exception { 
1991         return (IS) super.insertRepetition(34, rep);
1992     }
1993 
1994 
1995     /**
1996      * Removes a repetition of
1997      * GT1-34: "Ambulatory Status" at a specific index
1998      *
1999      * @param rep The repetition index (0-indexed)
2000      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2001      */
2002     public IS removeAmbulatoryStatus(int rep) throws HL7Exception { 
2003         return (IS) super.removeRepetition(34, rep);
2004     }
2005 
2006 
2007     /**
2008      * Removes a repetition of
2009      * GT1-34: "Ambulatory Status" at a specific index
2010      *
2011      * @param rep The repetition index (0-indexed)
2012      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2013      */
2014     public IS removeGt134_AmbulatoryStatus(int rep) throws HL7Exception { 
2015         return (IS) super.removeRepetition(34, rep);
2016     }
2017 
2018 
2019 
2020     /**
2021      * Returns all repetitions of Citizenship (GT1-35).
2022      */
2023     public CE[] getCitizenship() {
2024     	CE[] retVal = this.getTypedField(35, new CE[0]);
2025     	return retVal;
2026     }
2027 
2028 
2029     /**
2030      * Returns all repetitions of Citizenship (GT1-35).
2031      */
2032     public CE[] getGt135_Citizenship() {
2033     	CE[] retVal = this.getTypedField(35, new CE[0]);
2034     	return retVal;
2035     }
2036 
2037 
2038     /**
2039      * Returns a count of the current number of repetitions of Citizenship (GT1-35).
2040      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2041      * it will return zero.
2042      */
2043     public int getCitizenshipReps() {
2044     	return this.getReps(35);
2045     }
2046 
2047 
2048     /**
2049      * Returns a specific repetition of
2050      * GT1-35: "Citizenship" - creates it if necessary
2051      *
2052      * @param rep The repetition index (0-indexed)
2053      */
2054     public CE getCitizenship(int rep) { 
2055 		CE retVal = this.getTypedField(35, rep);
2056 		return retVal;
2057     }
2058 
2059     /**
2060      * Returns a specific repetition of
2061      * GT1-35: "Citizenship" - creates it if necessary
2062      *
2063      * @param rep The repetition index (0-indexed)
2064      */
2065     public CE getGt135_Citizenship(int rep) { 
2066 		CE retVal = this.getTypedField(35, rep);
2067 		return retVal;
2068     }
2069 
2070     /**
2071      * Returns a count of the current number of repetitions of Citizenship (GT1-35).
2072      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2073      * it will return zero.
2074      */
2075     public int getGt135_CitizenshipReps() {
2076     	return this.getReps(35);
2077     }
2078 
2079 
2080     /**
2081      * Inserts a repetition of
2082      * GT1-35: "Citizenship" at a specific index
2083      *
2084      * @param rep The repetition index (0-indexed)
2085      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2086      */
2087     public CE insertCitizenship(int rep) throws HL7Exception { 
2088         return (CE) super.insertRepetition(35, rep);
2089     }
2090 
2091 
2092     /**
2093      * Inserts a repetition of
2094      * GT1-35: "Citizenship" at a specific index
2095      *
2096      * @param rep The repetition index (0-indexed)
2097      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2098      */
2099     public CE insertGt135_Citizenship(int rep) throws HL7Exception { 
2100         return (CE) super.insertRepetition(35, rep);
2101     }
2102 
2103 
2104     /**
2105      * Removes a repetition of
2106      * GT1-35: "Citizenship" at a specific index
2107      *
2108      * @param rep The repetition index (0-indexed)
2109      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2110      */
2111     public CE removeCitizenship(int rep) throws HL7Exception { 
2112         return (CE) super.removeRepetition(35, rep);
2113     }
2114 
2115 
2116     /**
2117      * Removes a repetition of
2118      * GT1-35: "Citizenship" at a specific index
2119      *
2120      * @param rep The repetition index (0-indexed)
2121      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2122      */
2123     public CE removeGt135_Citizenship(int rep) throws HL7Exception { 
2124         return (CE) super.removeRepetition(35, rep);
2125     }
2126 
2127 
2128 
2129 
2130     /**
2131      * Returns
2132      * GT1-36: "Primary Language" - creates it if necessary
2133      */
2134     public CE getPrimaryLanguage() { 
2135 		CE retVal = this.getTypedField(36, 0);
2136 		return retVal;
2137     }
2138     
2139     /**
2140      * Returns
2141      * GT1-36: "Primary Language" - creates it if necessary
2142      */
2143     public CE getGt136_PrimaryLanguage() { 
2144 		CE retVal = this.getTypedField(36, 0);
2145 		return retVal;
2146     }
2147 
2148 
2149 
2150     /**
2151      * Returns
2152      * GT1-37: "Living Arrangement" - creates it if necessary
2153      */
2154     public IS getLivingArrangement() { 
2155 		IS retVal = this.getTypedField(37, 0);
2156 		return retVal;
2157     }
2158     
2159     /**
2160      * Returns
2161      * GT1-37: "Living Arrangement" - creates it if necessary
2162      */
2163     public IS getGt137_LivingArrangement() { 
2164 		IS retVal = this.getTypedField(37, 0);
2165 		return retVal;
2166     }
2167 
2168 
2169 
2170     /**
2171      * Returns
2172      * GT1-38: "Publicity Code" - creates it if necessary
2173      */
2174     public CE getPublicityCode() { 
2175 		CE retVal = this.getTypedField(38, 0);
2176 		return retVal;
2177     }
2178     
2179     /**
2180      * Returns
2181      * GT1-38: "Publicity Code" - creates it if necessary
2182      */
2183     public CE getGt138_PublicityCode() { 
2184 		CE retVal = this.getTypedField(38, 0);
2185 		return retVal;
2186     }
2187 
2188 
2189 
2190     /**
2191      * Returns
2192      * GT1-39: "Protection Indicator" - creates it if necessary
2193      */
2194     public ID getProtectionIndicator() { 
2195 		ID retVal = this.getTypedField(39, 0);
2196 		return retVal;
2197     }
2198     
2199     /**
2200      * Returns
2201      * GT1-39: "Protection Indicator" - creates it if necessary
2202      */
2203     public ID getGt139_ProtectionIndicator() { 
2204 		ID retVal = this.getTypedField(39, 0);
2205 		return retVal;
2206     }
2207 
2208 
2209 
2210     /**
2211      * Returns
2212      * GT1-40: "Student Indicator" - creates it if necessary
2213      */
2214     public IS getStudentIndicator() { 
2215 		IS retVal = this.getTypedField(40, 0);
2216 		return retVal;
2217     }
2218     
2219     /**
2220      * Returns
2221      * GT1-40: "Student Indicator" - creates it if necessary
2222      */
2223     public IS getGt140_StudentIndicator() { 
2224 		IS retVal = this.getTypedField(40, 0);
2225 		return retVal;
2226     }
2227 
2228 
2229 
2230     /**
2231      * Returns
2232      * GT1-41: "Religion" - creates it if necessary
2233      */
2234     public CE getReligion() { 
2235 		CE retVal = this.getTypedField(41, 0);
2236 		return retVal;
2237     }
2238     
2239     /**
2240      * Returns
2241      * GT1-41: "Religion" - creates it if necessary
2242      */
2243     public CE getGt141_Religion() { 
2244 		CE retVal = this.getTypedField(41, 0);
2245 		return retVal;
2246     }
2247 
2248 
2249     /**
2250      * Returns all repetitions of Mother's Maiden Name (GT1-42).
2251      */
2252     public XPN[] getMotherSMaidenName() {
2253     	XPN[] retVal = this.getTypedField(42, new XPN[0]);
2254     	return retVal;
2255     }
2256 
2257 
2258     /**
2259      * Returns all repetitions of Mother's Maiden Name (GT1-42).
2260      */
2261     public XPN[] getGt142_MotherSMaidenName() {
2262     	XPN[] retVal = this.getTypedField(42, new XPN[0]);
2263     	return retVal;
2264     }
2265 
2266 
2267     /**
2268      * Returns a count of the current number of repetitions of Mother's Maiden Name (GT1-42).
2269      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2270      * it will return zero.
2271      */
2272     public int getMotherSMaidenNameReps() {
2273     	return this.getReps(42);
2274     }
2275 
2276 
2277     /**
2278      * Returns a specific repetition of
2279      * GT1-42: "Mother's Maiden Name" - creates it if necessary
2280      *
2281      * @param rep The repetition index (0-indexed)
2282      */
2283     public XPN getMotherSMaidenName(int rep) { 
2284 		XPN retVal = this.getTypedField(42, rep);
2285 		return retVal;
2286     }
2287 
2288     /**
2289      * Returns a specific repetition of
2290      * GT1-42: "Mother's Maiden Name" - creates it if necessary
2291      *
2292      * @param rep The repetition index (0-indexed)
2293      */
2294     public XPN getGt142_MotherSMaidenName(int rep) { 
2295 		XPN retVal = this.getTypedField(42, rep);
2296 		return retVal;
2297     }
2298 
2299     /**
2300      * Returns a count of the current number of repetitions of Mother's Maiden Name (GT1-42).
2301      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2302      * it will return zero.
2303      */
2304     public int getGt142_MotherSMaidenNameReps() {
2305     	return this.getReps(42);
2306     }
2307 
2308 
2309     /**
2310      * Inserts a repetition of
2311      * GT1-42: "Mother's Maiden Name" at a specific index
2312      *
2313      * @param rep The repetition index (0-indexed)
2314      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2315      */
2316     public XPN insertMotherSMaidenName(int rep) throws HL7Exception { 
2317         return (XPN) super.insertRepetition(42, rep);
2318     }
2319 
2320 
2321     /**
2322      * Inserts a repetition of
2323      * GT1-42: "Mother's Maiden Name" at a specific index
2324      *
2325      * @param rep The repetition index (0-indexed)
2326      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2327      */
2328     public XPN insertGt142_MotherSMaidenName(int rep) throws HL7Exception { 
2329         return (XPN) super.insertRepetition(42, rep);
2330     }
2331 
2332 
2333     /**
2334      * Removes a repetition of
2335      * GT1-42: "Mother's Maiden Name" at a specific index
2336      *
2337      * @param rep The repetition index (0-indexed)
2338      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2339      */
2340     public XPN removeMotherSMaidenName(int rep) throws HL7Exception { 
2341         return (XPN) super.removeRepetition(42, rep);
2342     }
2343 
2344 
2345     /**
2346      * Removes a repetition of
2347      * GT1-42: "Mother's Maiden Name" at a specific index
2348      *
2349      * @param rep The repetition index (0-indexed)
2350      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2351      */
2352     public XPN removeGt142_MotherSMaidenName(int rep) throws HL7Exception { 
2353         return (XPN) super.removeRepetition(42, rep);
2354     }
2355 
2356 
2357 
2358 
2359     /**
2360      * Returns
2361      * GT1-43: "Nationality" - creates it if necessary
2362      */
2363     public CE getNationality() { 
2364 		CE retVal = this.getTypedField(43, 0);
2365 		return retVal;
2366     }
2367     
2368     /**
2369      * Returns
2370      * GT1-43: "Nationality" - creates it if necessary
2371      */
2372     public CE getGt143_Nationality() { 
2373 		CE retVal = this.getTypedField(43, 0);
2374 		return retVal;
2375     }
2376 
2377 
2378     /**
2379      * Returns all repetitions of Ethnic Group (GT1-44).
2380      */
2381     public CE[] getEthnicGroup() {
2382     	CE[] retVal = this.getTypedField(44, new CE[0]);
2383     	return retVal;
2384     }
2385 
2386 
2387     /**
2388      * Returns all repetitions of Ethnic Group (GT1-44).
2389      */
2390     public CE[] getGt144_EthnicGroup() {
2391     	CE[] retVal = this.getTypedField(44, new CE[0]);
2392     	return retVal;
2393     }
2394 
2395 
2396     /**
2397      * Returns a count of the current number of repetitions of Ethnic Group (GT1-44).
2398      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2399      * it will return zero.
2400      */
2401     public int getEthnicGroupReps() {
2402     	return this.getReps(44);
2403     }
2404 
2405 
2406     /**
2407      * Returns a specific repetition of
2408      * GT1-44: "Ethnic Group" - creates it if necessary
2409      *
2410      * @param rep The repetition index (0-indexed)
2411      */
2412     public CE getEthnicGroup(int rep) { 
2413 		CE retVal = this.getTypedField(44, rep);
2414 		return retVal;
2415     }
2416 
2417     /**
2418      * Returns a specific repetition of
2419      * GT1-44: "Ethnic Group" - creates it if necessary
2420      *
2421      * @param rep The repetition index (0-indexed)
2422      */
2423     public CE getGt144_EthnicGroup(int rep) { 
2424 		CE retVal = this.getTypedField(44, rep);
2425 		return retVal;
2426     }
2427 
2428     /**
2429      * Returns a count of the current number of repetitions of Ethnic Group (GT1-44).
2430      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2431      * it will return zero.
2432      */
2433     public int getGt144_EthnicGroupReps() {
2434     	return this.getReps(44);
2435     }
2436 
2437 
2438     /**
2439      * Inserts a repetition of
2440      * GT1-44: "Ethnic Group" at a specific index
2441      *
2442      * @param rep The repetition index (0-indexed)
2443      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2444      */
2445     public CE insertEthnicGroup(int rep) throws HL7Exception { 
2446         return (CE) super.insertRepetition(44, rep);
2447     }
2448 
2449 
2450     /**
2451      * Inserts a repetition of
2452      * GT1-44: "Ethnic Group" at a specific index
2453      *
2454      * @param rep The repetition index (0-indexed)
2455      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2456      */
2457     public CE insertGt144_EthnicGroup(int rep) throws HL7Exception { 
2458         return (CE) super.insertRepetition(44, rep);
2459     }
2460 
2461 
2462     /**
2463      * Removes a repetition of
2464      * GT1-44: "Ethnic Group" at a specific index
2465      *
2466      * @param rep The repetition index (0-indexed)
2467      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2468      */
2469     public CE removeEthnicGroup(int rep) throws HL7Exception { 
2470         return (CE) super.removeRepetition(44, rep);
2471     }
2472 
2473 
2474     /**
2475      * Removes a repetition of
2476      * GT1-44: "Ethnic Group" at a specific index
2477      *
2478      * @param rep The repetition index (0-indexed)
2479      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2480      */
2481     public CE removeGt144_EthnicGroup(int rep) throws HL7Exception { 
2482         return (CE) super.removeRepetition(44, rep);
2483     }
2484 
2485 
2486 
2487     /**
2488      * Returns all repetitions of Contact Person's Name (GT1-45).
2489      */
2490     public XPN[] getContactPersonSName() {
2491     	XPN[] retVal = this.getTypedField(45, new XPN[0]);
2492     	return retVal;
2493     }
2494 
2495 
2496     /**
2497      * Returns all repetitions of Contact Person's Name (GT1-45).
2498      */
2499     public XPN[] getGt145_ContactPersonSName() {
2500     	XPN[] retVal = this.getTypedField(45, new XPN[0]);
2501     	return retVal;
2502     }
2503 
2504 
2505     /**
2506      * Returns a count of the current number of repetitions of Contact Person's Name (GT1-45).
2507      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2508      * it will return zero.
2509      */
2510     public int getContactPersonSNameReps() {
2511     	return this.getReps(45);
2512     }
2513 
2514 
2515     /**
2516      * Returns a specific repetition of
2517      * GT1-45: "Contact Person's Name" - creates it if necessary
2518      *
2519      * @param rep The repetition index (0-indexed)
2520      */
2521     public XPN getContactPersonSName(int rep) { 
2522 		XPN retVal = this.getTypedField(45, rep);
2523 		return retVal;
2524     }
2525 
2526     /**
2527      * Returns a specific repetition of
2528      * GT1-45: "Contact Person's Name" - creates it if necessary
2529      *
2530      * @param rep The repetition index (0-indexed)
2531      */
2532     public XPN getGt145_ContactPersonSName(int rep) { 
2533 		XPN retVal = this.getTypedField(45, rep);
2534 		return retVal;
2535     }
2536 
2537     /**
2538      * Returns a count of the current number of repetitions of Contact Person's Name (GT1-45).
2539      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2540      * it will return zero.
2541      */
2542     public int getGt145_ContactPersonSNameReps() {
2543     	return this.getReps(45);
2544     }
2545 
2546 
2547     /**
2548      * Inserts a repetition of
2549      * GT1-45: "Contact Person's Name" at a specific index
2550      *
2551      * @param rep The repetition index (0-indexed)
2552      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2553      */
2554     public XPN insertContactPersonSName(int rep) throws HL7Exception { 
2555         return (XPN) super.insertRepetition(45, rep);
2556     }
2557 
2558 
2559     /**
2560      * Inserts a repetition of
2561      * GT1-45: "Contact Person's Name" at a specific index
2562      *
2563      * @param rep The repetition index (0-indexed)
2564      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2565      */
2566     public XPN insertGt145_ContactPersonSName(int rep) throws HL7Exception { 
2567         return (XPN) super.insertRepetition(45, rep);
2568     }
2569 
2570 
2571     /**
2572      * Removes a repetition of
2573      * GT1-45: "Contact Person's Name" at a specific index
2574      *
2575      * @param rep The repetition index (0-indexed)
2576      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2577      */
2578     public XPN removeContactPersonSName(int rep) throws HL7Exception { 
2579         return (XPN) super.removeRepetition(45, rep);
2580     }
2581 
2582 
2583     /**
2584      * Removes a repetition of
2585      * GT1-45: "Contact Person's Name" at a specific index
2586      *
2587      * @param rep The repetition index (0-indexed)
2588      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2589      */
2590     public XPN removeGt145_ContactPersonSName(int rep) throws HL7Exception { 
2591         return (XPN) super.removeRepetition(45, rep);
2592     }
2593 
2594 
2595 
2596     /**
2597      * Returns all repetitions of Contact Person's Telephone Number (GT1-46).
2598      */
2599     public XTN[] getContactPersonSTelephoneNumber() {
2600     	XTN[] retVal = this.getTypedField(46, new XTN[0]);
2601     	return retVal;
2602     }
2603 
2604 
2605     /**
2606      * Returns all repetitions of Contact Person's Telephone Number (GT1-46).
2607      */
2608     public XTN[] getGt146_ContactPersonSTelephoneNumber() {
2609     	XTN[] retVal = this.getTypedField(46, new XTN[0]);
2610     	return retVal;
2611     }
2612 
2613 
2614     /**
2615      * Returns a count of the current number of repetitions of Contact Person's Telephone Number (GT1-46).
2616      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2617      * it will return zero.
2618      */
2619     public int getContactPersonSTelephoneNumberReps() {
2620     	return this.getReps(46);
2621     }
2622 
2623 
2624     /**
2625      * Returns a specific repetition of
2626      * GT1-46: "Contact Person's Telephone Number" - creates it if necessary
2627      *
2628      * @param rep The repetition index (0-indexed)
2629      */
2630     public XTN getContactPersonSTelephoneNumber(int rep) { 
2631 		XTN retVal = this.getTypedField(46, rep);
2632 		return retVal;
2633     }
2634 
2635     /**
2636      * Returns a specific repetition of
2637      * GT1-46: "Contact Person's Telephone Number" - creates it if necessary
2638      *
2639      * @param rep The repetition index (0-indexed)
2640      */
2641     public XTN getGt146_ContactPersonSTelephoneNumber(int rep) { 
2642 		XTN retVal = this.getTypedField(46, rep);
2643 		return retVal;
2644     }
2645 
2646     /**
2647      * Returns a count of the current number of repetitions of Contact Person's Telephone Number (GT1-46).
2648      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2649      * it will return zero.
2650      */
2651     public int getGt146_ContactPersonSTelephoneNumberReps() {
2652     	return this.getReps(46);
2653     }
2654 
2655 
2656     /**
2657      * Inserts a repetition of
2658      * GT1-46: "Contact Person's Telephone Number" at a specific index
2659      *
2660      * @param rep The repetition index (0-indexed)
2661      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2662      */
2663     public XTN insertContactPersonSTelephoneNumber(int rep) throws HL7Exception { 
2664         return (XTN) super.insertRepetition(46, rep);
2665     }
2666 
2667 
2668     /**
2669      * Inserts a repetition of
2670      * GT1-46: "Contact Person's Telephone Number" at a specific index
2671      *
2672      * @param rep The repetition index (0-indexed)
2673      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2674      */
2675     public XTN insertGt146_ContactPersonSTelephoneNumber(int rep) throws HL7Exception { 
2676         return (XTN) super.insertRepetition(46, rep);
2677     }
2678 
2679 
2680     /**
2681      * Removes a repetition of
2682      * GT1-46: "Contact Person's Telephone Number" at a specific index
2683      *
2684      * @param rep The repetition index (0-indexed)
2685      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2686      */
2687     public XTN removeContactPersonSTelephoneNumber(int rep) throws HL7Exception { 
2688         return (XTN) super.removeRepetition(46, rep);
2689     }
2690 
2691 
2692     /**
2693      * Removes a repetition of
2694      * GT1-46: "Contact Person's Telephone Number" at a specific index
2695      *
2696      * @param rep The repetition index (0-indexed)
2697      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2698      */
2699     public XTN removeGt146_ContactPersonSTelephoneNumber(int rep) throws HL7Exception { 
2700         return (XTN) super.removeRepetition(46, rep);
2701     }
2702 
2703 
2704 
2705 
2706     /**
2707      * Returns
2708      * GT1-47: "Contact Reason" - creates it if necessary
2709      */
2710     public CE getContactReason() { 
2711 		CE retVal = this.getTypedField(47, 0);
2712 		return retVal;
2713     }
2714     
2715     /**
2716      * Returns
2717      * GT1-47: "Contact Reason" - creates it if necessary
2718      */
2719     public CE getGt147_ContactReason() { 
2720 		CE retVal = this.getTypedField(47, 0);
2721 		return retVal;
2722     }
2723 
2724 
2725 
2726     /**
2727      * Returns
2728      * GT1-48: "Contact Relationship" - creates it if necessary
2729      */
2730     public IS getContactRelationship() { 
2731 		IS retVal = this.getTypedField(48, 0);
2732 		return retVal;
2733     }
2734     
2735     /**
2736      * Returns
2737      * GT1-48: "Contact Relationship" - creates it if necessary
2738      */
2739     public IS getGt148_ContactRelationship() { 
2740 		IS retVal = this.getTypedField(48, 0);
2741 		return retVal;
2742     }
2743 
2744 
2745 
2746     /**
2747      * Returns
2748      * GT1-49: "Job Title" - creates it if necessary
2749      */
2750     public ST getJobTitle() { 
2751 		ST retVal = this.getTypedField(49, 0);
2752 		return retVal;
2753     }
2754     
2755     /**
2756      * Returns
2757      * GT1-49: "Job Title" - creates it if necessary
2758      */
2759     public ST getGt149_JobTitle() { 
2760 		ST retVal = this.getTypedField(49, 0);
2761 		return retVal;
2762     }
2763 
2764 
2765 
2766     /**
2767      * Returns
2768      * GT1-50: "Job Code/Class" - creates it if necessary
2769      */
2770     public JCC getJobCodeClass() { 
2771 		JCC retVal = this.getTypedField(50, 0);
2772 		return retVal;
2773     }
2774     
2775     /**
2776      * Returns
2777      * GT1-50: "Job Code/Class" - creates it if necessary
2778      */
2779     public JCC getGt150_JobCodeClass() { 
2780 		JCC retVal = this.getTypedField(50, 0);
2781 		return retVal;
2782     }
2783 
2784 
2785     /**
2786      * Returns all repetitions of Guarantor Employer's Organization Name (GT1-51).
2787      */
2788     public XON[] getGuarantorEmployerSOrganizationName() {
2789     	XON[] retVal = this.getTypedField(51, new XON[0]);
2790     	return retVal;
2791     }
2792 
2793 
2794     /**
2795      * Returns all repetitions of Guarantor Employer's Organization Name (GT1-51).
2796      */
2797     public XON[] getGt151_GuarantorEmployerSOrganizationName() {
2798     	XON[] retVal = this.getTypedField(51, new XON[0]);
2799     	return retVal;
2800     }
2801 
2802 
2803     /**
2804      * Returns a count of the current number of repetitions of Guarantor Employer's Organization Name (GT1-51).
2805      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2806      * it will return zero.
2807      */
2808     public int getGuarantorEmployerSOrganizationNameReps() {
2809     	return this.getReps(51);
2810     }
2811 
2812 
2813     /**
2814      * Returns a specific repetition of
2815      * GT1-51: "Guarantor Employer's Organization Name" - creates it if necessary
2816      *
2817      * @param rep The repetition index (0-indexed)
2818      */
2819     public XON getGuarantorEmployerSOrganizationName(int rep) { 
2820 		XON retVal = this.getTypedField(51, rep);
2821 		return retVal;
2822     }
2823 
2824     /**
2825      * Returns a specific repetition of
2826      * GT1-51: "Guarantor Employer's Organization Name" - creates it if necessary
2827      *
2828      * @param rep The repetition index (0-indexed)
2829      */
2830     public XON getGt151_GuarantorEmployerSOrganizationName(int rep) { 
2831 		XON retVal = this.getTypedField(51, rep);
2832 		return retVal;
2833     }
2834 
2835     /**
2836      * Returns a count of the current number of repetitions of Guarantor Employer's Organization Name (GT1-51).
2837      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2838      * it will return zero.
2839      */
2840     public int getGt151_GuarantorEmployerSOrganizationNameReps() {
2841     	return this.getReps(51);
2842     }
2843 
2844 
2845     /**
2846      * Inserts a repetition of
2847      * GT1-51: "Guarantor Employer's Organization Name" at a specific index
2848      *
2849      * @param rep The repetition index (0-indexed)
2850      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2851      */
2852     public XON insertGuarantorEmployerSOrganizationName(int rep) throws HL7Exception { 
2853         return (XON) super.insertRepetition(51, rep);
2854     }
2855 
2856 
2857     /**
2858      * Inserts a repetition of
2859      * GT1-51: "Guarantor Employer's Organization Name" at a specific index
2860      *
2861      * @param rep The repetition index (0-indexed)
2862      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2863      */
2864     public XON insertGt151_GuarantorEmployerSOrganizationName(int rep) throws HL7Exception { 
2865         return (XON) super.insertRepetition(51, rep);
2866     }
2867 
2868 
2869     /**
2870      * Removes a repetition of
2871      * GT1-51: "Guarantor Employer's Organization Name" at a specific index
2872      *
2873      * @param rep The repetition index (0-indexed)
2874      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2875      */
2876     public XON removeGuarantorEmployerSOrganizationName(int rep) throws HL7Exception { 
2877         return (XON) super.removeRepetition(51, rep);
2878     }
2879 
2880 
2881     /**
2882      * Removes a repetition of
2883      * GT1-51: "Guarantor Employer's Organization Name" at a specific index
2884      *
2885      * @param rep The repetition index (0-indexed)
2886      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2887      */
2888     public XON removeGt151_GuarantorEmployerSOrganizationName(int rep) throws HL7Exception { 
2889         return (XON) super.removeRepetition(51, rep);
2890     }
2891 
2892 
2893 
2894 
2895     /**
2896      * Returns
2897      * GT1-52: "Handicap" - creates it if necessary
2898      */
2899     public IS getHandicap() { 
2900 		IS retVal = this.getTypedField(52, 0);
2901 		return retVal;
2902     }
2903     
2904     /**
2905      * Returns
2906      * GT1-52: "Handicap" - creates it if necessary
2907      */
2908     public IS getGt152_Handicap() { 
2909 		IS retVal = this.getTypedField(52, 0);
2910 		return retVal;
2911     }
2912 
2913 
2914 
2915     /**
2916      * Returns
2917      * GT1-53: "Job Status" - creates it if necessary
2918      */
2919     public IS getJobStatus() { 
2920 		IS retVal = this.getTypedField(53, 0);
2921 		return retVal;
2922     }
2923     
2924     /**
2925      * Returns
2926      * GT1-53: "Job Status" - creates it if necessary
2927      */
2928     public IS getGt153_JobStatus() { 
2929 		IS retVal = this.getTypedField(53, 0);
2930 		return retVal;
2931     }
2932 
2933 
2934 
2935     /**
2936      * Returns
2937      * GT1-54: "Guarantor Financial Class" - creates it if necessary
2938      */
2939     public FC getGuarantorFinancialClass() { 
2940 		FC retVal = this.getTypedField(54, 0);
2941 		return retVal;
2942     }
2943     
2944     /**
2945      * Returns
2946      * GT1-54: "Guarantor Financial Class" - creates it if necessary
2947      */
2948     public FC getGt154_GuarantorFinancialClass() { 
2949 		FC retVal = this.getTypedField(54, 0);
2950 		return retVal;
2951     }
2952 
2953 
2954     /**
2955      * Returns all repetitions of Guarantor Race (GT1-55).
2956      */
2957     public CE[] getGuarantorRace() {
2958     	CE[] retVal = this.getTypedField(55, new CE[0]);
2959     	return retVal;
2960     }
2961 
2962 
2963     /**
2964      * Returns all repetitions of Guarantor Race (GT1-55).
2965      */
2966     public CE[] getGt155_GuarantorRace() {
2967     	CE[] retVal = this.getTypedField(55, new CE[0]);
2968     	return retVal;
2969     }
2970 
2971 
2972     /**
2973      * Returns a count of the current number of repetitions of Guarantor Race (GT1-55).
2974      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2975      * it will return zero.
2976      */
2977     public int getGuarantorRaceReps() {
2978     	return this.getReps(55);
2979     }
2980 
2981 
2982     /**
2983      * Returns a specific repetition of
2984      * GT1-55: "Guarantor Race" - creates it if necessary
2985      *
2986      * @param rep The repetition index (0-indexed)
2987      */
2988     public CE getGuarantorRace(int rep) { 
2989 		CE retVal = this.getTypedField(55, rep);
2990 		return retVal;
2991     }
2992 
2993     /**
2994      * Returns a specific repetition of
2995      * GT1-55: "Guarantor Race" - creates it if necessary
2996      *
2997      * @param rep The repetition index (0-indexed)
2998      */
2999     public CE getGt155_GuarantorRace(int rep) { 
3000 		CE retVal = this.getTypedField(55, rep);
3001 		return retVal;
3002     }
3003 
3004     /**
3005      * Returns a count of the current number of repetitions of Guarantor Race (GT1-55).
3006      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3007      * it will return zero.
3008      */
3009     public int getGt155_GuarantorRaceReps() {
3010     	return this.getReps(55);
3011     }
3012 
3013 
3014     /**
3015      * Inserts a repetition of
3016      * GT1-55: "Guarantor Race" at a specific index
3017      *
3018      * @param rep The repetition index (0-indexed)
3019      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3020      */
3021     public CE insertGuarantorRace(int rep) throws HL7Exception { 
3022         return (CE) super.insertRepetition(55, rep);
3023     }
3024 
3025 
3026     /**
3027      * Inserts a repetition of
3028      * GT1-55: "Guarantor Race" at a specific index
3029      *
3030      * @param rep The repetition index (0-indexed)
3031      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3032      */
3033     public CE insertGt155_GuarantorRace(int rep) throws HL7Exception { 
3034         return (CE) super.insertRepetition(55, rep);
3035     }
3036 
3037 
3038     /**
3039      * Removes a repetition of
3040      * GT1-55: "Guarantor Race" at a specific index
3041      *
3042      * @param rep The repetition index (0-indexed)
3043      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3044      */
3045     public CE removeGuarantorRace(int rep) throws HL7Exception { 
3046         return (CE) super.removeRepetition(55, rep);
3047     }
3048 
3049 
3050     /**
3051      * Removes a repetition of
3052      * GT1-55: "Guarantor Race" at a specific index
3053      *
3054      * @param rep The repetition index (0-indexed)
3055      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3056      */
3057     public CE removeGt155_GuarantorRace(int rep) throws HL7Exception { 
3058         return (CE) super.removeRepetition(55, rep);
3059     }
3060 
3061 
3062 
3063 
3064 
3065 
3066     /** {@inheritDoc} */   
3067     protected Type createNewTypeWithoutReflection(int field) {
3068        switch (field) {
3069           case 0: return new SI(getMessage());
3070           case 1: return new CX(getMessage());
3071           case 2: return new XPN(getMessage());
3072           case 3: return new XPN(getMessage());
3073           case 4: return new XAD(getMessage());
3074           case 5: return new XTN(getMessage());
3075           case 6: return new XTN(getMessage());
3076           case 7: return new TS(getMessage());
3077           case 8: return new IS(getMessage(), new Integer( 1 ));
3078           case 9: return new IS(getMessage(), new Integer( 68 ));
3079           case 10: return new CE(getMessage());
3080           case 11: return new ST(getMessage());
3081           case 12: return new DT(getMessage());
3082           case 13: return new DT(getMessage());
3083           case 14: return new NM(getMessage());
3084           case 15: return new XPN(getMessage());
3085           case 16: return new XAD(getMessage());
3086           case 17: return new XTN(getMessage());
3087           case 18: return new CX(getMessage());
3088           case 19: return new IS(getMessage(), new Integer( 66 ));
3089           case 20: return new XON(getMessage());
3090           case 21: return new ID(getMessage(), new Integer( 136 ));
3091           case 22: return new CE(getMessage());
3092           case 23: return new TS(getMessage());
3093           case 24: return new ID(getMessage(), new Integer( 136 ));
3094           case 25: return new CE(getMessage());
3095           case 26: return new CP(getMessage());
3096           case 27: return new NM(getMessage());
3097           case 28: return new CX(getMessage());
3098           case 29: return new CE(getMessage());
3099           case 30: return new DT(getMessage());
3100           case 31: return new DT(getMessage());
3101           case 32: return new IS(getMessage(), new Integer( 223 ));
3102           case 33: return new IS(getMessage(), new Integer( 9 ));
3103           case 34: return new CE(getMessage());
3104           case 35: return new CE(getMessage());
3105           case 36: return new IS(getMessage(), new Integer( 220 ));
3106           case 37: return new CE(getMessage());
3107           case 38: return new ID(getMessage(), new Integer( 136 ));
3108           case 39: return new IS(getMessage(), new Integer( 231 ));
3109           case 40: return new CE(getMessage());
3110           case 41: return new XPN(getMessage());
3111           case 42: return new CE(getMessage());
3112           case 43: return new CE(getMessage());
3113           case 44: return new XPN(getMessage());
3114           case 45: return new XTN(getMessage());
3115           case 46: return new CE(getMessage());
3116           case 47: return new IS(getMessage(), new Integer( 63 ));
3117           case 48: return new ST(getMessage());
3118           case 49: return new JCC(getMessage());
3119           case 50: return new XON(getMessage());
3120           case 51: return new IS(getMessage(), new Integer( 295 ));
3121           case 52: return new IS(getMessage(), new Integer( 311 ));
3122           case 53: return new FC(getMessage());
3123           case 54: return new CE(getMessage());
3124           default: return null;
3125        }
3126    }
3127 
3128 
3129 }
3130