View Javadoc
1   /*
2    * This class is an auto-generated source file for a HAPI
3    * HL7 v2.x standard structure class.
4    *
5    * For more information, visit: http://hl7api.sourceforge.net/
6    * 
7    * The contents of this file are subject to the Mozilla Public License Version 1.1 
8    * (the "License"); you may not use this file except in compliance with the License. 
9    * You may obtain a copy of the License at http://www.mozilla.org/MPL/ 
10   * Software distributed under the License is distributed on an "AS IS" basis, 
11   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the 
12   * specific language governing rights and limitations under the License. 
13   * 
14   * The Original Code is "[file_name]".  Description: 
15   * "[one_line_description]" 
16   * 
17   * The Initial Developer of the Original Code is University Health Network. Copyright (C) 
18   * 2012.  All Rights Reserved. 
19   * 
20   * Contributor(s): ______________________________________. 
21   * 
22   * Alternatively, the contents of this file may be used under the terms of the 
23   * GNU General Public License (the  "GPL"), in which case the provisions of the GPL are 
24   * applicable instead of those above.  If you wish to allow use of your version of this 
25   * file only under the terms of the GPL and not to allow others to use your version 
26   * of this file under the MPL, indicate your decision by deleting  the provisions above 
27   * and replace  them with the notice and other provisions required by the GPL License.  
28   * If you do not delete the provisions above, a recipient may use your version of 
29   * this file under either the MPL or the GPL. 
30   * 
31   */
32  
33  
34  package ca.uhn.hl7v2.model.v28.segment;
35  
36  // import ca.uhn.hl7v2.model.v28.group.*;
37  import ca.uhn.hl7v2.model.v28.datatype.*;
38  import ca.uhn.hl7v2.HL7Exception;
39  import ca.uhn.hl7v2.parser.ModelClassFactory;
40  import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
41  import ca.uhn.hl7v2.model.AbstractMessage;
42  import ca.uhn.hl7v2.model.Group;
43  import ca.uhn.hl7v2.model.Type;
44  import ca.uhn.hl7v2.model.AbstractSegment;
45  import ca.uhn.hl7v2.model.Varies;
46  
47  
48  /**
49   *<p>Represents an HL7 IN2 message segment (Insurance Additional Information). 
50   * This segment has the following fields:</p>
51   * <ul>
52       * <li>IN2-1: Insured's Employee ID (CX) <b>optional repeating</b>
53       * <li>IN2-2: Insured's Social Security Number (ST) <b>optional </b>
54       * <li>IN2-3: Insured's Employer's Name and ID (XCN) <b>optional repeating</b>
55       * <li>IN2-4: Employer Information Data (CWE) <b>optional </b>
56       * <li>IN2-5: Mail Claim Party (CWE) <b>optional repeating</b>
57       * <li>IN2-6: Medicare Health Ins Card Number (ST) <b>optional </b>
58       * <li>IN2-7: Medicaid Case Name (XPN) <b>optional repeating</b>
59       * <li>IN2-8: Medicaid Case Number (ST) <b>optional </b>
60       * <li>IN2-9: Military Sponsor Name (XPN) <b>optional repeating</b>
61       * <li>IN2-10: Military ID Number (ST) <b>optional </b>
62       * <li>IN2-11: Dependent Of Military Recipient (CWE) <b>optional </b>
63       * <li>IN2-12: Military Organization (ST) <b>optional </b>
64       * <li>IN2-13: Military Station (ST) <b>optional </b>
65       * <li>IN2-14: Military Service (CWE) <b>optional </b>
66       * <li>IN2-15: Military Rank/Grade (CWE) <b>optional </b>
67       * <li>IN2-16: Military Status (CWE) <b>optional </b>
68       * <li>IN2-17: Military Retire Date (DT) <b>optional </b>
69       * <li>IN2-18: Military Non-Avail Cert On File (ID) <b>optional </b>
70       * <li>IN2-19: Baby Coverage (ID) <b>optional </b>
71       * <li>IN2-20: Combine Baby Bill (ID) <b>optional </b>
72       * <li>IN2-21: Blood Deductible (ST) <b>optional </b>
73       * <li>IN2-22: Special Coverage Approval Name (XPN) <b>optional repeating</b>
74       * <li>IN2-23: Special Coverage Approval Title (ST) <b>optional </b>
75       * <li>IN2-24: Non-Covered Insurance Code (CWE) <b>optional repeating</b>
76       * <li>IN2-25: Payor ID (CX) <b>optional repeating</b>
77       * <li>IN2-26: Payor Subscriber ID (CX) <b>optional repeating</b>
78       * <li>IN2-27: Eligibility Source (CWE) <b>optional </b>
79       * <li>IN2-28: Room Coverage Type/Amount (RMC) <b>optional repeating</b>
80       * <li>IN2-29: Policy Type/Amount (PTA) <b>optional repeating</b>
81       * <li>IN2-30: Daily Deductible (DDI) <b>optional </b>
82       * <li>IN2-31: Living Dependency (CWE) <b>optional </b>
83       * <li>IN2-32: Ambulatory Status (CWE) <b>optional repeating</b>
84       * <li>IN2-33: Citizenship (CWE) <b>optional repeating</b>
85       * <li>IN2-34: Primary Language (CWE) <b>optional </b>
86       * <li>IN2-35: Living Arrangement (CWE) <b>optional </b>
87       * <li>IN2-36: Publicity Code (CWE) <b>optional </b>
88       * <li>IN2-37: Protection Indicator (ID) <b>optional </b>
89       * <li>IN2-38: Student Indicator (CWE) <b>optional </b>
90       * <li>IN2-39: Religion (CWE) <b>optional </b>
91       * <li>IN2-40: Mother's Maiden Name (XPN) <b>optional repeating</b>
92       * <li>IN2-41: Nationality (CWE) <b>optional </b>
93       * <li>IN2-42: Ethnic Group (CWE) <b>optional repeating</b>
94       * <li>IN2-43: Marital Status (CWE) <b>optional repeating</b>
95       * <li>IN2-44: Insured's Employment Start Date (DT) <b>optional </b>
96       * <li>IN2-45: Employment Stop Date (DT) <b>optional </b>
97       * <li>IN2-46: Job Title (ST) <b>optional </b>
98       * <li>IN2-47: Job Code/Class (JCC) <b>optional </b>
99       * <li>IN2-48: Job Status (CWE) <b>optional </b>
100      * <li>IN2-49: Employer Contact Person Name (XPN) <b>optional repeating</b>
101      * <li>IN2-50: Employer Contact Person Phone Number (XTN) <b>optional repeating</b>
102      * <li>IN2-51: Employer Contact Reason (CWE) <b>optional </b>
103      * <li>IN2-52: Insured's Contact Person's Name (XPN) <b>optional repeating</b>
104      * <li>IN2-53: Insured's Contact Person Phone Number (XTN) <b>optional repeating</b>
105      * <li>IN2-54: Insured's Contact Person Reason (CWE) <b>optional repeating</b>
106      * <li>IN2-55: Relationship to the Patient Start Date (DT) <b>optional </b>
107      * <li>IN2-56: Relationship to the Patient Stop Date (DT) <b>optional repeating</b>
108      * <li>IN2-57: Insurance Co Contact Reason (CWE) <b>optional </b>
109      * <li>IN2-58: Insurance Co Contact Phone Number (XTN) <b>optional repeating</b>
110      * <li>IN2-59: Policy Scope (CWE) <b>optional </b>
111      * <li>IN2-60: Policy Source (CWE) <b>optional </b>
112      * <li>IN2-61: Patient Member Number (CX) <b>optional </b>
113      * <li>IN2-62: Guarantor's Relationship to Insured (CWE) <b>optional </b>
114      * <li>IN2-63: Insured's Phone Number - Home (XTN) <b>optional repeating</b>
115      * <li>IN2-64: Insured's Employer Phone Number (XTN) <b>optional repeating</b>
116      * <li>IN2-65: Military Handicapped Program (CWE) <b>optional </b>
117      * <li>IN2-66: Suspend Flag (ID) <b>optional </b>
118      * <li>IN2-67: Copay Limit Flag (ID) <b>optional </b>
119      * <li>IN2-68: Stoploss Limit Flag (ID) <b>optional </b>
120      * <li>IN2-69: Insured Organization Name and ID (XON) <b>optional repeating</b>
121      * <li>IN2-70: Insured Employer Organization Name and ID (XON) <b>optional repeating</b>
122      * <li>IN2-71: Race (CWE) <b>optional repeating</b>
123      * <li>IN2-72: Patient's Relationship to Insured (CWE) <b>optional </b>
124  * </ul>
125  */
126 @SuppressWarnings("unused")
127 public class IN2 extends AbstractSegment {
128 
129     /** 
130      * Creates a new IN2 segment
131      */
132     public IN2(Group parent, ModelClassFactory factory) {
133        super(parent, factory);
134        init(factory);
135     }
136 
137     private void init(ModelClassFactory factory) {
138        try {
139                                   this.add(CX.class, false, 0, 0, new Object[]{ getMessage() }, "Insured's Employee ID");
140                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Insured's Social Security Number");
141                                   this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Insured's Employer's Name and ID");
142                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Employer Information Data");
143                                   this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Mail Claim Party");
144                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Medicare Health Ins Card Number");
145                                   this.add(XPN.class, false, 0, 0, new Object[]{ getMessage() }, "Medicaid Case Name");
146                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Medicaid Case Number");
147                                   this.add(XPN.class, false, 0, 0, new Object[]{ getMessage() }, "Military Sponsor Name");
148                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Military ID Number");
149                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Dependent Of Military Recipient");
150                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Military Organization");
151                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Military Station");
152                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Military Service");
153                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Military Rank/Grade");
154                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Military Status");
155                                   this.add(DT.class, false, 1, 0, new Object[]{ getMessage() }, "Military Retire Date");
156                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Military Non-Avail Cert On File");
157                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Baby Coverage");
158                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Combine Baby Bill");
159                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Blood Deductible");
160                                   this.add(XPN.class, false, 0, 0, new Object[]{ getMessage() }, "Special Coverage Approval Name");
161                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Special Coverage Approval Title");
162                                   this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Non-Covered Insurance Code");
163                                   this.add(CX.class, false, 0, 0, new Object[]{ getMessage() }, "Payor ID");
164                                   this.add(CX.class, false, 0, 0, new Object[]{ getMessage() }, "Payor Subscriber ID");
165                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Eligibility Source");
166                                   this.add(RMC.class, false, 0, 0, new Object[]{ getMessage() }, "Room Coverage Type/Amount");
167                                   this.add(PTA.class, false, 0, 0, new Object[]{ getMessage() }, "Policy Type/Amount");
168                                   this.add(DDI.class, false, 1, 0, new Object[]{ getMessage() }, "Daily Deductible");
169                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Living Dependency");
170                                   this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Ambulatory Status");
171                                   this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Citizenship");
172                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Primary Language");
173                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Living Arrangement");
174                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Publicity Code");
175                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Protection Indicator");
176                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Student Indicator");
177                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Religion");
178                                   this.add(XPN.class, false, 0, 0, new Object[]{ getMessage() }, "Mother's Maiden Name");
179                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Nationality");
180                                   this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Ethnic Group");
181                                   this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Marital Status");
182                                   this.add(DT.class, false, 1, 0, new Object[]{ getMessage() }, "Insured's Employment Start Date");
183                                   this.add(DT.class, false, 1, 0, new Object[]{ getMessage() }, "Employment Stop Date");
184                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Job Title");
185                                   this.add(JCC.class, false, 1, 0, new Object[]{ getMessage() }, "Job Code/Class");
186                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Job Status");
187                                   this.add(XPN.class, false, 0, 0, new Object[]{ getMessage() }, "Employer Contact Person Name");
188                                   this.add(XTN.class, false, 0, 0, new Object[]{ getMessage() }, "Employer Contact Person Phone Number");
189                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Employer Contact Reason");
190                                   this.add(XPN.class, false, 0, 0, new Object[]{ getMessage() }, "Insured's Contact Person's Name");
191                                   this.add(XTN.class, false, 0, 0, new Object[]{ getMessage() }, "Insured's Contact Person Phone Number");
192                                   this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Insured's Contact Person Reason");
193                                   this.add(DT.class, false, 1, 0, new Object[]{ getMessage() }, "Relationship to the Patient Start Date");
194                                   this.add(DT.class, false, 0, 0, new Object[]{ getMessage() }, "Relationship to the Patient Stop Date");
195                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Insurance Co Contact Reason");
196                                   this.add(XTN.class, false, 0, 0, new Object[]{ getMessage() }, "Insurance Co Contact Phone Number");
197                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Policy Scope");
198                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Policy Source");
199                                   this.add(CX.class, false, 1, 0, new Object[]{ getMessage() }, "Patient Member Number");
200                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Guarantor's Relationship to Insured");
201                                   this.add(XTN.class, false, 0, 0, new Object[]{ getMessage() }, "Insured's Phone Number - Home");
202                                   this.add(XTN.class, false, 0, 0, new Object[]{ getMessage() }, "Insured's Employer Phone Number");
203                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Military Handicapped Program");
204                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Suspend Flag");
205                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Copay Limit Flag");
206                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Stoploss Limit Flag");
207                                   this.add(XON.class, false, 0, 0, new Object[]{ getMessage() }, "Insured Organization Name and ID");
208                                   this.add(XON.class, false, 0, 0, new Object[]{ getMessage() }, "Insured Employer Organization Name and ID");
209                                   this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Race");
210                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Patient's Relationship to Insured");
211        } catch(HL7Exception e) {
212           log.error("Unexpected error creating IN2 - this is probably a bug in the source code generator.", e);
213        }
214     }
215 
216 
217     /**
218      * Returns all repetitions of Insured's Employee ID (IN2-1).
219      */
220     public CX[] getInsuredSEmployeeID() {
221     	CX[] retVal = this.getTypedField(1, new CX[0]);
222     	return retVal;
223     }
224 
225 
226     /**
227      * Returns all repetitions of Insured's Employee ID (IN2-1).
228      */
229     public CX[] getIn21_InsuredSEmployeeID() {
230     	CX[] retVal = this.getTypedField(1, new CX[0]);
231     	return retVal;
232     }
233 
234 
235     /**
236      * Returns a count of the current number of repetitions of Insured's Employee ID (IN2-1).
237      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
238      * it will return zero.
239      */
240     public int getInsuredSEmployeeIDReps() {
241     	return this.getReps(1);
242     }
243 
244 
245     /**
246      * Returns a specific repetition of
247      * IN2-1: "Insured's Employee ID" - creates it if necessary
248      *
249      * @param rep The repetition index (0-indexed)
250      */
251     public CX getInsuredSEmployeeID(int rep) { 
252 		CX retVal = this.getTypedField(1, rep);
253 		return retVal;
254     }
255 
256     /**
257      * Returns a specific repetition of
258      * IN2-1: "Insured's Employee ID" - creates it if necessary
259      *
260      * @param rep The repetition index (0-indexed)
261      */
262     public CX getIn21_InsuredSEmployeeID(int rep) { 
263 		CX retVal = this.getTypedField(1, rep);
264 		return retVal;
265     }
266 
267     /**
268      * Returns a count of the current number of repetitions of Insured's Employee ID (IN2-1).
269      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
270      * it will return zero.
271      */
272     public int getIn21_InsuredSEmployeeIDReps() {
273     	return this.getReps(1);
274     }
275 
276 
277     /**
278      * Inserts a repetition of
279      * IN2-1: "Insured's Employee ID" at a specific index
280      *
281      * @param rep The repetition index (0-indexed)
282      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
283      */
284     public CX insertInsuredSEmployeeID(int rep) throws HL7Exception { 
285         return (CX) super.insertRepetition(1, rep);
286     }
287 
288 
289     /**
290      * Inserts a repetition of
291      * IN2-1: "Insured's Employee ID" at a specific index
292      *
293      * @param rep The repetition index (0-indexed)
294      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
295      */
296     public CX insertIn21_InsuredSEmployeeID(int rep) throws HL7Exception { 
297         return (CX) super.insertRepetition(1, rep);
298     }
299 
300 
301     /**
302      * Removes a repetition of
303      * IN2-1: "Insured's Employee ID" at a specific index
304      *
305      * @param rep The repetition index (0-indexed)
306      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
307      */
308     public CX removeInsuredSEmployeeID(int rep) throws HL7Exception { 
309         return (CX) super.removeRepetition(1, rep);
310     }
311 
312 
313     /**
314      * Removes a repetition of
315      * IN2-1: "Insured's Employee ID" at a specific index
316      *
317      * @param rep The repetition index (0-indexed)
318      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
319      */
320     public CX removeIn21_InsuredSEmployeeID(int rep) throws HL7Exception { 
321         return (CX) super.removeRepetition(1, rep);
322     }
323 
324 
325 
326 
327     /**
328      * Returns
329      * IN2-2: "Insured's Social Security Number" - creates it if necessary
330      */
331     public ST getInsuredSSocialSecurityNumber() { 
332 		ST retVal = this.getTypedField(2, 0);
333 		return retVal;
334     }
335     
336     /**
337      * Returns
338      * IN2-2: "Insured's Social Security Number" - creates it if necessary
339      */
340     public ST getIn22_InsuredSSocialSecurityNumber() { 
341 		ST retVal = this.getTypedField(2, 0);
342 		return retVal;
343     }
344 
345 
346     /**
347      * Returns all repetitions of Insured's Employer's Name and ID (IN2-3).
348      */
349     public XCN[] getInsuredSEmployerSNameAndID() {
350     	XCN[] retVal = this.getTypedField(3, new XCN[0]);
351     	return retVal;
352     }
353 
354 
355     /**
356      * Returns all repetitions of Insured's Employer's Name and ID (IN2-3).
357      */
358     public XCN[] getIn23_InsuredSEmployerSNameAndID() {
359     	XCN[] retVal = this.getTypedField(3, new XCN[0]);
360     	return retVal;
361     }
362 
363 
364     /**
365      * Returns a count of the current number of repetitions of Insured's Employer's Name and ID (IN2-3).
366      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
367      * it will return zero.
368      */
369     public int getInsuredSEmployerSNameAndIDReps() {
370     	return this.getReps(3);
371     }
372 
373 
374     /**
375      * Returns a specific repetition of
376      * IN2-3: "Insured's Employer's Name and ID" - creates it if necessary
377      *
378      * @param rep The repetition index (0-indexed)
379      */
380     public XCN getInsuredSEmployerSNameAndID(int rep) { 
381 		XCN retVal = this.getTypedField(3, rep);
382 		return retVal;
383     }
384 
385     /**
386      * Returns a specific repetition of
387      * IN2-3: "Insured's Employer's Name and ID" - creates it if necessary
388      *
389      * @param rep The repetition index (0-indexed)
390      */
391     public XCN getIn23_InsuredSEmployerSNameAndID(int rep) { 
392 		XCN retVal = this.getTypedField(3, rep);
393 		return retVal;
394     }
395 
396     /**
397      * Returns a count of the current number of repetitions of Insured's Employer's Name and ID (IN2-3).
398      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
399      * it will return zero.
400      */
401     public int getIn23_InsuredSEmployerSNameAndIDReps() {
402     	return this.getReps(3);
403     }
404 
405 
406     /**
407      * Inserts a repetition of
408      * IN2-3: "Insured's Employer's Name and ID" at a specific index
409      *
410      * @param rep The repetition index (0-indexed)
411      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
412      */
413     public XCN insertInsuredSEmployerSNameAndID(int rep) throws HL7Exception { 
414         return (XCN) super.insertRepetition(3, rep);
415     }
416 
417 
418     /**
419      * Inserts a repetition of
420      * IN2-3: "Insured's Employer's Name and ID" at a specific index
421      *
422      * @param rep The repetition index (0-indexed)
423      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
424      */
425     public XCN insertIn23_InsuredSEmployerSNameAndID(int rep) throws HL7Exception { 
426         return (XCN) super.insertRepetition(3, rep);
427     }
428 
429 
430     /**
431      * Removes a repetition of
432      * IN2-3: "Insured's Employer's Name and ID" at a specific index
433      *
434      * @param rep The repetition index (0-indexed)
435      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
436      */
437     public XCN removeInsuredSEmployerSNameAndID(int rep) throws HL7Exception { 
438         return (XCN) super.removeRepetition(3, rep);
439     }
440 
441 
442     /**
443      * Removes a repetition of
444      * IN2-3: "Insured's Employer's Name and ID" at a specific index
445      *
446      * @param rep The repetition index (0-indexed)
447      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
448      */
449     public XCN removeIn23_InsuredSEmployerSNameAndID(int rep) throws HL7Exception { 
450         return (XCN) super.removeRepetition(3, rep);
451     }
452 
453 
454 
455 
456     /**
457      * Returns
458      * IN2-4: "Employer Information Data" - creates it if necessary
459      */
460     public CWE getEmployerInformationData() { 
461 		CWE retVal = this.getTypedField(4, 0);
462 		return retVal;
463     }
464     
465     /**
466      * Returns
467      * IN2-4: "Employer Information Data" - creates it if necessary
468      */
469     public CWE getIn24_EmployerInformationData() { 
470 		CWE retVal = this.getTypedField(4, 0);
471 		return retVal;
472     }
473 
474 
475     /**
476      * Returns all repetitions of Mail Claim Party (IN2-5).
477      */
478     public CWE[] getMailClaimParty() {
479     	CWE[] retVal = this.getTypedField(5, new CWE[0]);
480     	return retVal;
481     }
482 
483 
484     /**
485      * Returns all repetitions of Mail Claim Party (IN2-5).
486      */
487     public CWE[] getIn25_MailClaimParty() {
488     	CWE[] retVal = this.getTypedField(5, new CWE[0]);
489     	return retVal;
490     }
491 
492 
493     /**
494      * Returns a count of the current number of repetitions of Mail Claim Party (IN2-5).
495      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
496      * it will return zero.
497      */
498     public int getMailClaimPartyReps() {
499     	return this.getReps(5);
500     }
501 
502 
503     /**
504      * Returns a specific repetition of
505      * IN2-5: "Mail Claim Party" - creates it if necessary
506      *
507      * @param rep The repetition index (0-indexed)
508      */
509     public CWE getMailClaimParty(int rep) { 
510 		CWE retVal = this.getTypedField(5, rep);
511 		return retVal;
512     }
513 
514     /**
515      * Returns a specific repetition of
516      * IN2-5: "Mail Claim Party" - creates it if necessary
517      *
518      * @param rep The repetition index (0-indexed)
519      */
520     public CWE getIn25_MailClaimParty(int rep) { 
521 		CWE retVal = this.getTypedField(5, rep);
522 		return retVal;
523     }
524 
525     /**
526      * Returns a count of the current number of repetitions of Mail Claim Party (IN2-5).
527      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
528      * it will return zero.
529      */
530     public int getIn25_MailClaimPartyReps() {
531     	return this.getReps(5);
532     }
533 
534 
535     /**
536      * Inserts a repetition of
537      * IN2-5: "Mail Claim Party" at a specific index
538      *
539      * @param rep The repetition index (0-indexed)
540      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
541      */
542     public CWE insertMailClaimParty(int rep) throws HL7Exception { 
543         return (CWE) super.insertRepetition(5, rep);
544     }
545 
546 
547     /**
548      * Inserts a repetition of
549      * IN2-5: "Mail Claim Party" at a specific index
550      *
551      * @param rep The repetition index (0-indexed)
552      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
553      */
554     public CWE insertIn25_MailClaimParty(int rep) throws HL7Exception { 
555         return (CWE) super.insertRepetition(5, rep);
556     }
557 
558 
559     /**
560      * Removes a repetition of
561      * IN2-5: "Mail Claim Party" at a specific index
562      *
563      * @param rep The repetition index (0-indexed)
564      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
565      */
566     public CWE removeMailClaimParty(int rep) throws HL7Exception { 
567         return (CWE) super.removeRepetition(5, rep);
568     }
569 
570 
571     /**
572      * Removes a repetition of
573      * IN2-5: "Mail Claim Party" at a specific index
574      *
575      * @param rep The repetition index (0-indexed)
576      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
577      */
578     public CWE removeIn25_MailClaimParty(int rep) throws HL7Exception { 
579         return (CWE) super.removeRepetition(5, rep);
580     }
581 
582 
583 
584 
585     /**
586      * Returns
587      * IN2-6: "Medicare Health Ins Card Number" - creates it if necessary
588      */
589     public ST getMedicareHealthInsCardNumber() { 
590 		ST retVal = this.getTypedField(6, 0);
591 		return retVal;
592     }
593     
594     /**
595      * Returns
596      * IN2-6: "Medicare Health Ins Card Number" - creates it if necessary
597      */
598     public ST getIn26_MedicareHealthInsCardNumber() { 
599 		ST retVal = this.getTypedField(6, 0);
600 		return retVal;
601     }
602 
603 
604     /**
605      * Returns all repetitions of Medicaid Case Name (IN2-7).
606      */
607     public XPN[] getMedicaidCaseName() {
608     	XPN[] retVal = this.getTypedField(7, new XPN[0]);
609     	return retVal;
610     }
611 
612 
613     /**
614      * Returns all repetitions of Medicaid Case Name (IN2-7).
615      */
616     public XPN[] getIn27_MedicaidCaseName() {
617     	XPN[] retVal = this.getTypedField(7, new XPN[0]);
618     	return retVal;
619     }
620 
621 
622     /**
623      * Returns a count of the current number of repetitions of Medicaid Case Name (IN2-7).
624      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
625      * it will return zero.
626      */
627     public int getMedicaidCaseNameReps() {
628     	return this.getReps(7);
629     }
630 
631 
632     /**
633      * Returns a specific repetition of
634      * IN2-7: "Medicaid Case Name" - creates it if necessary
635      *
636      * @param rep The repetition index (0-indexed)
637      */
638     public XPN getMedicaidCaseName(int rep) { 
639 		XPN retVal = this.getTypedField(7, rep);
640 		return retVal;
641     }
642 
643     /**
644      * Returns a specific repetition of
645      * IN2-7: "Medicaid Case Name" - creates it if necessary
646      *
647      * @param rep The repetition index (0-indexed)
648      */
649     public XPN getIn27_MedicaidCaseName(int rep) { 
650 		XPN retVal = this.getTypedField(7, rep);
651 		return retVal;
652     }
653 
654     /**
655      * Returns a count of the current number of repetitions of Medicaid Case Name (IN2-7).
656      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
657      * it will return zero.
658      */
659     public int getIn27_MedicaidCaseNameReps() {
660     	return this.getReps(7);
661     }
662 
663 
664     /**
665      * Inserts a repetition of
666      * IN2-7: "Medicaid Case Name" at a specific index
667      *
668      * @param rep The repetition index (0-indexed)
669      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
670      */
671     public XPN insertMedicaidCaseName(int rep) throws HL7Exception { 
672         return (XPN) super.insertRepetition(7, rep);
673     }
674 
675 
676     /**
677      * Inserts a repetition of
678      * IN2-7: "Medicaid Case Name" at a specific index
679      *
680      * @param rep The repetition index (0-indexed)
681      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
682      */
683     public XPN insertIn27_MedicaidCaseName(int rep) throws HL7Exception { 
684         return (XPN) super.insertRepetition(7, rep);
685     }
686 
687 
688     /**
689      * Removes a repetition of
690      * IN2-7: "Medicaid Case Name" at a specific index
691      *
692      * @param rep The repetition index (0-indexed)
693      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
694      */
695     public XPN removeMedicaidCaseName(int rep) throws HL7Exception { 
696         return (XPN) super.removeRepetition(7, rep);
697     }
698 
699 
700     /**
701      * Removes a repetition of
702      * IN2-7: "Medicaid Case Name" at a specific index
703      *
704      * @param rep The repetition index (0-indexed)
705      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
706      */
707     public XPN removeIn27_MedicaidCaseName(int rep) throws HL7Exception { 
708         return (XPN) super.removeRepetition(7, rep);
709     }
710 
711 
712 
713 
714     /**
715      * Returns
716      * IN2-8: "Medicaid Case Number" - creates it if necessary
717      */
718     public ST getMedicaidCaseNumber() { 
719 		ST retVal = this.getTypedField(8, 0);
720 		return retVal;
721     }
722     
723     /**
724      * Returns
725      * IN2-8: "Medicaid Case Number" - creates it if necessary
726      */
727     public ST getIn28_MedicaidCaseNumber() { 
728 		ST retVal = this.getTypedField(8, 0);
729 		return retVal;
730     }
731 
732 
733     /**
734      * Returns all repetitions of Military Sponsor Name (IN2-9).
735      */
736     public XPN[] getMilitarySponsorName() {
737     	XPN[] retVal = this.getTypedField(9, new XPN[0]);
738     	return retVal;
739     }
740 
741 
742     /**
743      * Returns all repetitions of Military Sponsor Name (IN2-9).
744      */
745     public XPN[] getIn29_MilitarySponsorName() {
746     	XPN[] retVal = this.getTypedField(9, new XPN[0]);
747     	return retVal;
748     }
749 
750 
751     /**
752      * Returns a count of the current number of repetitions of Military Sponsor Name (IN2-9).
753      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
754      * it will return zero.
755      */
756     public int getMilitarySponsorNameReps() {
757     	return this.getReps(9);
758     }
759 
760 
761     /**
762      * Returns a specific repetition of
763      * IN2-9: "Military Sponsor Name" - creates it if necessary
764      *
765      * @param rep The repetition index (0-indexed)
766      */
767     public XPN getMilitarySponsorName(int rep) { 
768 		XPN retVal = this.getTypedField(9, rep);
769 		return retVal;
770     }
771 
772     /**
773      * Returns a specific repetition of
774      * IN2-9: "Military Sponsor Name" - creates it if necessary
775      *
776      * @param rep The repetition index (0-indexed)
777      */
778     public XPN getIn29_MilitarySponsorName(int rep) { 
779 		XPN retVal = this.getTypedField(9, rep);
780 		return retVal;
781     }
782 
783     /**
784      * Returns a count of the current number of repetitions of Military Sponsor Name (IN2-9).
785      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
786      * it will return zero.
787      */
788     public int getIn29_MilitarySponsorNameReps() {
789     	return this.getReps(9);
790     }
791 
792 
793     /**
794      * Inserts a repetition of
795      * IN2-9: "Military Sponsor Name" at a specific index
796      *
797      * @param rep The repetition index (0-indexed)
798      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
799      */
800     public XPN insertMilitarySponsorName(int rep) throws HL7Exception { 
801         return (XPN) super.insertRepetition(9, rep);
802     }
803 
804 
805     /**
806      * Inserts a repetition of
807      * IN2-9: "Military Sponsor Name" at a specific index
808      *
809      * @param rep The repetition index (0-indexed)
810      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
811      */
812     public XPN insertIn29_MilitarySponsorName(int rep) throws HL7Exception { 
813         return (XPN) super.insertRepetition(9, rep);
814     }
815 
816 
817     /**
818      * Removes a repetition of
819      * IN2-9: "Military Sponsor Name" at a specific index
820      *
821      * @param rep The repetition index (0-indexed)
822      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
823      */
824     public XPN removeMilitarySponsorName(int rep) throws HL7Exception { 
825         return (XPN) super.removeRepetition(9, rep);
826     }
827 
828 
829     /**
830      * Removes a repetition of
831      * IN2-9: "Military Sponsor Name" at a specific index
832      *
833      * @param rep The repetition index (0-indexed)
834      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
835      */
836     public XPN removeIn29_MilitarySponsorName(int rep) throws HL7Exception { 
837         return (XPN) super.removeRepetition(9, rep);
838     }
839 
840 
841 
842 
843     /**
844      * Returns
845      * IN2-10: "Military ID Number" - creates it if necessary
846      */
847     public ST getMilitaryIDNumber() { 
848 		ST retVal = this.getTypedField(10, 0);
849 		return retVal;
850     }
851     
852     /**
853      * Returns
854      * IN2-10: "Military ID Number" - creates it if necessary
855      */
856     public ST getIn210_MilitaryIDNumber() { 
857 		ST retVal = this.getTypedField(10, 0);
858 		return retVal;
859     }
860 
861 
862 
863     /**
864      * Returns
865      * IN2-11: "Dependent Of Military Recipient" - creates it if necessary
866      */
867     public CWE getDependentOfMilitaryRecipient() { 
868 		CWE retVal = this.getTypedField(11, 0);
869 		return retVal;
870     }
871     
872     /**
873      * Returns
874      * IN2-11: "Dependent Of Military Recipient" - creates it if necessary
875      */
876     public CWE getIn211_DependentOfMilitaryRecipient() { 
877 		CWE retVal = this.getTypedField(11, 0);
878 		return retVal;
879     }
880 
881 
882 
883     /**
884      * Returns
885      * IN2-12: "Military Organization" - creates it if necessary
886      */
887     public ST getMilitaryOrganization() { 
888 		ST retVal = this.getTypedField(12, 0);
889 		return retVal;
890     }
891     
892     /**
893      * Returns
894      * IN2-12: "Military Organization" - creates it if necessary
895      */
896     public ST getIn212_MilitaryOrganization() { 
897 		ST retVal = this.getTypedField(12, 0);
898 		return retVal;
899     }
900 
901 
902 
903     /**
904      * Returns
905      * IN2-13: "Military Station" - creates it if necessary
906      */
907     public ST getMilitaryStation() { 
908 		ST retVal = this.getTypedField(13, 0);
909 		return retVal;
910     }
911     
912     /**
913      * Returns
914      * IN2-13: "Military Station" - creates it if necessary
915      */
916     public ST getIn213_MilitaryStation() { 
917 		ST retVal = this.getTypedField(13, 0);
918 		return retVal;
919     }
920 
921 
922 
923     /**
924      * Returns
925      * IN2-14: "Military Service" - creates it if necessary
926      */
927     public CWE getMilitaryService() { 
928 		CWE retVal = this.getTypedField(14, 0);
929 		return retVal;
930     }
931     
932     /**
933      * Returns
934      * IN2-14: "Military Service" - creates it if necessary
935      */
936     public CWE getIn214_MilitaryService() { 
937 		CWE retVal = this.getTypedField(14, 0);
938 		return retVal;
939     }
940 
941 
942 
943     /**
944      * Returns
945      * IN2-15: "Military Rank/Grade" - creates it if necessary
946      */
947     public CWE getMilitaryRankGrade() { 
948 		CWE retVal = this.getTypedField(15, 0);
949 		return retVal;
950     }
951     
952     /**
953      * Returns
954      * IN2-15: "Military Rank/Grade" - creates it if necessary
955      */
956     public CWE getIn215_MilitaryRankGrade() { 
957 		CWE retVal = this.getTypedField(15, 0);
958 		return retVal;
959     }
960 
961 
962 
963     /**
964      * Returns
965      * IN2-16: "Military Status" - creates it if necessary
966      */
967     public CWE getMilitaryStatus() { 
968 		CWE retVal = this.getTypedField(16, 0);
969 		return retVal;
970     }
971     
972     /**
973      * Returns
974      * IN2-16: "Military Status" - creates it if necessary
975      */
976     public CWE getIn216_MilitaryStatus() { 
977 		CWE retVal = this.getTypedField(16, 0);
978 		return retVal;
979     }
980 
981 
982 
983     /**
984      * Returns
985      * IN2-17: "Military Retire Date" - creates it if necessary
986      */
987     public DT getMilitaryRetireDate() { 
988 		DT retVal = this.getTypedField(17, 0);
989 		return retVal;
990     }
991     
992     /**
993      * Returns
994      * IN2-17: "Military Retire Date" - creates it if necessary
995      */
996     public DT getIn217_MilitaryRetireDate() { 
997 		DT retVal = this.getTypedField(17, 0);
998 		return retVal;
999     }
1000 
1001 
1002 
1003     /**
1004      * Returns
1005      * IN2-18: "Military Non-Avail Cert On File" - creates it if necessary
1006      */
1007     public ID getMilitaryNonAvailCertOnFile() { 
1008 		ID retVal = this.getTypedField(18, 0);
1009 		return retVal;
1010     }
1011     
1012     /**
1013      * Returns
1014      * IN2-18: "Military Non-Avail Cert On File" - creates it if necessary
1015      */
1016     public ID getIn218_MilitaryNonAvailCertOnFile() { 
1017 		ID retVal = this.getTypedField(18, 0);
1018 		return retVal;
1019     }
1020 
1021 
1022 
1023     /**
1024      * Returns
1025      * IN2-19: "Baby Coverage" - creates it if necessary
1026      */
1027     public ID getBabyCoverage() { 
1028 		ID retVal = this.getTypedField(19, 0);
1029 		return retVal;
1030     }
1031     
1032     /**
1033      * Returns
1034      * IN2-19: "Baby Coverage" - creates it if necessary
1035      */
1036     public ID getIn219_BabyCoverage() { 
1037 		ID retVal = this.getTypedField(19, 0);
1038 		return retVal;
1039     }
1040 
1041 
1042 
1043     /**
1044      * Returns
1045      * IN2-20: "Combine Baby Bill" - creates it if necessary
1046      */
1047     public ID getCombineBabyBill() { 
1048 		ID retVal = this.getTypedField(20, 0);
1049 		return retVal;
1050     }
1051     
1052     /**
1053      * Returns
1054      * IN2-20: "Combine Baby Bill" - creates it if necessary
1055      */
1056     public ID getIn220_CombineBabyBill() { 
1057 		ID retVal = this.getTypedField(20, 0);
1058 		return retVal;
1059     }
1060 
1061 
1062 
1063     /**
1064      * Returns
1065      * IN2-21: "Blood Deductible" - creates it if necessary
1066      */
1067     public ST getBloodDeductible() { 
1068 		ST retVal = this.getTypedField(21, 0);
1069 		return retVal;
1070     }
1071     
1072     /**
1073      * Returns
1074      * IN2-21: "Blood Deductible" - creates it if necessary
1075      */
1076     public ST getIn221_BloodDeductible() { 
1077 		ST retVal = this.getTypedField(21, 0);
1078 		return retVal;
1079     }
1080 
1081 
1082     /**
1083      * Returns all repetitions of Special Coverage Approval Name (IN2-22).
1084      */
1085     public XPN[] getSpecialCoverageApprovalName() {
1086     	XPN[] retVal = this.getTypedField(22, new XPN[0]);
1087     	return retVal;
1088     }
1089 
1090 
1091     /**
1092      * Returns all repetitions of Special Coverage Approval Name (IN2-22).
1093      */
1094     public XPN[] getIn222_SpecialCoverageApprovalName() {
1095     	XPN[] retVal = this.getTypedField(22, new XPN[0]);
1096     	return retVal;
1097     }
1098 
1099 
1100     /**
1101      * Returns a count of the current number of repetitions of Special Coverage Approval Name (IN2-22).
1102      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1103      * it will return zero.
1104      */
1105     public int getSpecialCoverageApprovalNameReps() {
1106     	return this.getReps(22);
1107     }
1108 
1109 
1110     /**
1111      * Returns a specific repetition of
1112      * IN2-22: "Special Coverage Approval Name" - creates it if necessary
1113      *
1114      * @param rep The repetition index (0-indexed)
1115      */
1116     public XPN getSpecialCoverageApprovalName(int rep) { 
1117 		XPN retVal = this.getTypedField(22, rep);
1118 		return retVal;
1119     }
1120 
1121     /**
1122      * Returns a specific repetition of
1123      * IN2-22: "Special Coverage Approval Name" - creates it if necessary
1124      *
1125      * @param rep The repetition index (0-indexed)
1126      */
1127     public XPN getIn222_SpecialCoverageApprovalName(int rep) { 
1128 		XPN retVal = this.getTypedField(22, rep);
1129 		return retVal;
1130     }
1131 
1132     /**
1133      * Returns a count of the current number of repetitions of Special Coverage Approval Name (IN2-22).
1134      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1135      * it will return zero.
1136      */
1137     public int getIn222_SpecialCoverageApprovalNameReps() {
1138     	return this.getReps(22);
1139     }
1140 
1141 
1142     /**
1143      * Inserts a repetition of
1144      * IN2-22: "Special Coverage Approval Name" at a specific index
1145      *
1146      * @param rep The repetition index (0-indexed)
1147      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1148      */
1149     public XPN insertSpecialCoverageApprovalName(int rep) throws HL7Exception { 
1150         return (XPN) super.insertRepetition(22, rep);
1151     }
1152 
1153 
1154     /**
1155      * Inserts a repetition of
1156      * IN2-22: "Special Coverage Approval Name" at a specific index
1157      *
1158      * @param rep The repetition index (0-indexed)
1159      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1160      */
1161     public XPN insertIn222_SpecialCoverageApprovalName(int rep) throws HL7Exception { 
1162         return (XPN) super.insertRepetition(22, rep);
1163     }
1164 
1165 
1166     /**
1167      * Removes a repetition of
1168      * IN2-22: "Special Coverage Approval Name" at a specific index
1169      *
1170      * @param rep The repetition index (0-indexed)
1171      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1172      */
1173     public XPN removeSpecialCoverageApprovalName(int rep) throws HL7Exception { 
1174         return (XPN) super.removeRepetition(22, rep);
1175     }
1176 
1177 
1178     /**
1179      * Removes a repetition of
1180      * IN2-22: "Special Coverage Approval Name" at a specific index
1181      *
1182      * @param rep The repetition index (0-indexed)
1183      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1184      */
1185     public XPN removeIn222_SpecialCoverageApprovalName(int rep) throws HL7Exception { 
1186         return (XPN) super.removeRepetition(22, rep);
1187     }
1188 
1189 
1190 
1191 
1192     /**
1193      * Returns
1194      * IN2-23: "Special Coverage Approval Title" - creates it if necessary
1195      */
1196     public ST getSpecialCoverageApprovalTitle() { 
1197 		ST retVal = this.getTypedField(23, 0);
1198 		return retVal;
1199     }
1200     
1201     /**
1202      * Returns
1203      * IN2-23: "Special Coverage Approval Title" - creates it if necessary
1204      */
1205     public ST getIn223_SpecialCoverageApprovalTitle() { 
1206 		ST retVal = this.getTypedField(23, 0);
1207 		return retVal;
1208     }
1209 
1210 
1211     /**
1212      * Returns all repetitions of Non-Covered Insurance Code (IN2-24).
1213      */
1214     public CWE[] getNonCoveredInsuranceCode() {
1215     	CWE[] retVal = this.getTypedField(24, new CWE[0]);
1216     	return retVal;
1217     }
1218 
1219 
1220     /**
1221      * Returns all repetitions of Non-Covered Insurance Code (IN2-24).
1222      */
1223     public CWE[] getIn224_NonCoveredInsuranceCode() {
1224     	CWE[] retVal = this.getTypedField(24, new CWE[0]);
1225     	return retVal;
1226     }
1227 
1228 
1229     /**
1230      * Returns a count of the current number of repetitions of Non-Covered Insurance Code (IN2-24).
1231      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1232      * it will return zero.
1233      */
1234     public int getNonCoveredInsuranceCodeReps() {
1235     	return this.getReps(24);
1236     }
1237 
1238 
1239     /**
1240      * Returns a specific repetition of
1241      * IN2-24: "Non-Covered Insurance Code" - creates it if necessary
1242      *
1243      * @param rep The repetition index (0-indexed)
1244      */
1245     public CWE getNonCoveredInsuranceCode(int rep) { 
1246 		CWE retVal = this.getTypedField(24, rep);
1247 		return retVal;
1248     }
1249 
1250     /**
1251      * Returns a specific repetition of
1252      * IN2-24: "Non-Covered Insurance Code" - creates it if necessary
1253      *
1254      * @param rep The repetition index (0-indexed)
1255      */
1256     public CWE getIn224_NonCoveredInsuranceCode(int rep) { 
1257 		CWE retVal = this.getTypedField(24, rep);
1258 		return retVal;
1259     }
1260 
1261     /**
1262      * Returns a count of the current number of repetitions of Non-Covered Insurance Code (IN2-24).
1263      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1264      * it will return zero.
1265      */
1266     public int getIn224_NonCoveredInsuranceCodeReps() {
1267     	return this.getReps(24);
1268     }
1269 
1270 
1271     /**
1272      * Inserts a repetition of
1273      * IN2-24: "Non-Covered Insurance Code" at a specific index
1274      *
1275      * @param rep The repetition index (0-indexed)
1276      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1277      */
1278     public CWE insertNonCoveredInsuranceCode(int rep) throws HL7Exception { 
1279         return (CWE) super.insertRepetition(24, rep);
1280     }
1281 
1282 
1283     /**
1284      * Inserts a repetition of
1285      * IN2-24: "Non-Covered Insurance Code" at a specific index
1286      *
1287      * @param rep The repetition index (0-indexed)
1288      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1289      */
1290     public CWE insertIn224_NonCoveredInsuranceCode(int rep) throws HL7Exception { 
1291         return (CWE) super.insertRepetition(24, rep);
1292     }
1293 
1294 
1295     /**
1296      * Removes a repetition of
1297      * IN2-24: "Non-Covered Insurance Code" 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 CWE removeNonCoveredInsuranceCode(int rep) throws HL7Exception { 
1303         return (CWE) super.removeRepetition(24, rep);
1304     }
1305 
1306 
1307     /**
1308      * Removes a repetition of
1309      * IN2-24: "Non-Covered Insurance Code" 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 CWE removeIn224_NonCoveredInsuranceCode(int rep) throws HL7Exception { 
1315         return (CWE) super.removeRepetition(24, rep);
1316     }
1317 
1318 
1319 
1320     /**
1321      * Returns all repetitions of Payor ID (IN2-25).
1322      */
1323     public CX[] getPayorID() {
1324     	CX[] retVal = this.getTypedField(25, new CX[0]);
1325     	return retVal;
1326     }
1327 
1328 
1329     /**
1330      * Returns all repetitions of Payor ID (IN2-25).
1331      */
1332     public CX[] getIn225_PayorID() {
1333     	CX[] retVal = this.getTypedField(25, new CX[0]);
1334     	return retVal;
1335     }
1336 
1337 
1338     /**
1339      * Returns a count of the current number of repetitions of Payor ID (IN2-25).
1340      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1341      * it will return zero.
1342      */
1343     public int getPayorIDReps() {
1344     	return this.getReps(25);
1345     }
1346 
1347 
1348     /**
1349      * Returns a specific repetition of
1350      * IN2-25: "Payor ID" - creates it if necessary
1351      *
1352      * @param rep The repetition index (0-indexed)
1353      */
1354     public CX getPayorID(int rep) { 
1355 		CX retVal = this.getTypedField(25, rep);
1356 		return retVal;
1357     }
1358 
1359     /**
1360      * Returns a specific repetition of
1361      * IN2-25: "Payor ID" - creates it if necessary
1362      *
1363      * @param rep The repetition index (0-indexed)
1364      */
1365     public CX getIn225_PayorID(int rep) { 
1366 		CX retVal = this.getTypedField(25, rep);
1367 		return retVal;
1368     }
1369 
1370     /**
1371      * Returns a count of the current number of repetitions of Payor ID (IN2-25).
1372      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1373      * it will return zero.
1374      */
1375     public int getIn225_PayorIDReps() {
1376     	return this.getReps(25);
1377     }
1378 
1379 
1380     /**
1381      * Inserts a repetition of
1382      * IN2-25: "Payor ID" at a specific index
1383      *
1384      * @param rep The repetition index (0-indexed)
1385      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1386      */
1387     public CX insertPayorID(int rep) throws HL7Exception { 
1388         return (CX) super.insertRepetition(25, rep);
1389     }
1390 
1391 
1392     /**
1393      * Inserts a repetition of
1394      * IN2-25: "Payor ID" at a specific index
1395      *
1396      * @param rep The repetition index (0-indexed)
1397      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1398      */
1399     public CX insertIn225_PayorID(int rep) throws HL7Exception { 
1400         return (CX) super.insertRepetition(25, rep);
1401     }
1402 
1403 
1404     /**
1405      * Removes a repetition of
1406      * IN2-25: "Payor ID" 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 removePayorID(int rep) throws HL7Exception { 
1412         return (CX) super.removeRepetition(25, rep);
1413     }
1414 
1415 
1416     /**
1417      * Removes a repetition of
1418      * IN2-25: "Payor ID" 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 removeIn225_PayorID(int rep) throws HL7Exception { 
1424         return (CX) super.removeRepetition(25, rep);
1425     }
1426 
1427 
1428 
1429     /**
1430      * Returns all repetitions of Payor Subscriber ID (IN2-26).
1431      */
1432     public CX[] getPayorSubscriberID() {
1433     	CX[] retVal = this.getTypedField(26, new CX[0]);
1434     	return retVal;
1435     }
1436 
1437 
1438     /**
1439      * Returns all repetitions of Payor Subscriber ID (IN2-26).
1440      */
1441     public CX[] getIn226_PayorSubscriberID() {
1442     	CX[] retVal = this.getTypedField(26, new CX[0]);
1443     	return retVal;
1444     }
1445 
1446 
1447     /**
1448      * Returns a count of the current number of repetitions of Payor Subscriber ID (IN2-26).
1449      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1450      * it will return zero.
1451      */
1452     public int getPayorSubscriberIDReps() {
1453     	return this.getReps(26);
1454     }
1455 
1456 
1457     /**
1458      * Returns a specific repetition of
1459      * IN2-26: "Payor Subscriber ID" - creates it if necessary
1460      *
1461      * @param rep The repetition index (0-indexed)
1462      */
1463     public CX getPayorSubscriberID(int rep) { 
1464 		CX retVal = this.getTypedField(26, rep);
1465 		return retVal;
1466     }
1467 
1468     /**
1469      * Returns a specific repetition of
1470      * IN2-26: "Payor Subscriber ID" - creates it if necessary
1471      *
1472      * @param rep The repetition index (0-indexed)
1473      */
1474     public CX getIn226_PayorSubscriberID(int rep) { 
1475 		CX retVal = this.getTypedField(26, rep);
1476 		return retVal;
1477     }
1478 
1479     /**
1480      * Returns a count of the current number of repetitions of Payor Subscriber ID (IN2-26).
1481      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1482      * it will return zero.
1483      */
1484     public int getIn226_PayorSubscriberIDReps() {
1485     	return this.getReps(26);
1486     }
1487 
1488 
1489     /**
1490      * Inserts a repetition of
1491      * IN2-26: "Payor Subscriber ID" at a specific index
1492      *
1493      * @param rep The repetition index (0-indexed)
1494      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1495      */
1496     public CX insertPayorSubscriberID(int rep) throws HL7Exception { 
1497         return (CX) super.insertRepetition(26, rep);
1498     }
1499 
1500 
1501     /**
1502      * Inserts a repetition of
1503      * IN2-26: "Payor Subscriber ID" at a specific index
1504      *
1505      * @param rep The repetition index (0-indexed)
1506      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1507      */
1508     public CX insertIn226_PayorSubscriberID(int rep) throws HL7Exception { 
1509         return (CX) super.insertRepetition(26, rep);
1510     }
1511 
1512 
1513     /**
1514      * Removes a repetition of
1515      * IN2-26: "Payor Subscriber ID" at a specific index
1516      *
1517      * @param rep The repetition index (0-indexed)
1518      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1519      */
1520     public CX removePayorSubscriberID(int rep) throws HL7Exception { 
1521         return (CX) super.removeRepetition(26, rep);
1522     }
1523 
1524 
1525     /**
1526      * Removes a repetition of
1527      * IN2-26: "Payor Subscriber ID" at a specific index
1528      *
1529      * @param rep The repetition index (0-indexed)
1530      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1531      */
1532     public CX removeIn226_PayorSubscriberID(int rep) throws HL7Exception { 
1533         return (CX) super.removeRepetition(26, rep);
1534     }
1535 
1536 
1537 
1538 
1539     /**
1540      * Returns
1541      * IN2-27: "Eligibility Source" - creates it if necessary
1542      */
1543     public CWE getEligibilitySource() { 
1544 		CWE retVal = this.getTypedField(27, 0);
1545 		return retVal;
1546     }
1547     
1548     /**
1549      * Returns
1550      * IN2-27: "Eligibility Source" - creates it if necessary
1551      */
1552     public CWE getIn227_EligibilitySource() { 
1553 		CWE retVal = this.getTypedField(27, 0);
1554 		return retVal;
1555     }
1556 
1557 
1558     /**
1559      * Returns all repetitions of Room Coverage Type/Amount (IN2-28).
1560      */
1561     public RMC[] getRoomCoverageTypeAmount() {
1562     	RMC[] retVal = this.getTypedField(28, new RMC[0]);
1563     	return retVal;
1564     }
1565 
1566 
1567     /**
1568      * Returns all repetitions of Room Coverage Type/Amount (IN2-28).
1569      */
1570     public RMC[] getIn228_RoomCoverageTypeAmount() {
1571     	RMC[] retVal = this.getTypedField(28, new RMC[0]);
1572     	return retVal;
1573     }
1574 
1575 
1576     /**
1577      * Returns a count of the current number of repetitions of Room Coverage Type/Amount (IN2-28).
1578      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1579      * it will return zero.
1580      */
1581     public int getRoomCoverageTypeAmountReps() {
1582     	return this.getReps(28);
1583     }
1584 
1585 
1586     /**
1587      * Returns a specific repetition of
1588      * IN2-28: "Room Coverage Type/Amount" - creates it if necessary
1589      *
1590      * @param rep The repetition index (0-indexed)
1591      */
1592     public RMC getRoomCoverageTypeAmount(int rep) { 
1593 		RMC retVal = this.getTypedField(28, rep);
1594 		return retVal;
1595     }
1596 
1597     /**
1598      * Returns a specific repetition of
1599      * IN2-28: "Room Coverage Type/Amount" - creates it if necessary
1600      *
1601      * @param rep The repetition index (0-indexed)
1602      */
1603     public RMC getIn228_RoomCoverageTypeAmount(int rep) { 
1604 		RMC retVal = this.getTypedField(28, rep);
1605 		return retVal;
1606     }
1607 
1608     /**
1609      * Returns a count of the current number of repetitions of Room Coverage Type/Amount (IN2-28).
1610      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1611      * it will return zero.
1612      */
1613     public int getIn228_RoomCoverageTypeAmountReps() {
1614     	return this.getReps(28);
1615     }
1616 
1617 
1618     /**
1619      * Inserts a repetition of
1620      * IN2-28: "Room Coverage Type/Amount" at a specific index
1621      *
1622      * @param rep The repetition index (0-indexed)
1623      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1624      */
1625     public RMC insertRoomCoverageTypeAmount(int rep) throws HL7Exception { 
1626         return (RMC) super.insertRepetition(28, rep);
1627     }
1628 
1629 
1630     /**
1631      * Inserts a repetition of
1632      * IN2-28: "Room Coverage Type/Amount" at a specific index
1633      *
1634      * @param rep The repetition index (0-indexed)
1635      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1636      */
1637     public RMC insertIn228_RoomCoverageTypeAmount(int rep) throws HL7Exception { 
1638         return (RMC) super.insertRepetition(28, rep);
1639     }
1640 
1641 
1642     /**
1643      * Removes a repetition of
1644      * IN2-28: "Room Coverage Type/Amount" at a specific index
1645      *
1646      * @param rep The repetition index (0-indexed)
1647      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1648      */
1649     public RMC removeRoomCoverageTypeAmount(int rep) throws HL7Exception { 
1650         return (RMC) super.removeRepetition(28, rep);
1651     }
1652 
1653 
1654     /**
1655      * Removes a repetition of
1656      * IN2-28: "Room Coverage Type/Amount" at a specific index
1657      *
1658      * @param rep The repetition index (0-indexed)
1659      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1660      */
1661     public RMC removeIn228_RoomCoverageTypeAmount(int rep) throws HL7Exception { 
1662         return (RMC) super.removeRepetition(28, rep);
1663     }
1664 
1665 
1666 
1667     /**
1668      * Returns all repetitions of Policy Type/Amount (IN2-29).
1669      */
1670     public PTA[] getPolicyTypeAmount() {
1671     	PTA[] retVal = this.getTypedField(29, new PTA[0]);
1672     	return retVal;
1673     }
1674 
1675 
1676     /**
1677      * Returns all repetitions of Policy Type/Amount (IN2-29).
1678      */
1679     public PTA[] getIn229_PolicyTypeAmount() {
1680     	PTA[] retVal = this.getTypedField(29, new PTA[0]);
1681     	return retVal;
1682     }
1683 
1684 
1685     /**
1686      * Returns a count of the current number of repetitions of Policy Type/Amount (IN2-29).
1687      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1688      * it will return zero.
1689      */
1690     public int getPolicyTypeAmountReps() {
1691     	return this.getReps(29);
1692     }
1693 
1694 
1695     /**
1696      * Returns a specific repetition of
1697      * IN2-29: "Policy Type/Amount" - creates it if necessary
1698      *
1699      * @param rep The repetition index (0-indexed)
1700      */
1701     public PTA getPolicyTypeAmount(int rep) { 
1702 		PTA retVal = this.getTypedField(29, rep);
1703 		return retVal;
1704     }
1705 
1706     /**
1707      * Returns a specific repetition of
1708      * IN2-29: "Policy Type/Amount" - creates it if necessary
1709      *
1710      * @param rep The repetition index (0-indexed)
1711      */
1712     public PTA getIn229_PolicyTypeAmount(int rep) { 
1713 		PTA retVal = this.getTypedField(29, rep);
1714 		return retVal;
1715     }
1716 
1717     /**
1718      * Returns a count of the current number of repetitions of Policy Type/Amount (IN2-29).
1719      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1720      * it will return zero.
1721      */
1722     public int getIn229_PolicyTypeAmountReps() {
1723     	return this.getReps(29);
1724     }
1725 
1726 
1727     /**
1728      * Inserts a repetition of
1729      * IN2-29: "Policy Type/Amount" at a specific index
1730      *
1731      * @param rep The repetition index (0-indexed)
1732      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1733      */
1734     public PTA insertPolicyTypeAmount(int rep) throws HL7Exception { 
1735         return (PTA) super.insertRepetition(29, rep);
1736     }
1737 
1738 
1739     /**
1740      * Inserts a repetition of
1741      * IN2-29: "Policy Type/Amount" at a specific index
1742      *
1743      * @param rep The repetition index (0-indexed)
1744      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1745      */
1746     public PTA insertIn229_PolicyTypeAmount(int rep) throws HL7Exception { 
1747         return (PTA) super.insertRepetition(29, rep);
1748     }
1749 
1750 
1751     /**
1752      * Removes a repetition of
1753      * IN2-29: "Policy Type/Amount" at a specific index
1754      *
1755      * @param rep The repetition index (0-indexed)
1756      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1757      */
1758     public PTA removePolicyTypeAmount(int rep) throws HL7Exception { 
1759         return (PTA) super.removeRepetition(29, rep);
1760     }
1761 
1762 
1763     /**
1764      * Removes a repetition of
1765      * IN2-29: "Policy Type/Amount" at a specific index
1766      *
1767      * @param rep The repetition index (0-indexed)
1768      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1769      */
1770     public PTA removeIn229_PolicyTypeAmount(int rep) throws HL7Exception { 
1771         return (PTA) super.removeRepetition(29, rep);
1772     }
1773 
1774 
1775 
1776 
1777     /**
1778      * Returns
1779      * IN2-30: "Daily Deductible" - creates it if necessary
1780      */
1781     public DDI getDailyDeductible() { 
1782 		DDI retVal = this.getTypedField(30, 0);
1783 		return retVal;
1784     }
1785     
1786     /**
1787      * Returns
1788      * IN2-30: "Daily Deductible" - creates it if necessary
1789      */
1790     public DDI getIn230_DailyDeductible() { 
1791 		DDI retVal = this.getTypedField(30, 0);
1792 		return retVal;
1793     }
1794 
1795 
1796 
1797     /**
1798      * Returns
1799      * IN2-31: "Living Dependency" - creates it if necessary
1800      */
1801     public CWE getLivingDependency() { 
1802 		CWE retVal = this.getTypedField(31, 0);
1803 		return retVal;
1804     }
1805     
1806     /**
1807      * Returns
1808      * IN2-31: "Living Dependency" - creates it if necessary
1809      */
1810     public CWE getIn231_LivingDependency() { 
1811 		CWE retVal = this.getTypedField(31, 0);
1812 		return retVal;
1813     }
1814 
1815 
1816     /**
1817      * Returns all repetitions of Ambulatory Status (IN2-32).
1818      */
1819     public CWE[] getAmbulatoryStatus() {
1820     	CWE[] retVal = this.getTypedField(32, new CWE[0]);
1821     	return retVal;
1822     }
1823 
1824 
1825     /**
1826      * Returns all repetitions of Ambulatory Status (IN2-32).
1827      */
1828     public CWE[] getIn232_AmbulatoryStatus() {
1829     	CWE[] retVal = this.getTypedField(32, new CWE[0]);
1830     	return retVal;
1831     }
1832 
1833 
1834     /**
1835      * Returns a count of the current number of repetitions of Ambulatory Status (IN2-32).
1836      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1837      * it will return zero.
1838      */
1839     public int getAmbulatoryStatusReps() {
1840     	return this.getReps(32);
1841     }
1842 
1843 
1844     /**
1845      * Returns a specific repetition of
1846      * IN2-32: "Ambulatory Status" - creates it if necessary
1847      *
1848      * @param rep The repetition index (0-indexed)
1849      */
1850     public CWE getAmbulatoryStatus(int rep) { 
1851 		CWE retVal = this.getTypedField(32, rep);
1852 		return retVal;
1853     }
1854 
1855     /**
1856      * Returns a specific repetition of
1857      * IN2-32: "Ambulatory Status" - creates it if necessary
1858      *
1859      * @param rep The repetition index (0-indexed)
1860      */
1861     public CWE getIn232_AmbulatoryStatus(int rep) { 
1862 		CWE retVal = this.getTypedField(32, rep);
1863 		return retVal;
1864     }
1865 
1866     /**
1867      * Returns a count of the current number of repetitions of Ambulatory Status (IN2-32).
1868      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1869      * it will return zero.
1870      */
1871     public int getIn232_AmbulatoryStatusReps() {
1872     	return this.getReps(32);
1873     }
1874 
1875 
1876     /**
1877      * Inserts a repetition of
1878      * IN2-32: "Ambulatory Status" at a specific index
1879      *
1880      * @param rep The repetition index (0-indexed)
1881      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1882      */
1883     public CWE insertAmbulatoryStatus(int rep) throws HL7Exception { 
1884         return (CWE) super.insertRepetition(32, rep);
1885     }
1886 
1887 
1888     /**
1889      * Inserts a repetition of
1890      * IN2-32: "Ambulatory Status" at a specific index
1891      *
1892      * @param rep The repetition index (0-indexed)
1893      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1894      */
1895     public CWE insertIn232_AmbulatoryStatus(int rep) throws HL7Exception { 
1896         return (CWE) super.insertRepetition(32, rep);
1897     }
1898 
1899 
1900     /**
1901      * Removes a repetition of
1902      * IN2-32: "Ambulatory Status" at a specific index
1903      *
1904      * @param rep The repetition index (0-indexed)
1905      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1906      */
1907     public CWE removeAmbulatoryStatus(int rep) throws HL7Exception { 
1908         return (CWE) super.removeRepetition(32, rep);
1909     }
1910 
1911 
1912     /**
1913      * Removes a repetition of
1914      * IN2-32: "Ambulatory Status" at a specific index
1915      *
1916      * @param rep The repetition index (0-indexed)
1917      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1918      */
1919     public CWE removeIn232_AmbulatoryStatus(int rep) throws HL7Exception { 
1920         return (CWE) super.removeRepetition(32, rep);
1921     }
1922 
1923 
1924 
1925     /**
1926      * Returns all repetitions of Citizenship (IN2-33).
1927      */
1928     public CWE[] getCitizenship() {
1929     	CWE[] retVal = this.getTypedField(33, new CWE[0]);
1930     	return retVal;
1931     }
1932 
1933 
1934     /**
1935      * Returns all repetitions of Citizenship (IN2-33).
1936      */
1937     public CWE[] getIn233_Citizenship() {
1938     	CWE[] retVal = this.getTypedField(33, new CWE[0]);
1939     	return retVal;
1940     }
1941 
1942 
1943     /**
1944      * Returns a count of the current number of repetitions of Citizenship (IN2-33).
1945      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1946      * it will return zero.
1947      */
1948     public int getCitizenshipReps() {
1949     	return this.getReps(33);
1950     }
1951 
1952 
1953     /**
1954      * Returns a specific repetition of
1955      * IN2-33: "Citizenship" - creates it if necessary
1956      *
1957      * @param rep The repetition index (0-indexed)
1958      */
1959     public CWE getCitizenship(int rep) { 
1960 		CWE retVal = this.getTypedField(33, rep);
1961 		return retVal;
1962     }
1963 
1964     /**
1965      * Returns a specific repetition of
1966      * IN2-33: "Citizenship" - creates it if necessary
1967      *
1968      * @param rep The repetition index (0-indexed)
1969      */
1970     public CWE getIn233_Citizenship(int rep) { 
1971 		CWE retVal = this.getTypedField(33, rep);
1972 		return retVal;
1973     }
1974 
1975     /**
1976      * Returns a count of the current number of repetitions of Citizenship (IN2-33).
1977      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
1978      * it will return zero.
1979      */
1980     public int getIn233_CitizenshipReps() {
1981     	return this.getReps(33);
1982     }
1983 
1984 
1985     /**
1986      * Inserts a repetition of
1987      * IN2-33: "Citizenship" at a specific index
1988      *
1989      * @param rep The repetition index (0-indexed)
1990      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
1991      */
1992     public CWE insertCitizenship(int rep) throws HL7Exception { 
1993         return (CWE) super.insertRepetition(33, rep);
1994     }
1995 
1996 
1997     /**
1998      * Inserts a repetition of
1999      * IN2-33: "Citizenship" at a specific index
2000      *
2001      * @param rep The repetition index (0-indexed)
2002      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2003      */
2004     public CWE insertIn233_Citizenship(int rep) throws HL7Exception { 
2005         return (CWE) super.insertRepetition(33, rep);
2006     }
2007 
2008 
2009     /**
2010      * Removes a repetition of
2011      * IN2-33: "Citizenship" at a specific index
2012      *
2013      * @param rep The repetition index (0-indexed)
2014      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2015      */
2016     public CWE removeCitizenship(int rep) throws HL7Exception { 
2017         return (CWE) super.removeRepetition(33, rep);
2018     }
2019 
2020 
2021     /**
2022      * Removes a repetition of
2023      * IN2-33: "Citizenship" at a specific index
2024      *
2025      * @param rep The repetition index (0-indexed)
2026      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2027      */
2028     public CWE removeIn233_Citizenship(int rep) throws HL7Exception { 
2029         return (CWE) super.removeRepetition(33, rep);
2030     }
2031 
2032 
2033 
2034 
2035     /**
2036      * Returns
2037      * IN2-34: "Primary Language" - creates it if necessary
2038      */
2039     public CWE getPrimaryLanguage() { 
2040 		CWE retVal = this.getTypedField(34, 0);
2041 		return retVal;
2042     }
2043     
2044     /**
2045      * Returns
2046      * IN2-34: "Primary Language" - creates it if necessary
2047      */
2048     public CWE getIn234_PrimaryLanguage() { 
2049 		CWE retVal = this.getTypedField(34, 0);
2050 		return retVal;
2051     }
2052 
2053 
2054 
2055     /**
2056      * Returns
2057      * IN2-35: "Living Arrangement" - creates it if necessary
2058      */
2059     public CWE getLivingArrangement() { 
2060 		CWE retVal = this.getTypedField(35, 0);
2061 		return retVal;
2062     }
2063     
2064     /**
2065      * Returns
2066      * IN2-35: "Living Arrangement" - creates it if necessary
2067      */
2068     public CWE getIn235_LivingArrangement() { 
2069 		CWE retVal = this.getTypedField(35, 0);
2070 		return retVal;
2071     }
2072 
2073 
2074 
2075     /**
2076      * Returns
2077      * IN2-36: "Publicity Code" - creates it if necessary
2078      */
2079     public CWE getPublicityCode() { 
2080 		CWE retVal = this.getTypedField(36, 0);
2081 		return retVal;
2082     }
2083     
2084     /**
2085      * Returns
2086      * IN2-36: "Publicity Code" - creates it if necessary
2087      */
2088     public CWE getIn236_PublicityCode() { 
2089 		CWE retVal = this.getTypedField(36, 0);
2090 		return retVal;
2091     }
2092 
2093 
2094 
2095     /**
2096      * Returns
2097      * IN2-37: "Protection Indicator" - creates it if necessary
2098      */
2099     public ID getProtectionIndicator() { 
2100 		ID retVal = this.getTypedField(37, 0);
2101 		return retVal;
2102     }
2103     
2104     /**
2105      * Returns
2106      * IN2-37: "Protection Indicator" - creates it if necessary
2107      */
2108     public ID getIn237_ProtectionIndicator() { 
2109 		ID retVal = this.getTypedField(37, 0);
2110 		return retVal;
2111     }
2112 
2113 
2114 
2115     /**
2116      * Returns
2117      * IN2-38: "Student Indicator" - creates it if necessary
2118      */
2119     public CWE getStudentIndicator() { 
2120 		CWE retVal = this.getTypedField(38, 0);
2121 		return retVal;
2122     }
2123     
2124     /**
2125      * Returns
2126      * IN2-38: "Student Indicator" - creates it if necessary
2127      */
2128     public CWE getIn238_StudentIndicator() { 
2129 		CWE retVal = this.getTypedField(38, 0);
2130 		return retVal;
2131     }
2132 
2133 
2134 
2135     /**
2136      * Returns
2137      * IN2-39: "Religion" - creates it if necessary
2138      */
2139     public CWE getReligion() { 
2140 		CWE retVal = this.getTypedField(39, 0);
2141 		return retVal;
2142     }
2143     
2144     /**
2145      * Returns
2146      * IN2-39: "Religion" - creates it if necessary
2147      */
2148     public CWE getIn239_Religion() { 
2149 		CWE retVal = this.getTypedField(39, 0);
2150 		return retVal;
2151     }
2152 
2153 
2154     /**
2155      * Returns all repetitions of Mother's Maiden Name (IN2-40).
2156      */
2157     public XPN[] getMotherSMaidenName() {
2158     	XPN[] retVal = this.getTypedField(40, new XPN[0]);
2159     	return retVal;
2160     }
2161 
2162 
2163     /**
2164      * Returns all repetitions of Mother's Maiden Name (IN2-40).
2165      */
2166     public XPN[] getIn240_MotherSMaidenName() {
2167     	XPN[] retVal = this.getTypedField(40, new XPN[0]);
2168     	return retVal;
2169     }
2170 
2171 
2172     /**
2173      * Returns a count of the current number of repetitions of Mother's Maiden Name (IN2-40).
2174      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2175      * it will return zero.
2176      */
2177     public int getMotherSMaidenNameReps() {
2178     	return this.getReps(40);
2179     }
2180 
2181 
2182     /**
2183      * Returns a specific repetition of
2184      * IN2-40: "Mother's Maiden Name" - creates it if necessary
2185      *
2186      * @param rep The repetition index (0-indexed)
2187      */
2188     public XPN getMotherSMaidenName(int rep) { 
2189 		XPN retVal = this.getTypedField(40, rep);
2190 		return retVal;
2191     }
2192 
2193     /**
2194      * Returns a specific repetition of
2195      * IN2-40: "Mother's Maiden Name" - creates it if necessary
2196      *
2197      * @param rep The repetition index (0-indexed)
2198      */
2199     public XPN getIn240_MotherSMaidenName(int rep) { 
2200 		XPN retVal = this.getTypedField(40, rep);
2201 		return retVal;
2202     }
2203 
2204     /**
2205      * Returns a count of the current number of repetitions of Mother's Maiden Name (IN2-40).
2206      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2207      * it will return zero.
2208      */
2209     public int getIn240_MotherSMaidenNameReps() {
2210     	return this.getReps(40);
2211     }
2212 
2213 
2214     /**
2215      * Inserts a repetition of
2216      * IN2-40: "Mother's Maiden Name" at a specific index
2217      *
2218      * @param rep The repetition index (0-indexed)
2219      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2220      */
2221     public XPN insertMotherSMaidenName(int rep) throws HL7Exception { 
2222         return (XPN) super.insertRepetition(40, rep);
2223     }
2224 
2225 
2226     /**
2227      * Inserts a repetition of
2228      * IN2-40: "Mother's Maiden Name" at a specific index
2229      *
2230      * @param rep The repetition index (0-indexed)
2231      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2232      */
2233     public XPN insertIn240_MotherSMaidenName(int rep) throws HL7Exception { 
2234         return (XPN) super.insertRepetition(40, rep);
2235     }
2236 
2237 
2238     /**
2239      * Removes a repetition of
2240      * IN2-40: "Mother's Maiden Name" at a specific index
2241      *
2242      * @param rep The repetition index (0-indexed)
2243      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2244      */
2245     public XPN removeMotherSMaidenName(int rep) throws HL7Exception { 
2246         return (XPN) super.removeRepetition(40, rep);
2247     }
2248 
2249 
2250     /**
2251      * Removes a repetition of
2252      * IN2-40: "Mother's Maiden Name" at a specific index
2253      *
2254      * @param rep The repetition index (0-indexed)
2255      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2256      */
2257     public XPN removeIn240_MotherSMaidenName(int rep) throws HL7Exception { 
2258         return (XPN) super.removeRepetition(40, rep);
2259     }
2260 
2261 
2262 
2263 
2264     /**
2265      * Returns
2266      * IN2-41: "Nationality" - creates it if necessary
2267      */
2268     public CWE getNationality() { 
2269 		CWE retVal = this.getTypedField(41, 0);
2270 		return retVal;
2271     }
2272     
2273     /**
2274      * Returns
2275      * IN2-41: "Nationality" - creates it if necessary
2276      */
2277     public CWE getIn241_Nationality() { 
2278 		CWE retVal = this.getTypedField(41, 0);
2279 		return retVal;
2280     }
2281 
2282 
2283     /**
2284      * Returns all repetitions of Ethnic Group (IN2-42).
2285      */
2286     public CWE[] getEthnicGroup() {
2287     	CWE[] retVal = this.getTypedField(42, new CWE[0]);
2288     	return retVal;
2289     }
2290 
2291 
2292     /**
2293      * Returns all repetitions of Ethnic Group (IN2-42).
2294      */
2295     public CWE[] getIn242_EthnicGroup() {
2296     	CWE[] retVal = this.getTypedField(42, new CWE[0]);
2297     	return retVal;
2298     }
2299 
2300 
2301     /**
2302      * Returns a count of the current number of repetitions of Ethnic Group (IN2-42).
2303      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2304      * it will return zero.
2305      */
2306     public int getEthnicGroupReps() {
2307     	return this.getReps(42);
2308     }
2309 
2310 
2311     /**
2312      * Returns a specific repetition of
2313      * IN2-42: "Ethnic Group" - creates it if necessary
2314      *
2315      * @param rep The repetition index (0-indexed)
2316      */
2317     public CWE getEthnicGroup(int rep) { 
2318 		CWE retVal = this.getTypedField(42, rep);
2319 		return retVal;
2320     }
2321 
2322     /**
2323      * Returns a specific repetition of
2324      * IN2-42: "Ethnic Group" - creates it if necessary
2325      *
2326      * @param rep The repetition index (0-indexed)
2327      */
2328     public CWE getIn242_EthnicGroup(int rep) { 
2329 		CWE retVal = this.getTypedField(42, rep);
2330 		return retVal;
2331     }
2332 
2333     /**
2334      * Returns a count of the current number of repetitions of Ethnic Group (IN2-42).
2335      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2336      * it will return zero.
2337      */
2338     public int getIn242_EthnicGroupReps() {
2339     	return this.getReps(42);
2340     }
2341 
2342 
2343     /**
2344      * Inserts a repetition of
2345      * IN2-42: "Ethnic Group" at a specific index
2346      *
2347      * @param rep The repetition index (0-indexed)
2348      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2349      */
2350     public CWE insertEthnicGroup(int rep) throws HL7Exception { 
2351         return (CWE) super.insertRepetition(42, rep);
2352     }
2353 
2354 
2355     /**
2356      * Inserts a repetition of
2357      * IN2-42: "Ethnic Group" at a specific index
2358      *
2359      * @param rep The repetition index (0-indexed)
2360      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2361      */
2362     public CWE insertIn242_EthnicGroup(int rep) throws HL7Exception { 
2363         return (CWE) super.insertRepetition(42, rep);
2364     }
2365 
2366 
2367     /**
2368      * Removes a repetition of
2369      * IN2-42: "Ethnic Group" at a specific index
2370      *
2371      * @param rep The repetition index (0-indexed)
2372      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2373      */
2374     public CWE removeEthnicGroup(int rep) throws HL7Exception { 
2375         return (CWE) super.removeRepetition(42, rep);
2376     }
2377 
2378 
2379     /**
2380      * Removes a repetition of
2381      * IN2-42: "Ethnic Group" at a specific index
2382      *
2383      * @param rep The repetition index (0-indexed)
2384      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2385      */
2386     public CWE removeIn242_EthnicGroup(int rep) throws HL7Exception { 
2387         return (CWE) super.removeRepetition(42, rep);
2388     }
2389 
2390 
2391 
2392     /**
2393      * Returns all repetitions of Marital Status (IN2-43).
2394      */
2395     public CWE[] getMaritalStatus() {
2396     	CWE[] retVal = this.getTypedField(43, new CWE[0]);
2397     	return retVal;
2398     }
2399 
2400 
2401     /**
2402      * Returns all repetitions of Marital Status (IN2-43).
2403      */
2404     public CWE[] getIn243_MaritalStatus() {
2405     	CWE[] retVal = this.getTypedField(43, new CWE[0]);
2406     	return retVal;
2407     }
2408 
2409 
2410     /**
2411      * Returns a count of the current number of repetitions of Marital Status (IN2-43).
2412      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2413      * it will return zero.
2414      */
2415     public int getMaritalStatusReps() {
2416     	return this.getReps(43);
2417     }
2418 
2419 
2420     /**
2421      * Returns a specific repetition of
2422      * IN2-43: "Marital Status" - creates it if necessary
2423      *
2424      * @param rep The repetition index (0-indexed)
2425      */
2426     public CWE getMaritalStatus(int rep) { 
2427 		CWE retVal = this.getTypedField(43, rep);
2428 		return retVal;
2429     }
2430 
2431     /**
2432      * Returns a specific repetition of
2433      * IN2-43: "Marital Status" - creates it if necessary
2434      *
2435      * @param rep The repetition index (0-indexed)
2436      */
2437     public CWE getIn243_MaritalStatus(int rep) { 
2438 		CWE retVal = this.getTypedField(43, rep);
2439 		return retVal;
2440     }
2441 
2442     /**
2443      * Returns a count of the current number of repetitions of Marital Status (IN2-43).
2444      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2445      * it will return zero.
2446      */
2447     public int getIn243_MaritalStatusReps() {
2448     	return this.getReps(43);
2449     }
2450 
2451 
2452     /**
2453      * Inserts a repetition of
2454      * IN2-43: "Marital Status" at a specific index
2455      *
2456      * @param rep The repetition index (0-indexed)
2457      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2458      */
2459     public CWE insertMaritalStatus(int rep) throws HL7Exception { 
2460         return (CWE) super.insertRepetition(43, rep);
2461     }
2462 
2463 
2464     /**
2465      * Inserts a repetition of
2466      * IN2-43: "Marital Status" at a specific index
2467      *
2468      * @param rep The repetition index (0-indexed)
2469      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2470      */
2471     public CWE insertIn243_MaritalStatus(int rep) throws HL7Exception { 
2472         return (CWE) super.insertRepetition(43, rep);
2473     }
2474 
2475 
2476     /**
2477      * Removes a repetition of
2478      * IN2-43: "Marital Status" at a specific index
2479      *
2480      * @param rep The repetition index (0-indexed)
2481      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2482      */
2483     public CWE removeMaritalStatus(int rep) throws HL7Exception { 
2484         return (CWE) super.removeRepetition(43, rep);
2485     }
2486 
2487 
2488     /**
2489      * Removes a repetition of
2490      * IN2-43: "Marital Status" at a specific index
2491      *
2492      * @param rep The repetition index (0-indexed)
2493      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2494      */
2495     public CWE removeIn243_MaritalStatus(int rep) throws HL7Exception { 
2496         return (CWE) super.removeRepetition(43, rep);
2497     }
2498 
2499 
2500 
2501 
2502     /**
2503      * Returns
2504      * IN2-44: "Insured's Employment Start Date" - creates it if necessary
2505      */
2506     public DT getInsuredSEmploymentStartDate() { 
2507 		DT retVal = this.getTypedField(44, 0);
2508 		return retVal;
2509     }
2510     
2511     /**
2512      * Returns
2513      * IN2-44: "Insured's Employment Start Date" - creates it if necessary
2514      */
2515     public DT getIn244_InsuredSEmploymentStartDate() { 
2516 		DT retVal = this.getTypedField(44, 0);
2517 		return retVal;
2518     }
2519 
2520 
2521 
2522     /**
2523      * Returns
2524      * IN2-45: "Employment Stop Date" - creates it if necessary
2525      */
2526     public DT getEmploymentStopDate() { 
2527 		DT retVal = this.getTypedField(45, 0);
2528 		return retVal;
2529     }
2530     
2531     /**
2532      * Returns
2533      * IN2-45: "Employment Stop Date" - creates it if necessary
2534      */
2535     public DT getIn245_EmploymentStopDate() { 
2536 		DT retVal = this.getTypedField(45, 0);
2537 		return retVal;
2538     }
2539 
2540 
2541 
2542     /**
2543      * Returns
2544      * IN2-46: "Job Title" - creates it if necessary
2545      */
2546     public ST getJobTitle() { 
2547 		ST retVal = this.getTypedField(46, 0);
2548 		return retVal;
2549     }
2550     
2551     /**
2552      * Returns
2553      * IN2-46: "Job Title" - creates it if necessary
2554      */
2555     public ST getIn246_JobTitle() { 
2556 		ST retVal = this.getTypedField(46, 0);
2557 		return retVal;
2558     }
2559 
2560 
2561 
2562     /**
2563      * Returns
2564      * IN2-47: "Job Code/Class" - creates it if necessary
2565      */
2566     public JCC getJobCodeClass() { 
2567 		JCC retVal = this.getTypedField(47, 0);
2568 		return retVal;
2569     }
2570     
2571     /**
2572      * Returns
2573      * IN2-47: "Job Code/Class" - creates it if necessary
2574      */
2575     public JCC getIn247_JobCodeClass() { 
2576 		JCC retVal = this.getTypedField(47, 0);
2577 		return retVal;
2578     }
2579 
2580 
2581 
2582     /**
2583      * Returns
2584      * IN2-48: "Job Status" - creates it if necessary
2585      */
2586     public CWE getJobStatus() { 
2587 		CWE retVal = this.getTypedField(48, 0);
2588 		return retVal;
2589     }
2590     
2591     /**
2592      * Returns
2593      * IN2-48: "Job Status" - creates it if necessary
2594      */
2595     public CWE getIn248_JobStatus() { 
2596 		CWE retVal = this.getTypedField(48, 0);
2597 		return retVal;
2598     }
2599 
2600 
2601     /**
2602      * Returns all repetitions of Employer Contact Person Name (IN2-49).
2603      */
2604     public XPN[] getEmployerContactPersonName() {
2605     	XPN[] retVal = this.getTypedField(49, new XPN[0]);
2606     	return retVal;
2607     }
2608 
2609 
2610     /**
2611      * Returns all repetitions of Employer Contact Person Name (IN2-49).
2612      */
2613     public XPN[] getIn249_EmployerContactPersonName() {
2614     	XPN[] retVal = this.getTypedField(49, new XPN[0]);
2615     	return retVal;
2616     }
2617 
2618 
2619     /**
2620      * Returns a count of the current number of repetitions of Employer Contact Person Name (IN2-49).
2621      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2622      * it will return zero.
2623      */
2624     public int getEmployerContactPersonNameReps() {
2625     	return this.getReps(49);
2626     }
2627 
2628 
2629     /**
2630      * Returns a specific repetition of
2631      * IN2-49: "Employer Contact Person Name" - creates it if necessary
2632      *
2633      * @param rep The repetition index (0-indexed)
2634      */
2635     public XPN getEmployerContactPersonName(int rep) { 
2636 		XPN retVal = this.getTypedField(49, rep);
2637 		return retVal;
2638     }
2639 
2640     /**
2641      * Returns a specific repetition of
2642      * IN2-49: "Employer Contact Person Name" - creates it if necessary
2643      *
2644      * @param rep The repetition index (0-indexed)
2645      */
2646     public XPN getIn249_EmployerContactPersonName(int rep) { 
2647 		XPN retVal = this.getTypedField(49, rep);
2648 		return retVal;
2649     }
2650 
2651     /**
2652      * Returns a count of the current number of repetitions of Employer Contact Person Name (IN2-49).
2653      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2654      * it will return zero.
2655      */
2656     public int getIn249_EmployerContactPersonNameReps() {
2657     	return this.getReps(49);
2658     }
2659 
2660 
2661     /**
2662      * Inserts a repetition of
2663      * IN2-49: "Employer Contact Person Name" at a specific index
2664      *
2665      * @param rep The repetition index (0-indexed)
2666      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2667      */
2668     public XPN insertEmployerContactPersonName(int rep) throws HL7Exception { 
2669         return (XPN) super.insertRepetition(49, rep);
2670     }
2671 
2672 
2673     /**
2674      * Inserts a repetition of
2675      * IN2-49: "Employer Contact Person Name" at a specific index
2676      *
2677      * @param rep The repetition index (0-indexed)
2678      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2679      */
2680     public XPN insertIn249_EmployerContactPersonName(int rep) throws HL7Exception { 
2681         return (XPN) super.insertRepetition(49, rep);
2682     }
2683 
2684 
2685     /**
2686      * Removes a repetition of
2687      * IN2-49: "Employer Contact Person Name" at a specific index
2688      *
2689      * @param rep The repetition index (0-indexed)
2690      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2691      */
2692     public XPN removeEmployerContactPersonName(int rep) throws HL7Exception { 
2693         return (XPN) super.removeRepetition(49, rep);
2694     }
2695 
2696 
2697     /**
2698      * Removes a repetition of
2699      * IN2-49: "Employer Contact Person Name" at a specific index
2700      *
2701      * @param rep The repetition index (0-indexed)
2702      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2703      */
2704     public XPN removeIn249_EmployerContactPersonName(int rep) throws HL7Exception { 
2705         return (XPN) super.removeRepetition(49, rep);
2706     }
2707 
2708 
2709 
2710     /**
2711      * Returns all repetitions of Employer Contact Person Phone Number (IN2-50).
2712      */
2713     public XTN[] getEmployerContactPersonPhoneNumber() {
2714     	XTN[] retVal = this.getTypedField(50, new XTN[0]);
2715     	return retVal;
2716     }
2717 
2718 
2719     /**
2720      * Returns all repetitions of Employer Contact Person Phone Number (IN2-50).
2721      */
2722     public XTN[] getIn250_EmployerContactPersonPhoneNumber() {
2723     	XTN[] retVal = this.getTypedField(50, new XTN[0]);
2724     	return retVal;
2725     }
2726 
2727 
2728     /**
2729      * Returns a count of the current number of repetitions of Employer Contact Person Phone Number (IN2-50).
2730      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2731      * it will return zero.
2732      */
2733     public int getEmployerContactPersonPhoneNumberReps() {
2734     	return this.getReps(50);
2735     }
2736 
2737 
2738     /**
2739      * Returns a specific repetition of
2740      * IN2-50: "Employer Contact Person Phone Number" - creates it if necessary
2741      *
2742      * @param rep The repetition index (0-indexed)
2743      */
2744     public XTN getEmployerContactPersonPhoneNumber(int rep) { 
2745 		XTN retVal = this.getTypedField(50, rep);
2746 		return retVal;
2747     }
2748 
2749     /**
2750      * Returns a specific repetition of
2751      * IN2-50: "Employer Contact Person Phone Number" - creates it if necessary
2752      *
2753      * @param rep The repetition index (0-indexed)
2754      */
2755     public XTN getIn250_EmployerContactPersonPhoneNumber(int rep) { 
2756 		XTN retVal = this.getTypedField(50, rep);
2757 		return retVal;
2758     }
2759 
2760     /**
2761      * Returns a count of the current number of repetitions of Employer Contact Person Phone Number (IN2-50).
2762      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2763      * it will return zero.
2764      */
2765     public int getIn250_EmployerContactPersonPhoneNumberReps() {
2766     	return this.getReps(50);
2767     }
2768 
2769 
2770     /**
2771      * Inserts a repetition of
2772      * IN2-50: "Employer Contact Person Phone Number" at a specific index
2773      *
2774      * @param rep The repetition index (0-indexed)
2775      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2776      */
2777     public XTN insertEmployerContactPersonPhoneNumber(int rep) throws HL7Exception { 
2778         return (XTN) super.insertRepetition(50, rep);
2779     }
2780 
2781 
2782     /**
2783      * Inserts a repetition of
2784      * IN2-50: "Employer Contact Person Phone Number" at a specific index
2785      *
2786      * @param rep The repetition index (0-indexed)
2787      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2788      */
2789     public XTN insertIn250_EmployerContactPersonPhoneNumber(int rep) throws HL7Exception { 
2790         return (XTN) super.insertRepetition(50, rep);
2791     }
2792 
2793 
2794     /**
2795      * Removes a repetition of
2796      * IN2-50: "Employer Contact Person Phone Number" at a specific index
2797      *
2798      * @param rep The repetition index (0-indexed)
2799      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2800      */
2801     public XTN removeEmployerContactPersonPhoneNumber(int rep) throws HL7Exception { 
2802         return (XTN) super.removeRepetition(50, rep);
2803     }
2804 
2805 
2806     /**
2807      * Removes a repetition of
2808      * IN2-50: "Employer Contact Person Phone Number" at a specific index
2809      *
2810      * @param rep The repetition index (0-indexed)
2811      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2812      */
2813     public XTN removeIn250_EmployerContactPersonPhoneNumber(int rep) throws HL7Exception { 
2814         return (XTN) super.removeRepetition(50, rep);
2815     }
2816 
2817 
2818 
2819 
2820     /**
2821      * Returns
2822      * IN2-51: "Employer Contact Reason" - creates it if necessary
2823      */
2824     public CWE getEmployerContactReason() { 
2825 		CWE retVal = this.getTypedField(51, 0);
2826 		return retVal;
2827     }
2828     
2829     /**
2830      * Returns
2831      * IN2-51: "Employer Contact Reason" - creates it if necessary
2832      */
2833     public CWE getIn251_EmployerContactReason() { 
2834 		CWE retVal = this.getTypedField(51, 0);
2835 		return retVal;
2836     }
2837 
2838 
2839     /**
2840      * Returns all repetitions of Insured's Contact Person's Name (IN2-52).
2841      */
2842     public XPN[] getInsuredSContactPersonSName() {
2843     	XPN[] retVal = this.getTypedField(52, new XPN[0]);
2844     	return retVal;
2845     }
2846 
2847 
2848     /**
2849      * Returns all repetitions of Insured's Contact Person's Name (IN2-52).
2850      */
2851     public XPN[] getIn252_InsuredSContactPersonSName() {
2852     	XPN[] retVal = this.getTypedField(52, new XPN[0]);
2853     	return retVal;
2854     }
2855 
2856 
2857     /**
2858      * Returns a count of the current number of repetitions of Insured's Contact Person's Name (IN2-52).
2859      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2860      * it will return zero.
2861      */
2862     public int getInsuredSContactPersonSNameReps() {
2863     	return this.getReps(52);
2864     }
2865 
2866 
2867     /**
2868      * Returns a specific repetition of
2869      * IN2-52: "Insured's Contact Person's Name" - creates it if necessary
2870      *
2871      * @param rep The repetition index (0-indexed)
2872      */
2873     public XPN getInsuredSContactPersonSName(int rep) { 
2874 		XPN retVal = this.getTypedField(52, rep);
2875 		return retVal;
2876     }
2877 
2878     /**
2879      * Returns a specific repetition of
2880      * IN2-52: "Insured's Contact Person's Name" - creates it if necessary
2881      *
2882      * @param rep The repetition index (0-indexed)
2883      */
2884     public XPN getIn252_InsuredSContactPersonSName(int rep) { 
2885 		XPN retVal = this.getTypedField(52, rep);
2886 		return retVal;
2887     }
2888 
2889     /**
2890      * Returns a count of the current number of repetitions of Insured's Contact Person's Name (IN2-52).
2891      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2892      * it will return zero.
2893      */
2894     public int getIn252_InsuredSContactPersonSNameReps() {
2895     	return this.getReps(52);
2896     }
2897 
2898 
2899     /**
2900      * Inserts a repetition of
2901      * IN2-52: "Insured's Contact Person's Name" at a specific index
2902      *
2903      * @param rep The repetition index (0-indexed)
2904      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2905      */
2906     public XPN insertInsuredSContactPersonSName(int rep) throws HL7Exception { 
2907         return (XPN) super.insertRepetition(52, rep);
2908     }
2909 
2910 
2911     /**
2912      * Inserts a repetition of
2913      * IN2-52: "Insured's Contact Person's Name" at a specific index
2914      *
2915      * @param rep The repetition index (0-indexed)
2916      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2917      */
2918     public XPN insertIn252_InsuredSContactPersonSName(int rep) throws HL7Exception { 
2919         return (XPN) super.insertRepetition(52, rep);
2920     }
2921 
2922 
2923     /**
2924      * Removes a repetition of
2925      * IN2-52: "Insured's Contact Person's Name" at a specific index
2926      *
2927      * @param rep The repetition index (0-indexed)
2928      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2929      */
2930     public XPN removeInsuredSContactPersonSName(int rep) throws HL7Exception { 
2931         return (XPN) super.removeRepetition(52, rep);
2932     }
2933 
2934 
2935     /**
2936      * Removes a repetition of
2937      * IN2-52: "Insured's Contact Person's Name" at a specific index
2938      *
2939      * @param rep The repetition index (0-indexed)
2940      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
2941      */
2942     public XPN removeIn252_InsuredSContactPersonSName(int rep) throws HL7Exception { 
2943         return (XPN) super.removeRepetition(52, rep);
2944     }
2945 
2946 
2947 
2948     /**
2949      * Returns all repetitions of Insured's Contact Person Phone Number (IN2-53).
2950      */
2951     public XTN[] getInsuredSContactPersonPhoneNumber() {
2952     	XTN[] retVal = this.getTypedField(53, new XTN[0]);
2953     	return retVal;
2954     }
2955 
2956 
2957     /**
2958      * Returns all repetitions of Insured's Contact Person Phone Number (IN2-53).
2959      */
2960     public XTN[] getIn253_InsuredSContactPersonPhoneNumber() {
2961     	XTN[] retVal = this.getTypedField(53, new XTN[0]);
2962     	return retVal;
2963     }
2964 
2965 
2966     /**
2967      * Returns a count of the current number of repetitions of Insured's Contact Person Phone Number (IN2-53).
2968      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
2969      * it will return zero.
2970      */
2971     public int getInsuredSContactPersonPhoneNumberReps() {
2972     	return this.getReps(53);
2973     }
2974 
2975 
2976     /**
2977      * Returns a specific repetition of
2978      * IN2-53: "Insured's Contact Person Phone Number" - creates it if necessary
2979      *
2980      * @param rep The repetition index (0-indexed)
2981      */
2982     public XTN getInsuredSContactPersonPhoneNumber(int rep) { 
2983 		XTN retVal = this.getTypedField(53, rep);
2984 		return retVal;
2985     }
2986 
2987     /**
2988      * Returns a specific repetition of
2989      * IN2-53: "Insured's Contact Person Phone Number" - creates it if necessary
2990      *
2991      * @param rep The repetition index (0-indexed)
2992      */
2993     public XTN getIn253_InsuredSContactPersonPhoneNumber(int rep) { 
2994 		XTN retVal = this.getTypedField(53, rep);
2995 		return retVal;
2996     }
2997 
2998     /**
2999      * Returns a count of the current number of repetitions of Insured's Contact Person Phone Number (IN2-53).
3000      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3001      * it will return zero.
3002      */
3003     public int getIn253_InsuredSContactPersonPhoneNumberReps() {
3004     	return this.getReps(53);
3005     }
3006 
3007 
3008     /**
3009      * Inserts a repetition of
3010      * IN2-53: "Insured's Contact Person Phone Number" at a specific index
3011      *
3012      * @param rep The repetition index (0-indexed)
3013      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3014      */
3015     public XTN insertInsuredSContactPersonPhoneNumber(int rep) throws HL7Exception { 
3016         return (XTN) super.insertRepetition(53, rep);
3017     }
3018 
3019 
3020     /**
3021      * Inserts a repetition of
3022      * IN2-53: "Insured's Contact Person Phone Number" at a specific index
3023      *
3024      * @param rep The repetition index (0-indexed)
3025      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3026      */
3027     public XTN insertIn253_InsuredSContactPersonPhoneNumber(int rep) throws HL7Exception { 
3028         return (XTN) super.insertRepetition(53, rep);
3029     }
3030 
3031 
3032     /**
3033      * Removes a repetition of
3034      * IN2-53: "Insured's Contact Person Phone Number" at a specific index
3035      *
3036      * @param rep The repetition index (0-indexed)
3037      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3038      */
3039     public XTN removeInsuredSContactPersonPhoneNumber(int rep) throws HL7Exception { 
3040         return (XTN) super.removeRepetition(53, rep);
3041     }
3042 
3043 
3044     /**
3045      * Removes a repetition of
3046      * IN2-53: "Insured's Contact Person Phone Number" at a specific index
3047      *
3048      * @param rep The repetition index (0-indexed)
3049      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3050      */
3051     public XTN removeIn253_InsuredSContactPersonPhoneNumber(int rep) throws HL7Exception { 
3052         return (XTN) super.removeRepetition(53, rep);
3053     }
3054 
3055 
3056 
3057     /**
3058      * Returns all repetitions of Insured's Contact Person Reason (IN2-54).
3059      */
3060     public CWE[] getInsuredSContactPersonReason() {
3061     	CWE[] retVal = this.getTypedField(54, new CWE[0]);
3062     	return retVal;
3063     }
3064 
3065 
3066     /**
3067      * Returns all repetitions of Insured's Contact Person Reason (IN2-54).
3068      */
3069     public CWE[] getIn254_InsuredSContactPersonReason() {
3070     	CWE[] retVal = this.getTypedField(54, new CWE[0]);
3071     	return retVal;
3072     }
3073 
3074 
3075     /**
3076      * Returns a count of the current number of repetitions of Insured's Contact Person Reason (IN2-54).
3077      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3078      * it will return zero.
3079      */
3080     public int getInsuredSContactPersonReasonReps() {
3081     	return this.getReps(54);
3082     }
3083 
3084 
3085     /**
3086      * Returns a specific repetition of
3087      * IN2-54: "Insured's Contact Person Reason" - creates it if necessary
3088      *
3089      * @param rep The repetition index (0-indexed)
3090      */
3091     public CWE getInsuredSContactPersonReason(int rep) { 
3092 		CWE retVal = this.getTypedField(54, rep);
3093 		return retVal;
3094     }
3095 
3096     /**
3097      * Returns a specific repetition of
3098      * IN2-54: "Insured's Contact Person Reason" - creates it if necessary
3099      *
3100      * @param rep The repetition index (0-indexed)
3101      */
3102     public CWE getIn254_InsuredSContactPersonReason(int rep) { 
3103 		CWE retVal = this.getTypedField(54, rep);
3104 		return retVal;
3105     }
3106 
3107     /**
3108      * Returns a count of the current number of repetitions of Insured's Contact Person Reason (IN2-54).
3109      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3110      * it will return zero.
3111      */
3112     public int getIn254_InsuredSContactPersonReasonReps() {
3113     	return this.getReps(54);
3114     }
3115 
3116 
3117     /**
3118      * Inserts a repetition of
3119      * IN2-54: "Insured's Contact Person Reason" at a specific index
3120      *
3121      * @param rep The repetition index (0-indexed)
3122      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3123      */
3124     public CWE insertInsuredSContactPersonReason(int rep) throws HL7Exception { 
3125         return (CWE) super.insertRepetition(54, rep);
3126     }
3127 
3128 
3129     /**
3130      * Inserts a repetition of
3131      * IN2-54: "Insured's Contact Person Reason" at a specific index
3132      *
3133      * @param rep The repetition index (0-indexed)
3134      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3135      */
3136     public CWE insertIn254_InsuredSContactPersonReason(int rep) throws HL7Exception { 
3137         return (CWE) super.insertRepetition(54, rep);
3138     }
3139 
3140 
3141     /**
3142      * Removes a repetition of
3143      * IN2-54: "Insured's Contact Person Reason" at a specific index
3144      *
3145      * @param rep The repetition index (0-indexed)
3146      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3147      */
3148     public CWE removeInsuredSContactPersonReason(int rep) throws HL7Exception { 
3149         return (CWE) super.removeRepetition(54, rep);
3150     }
3151 
3152 
3153     /**
3154      * Removes a repetition of
3155      * IN2-54: "Insured's Contact Person Reason" at a specific index
3156      *
3157      * @param rep The repetition index (0-indexed)
3158      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3159      */
3160     public CWE removeIn254_InsuredSContactPersonReason(int rep) throws HL7Exception { 
3161         return (CWE) super.removeRepetition(54, rep);
3162     }
3163 
3164 
3165 
3166 
3167     /**
3168      * Returns
3169      * IN2-55: "Relationship to the Patient Start Date" - creates it if necessary
3170      */
3171     public DT getRelationshipToThePatientStartDate() { 
3172 		DT retVal = this.getTypedField(55, 0);
3173 		return retVal;
3174     }
3175     
3176     /**
3177      * Returns
3178      * IN2-55: "Relationship to the Patient Start Date" - creates it if necessary
3179      */
3180     public DT getIn255_RelationshipToThePatientStartDate() { 
3181 		DT retVal = this.getTypedField(55, 0);
3182 		return retVal;
3183     }
3184 
3185 
3186     /**
3187      * Returns all repetitions of Relationship to the Patient Stop Date (IN2-56).
3188      */
3189     public DT[] getRelationshipToThePatientStopDate() {
3190     	DT[] retVal = this.getTypedField(56, new DT[0]);
3191     	return retVal;
3192     }
3193 
3194 
3195     /**
3196      * Returns all repetitions of Relationship to the Patient Stop Date (IN2-56).
3197      */
3198     public DT[] getIn256_RelationshipToThePatientStopDate() {
3199     	DT[] retVal = this.getTypedField(56, new DT[0]);
3200     	return retVal;
3201     }
3202 
3203 
3204     /**
3205      * Returns a count of the current number of repetitions of Relationship to the Patient Stop Date (IN2-56).
3206      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3207      * it will return zero.
3208      */
3209     public int getRelationshipToThePatientStopDateReps() {
3210     	return this.getReps(56);
3211     }
3212 
3213 
3214     /**
3215      * Returns a specific repetition of
3216      * IN2-56: "Relationship to the Patient Stop Date" - creates it if necessary
3217      *
3218      * @param rep The repetition index (0-indexed)
3219      */
3220     public DT getRelationshipToThePatientStopDate(int rep) { 
3221 		DT retVal = this.getTypedField(56, rep);
3222 		return retVal;
3223     }
3224 
3225     /**
3226      * Returns a specific repetition of
3227      * IN2-56: "Relationship to the Patient Stop Date" - creates it if necessary
3228      *
3229      * @param rep The repetition index (0-indexed)
3230      */
3231     public DT getIn256_RelationshipToThePatientStopDate(int rep) { 
3232 		DT retVal = this.getTypedField(56, rep);
3233 		return retVal;
3234     }
3235 
3236     /**
3237      * Returns a count of the current number of repetitions of Relationship to the Patient Stop Date (IN2-56).
3238      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3239      * it will return zero.
3240      */
3241     public int getIn256_RelationshipToThePatientStopDateReps() {
3242     	return this.getReps(56);
3243     }
3244 
3245 
3246     /**
3247      * Inserts a repetition of
3248      * IN2-56: "Relationship to the Patient Stop Date" at a specific index
3249      *
3250      * @param rep The repetition index (0-indexed)
3251      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3252      */
3253     public DT insertRelationshipToThePatientStopDate(int rep) throws HL7Exception { 
3254         return (DT) super.insertRepetition(56, rep);
3255     }
3256 
3257 
3258     /**
3259      * Inserts a repetition of
3260      * IN2-56: "Relationship to the Patient Stop Date" at a specific index
3261      *
3262      * @param rep The repetition index (0-indexed)
3263      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3264      */
3265     public DT insertIn256_RelationshipToThePatientStopDate(int rep) throws HL7Exception { 
3266         return (DT) super.insertRepetition(56, rep);
3267     }
3268 
3269 
3270     /**
3271      * Removes a repetition of
3272      * IN2-56: "Relationship to the Patient Stop Date" at a specific index
3273      *
3274      * @param rep The repetition index (0-indexed)
3275      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3276      */
3277     public DT removeRelationshipToThePatientStopDate(int rep) throws HL7Exception { 
3278         return (DT) super.removeRepetition(56, rep);
3279     }
3280 
3281 
3282     /**
3283      * Removes a repetition of
3284      * IN2-56: "Relationship to the Patient Stop Date" at a specific index
3285      *
3286      * @param rep The repetition index (0-indexed)
3287      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3288      */
3289     public DT removeIn256_RelationshipToThePatientStopDate(int rep) throws HL7Exception { 
3290         return (DT) super.removeRepetition(56, rep);
3291     }
3292 
3293 
3294 
3295 
3296     /**
3297      * Returns
3298      * IN2-57: "Insurance Co Contact Reason" - creates it if necessary
3299      */
3300     public CWE getInsuranceCoContactReason() { 
3301 		CWE retVal = this.getTypedField(57, 0);
3302 		return retVal;
3303     }
3304     
3305     /**
3306      * Returns
3307      * IN2-57: "Insurance Co Contact Reason" - creates it if necessary
3308      */
3309     public CWE getIn257_InsuranceCoContactReason() { 
3310 		CWE retVal = this.getTypedField(57, 0);
3311 		return retVal;
3312     }
3313 
3314 
3315     /**
3316      * Returns all repetitions of Insurance Co Contact Phone Number (IN2-58).
3317      */
3318     public XTN[] getInsuranceCoContactPhoneNumber() {
3319     	XTN[] retVal = this.getTypedField(58, new XTN[0]);
3320     	return retVal;
3321     }
3322 
3323 
3324     /**
3325      * Returns all repetitions of Insurance Co Contact Phone Number (IN2-58).
3326      */
3327     public XTN[] getIn258_InsuranceCoContactPhoneNumber() {
3328     	XTN[] retVal = this.getTypedField(58, new XTN[0]);
3329     	return retVal;
3330     }
3331 
3332 
3333     /**
3334      * Returns a count of the current number of repetitions of Insurance Co Contact Phone Number (IN2-58).
3335      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3336      * it will return zero.
3337      */
3338     public int getInsuranceCoContactPhoneNumberReps() {
3339     	return this.getReps(58);
3340     }
3341 
3342 
3343     /**
3344      * Returns a specific repetition of
3345      * IN2-58: "Insurance Co Contact Phone Number" - creates it if necessary
3346      *
3347      * @param rep The repetition index (0-indexed)
3348      */
3349     public XTN getInsuranceCoContactPhoneNumber(int rep) { 
3350 		XTN retVal = this.getTypedField(58, rep);
3351 		return retVal;
3352     }
3353 
3354     /**
3355      * Returns a specific repetition of
3356      * IN2-58: "Insurance Co Contact Phone Number" - creates it if necessary
3357      *
3358      * @param rep The repetition index (0-indexed)
3359      */
3360     public XTN getIn258_InsuranceCoContactPhoneNumber(int rep) { 
3361 		XTN retVal = this.getTypedField(58, rep);
3362 		return retVal;
3363     }
3364 
3365     /**
3366      * Returns a count of the current number of repetitions of Insurance Co Contact Phone Number (IN2-58).
3367      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3368      * it will return zero.
3369      */
3370     public int getIn258_InsuranceCoContactPhoneNumberReps() {
3371     	return this.getReps(58);
3372     }
3373 
3374 
3375     /**
3376      * Inserts a repetition of
3377      * IN2-58: "Insurance Co Contact Phone Number" at a specific index
3378      *
3379      * @param rep The repetition index (0-indexed)
3380      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3381      */
3382     public XTN insertInsuranceCoContactPhoneNumber(int rep) throws HL7Exception { 
3383         return (XTN) super.insertRepetition(58, rep);
3384     }
3385 
3386 
3387     /**
3388      * Inserts a repetition of
3389      * IN2-58: "Insurance Co Contact Phone Number" at a specific index
3390      *
3391      * @param rep The repetition index (0-indexed)
3392      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3393      */
3394     public XTN insertIn258_InsuranceCoContactPhoneNumber(int rep) throws HL7Exception { 
3395         return (XTN) super.insertRepetition(58, rep);
3396     }
3397 
3398 
3399     /**
3400      * Removes a repetition of
3401      * IN2-58: "Insurance Co Contact Phone Number" at a specific index
3402      *
3403      * @param rep The repetition index (0-indexed)
3404      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3405      */
3406     public XTN removeInsuranceCoContactPhoneNumber(int rep) throws HL7Exception { 
3407         return (XTN) super.removeRepetition(58, rep);
3408     }
3409 
3410 
3411     /**
3412      * Removes a repetition of
3413      * IN2-58: "Insurance Co Contact Phone Number" at a specific index
3414      *
3415      * @param rep The repetition index (0-indexed)
3416      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3417      */
3418     public XTN removeIn258_InsuranceCoContactPhoneNumber(int rep) throws HL7Exception { 
3419         return (XTN) super.removeRepetition(58, rep);
3420     }
3421 
3422 
3423 
3424 
3425     /**
3426      * Returns
3427      * IN2-59: "Policy Scope" - creates it if necessary
3428      */
3429     public CWE getPolicyScope() { 
3430 		CWE retVal = this.getTypedField(59, 0);
3431 		return retVal;
3432     }
3433     
3434     /**
3435      * Returns
3436      * IN2-59: "Policy Scope" - creates it if necessary
3437      */
3438     public CWE getIn259_PolicyScope() { 
3439 		CWE retVal = this.getTypedField(59, 0);
3440 		return retVal;
3441     }
3442 
3443 
3444 
3445     /**
3446      * Returns
3447      * IN2-60: "Policy Source" - creates it if necessary
3448      */
3449     public CWE getPolicySource() { 
3450 		CWE retVal = this.getTypedField(60, 0);
3451 		return retVal;
3452     }
3453     
3454     /**
3455      * Returns
3456      * IN2-60: "Policy Source" - creates it if necessary
3457      */
3458     public CWE getIn260_PolicySource() { 
3459 		CWE retVal = this.getTypedField(60, 0);
3460 		return retVal;
3461     }
3462 
3463 
3464 
3465     /**
3466      * Returns
3467      * IN2-61: "Patient Member Number" - creates it if necessary
3468      */
3469     public CX getPatientMemberNumber() { 
3470 		CX retVal = this.getTypedField(61, 0);
3471 		return retVal;
3472     }
3473     
3474     /**
3475      * Returns
3476      * IN2-61: "Patient Member Number" - creates it if necessary
3477      */
3478     public CX getIn261_PatientMemberNumber() { 
3479 		CX retVal = this.getTypedField(61, 0);
3480 		return retVal;
3481     }
3482 
3483 
3484 
3485     /**
3486      * Returns
3487      * IN2-62: "Guarantor's Relationship to Insured" - creates it if necessary
3488      */
3489     public CWE getGuarantorSRelationshipToInsured() { 
3490 		CWE retVal = this.getTypedField(62, 0);
3491 		return retVal;
3492     }
3493     
3494     /**
3495      * Returns
3496      * IN2-62: "Guarantor's Relationship to Insured" - creates it if necessary
3497      */
3498     public CWE getIn262_GuarantorSRelationshipToInsured() { 
3499 		CWE retVal = this.getTypedField(62, 0);
3500 		return retVal;
3501     }
3502 
3503 
3504     /**
3505      * Returns all repetitions of Insured's Phone Number - Home (IN2-63).
3506      */
3507     public XTN[] getInsuredSPhoneNumberHome() {
3508     	XTN[] retVal = this.getTypedField(63, new XTN[0]);
3509     	return retVal;
3510     }
3511 
3512 
3513     /**
3514      * Returns all repetitions of Insured's Phone Number - Home (IN2-63).
3515      */
3516     public XTN[] getIn263_InsuredSPhoneNumberHome() {
3517     	XTN[] retVal = this.getTypedField(63, new XTN[0]);
3518     	return retVal;
3519     }
3520 
3521 
3522     /**
3523      * Returns a count of the current number of repetitions of Insured's Phone Number - Home (IN2-63).
3524      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3525      * it will return zero.
3526      */
3527     public int getInsuredSPhoneNumberHomeReps() {
3528     	return this.getReps(63);
3529     }
3530 
3531 
3532     /**
3533      * Returns a specific repetition of
3534      * IN2-63: "Insured's Phone Number - Home" - creates it if necessary
3535      *
3536      * @param rep The repetition index (0-indexed)
3537      */
3538     public XTN getInsuredSPhoneNumberHome(int rep) { 
3539 		XTN retVal = this.getTypedField(63, rep);
3540 		return retVal;
3541     }
3542 
3543     /**
3544      * Returns a specific repetition of
3545      * IN2-63: "Insured's Phone Number - Home" - creates it if necessary
3546      *
3547      * @param rep The repetition index (0-indexed)
3548      */
3549     public XTN getIn263_InsuredSPhoneNumberHome(int rep) { 
3550 		XTN retVal = this.getTypedField(63, rep);
3551 		return retVal;
3552     }
3553 
3554     /**
3555      * Returns a count of the current number of repetitions of Insured's Phone Number - Home (IN2-63).
3556      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3557      * it will return zero.
3558      */
3559     public int getIn263_InsuredSPhoneNumberHomeReps() {
3560     	return this.getReps(63);
3561     }
3562 
3563 
3564     /**
3565      * Inserts a repetition of
3566      * IN2-63: "Insured's Phone Number - Home" at a specific index
3567      *
3568      * @param rep The repetition index (0-indexed)
3569      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3570      */
3571     public XTN insertInsuredSPhoneNumberHome(int rep) throws HL7Exception { 
3572         return (XTN) super.insertRepetition(63, rep);
3573     }
3574 
3575 
3576     /**
3577      * Inserts a repetition of
3578      * IN2-63: "Insured's Phone Number - Home" at a specific index
3579      *
3580      * @param rep The repetition index (0-indexed)
3581      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3582      */
3583     public XTN insertIn263_InsuredSPhoneNumberHome(int rep) throws HL7Exception { 
3584         return (XTN) super.insertRepetition(63, rep);
3585     }
3586 
3587 
3588     /**
3589      * Removes a repetition of
3590      * IN2-63: "Insured's Phone Number - Home" at a specific index
3591      *
3592      * @param rep The repetition index (0-indexed)
3593      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3594      */
3595     public XTN removeInsuredSPhoneNumberHome(int rep) throws HL7Exception { 
3596         return (XTN) super.removeRepetition(63, rep);
3597     }
3598 
3599 
3600     /**
3601      * Removes a repetition of
3602      * IN2-63: "Insured's Phone Number - Home" at a specific index
3603      *
3604      * @param rep The repetition index (0-indexed)
3605      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3606      */
3607     public XTN removeIn263_InsuredSPhoneNumberHome(int rep) throws HL7Exception { 
3608         return (XTN) super.removeRepetition(63, rep);
3609     }
3610 
3611 
3612 
3613     /**
3614      * Returns all repetitions of Insured's Employer Phone Number (IN2-64).
3615      */
3616     public XTN[] getInsuredSEmployerPhoneNumber() {
3617     	XTN[] retVal = this.getTypedField(64, new XTN[0]);
3618     	return retVal;
3619     }
3620 
3621 
3622     /**
3623      * Returns all repetitions of Insured's Employer Phone Number (IN2-64).
3624      */
3625     public XTN[] getIn264_InsuredSEmployerPhoneNumber() {
3626     	XTN[] retVal = this.getTypedField(64, new XTN[0]);
3627     	return retVal;
3628     }
3629 
3630 
3631     /**
3632      * Returns a count of the current number of repetitions of Insured's Employer Phone Number (IN2-64).
3633      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3634      * it will return zero.
3635      */
3636     public int getInsuredSEmployerPhoneNumberReps() {
3637     	return this.getReps(64);
3638     }
3639 
3640 
3641     /**
3642      * Returns a specific repetition of
3643      * IN2-64: "Insured's Employer Phone Number" - creates it if necessary
3644      *
3645      * @param rep The repetition index (0-indexed)
3646      */
3647     public XTN getInsuredSEmployerPhoneNumber(int rep) { 
3648 		XTN retVal = this.getTypedField(64, rep);
3649 		return retVal;
3650     }
3651 
3652     /**
3653      * Returns a specific repetition of
3654      * IN2-64: "Insured's Employer Phone Number" - creates it if necessary
3655      *
3656      * @param rep The repetition index (0-indexed)
3657      */
3658     public XTN getIn264_InsuredSEmployerPhoneNumber(int rep) { 
3659 		XTN retVal = this.getTypedField(64, rep);
3660 		return retVal;
3661     }
3662 
3663     /**
3664      * Returns a count of the current number of repetitions of Insured's Employer Phone Number (IN2-64).
3665      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3666      * it will return zero.
3667      */
3668     public int getIn264_InsuredSEmployerPhoneNumberReps() {
3669     	return this.getReps(64);
3670     }
3671 
3672 
3673     /**
3674      * Inserts a repetition of
3675      * IN2-64: "Insured's Employer Phone Number" at a specific index
3676      *
3677      * @param rep The repetition index (0-indexed)
3678      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3679      */
3680     public XTN insertInsuredSEmployerPhoneNumber(int rep) throws HL7Exception { 
3681         return (XTN) super.insertRepetition(64, rep);
3682     }
3683 
3684 
3685     /**
3686      * Inserts a repetition of
3687      * IN2-64: "Insured's Employer Phone Number" at a specific index
3688      *
3689      * @param rep The repetition index (0-indexed)
3690      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3691      */
3692     public XTN insertIn264_InsuredSEmployerPhoneNumber(int rep) throws HL7Exception { 
3693         return (XTN) super.insertRepetition(64, rep);
3694     }
3695 
3696 
3697     /**
3698      * Removes a repetition of
3699      * IN2-64: "Insured's Employer Phone Number" at a specific index
3700      *
3701      * @param rep The repetition index (0-indexed)
3702      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3703      */
3704     public XTN removeInsuredSEmployerPhoneNumber(int rep) throws HL7Exception { 
3705         return (XTN) super.removeRepetition(64, rep);
3706     }
3707 
3708 
3709     /**
3710      * Removes a repetition of
3711      * IN2-64: "Insured's Employer Phone Number" at a specific index
3712      *
3713      * @param rep The repetition index (0-indexed)
3714      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3715      */
3716     public XTN removeIn264_InsuredSEmployerPhoneNumber(int rep) throws HL7Exception { 
3717         return (XTN) super.removeRepetition(64, rep);
3718     }
3719 
3720 
3721 
3722 
3723     /**
3724      * Returns
3725      * IN2-65: "Military Handicapped Program" - creates it if necessary
3726      */
3727     public CWE getMilitaryHandicappedProgram() { 
3728 		CWE retVal = this.getTypedField(65, 0);
3729 		return retVal;
3730     }
3731     
3732     /**
3733      * Returns
3734      * IN2-65: "Military Handicapped Program" - creates it if necessary
3735      */
3736     public CWE getIn265_MilitaryHandicappedProgram() { 
3737 		CWE retVal = this.getTypedField(65, 0);
3738 		return retVal;
3739     }
3740 
3741 
3742 
3743     /**
3744      * Returns
3745      * IN2-66: "Suspend Flag" - creates it if necessary
3746      */
3747     public ID getSuspendFlag() { 
3748 		ID retVal = this.getTypedField(66, 0);
3749 		return retVal;
3750     }
3751     
3752     /**
3753      * Returns
3754      * IN2-66: "Suspend Flag" - creates it if necessary
3755      */
3756     public ID getIn266_SuspendFlag() { 
3757 		ID retVal = this.getTypedField(66, 0);
3758 		return retVal;
3759     }
3760 
3761 
3762 
3763     /**
3764      * Returns
3765      * IN2-67: "Copay Limit Flag" - creates it if necessary
3766      */
3767     public ID getCopayLimitFlag() { 
3768 		ID retVal = this.getTypedField(67, 0);
3769 		return retVal;
3770     }
3771     
3772     /**
3773      * Returns
3774      * IN2-67: "Copay Limit Flag" - creates it if necessary
3775      */
3776     public ID getIn267_CopayLimitFlag() { 
3777 		ID retVal = this.getTypedField(67, 0);
3778 		return retVal;
3779     }
3780 
3781 
3782 
3783     /**
3784      * Returns
3785      * IN2-68: "Stoploss Limit Flag" - creates it if necessary
3786      */
3787     public ID getStoplossLimitFlag() { 
3788 		ID retVal = this.getTypedField(68, 0);
3789 		return retVal;
3790     }
3791     
3792     /**
3793      * Returns
3794      * IN2-68: "Stoploss Limit Flag" - creates it if necessary
3795      */
3796     public ID getIn268_StoplossLimitFlag() { 
3797 		ID retVal = this.getTypedField(68, 0);
3798 		return retVal;
3799     }
3800 
3801 
3802     /**
3803      * Returns all repetitions of Insured Organization Name and ID (IN2-69).
3804      */
3805     public XON[] getInsuredOrganizationNameAndID() {
3806     	XON[] retVal = this.getTypedField(69, new XON[0]);
3807     	return retVal;
3808     }
3809 
3810 
3811     /**
3812      * Returns all repetitions of Insured Organization Name and ID (IN2-69).
3813      */
3814     public XON[] getIn269_InsuredOrganizationNameAndID() {
3815     	XON[] retVal = this.getTypedField(69, new XON[0]);
3816     	return retVal;
3817     }
3818 
3819 
3820     /**
3821      * Returns a count of the current number of repetitions of Insured Organization Name and ID (IN2-69).
3822      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3823      * it will return zero.
3824      */
3825     public int getInsuredOrganizationNameAndIDReps() {
3826     	return this.getReps(69);
3827     }
3828 
3829 
3830     /**
3831      * Returns a specific repetition of
3832      * IN2-69: "Insured Organization Name and ID" - creates it if necessary
3833      *
3834      * @param rep The repetition index (0-indexed)
3835      */
3836     public XON getInsuredOrganizationNameAndID(int rep) { 
3837 		XON retVal = this.getTypedField(69, rep);
3838 		return retVal;
3839     }
3840 
3841     /**
3842      * Returns a specific repetition of
3843      * IN2-69: "Insured Organization Name and ID" - creates it if necessary
3844      *
3845      * @param rep The repetition index (0-indexed)
3846      */
3847     public XON getIn269_InsuredOrganizationNameAndID(int rep) { 
3848 		XON retVal = this.getTypedField(69, rep);
3849 		return retVal;
3850     }
3851 
3852     /**
3853      * Returns a count of the current number of repetitions of Insured Organization Name and ID (IN2-69).
3854      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3855      * it will return zero.
3856      */
3857     public int getIn269_InsuredOrganizationNameAndIDReps() {
3858     	return this.getReps(69);
3859     }
3860 
3861 
3862     /**
3863      * Inserts a repetition of
3864      * IN2-69: "Insured Organization Name and ID" at a specific index
3865      *
3866      * @param rep The repetition index (0-indexed)
3867      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3868      */
3869     public XON insertInsuredOrganizationNameAndID(int rep) throws HL7Exception { 
3870         return (XON) super.insertRepetition(69, rep);
3871     }
3872 
3873 
3874     /**
3875      * Inserts a repetition of
3876      * IN2-69: "Insured Organization Name and ID" at a specific index
3877      *
3878      * @param rep The repetition index (0-indexed)
3879      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3880      */
3881     public XON insertIn269_InsuredOrganizationNameAndID(int rep) throws HL7Exception { 
3882         return (XON) super.insertRepetition(69, rep);
3883     }
3884 
3885 
3886     /**
3887      * Removes a repetition of
3888      * IN2-69: "Insured Organization Name and ID" at a specific index
3889      *
3890      * @param rep The repetition index (0-indexed)
3891      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3892      */
3893     public XON removeInsuredOrganizationNameAndID(int rep) throws HL7Exception { 
3894         return (XON) super.removeRepetition(69, rep);
3895     }
3896 
3897 
3898     /**
3899      * Removes a repetition of
3900      * IN2-69: "Insured Organization Name and ID" at a specific index
3901      *
3902      * @param rep The repetition index (0-indexed)
3903      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3904      */
3905     public XON removeIn269_InsuredOrganizationNameAndID(int rep) throws HL7Exception { 
3906         return (XON) super.removeRepetition(69, rep);
3907     }
3908 
3909 
3910 
3911     /**
3912      * Returns all repetitions of Insured Employer Organization Name and ID (IN2-70).
3913      */
3914     public XON[] getInsuredEmployerOrganizationNameAndID() {
3915     	XON[] retVal = this.getTypedField(70, new XON[0]);
3916     	return retVal;
3917     }
3918 
3919 
3920     /**
3921      * Returns all repetitions of Insured Employer Organization Name and ID (IN2-70).
3922      */
3923     public XON[] getIn270_InsuredEmployerOrganizationNameAndID() {
3924     	XON[] retVal = this.getTypedField(70, new XON[0]);
3925     	return retVal;
3926     }
3927 
3928 
3929     /**
3930      * Returns a count of the current number of repetitions of Insured Employer Organization Name and ID (IN2-70).
3931      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3932      * it will return zero.
3933      */
3934     public int getInsuredEmployerOrganizationNameAndIDReps() {
3935     	return this.getReps(70);
3936     }
3937 
3938 
3939     /**
3940      * Returns a specific repetition of
3941      * IN2-70: "Insured Employer Organization Name and ID" - creates it if necessary
3942      *
3943      * @param rep The repetition index (0-indexed)
3944      */
3945     public XON getInsuredEmployerOrganizationNameAndID(int rep) { 
3946 		XON retVal = this.getTypedField(70, rep);
3947 		return retVal;
3948     }
3949 
3950     /**
3951      * Returns a specific repetition of
3952      * IN2-70: "Insured Employer Organization Name and ID" - creates it if necessary
3953      *
3954      * @param rep The repetition index (0-indexed)
3955      */
3956     public XON getIn270_InsuredEmployerOrganizationNameAndID(int rep) { 
3957 		XON retVal = this.getTypedField(70, rep);
3958 		return retVal;
3959     }
3960 
3961     /**
3962      * Returns a count of the current number of repetitions of Insured Employer Organization Name and ID (IN2-70).
3963      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
3964      * it will return zero.
3965      */
3966     public int getIn270_InsuredEmployerOrganizationNameAndIDReps() {
3967     	return this.getReps(70);
3968     }
3969 
3970 
3971     /**
3972      * Inserts a repetition of
3973      * IN2-70: "Insured Employer Organization Name and ID" at a specific index
3974      *
3975      * @param rep The repetition index (0-indexed)
3976      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3977      */
3978     public XON insertInsuredEmployerOrganizationNameAndID(int rep) throws HL7Exception { 
3979         return (XON) super.insertRepetition(70, rep);
3980     }
3981 
3982 
3983     /**
3984      * Inserts a repetition of
3985      * IN2-70: "Insured Employer Organization Name and ID" at a specific index
3986      *
3987      * @param rep The repetition index (0-indexed)
3988      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
3989      */
3990     public XON insertIn270_InsuredEmployerOrganizationNameAndID(int rep) throws HL7Exception { 
3991         return (XON) super.insertRepetition(70, rep);
3992     }
3993 
3994 
3995     /**
3996      * Removes a repetition of
3997      * IN2-70: "Insured Employer Organization Name and ID" at a specific index
3998      *
3999      * @param rep The repetition index (0-indexed)
4000      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
4001      */
4002     public XON removeInsuredEmployerOrganizationNameAndID(int rep) throws HL7Exception { 
4003         return (XON) super.removeRepetition(70, rep);
4004     }
4005 
4006 
4007     /**
4008      * Removes a repetition of
4009      * IN2-70: "Insured Employer Organization Name and ID" at a specific index
4010      *
4011      * @param rep The repetition index (0-indexed)
4012      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
4013      */
4014     public XON removeIn270_InsuredEmployerOrganizationNameAndID(int rep) throws HL7Exception { 
4015         return (XON) super.removeRepetition(70, rep);
4016     }
4017 
4018 
4019 
4020     /**
4021      * Returns all repetitions of Race (IN2-71).
4022      */
4023     public CWE[] getRace() {
4024     	CWE[] retVal = this.getTypedField(71, new CWE[0]);
4025     	return retVal;
4026     }
4027 
4028 
4029     /**
4030      * Returns all repetitions of Race (IN2-71).
4031      */
4032     public CWE[] getIn271_Race() {
4033     	CWE[] retVal = this.getTypedField(71, new CWE[0]);
4034     	return retVal;
4035     }
4036 
4037 
4038     /**
4039      * Returns a count of the current number of repetitions of Race (IN2-71).
4040      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
4041      * it will return zero.
4042      */
4043     public int getRaceReps() {
4044     	return this.getReps(71);
4045     }
4046 
4047 
4048     /**
4049      * Returns a specific repetition of
4050      * IN2-71: "Race" - creates it if necessary
4051      *
4052      * @param rep The repetition index (0-indexed)
4053      */
4054     public CWE getRace(int rep) { 
4055 		CWE retVal = this.getTypedField(71, rep);
4056 		return retVal;
4057     }
4058 
4059     /**
4060      * Returns a specific repetition of
4061      * IN2-71: "Race" - creates it if necessary
4062      *
4063      * @param rep The repetition index (0-indexed)
4064      */
4065     public CWE getIn271_Race(int rep) { 
4066 		CWE retVal = this.getTypedField(71, rep);
4067 		return retVal;
4068     }
4069 
4070     /**
4071      * Returns a count of the current number of repetitions of Race (IN2-71).
4072      * This method does not create a repetition, so if no repetitions have currently been defined or accessed,
4073      * it will return zero.
4074      */
4075     public int getIn271_RaceReps() {
4076     	return this.getReps(71);
4077     }
4078 
4079 
4080     /**
4081      * Inserts a repetition of
4082      * IN2-71: "Race" at a specific index
4083      *
4084      * @param rep The repetition index (0-indexed)
4085      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
4086      */
4087     public CWE insertRace(int rep) throws HL7Exception { 
4088         return (CWE) super.insertRepetition(71, rep);
4089     }
4090 
4091 
4092     /**
4093      * Inserts a repetition of
4094      * IN2-71: "Race" at a specific index
4095      *
4096      * @param rep The repetition index (0-indexed)
4097      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
4098      */
4099     public CWE insertIn271_Race(int rep) throws HL7Exception { 
4100         return (CWE) super.insertRepetition(71, rep);
4101     }
4102 
4103 
4104     /**
4105      * Removes a repetition of
4106      * IN2-71: "Race" at a specific index
4107      *
4108      * @param rep The repetition index (0-indexed)
4109      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
4110      */
4111     public CWE removeRace(int rep) throws HL7Exception { 
4112         return (CWE) super.removeRepetition(71, rep);
4113     }
4114 
4115 
4116     /**
4117      * Removes a repetition of
4118      * IN2-71: "Race" at a specific index
4119      *
4120      * @param rep The repetition index (0-indexed)
4121      * @throws HL7Exception If the rep is invalid (below 0, or too high for the allowable repetitions)
4122      */
4123     public CWE removeIn271_Race(int rep) throws HL7Exception { 
4124         return (CWE) super.removeRepetition(71, rep);
4125     }
4126 
4127 
4128 
4129 
4130     /**
4131      * Returns
4132      * IN2-72: "Patient's Relationship to Insured" - creates it if necessary
4133      */
4134     public CWE getPatientSRelationshipToInsured() { 
4135 		CWE retVal = this.getTypedField(72, 0);
4136 		return retVal;
4137     }
4138     
4139     /**
4140      * Returns
4141      * IN2-72: "Patient's Relationship to Insured" - creates it if necessary
4142      */
4143     public CWE getIn272_PatientSRelationshipToInsured() { 
4144 		CWE retVal = this.getTypedField(72, 0);
4145 		return retVal;
4146     }
4147 
4148 
4149 
4150 
4151 
4152     /** {@inheritDoc} */   
4153     protected Type createNewTypeWithoutReflection(int field) {
4154        switch (field) {
4155           case 0: return new CX(getMessage());
4156           case 1: return new ST(getMessage());
4157           case 2: return new XCN(getMessage());
4158           case 3: return new CWE(getMessage());
4159           case 4: return new CWE(getMessage());
4160           case 5: return new ST(getMessage());
4161           case 6: return new XPN(getMessage());
4162           case 7: return new ST(getMessage());
4163           case 8: return new XPN(getMessage());
4164           case 9: return new ST(getMessage());
4165           case 10: return new CWE(getMessage());
4166           case 11: return new ST(getMessage());
4167           case 12: return new ST(getMessage());
4168           case 13: return new CWE(getMessage());
4169           case 14: return new CWE(getMessage());
4170           case 15: return new CWE(getMessage());
4171           case 16: return new DT(getMessage());
4172           case 17: return new ID(getMessage(), new Integer( 136 ));
4173           case 18: return new ID(getMessage(), new Integer( 136 ));
4174           case 19: return new ID(getMessage(), new Integer( 136 ));
4175           case 20: return new ST(getMessage());
4176           case 21: return new XPN(getMessage());
4177           case 22: return new ST(getMessage());
4178           case 23: return new CWE(getMessage());
4179           case 24: return new CX(getMessage());
4180           case 25: return new CX(getMessage());
4181           case 26: return new CWE(getMessage());
4182           case 27: return new RMC(getMessage());
4183           case 28: return new PTA(getMessage());
4184           case 29: return new DDI(getMessage());
4185           case 30: return new CWE(getMessage());
4186           case 31: return new CWE(getMessage());
4187           case 32: return new CWE(getMessage());
4188           case 33: return new CWE(getMessage());
4189           case 34: return new CWE(getMessage());
4190           case 35: return new CWE(getMessage());
4191           case 36: return new ID(getMessage(), new Integer( 136 ));
4192           case 37: return new CWE(getMessage());
4193           case 38: return new CWE(getMessage());
4194           case 39: return new XPN(getMessage());
4195           case 40: return new CWE(getMessage());
4196           case 41: return new CWE(getMessage());
4197           case 42: return new CWE(getMessage());
4198           case 43: return new DT(getMessage());
4199           case 44: return new DT(getMessage());
4200           case 45: return new ST(getMessage());
4201           case 46: return new JCC(getMessage());
4202           case 47: return new CWE(getMessage());
4203           case 48: return new XPN(getMessage());
4204           case 49: return new XTN(getMessage());
4205           case 50: return new CWE(getMessage());
4206           case 51: return new XPN(getMessage());
4207           case 52: return new XTN(getMessage());
4208           case 53: return new CWE(getMessage());
4209           case 54: return new DT(getMessage());
4210           case 55: return new DT(getMessage());
4211           case 56: return new CWE(getMessage());
4212           case 57: return new XTN(getMessage());
4213           case 58: return new CWE(getMessage());
4214           case 59: return new CWE(getMessage());
4215           case 60: return new CX(getMessage());
4216           case 61: return new CWE(getMessage());
4217           case 62: return new XTN(getMessage());
4218           case 63: return new XTN(getMessage());
4219           case 64: return new CWE(getMessage());
4220           case 65: return new ID(getMessage(), new Integer( 136 ));
4221           case 66: return new ID(getMessage(), new Integer( 136 ));
4222           case 67: return new ID(getMessage(), new Integer( 136 ));
4223           case 68: return new XON(getMessage());
4224           case 69: return new XON(getMessage());
4225           case 70: return new CWE(getMessage());
4226           case 71: return new CWE(getMessage());
4227           default: return null;
4228        }
4229    }
4230 
4231 
4232 }
4233