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