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