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