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