View Javadoc
1   /*
2    * This class is an auto-generated source file for a HAPI
3    * HL7 v2.x standard structure class.
4    *
5    * For more information, visit: http://hl7api.sourceforge.net/
6    * 
7    * The contents of this file are subject to the Mozilla Public License Version 1.1 
8    * (the "License"); you may not use this file except in compliance with the License. 
9    * You may obtain a copy of the License at http://www.mozilla.org/MPL/ 
10   * Software distributed under the License is distributed on an "AS IS" basis, 
11   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the 
12   * specific language governing rights and limitations under the License. 
13   * 
14   * The Original Code is "[file_name]".  Description: 
15   * "[one_line_description]" 
16   * 
17   * The Initial Developer of the Original Code is University Health Network. Copyright (C) 
18   * 2012.  All Rights Reserved. 
19   * 
20   * Contributor(s): ______________________________________. 
21   * 
22   * Alternatively, the contents of this file may be used under the terms of the 
23   * GNU General Public License (the  "GPL"), in which case the provisions of the GPL are 
24   * applicable instead of those above.  If you wish to allow use of your version of this 
25   * file only under the terms of the GPL and not to allow others to use your version 
26   * of this file under the MPL, indicate your decision by deleting  the provisions above 
27   * and replace  them with the notice and other provisions required by the GPL License.  
28   * If you do not delete the provisions above, a recipient may use your version of 
29   * this file under either the MPL or the GPL. 
30   * 
31   */
32  
33  
34  package ca.uhn.hl7v2.model.v21.segment;
35  
36  // import ca.uhn.hl7v2.model.v21.group.*;
37  import ca.uhn.hl7v2.model.v21.datatype.*;
38  import ca.uhn.hl7v2.HL7Exception;
39  import ca.uhn.hl7v2.parser.ModelClassFactory;
40  import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
41  import ca.uhn.hl7v2.model.AbstractMessage;
42  import ca.uhn.hl7v2.model.Group;
43  import ca.uhn.hl7v2.model.Type;
44  import ca.uhn.hl7v2.model.AbstractSegment;
45  import ca.uhn.hl7v2.model.Varies;
46  
47  
48  /**
49   *<p>Represents an HL7 IN1 message segment (INSURANCE). 
50   * This segment has the following fields:</p>
51   * <ul>
52       * <li>IN1-1: SET ID - INSURANCE (SI) <b> </b>
53       * <li>IN1-2: INSURANCE PLAN ID (ID) <b> </b>
54       * <li>IN1-3: INSURANCE COMPANY ID (ST) <b> </b>
55       * <li>IN1-4: INSURANCE COMPANY NAME (ST) <b>optional </b>
56       * <li>IN1-5: INSURANCE COMPANY ADDRESS (AD) <b>optional </b>
57       * <li>IN1-6: INSURANCE CO. CONTACT PERS (PN) <b>optional </b>
58       * <li>IN1-7: INSURANCE CO PHONE NUMBER (TN) <b>optional </b>
59       * <li>IN1-8: GROUP NUMBER (ST) <b>optional </b>
60       * <li>IN1-9: GROUP NAME (ST) <b>optional </b>
61       * <li>IN1-10: INSURED'S GROUP EMP. ID (ST) <b>optional </b>
62       * <li>IN1-11: INSURED'S GROUP EMP. NAME (ST) <b>optional </b>
63       * <li>IN1-12: PLAN EFFECTIVE DATE (DT) <b>optional </b>
64       * <li>IN1-13: PLAN EXPIRATION DATE (DT) <b>optional </b>
65       * <li>IN1-14: AUTHORIZATION INFORMATION (ST) <b>optional </b>
66       * <li>IN1-15: PLAN TYPE (ID) <b>optional </b>
67       * <li>IN1-16: NAME OF INSURED (PN) <b>optional </b>
68       * <li>IN1-17: INSURED'S RELATIONSHIP TO PATIENT (ID) <b>optional </b>
69       * <li>IN1-18: INSURED'S DATE OF BIRTH (DT) <b>optional </b>
70       * <li>IN1-19: INSURED'S ADDRESS (AD) <b>optional </b>
71       * <li>IN1-20: ASSIGNMENT OF BENEFITS (ID) <b>optional </b>
72       * <li>IN1-21: COORDINATION OF BENEFITS (ID) <b>optional </b>
73       * <li>IN1-22: COORD OF BEN. PRIORITY (ST) <b>optional </b>
74       * <li>IN1-23: NOTICE OF ADMISSION CODE (ID) <b>optional </b>
75       * <li>IN1-24: NOTICE OF ADMISSION DATE (DT) <b>optional </b>
76       * <li>IN1-25: RPT OF ELIGIBILITY CODE (ID) <b>optional </b>
77       * <li>IN1-26: RPT OF ELIGIBILITY DATE (DT) <b>optional </b>
78       * <li>IN1-27: RELEASE INFORMATION CODE (ID) <b>optional </b>
79       * <li>IN1-28: PRE-ADMIT CERT. (PAC) (ST) <b>optional </b>
80       * <li>IN1-29: VERIFICATION DATE (DT) <b>optional </b>
81       * <li>IN1-30: VERIFICATION BY (CM) <b>optional </b>
82       * <li>IN1-31: TYPE OF AGREEMENT CODE (ID) <b>optional </b>
83       * <li>IN1-32: BILLING STATUS (ID) <b>optional </b>
84       * <li>IN1-33: LIFETIME RESERVE DAYS (NM) <b>optional </b>
85       * <li>IN1-34: DELAY BEFORE L. R. DAY (NM) <b>optional </b>
86       * <li>IN1-35: COMPANY PLAN CODE (ST) <b>optional </b>
87       * <li>IN1-36: POLICY NUMBER (ST) <b>optional </b>
88       * <li>IN1-37: POLICY DEDUCTIBLE (NM) <b>optional </b>
89       * <li>IN1-38: POLICY LIMIT - AMOUNT (NM) <b>optional </b>
90       * <li>IN1-39: POLICY LIMIT - DAYS (NM) <b>optional </b>
91       * <li>IN1-40: ROOM RATE - SEMI-PRIVATE (NM) <b>optional </b>
92       * <li>IN1-41: ROOM RATE - PRIVATE (NM) <b>optional </b>
93       * <li>IN1-42: INSURED'S EMPLOYMENT STATUS (ID) <b>optional </b>
94       * <li>IN1-43: INSURED'S SEX (ID) <b>optional </b>
95       * <li>IN1-44: INSURED'S EMPLOYER ADDRESS (AD) <b>optional </b>
96   * </ul>
97   */
98  @SuppressWarnings("unused")
99  public class IN1 extends AbstractSegment {
100 
101     /** 
102      * Creates a new IN1 segment
103      */
104     public IN1(Group parent, ModelClassFactory factory) {
105        super(parent, factory);
106        init(factory);
107     }
108 
109     private void init(ModelClassFactory factory) {
110        try {
111                                   this.add(SI.class, true, 1, 4, new Object[]{ getMessage() }, "SET ID - INSURANCE");
112                                               this.add(ID.class, true, 1, 8, new Object[]{ getMessage(), new Integer(72) }, "INSURANCE PLAN ID");
113                                   this.add(ST.class, true, 1, 6, new Object[]{ getMessage() }, "INSURANCE COMPANY ID");
114                                   this.add(ST.class, false, 1, 45, new Object[]{ getMessage() }, "INSURANCE COMPANY NAME");
115                                   this.add(AD.class, false, 1, 106, new Object[]{ getMessage() }, "INSURANCE COMPANY ADDRESS");
116                                   this.add(PN.class, false, 1, 48, new Object[]{ getMessage() }, "INSURANCE CO. CONTACT PERS");
117                                   this.add(TN.class, false, 1, 40, new Object[]{ getMessage() }, "INSURANCE CO PHONE NUMBER");
118                                   this.add(ST.class, false, 1, 12, new Object[]{ getMessage() }, "GROUP NUMBER");
119                                   this.add(ST.class, false, 1, 35, new Object[]{ getMessage() }, "GROUP NAME");
120                                   this.add(ST.class, false, 1, 12, new Object[]{ getMessage() }, "INSURED'S GROUP EMP. ID");
121                                   this.add(ST.class, false, 1, 45, new Object[]{ getMessage() }, "INSURED'S GROUP EMP. NAME");
122                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "PLAN EFFECTIVE DATE");
123                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "PLAN EXPIRATION DATE");
124                                   this.add(ST.class, false, 1, 55, new Object[]{ getMessage() }, "AUTHORIZATION INFORMATION");
125                                               this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(86) }, "PLAN TYPE");
126                                   this.add(PN.class, false, 1, 48, new Object[]{ getMessage() }, "NAME OF INSURED");
127                                               this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(63) }, "INSURED'S RELATIONSHIP TO PATIENT");
128                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "INSURED'S DATE OF BIRTH");
129                                   this.add(AD.class, false, 1, 106, new Object[]{ getMessage() }, "INSURED'S ADDRESS");
130                                               this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(0) }, "ASSIGNMENT OF BENEFITS");
131                                               this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(0) }, "COORDINATION OF BENEFITS");
132                                   this.add(ST.class, false, 1, 2, new Object[]{ getMessage() }, "COORD OF BEN. PRIORITY");
133                                               this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(81) }, "NOTICE OF ADMISSION CODE");
134                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "NOTICE OF ADMISSION DATE");
135                                               this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(94) }, "RPT OF ELIGIBILITY CODE");
136                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "RPT OF ELIGIBILITY DATE");
137                                               this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(93) }, "RELEASE INFORMATION CODE");
138                                   this.add(ST.class, false, 1, 15, new Object[]{ getMessage() }, "PRE-ADMIT CERT. (PAC)");
139                                   this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "VERIFICATION DATE");
140                                   this.add(CM.class, false, 1, 60, new Object[]{ getMessage() }, "VERIFICATION BY");
141                                               this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(98) }, "TYPE OF AGREEMENT CODE");
142                                               this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(22) }, "BILLING STATUS");
143                                   this.add(NM.class, false, 1, 4, new Object[]{ getMessage() }, "LIFETIME RESERVE DAYS");
144                                   this.add(NM.class, false, 1, 4, new Object[]{ getMessage() }, "DELAY BEFORE L. R. DAY");
145                                   this.add(ST.class, false, 1, 8, new Object[]{ getMessage() }, "COMPANY PLAN CODE");
146                                   this.add(ST.class, false, 1, 15, new Object[]{ getMessage() }, "POLICY NUMBER");
147                                   this.add(NM.class, false, 1, 12, new Object[]{ getMessage() }, "POLICY DEDUCTIBLE");
148                                   this.add(NM.class, false, 1, 12, new Object[]{ getMessage() }, "POLICY LIMIT - AMOUNT");
149                                   this.add(NM.class, false, 1, 4, new Object[]{ getMessage() }, "POLICY LIMIT - DAYS");
150                                   this.add(NM.class, false, 1, 12, new Object[]{ getMessage() }, "ROOM RATE - SEMI-PRIVATE");
151                                   this.add(NM.class, false, 1, 12, new Object[]{ getMessage() }, "ROOM RATE - PRIVATE");
152                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(66) }, "INSURED'S EMPLOYMENT STATUS");
153                                               this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(1) }, "INSURED'S SEX");
154                                   this.add(AD.class, false, 1, 106, new Object[]{ getMessage() }, "INSURED'S EMPLOYER ADDRESS");
155        } catch(HL7Exception e) {
156           log.error("Unexpected error creating IN1 - this is probably a bug in the source code generator.", e);
157        }
158     }
159 
160 
161 
162     /**
163      * Returns
164      * IN1-1: "SET ID - INSURANCE" - creates it if necessary
165      */
166     public SI getSETIDINSURANCE() { 
167 		SI retVal = this.getTypedField(1, 0);
168 		return retVal;
169     }
170     
171     /**
172      * Returns
173      * IN1-1: "SET ID - INSURANCE" - creates it if necessary
174      */
175     public SI getIn11_SETIDINSURANCE() { 
176 		SI retVal = this.getTypedField(1, 0);
177 		return retVal;
178     }
179 
180 
181 
182     /**
183      * Returns
184      * IN1-2: "INSURANCE PLAN ID" - creates it if necessary
185      */
186     public ID getINSURANCEPLANID() { 
187 		ID retVal = this.getTypedField(2, 0);
188 		return retVal;
189     }
190     
191     /**
192      * Returns
193      * IN1-2: "INSURANCE PLAN ID" - creates it if necessary
194      */
195     public ID getIn12_INSURANCEPLANID() { 
196 		ID retVal = this.getTypedField(2, 0);
197 		return retVal;
198     }
199 
200 
201 
202     /**
203      * Returns
204      * IN1-3: "INSURANCE COMPANY ID" - creates it if necessary
205      */
206     public ST getINSURANCECOMPANYID() { 
207 		ST retVal = this.getTypedField(3, 0);
208 		return retVal;
209     }
210     
211     /**
212      * Returns
213      * IN1-3: "INSURANCE COMPANY ID" - creates it if necessary
214      */
215     public ST getIn13_INSURANCECOMPANYID() { 
216 		ST retVal = this.getTypedField(3, 0);
217 		return retVal;
218     }
219 
220 
221 
222     /**
223      * Returns
224      * IN1-4: "INSURANCE COMPANY NAME" - creates it if necessary
225      */
226     public ST getINSURANCECOMPANYNAME() { 
227 		ST retVal = this.getTypedField(4, 0);
228 		return retVal;
229     }
230     
231     /**
232      * Returns
233      * IN1-4: "INSURANCE COMPANY NAME" - creates it if necessary
234      */
235     public ST getIn14_INSURANCECOMPANYNAME() { 
236 		ST retVal = this.getTypedField(4, 0);
237 		return retVal;
238     }
239 
240 
241 
242     /**
243      * Returns
244      * IN1-5: "INSURANCE COMPANY ADDRESS" - creates it if necessary
245      */
246     public AD getINSURANCECOMPANYADDRESS() { 
247 		AD retVal = this.getTypedField(5, 0);
248 		return retVal;
249     }
250     
251     /**
252      * Returns
253      * IN1-5: "INSURANCE COMPANY ADDRESS" - creates it if necessary
254      */
255     public AD getIn15_INSURANCECOMPANYADDRESS() { 
256 		AD retVal = this.getTypedField(5, 0);
257 		return retVal;
258     }
259 
260 
261 
262     /**
263      * Returns
264      * IN1-6: "INSURANCE CO. CONTACT PERS" - creates it if necessary
265      */
266     public PN getINSURANCECOCONTACTPERS() { 
267 		PN retVal = this.getTypedField(6, 0);
268 		return retVal;
269     }
270     
271     /**
272      * Returns
273      * IN1-6: "INSURANCE CO. CONTACT PERS" - creates it if necessary
274      */
275     public PN getIn16_INSURANCECOCONTACTPERS() { 
276 		PN retVal = this.getTypedField(6, 0);
277 		return retVal;
278     }
279 
280 
281 
282     /**
283      * Returns
284      * IN1-7: "INSURANCE CO PHONE NUMBER" - creates it if necessary
285      */
286     public TN getINSURANCECOPHONENUMBER() { 
287 		TN retVal = this.getTypedField(7, 0);
288 		return retVal;
289     }
290     
291     /**
292      * Returns
293      * IN1-7: "INSURANCE CO PHONE NUMBER" - creates it if necessary
294      */
295     public TN getIn17_INSURANCECOPHONENUMBER() { 
296 		TN retVal = this.getTypedField(7, 0);
297 		return retVal;
298     }
299 
300 
301 
302     /**
303      * Returns
304      * IN1-8: "GROUP NUMBER" - creates it if necessary
305      */
306     public ST getGROUPNUMBER() { 
307 		ST retVal = this.getTypedField(8, 0);
308 		return retVal;
309     }
310     
311     /**
312      * Returns
313      * IN1-8: "GROUP NUMBER" - creates it if necessary
314      */
315     public ST getIn18_GROUPNUMBER() { 
316 		ST retVal = this.getTypedField(8, 0);
317 		return retVal;
318     }
319 
320 
321 
322     /**
323      * Returns
324      * IN1-9: "GROUP NAME" - creates it if necessary
325      */
326     public ST getGROUPNAME() { 
327 		ST retVal = this.getTypedField(9, 0);
328 		return retVal;
329     }
330     
331     /**
332      * Returns
333      * IN1-9: "GROUP NAME" - creates it if necessary
334      */
335     public ST getIn19_GROUPNAME() { 
336 		ST retVal = this.getTypedField(9, 0);
337 		return retVal;
338     }
339 
340 
341 
342     /**
343      * Returns
344      * IN1-10: "INSURED'S GROUP EMP. ID" - creates it if necessary
345      */
346     public ST getINSUREDSGROUPEMPID() { 
347 		ST retVal = this.getTypedField(10, 0);
348 		return retVal;
349     }
350     
351     /**
352      * Returns
353      * IN1-10: "INSURED'S GROUP EMP. ID" - creates it if necessary
354      */
355     public ST getIn110_INSUREDSGROUPEMPID() { 
356 		ST retVal = this.getTypedField(10, 0);
357 		return retVal;
358     }
359 
360 
361 
362     /**
363      * Returns
364      * IN1-11: "INSURED'S GROUP EMP. NAME" - creates it if necessary
365      */
366     public ST getINSUREDSGROUPEMPNAME() { 
367 		ST retVal = this.getTypedField(11, 0);
368 		return retVal;
369     }
370     
371     /**
372      * Returns
373      * IN1-11: "INSURED'S GROUP EMP. NAME" - creates it if necessary
374      */
375     public ST getIn111_INSUREDSGROUPEMPNAME() { 
376 		ST retVal = this.getTypedField(11, 0);
377 		return retVal;
378     }
379 
380 
381 
382     /**
383      * Returns
384      * IN1-12: "PLAN EFFECTIVE DATE" - creates it if necessary
385      */
386     public DT getPLANEFFECTIVEDATE() { 
387 		DT retVal = this.getTypedField(12, 0);
388 		return retVal;
389     }
390     
391     /**
392      * Returns
393      * IN1-12: "PLAN EFFECTIVE DATE" - creates it if necessary
394      */
395     public DT getIn112_PLANEFFECTIVEDATE() { 
396 		DT retVal = this.getTypedField(12, 0);
397 		return retVal;
398     }
399 
400 
401 
402     /**
403      * Returns
404      * IN1-13: "PLAN EXPIRATION DATE" - creates it if necessary
405      */
406     public DT getPLANEXPIRATIONDATE() { 
407 		DT retVal = this.getTypedField(13, 0);
408 		return retVal;
409     }
410     
411     /**
412      * Returns
413      * IN1-13: "PLAN EXPIRATION DATE" - creates it if necessary
414      */
415     public DT getIn113_PLANEXPIRATIONDATE() { 
416 		DT retVal = this.getTypedField(13, 0);
417 		return retVal;
418     }
419 
420 
421 
422     /**
423      * Returns
424      * IN1-14: "AUTHORIZATION INFORMATION" - creates it if necessary
425      */
426     public ST getAUTHORIZATIONINFORMATION() { 
427 		ST retVal = this.getTypedField(14, 0);
428 		return retVal;
429     }
430     
431     /**
432      * Returns
433      * IN1-14: "AUTHORIZATION INFORMATION" - creates it if necessary
434      */
435     public ST getIn114_AUTHORIZATIONINFORMATION() { 
436 		ST retVal = this.getTypedField(14, 0);
437 		return retVal;
438     }
439 
440 
441 
442     /**
443      * Returns
444      * IN1-15: "PLAN TYPE" - creates it if necessary
445      */
446     public ID getPLANTYPE() { 
447 		ID retVal = this.getTypedField(15, 0);
448 		return retVal;
449     }
450     
451     /**
452      * Returns
453      * IN1-15: "PLAN TYPE" - creates it if necessary
454      */
455     public ID getIn115_PLANTYPE() { 
456 		ID retVal = this.getTypedField(15, 0);
457 		return retVal;
458     }
459 
460 
461 
462     /**
463      * Returns
464      * IN1-16: "NAME OF INSURED" - creates it if necessary
465      */
466     public PN getNAMEOFINSURED() { 
467 		PN retVal = this.getTypedField(16, 0);
468 		return retVal;
469     }
470     
471     /**
472      * Returns
473      * IN1-16: "NAME OF INSURED" - creates it if necessary
474      */
475     public PN getIn116_NAMEOFINSURED() { 
476 		PN retVal = this.getTypedField(16, 0);
477 		return retVal;
478     }
479 
480 
481 
482     /**
483      * Returns
484      * IN1-17: "INSURED'S RELATIONSHIP TO PATIENT" - creates it if necessary
485      */
486     public ID getINSUREDSRELATIONSHIPTOPATIENT() { 
487 		ID retVal = this.getTypedField(17, 0);
488 		return retVal;
489     }
490     
491     /**
492      * Returns
493      * IN1-17: "INSURED'S RELATIONSHIP TO PATIENT" - creates it if necessary
494      */
495     public ID getIn117_INSUREDSRELATIONSHIPTOPATIENT() { 
496 		ID retVal = this.getTypedField(17, 0);
497 		return retVal;
498     }
499 
500 
501 
502     /**
503      * Returns
504      * IN1-18: "INSURED'S DATE OF BIRTH" - creates it if necessary
505      */
506     public DT getINSUREDSDATEOFBIRTH() { 
507 		DT retVal = this.getTypedField(18, 0);
508 		return retVal;
509     }
510     
511     /**
512      * Returns
513      * IN1-18: "INSURED'S DATE OF BIRTH" - creates it if necessary
514      */
515     public DT getIn118_INSUREDSDATEOFBIRTH() { 
516 		DT retVal = this.getTypedField(18, 0);
517 		return retVal;
518     }
519 
520 
521 
522     /**
523      * Returns
524      * IN1-19: "INSURED'S ADDRESS" - creates it if necessary
525      */
526     public AD getINSUREDSADDRESS() { 
527 		AD retVal = this.getTypedField(19, 0);
528 		return retVal;
529     }
530     
531     /**
532      * Returns
533      * IN1-19: "INSURED'S ADDRESS" - creates it if necessary
534      */
535     public AD getIn119_INSUREDSADDRESS() { 
536 		AD retVal = this.getTypedField(19, 0);
537 		return retVal;
538     }
539 
540 
541 
542     /**
543      * Returns
544      * IN1-20: "ASSIGNMENT OF BENEFITS" - creates it if necessary
545      */
546     public ID getASSIGNMENTOFBENEFITS() { 
547 		ID retVal = this.getTypedField(20, 0);
548 		return retVal;
549     }
550     
551     /**
552      * Returns
553      * IN1-20: "ASSIGNMENT OF BENEFITS" - creates it if necessary
554      */
555     public ID getIn120_ASSIGNMENTOFBENEFITS() { 
556 		ID retVal = this.getTypedField(20, 0);
557 		return retVal;
558     }
559 
560 
561 
562     /**
563      * Returns
564      * IN1-21: "COORDINATION OF BENEFITS" - creates it if necessary
565      */
566     public ID getCOORDINATIONOFBENEFITS() { 
567 		ID retVal = this.getTypedField(21, 0);
568 		return retVal;
569     }
570     
571     /**
572      * Returns
573      * IN1-21: "COORDINATION OF BENEFITS" - creates it if necessary
574      */
575     public ID getIn121_COORDINATIONOFBENEFITS() { 
576 		ID retVal = this.getTypedField(21, 0);
577 		return retVal;
578     }
579 
580 
581 
582     /**
583      * Returns
584      * IN1-22: "COORD OF BEN. PRIORITY" - creates it if necessary
585      */
586     public ST getCOORDOFBENPRIORITY() { 
587 		ST retVal = this.getTypedField(22, 0);
588 		return retVal;
589     }
590     
591     /**
592      * Returns
593      * IN1-22: "COORD OF BEN. PRIORITY" - creates it if necessary
594      */
595     public ST getIn122_COORDOFBENPRIORITY() { 
596 		ST retVal = this.getTypedField(22, 0);
597 		return retVal;
598     }
599 
600 
601 
602     /**
603      * Returns
604      * IN1-23: "NOTICE OF ADMISSION CODE" - creates it if necessary
605      */
606     public ID getNOTICEOFADMISSIONCODE() { 
607 		ID retVal = this.getTypedField(23, 0);
608 		return retVal;
609     }
610     
611     /**
612      * Returns
613      * IN1-23: "NOTICE OF ADMISSION CODE" - creates it if necessary
614      */
615     public ID getIn123_NOTICEOFADMISSIONCODE() { 
616 		ID retVal = this.getTypedField(23, 0);
617 		return retVal;
618     }
619 
620 
621 
622     /**
623      * Returns
624      * IN1-24: "NOTICE OF ADMISSION DATE" - creates it if necessary
625      */
626     public DT getNOTICEOFADMISSIONDATE() { 
627 		DT retVal = this.getTypedField(24, 0);
628 		return retVal;
629     }
630     
631     /**
632      * Returns
633      * IN1-24: "NOTICE OF ADMISSION DATE" - creates it if necessary
634      */
635     public DT getIn124_NOTICEOFADMISSIONDATE() { 
636 		DT retVal = this.getTypedField(24, 0);
637 		return retVal;
638     }
639 
640 
641 
642     /**
643      * Returns
644      * IN1-25: "RPT OF ELIGIBILITY CODE" - creates it if necessary
645      */
646     public ID getRPTOFELIGIBILITYCODE() { 
647 		ID retVal = this.getTypedField(25, 0);
648 		return retVal;
649     }
650     
651     /**
652      * Returns
653      * IN1-25: "RPT OF ELIGIBILITY CODE" - creates it if necessary
654      */
655     public ID getIn125_RPTOFELIGIBILITYCODE() { 
656 		ID retVal = this.getTypedField(25, 0);
657 		return retVal;
658     }
659 
660 
661 
662     /**
663      * Returns
664      * IN1-26: "RPT OF ELIGIBILITY DATE" - creates it if necessary
665      */
666     public DT getRPTOFELIGIBILITYDATE() { 
667 		DT retVal = this.getTypedField(26, 0);
668 		return retVal;
669     }
670     
671     /**
672      * Returns
673      * IN1-26: "RPT OF ELIGIBILITY DATE" - creates it if necessary
674      */
675     public DT getIn126_RPTOFELIGIBILITYDATE() { 
676 		DT retVal = this.getTypedField(26, 0);
677 		return retVal;
678     }
679 
680 
681 
682     /**
683      * Returns
684      * IN1-27: "RELEASE INFORMATION CODE" - creates it if necessary
685      */
686     public ID getRELEASEINFORMATIONCODE() { 
687 		ID retVal = this.getTypedField(27, 0);
688 		return retVal;
689     }
690     
691     /**
692      * Returns
693      * IN1-27: "RELEASE INFORMATION CODE" - creates it if necessary
694      */
695     public ID getIn127_RELEASEINFORMATIONCODE() { 
696 		ID retVal = this.getTypedField(27, 0);
697 		return retVal;
698     }
699 
700 
701 
702     /**
703      * Returns
704      * IN1-28: "PRE-ADMIT CERT. (PAC)" - creates it if necessary
705      */
706     public ST getPREADMITCERT() { 
707 		ST retVal = this.getTypedField(28, 0);
708 		return retVal;
709     }
710     
711     /**
712      * Returns
713      * IN1-28: "PRE-ADMIT CERT. (PAC)" - creates it if necessary
714      */
715     public ST getIn128_PREADMITCERT() { 
716 		ST retVal = this.getTypedField(28, 0);
717 		return retVal;
718     }
719 
720 
721 
722     /**
723      * Returns
724      * IN1-29: "VERIFICATION DATE" - creates it if necessary
725      */
726     public DT getVERIFICATIONDATE() { 
727 		DT retVal = this.getTypedField(29, 0);
728 		return retVal;
729     }
730     
731     /**
732      * Returns
733      * IN1-29: "VERIFICATION DATE" - creates it if necessary
734      */
735     public DT getIn129_VERIFICATIONDATE() { 
736 		DT retVal = this.getTypedField(29, 0);
737 		return retVal;
738     }
739 
740 
741 
742     /**
743      * Returns
744      * IN1-30: "VERIFICATION BY" - creates it if necessary
745      */
746     public CM getVERIFICATIONBY() { 
747 		CM retVal = this.getTypedField(30, 0);
748 		return retVal;
749     }
750     
751     /**
752      * Returns
753      * IN1-30: "VERIFICATION BY" - creates it if necessary
754      */
755     public CM getIn130_VERIFICATIONBY() { 
756 		CM retVal = this.getTypedField(30, 0);
757 		return retVal;
758     }
759 
760 
761 
762     /**
763      * Returns
764      * IN1-31: "TYPE OF AGREEMENT CODE" - creates it if necessary
765      */
766     public ID getTYPEOFAGREEMENTCODE() { 
767 		ID retVal = this.getTypedField(31, 0);
768 		return retVal;
769     }
770     
771     /**
772      * Returns
773      * IN1-31: "TYPE OF AGREEMENT CODE" - creates it if necessary
774      */
775     public ID getIn131_TYPEOFAGREEMENTCODE() { 
776 		ID retVal = this.getTypedField(31, 0);
777 		return retVal;
778     }
779 
780 
781 
782     /**
783      * Returns
784      * IN1-32: "BILLING STATUS" - creates it if necessary
785      */
786     public ID getBILLINGSTATUS() { 
787 		ID retVal = this.getTypedField(32, 0);
788 		return retVal;
789     }
790     
791     /**
792      * Returns
793      * IN1-32: "BILLING STATUS" - creates it if necessary
794      */
795     public ID getIn132_BILLINGSTATUS() { 
796 		ID retVal = this.getTypedField(32, 0);
797 		return retVal;
798     }
799 
800 
801 
802     /**
803      * Returns
804      * IN1-33: "LIFETIME RESERVE DAYS" - creates it if necessary
805      */
806     public NM getLIFETIMERESERVEDAYS() { 
807 		NM retVal = this.getTypedField(33, 0);
808 		return retVal;
809     }
810     
811     /**
812      * Returns
813      * IN1-33: "LIFETIME RESERVE DAYS" - creates it if necessary
814      */
815     public NM getIn133_LIFETIMERESERVEDAYS() { 
816 		NM retVal = this.getTypedField(33, 0);
817 		return retVal;
818     }
819 
820 
821 
822     /**
823      * Returns
824      * IN1-34: "DELAY BEFORE L. R. DAY" - creates it if necessary
825      */
826     public NM getDELAYBEFORELRDAY() { 
827 		NM retVal = this.getTypedField(34, 0);
828 		return retVal;
829     }
830     
831     /**
832      * Returns
833      * IN1-34: "DELAY BEFORE L. R. DAY" - creates it if necessary
834      */
835     public NM getIn134_DELAYBEFORELRDAY() { 
836 		NM retVal = this.getTypedField(34, 0);
837 		return retVal;
838     }
839 
840 
841 
842     /**
843      * Returns
844      * IN1-35: "COMPANY PLAN CODE" - creates it if necessary
845      */
846     public ST getCOMPANYPLANCODE() { 
847 		ST retVal = this.getTypedField(35, 0);
848 		return retVal;
849     }
850     
851     /**
852      * Returns
853      * IN1-35: "COMPANY PLAN CODE" - creates it if necessary
854      */
855     public ST getIn135_COMPANYPLANCODE() { 
856 		ST retVal = this.getTypedField(35, 0);
857 		return retVal;
858     }
859 
860 
861 
862     /**
863      * Returns
864      * IN1-36: "POLICY NUMBER" - creates it if necessary
865      */
866     public ST getPOLICYNUMBER() { 
867 		ST retVal = this.getTypedField(36, 0);
868 		return retVal;
869     }
870     
871     /**
872      * Returns
873      * IN1-36: "POLICY NUMBER" - creates it if necessary
874      */
875     public ST getIn136_POLICYNUMBER() { 
876 		ST retVal = this.getTypedField(36, 0);
877 		return retVal;
878     }
879 
880 
881 
882     /**
883      * Returns
884      * IN1-37: "POLICY DEDUCTIBLE" - creates it if necessary
885      */
886     public NM getPOLICYDEDUCTIBLE() { 
887 		NM retVal = this.getTypedField(37, 0);
888 		return retVal;
889     }
890     
891     /**
892      * Returns
893      * IN1-37: "POLICY DEDUCTIBLE" - creates it if necessary
894      */
895     public NM getIn137_POLICYDEDUCTIBLE() { 
896 		NM retVal = this.getTypedField(37, 0);
897 		return retVal;
898     }
899 
900 
901 
902     /**
903      * Returns
904      * IN1-38: "POLICY LIMIT - AMOUNT" - creates it if necessary
905      */
906     public NM getPOLICYLIMITAMOUNT() { 
907 		NM retVal = this.getTypedField(38, 0);
908 		return retVal;
909     }
910     
911     /**
912      * Returns
913      * IN1-38: "POLICY LIMIT - AMOUNT" - creates it if necessary
914      */
915     public NM getIn138_POLICYLIMITAMOUNT() { 
916 		NM retVal = this.getTypedField(38, 0);
917 		return retVal;
918     }
919 
920 
921 
922     /**
923      * Returns
924      * IN1-39: "POLICY LIMIT - DAYS" - creates it if necessary
925      */
926     public NM getPOLICYLIMITDAYS() { 
927 		NM retVal = this.getTypedField(39, 0);
928 		return retVal;
929     }
930     
931     /**
932      * Returns
933      * IN1-39: "POLICY LIMIT - DAYS" - creates it if necessary
934      */
935     public NM getIn139_POLICYLIMITDAYS() { 
936 		NM retVal = this.getTypedField(39, 0);
937 		return retVal;
938     }
939 
940 
941 
942     /**
943      * Returns
944      * IN1-40: "ROOM RATE - SEMI-PRIVATE" - creates it if necessary
945      */
946     public NM getROOMRATESEMIPRIVATE() { 
947 		NM retVal = this.getTypedField(40, 0);
948 		return retVal;
949     }
950     
951     /**
952      * Returns
953      * IN1-40: "ROOM RATE - SEMI-PRIVATE" - creates it if necessary
954      */
955     public NM getIn140_ROOMRATESEMIPRIVATE() { 
956 		NM retVal = this.getTypedField(40, 0);
957 		return retVal;
958     }
959 
960 
961 
962     /**
963      * Returns
964      * IN1-41: "ROOM RATE - PRIVATE" - creates it if necessary
965      */
966     public NM getROOMRATEPRIVATE() { 
967 		NM retVal = this.getTypedField(41, 0);
968 		return retVal;
969     }
970     
971     /**
972      * Returns
973      * IN1-41: "ROOM RATE - PRIVATE" - creates it if necessary
974      */
975     public NM getIn141_ROOMRATEPRIVATE() { 
976 		NM retVal = this.getTypedField(41, 0);
977 		return retVal;
978     }
979 
980 
981 
982     /**
983      * Returns
984      * IN1-42: "INSURED'S EMPLOYMENT STATUS" - creates it if necessary
985      */
986     public ID getINSUREDSEMPLOYMENTSTATUS() { 
987 		ID retVal = this.getTypedField(42, 0);
988 		return retVal;
989     }
990     
991     /**
992      * Returns
993      * IN1-42: "INSURED'S EMPLOYMENT STATUS" - creates it if necessary
994      */
995     public ID getIn142_INSUREDSEMPLOYMENTSTATUS() { 
996 		ID retVal = this.getTypedField(42, 0);
997 		return retVal;
998     }
999 
1000 
1001 
1002     /**
1003      * Returns
1004      * IN1-43: "INSURED'S SEX" - creates it if necessary
1005      */
1006     public ID getINSUREDSSEX() { 
1007 		ID retVal = this.getTypedField(43, 0);
1008 		return retVal;
1009     }
1010     
1011     /**
1012      * Returns
1013      * IN1-43: "INSURED'S SEX" - creates it if necessary
1014      */
1015     public ID getIn143_INSUREDSSEX() { 
1016 		ID retVal = this.getTypedField(43, 0);
1017 		return retVal;
1018     }
1019 
1020 
1021 
1022     /**
1023      * Returns
1024      * IN1-44: "INSURED'S EMPLOYER ADDRESS" - creates it if necessary
1025      */
1026     public AD getINSUREDSEMPLOYERADDRESS() { 
1027 		AD retVal = this.getTypedField(44, 0);
1028 		return retVal;
1029     }
1030     
1031     /**
1032      * Returns
1033      * IN1-44: "INSURED'S EMPLOYER ADDRESS" - creates it if necessary
1034      */
1035     public AD getIn144_INSUREDSEMPLOYERADDRESS() { 
1036 		AD retVal = this.getTypedField(44, 0);
1037 		return retVal;
1038     }
1039 
1040 
1041 
1042 
1043 
1044     /** {@inheritDoc} */   
1045     protected Type createNewTypeWithoutReflection(int field) {
1046        switch (field) {
1047           case 0: return new SI(getMessage());
1048           case 1: return new ID(getMessage(), new Integer( 72 ));
1049           case 2: return new ST(getMessage());
1050           case 3: return new ST(getMessage());
1051           case 4: return new AD(getMessage());
1052           case 5: return new PN(getMessage());
1053           case 6: return new TN(getMessage());
1054           case 7: return new ST(getMessage());
1055           case 8: return new ST(getMessage());
1056           case 9: return new ST(getMessage());
1057           case 10: return new ST(getMessage());
1058           case 11: return new DT(getMessage());
1059           case 12: return new DT(getMessage());
1060           case 13: return new ST(getMessage());
1061           case 14: return new ID(getMessage(), new Integer( 86 ));
1062           case 15: return new PN(getMessage());
1063           case 16: return new ID(getMessage(), new Integer( 63 ));
1064           case 17: return new DT(getMessage());
1065           case 18: return new AD(getMessage());
1066           case 19: return new ID(getMessage(), new Integer( 0 ));
1067           case 20: return new ID(getMessage(), new Integer( 0 ));
1068           case 21: return new ST(getMessage());
1069           case 22: return new ID(getMessage(), new Integer( 81 ));
1070           case 23: return new DT(getMessage());
1071           case 24: return new ID(getMessage(), new Integer( 94 ));
1072           case 25: return new DT(getMessage());
1073           case 26: return new ID(getMessage(), new Integer( 93 ));
1074           case 27: return new ST(getMessage());
1075           case 28: return new DT(getMessage());
1076           case 29: return new CM(getMessage());
1077           case 30: return new ID(getMessage(), new Integer( 98 ));
1078           case 31: return new ID(getMessage(), new Integer( 22 ));
1079           case 32: return new NM(getMessage());
1080           case 33: return new NM(getMessage());
1081           case 34: return new ST(getMessage());
1082           case 35: return new ST(getMessage());
1083           case 36: return new NM(getMessage());
1084           case 37: return new NM(getMessage());
1085           case 38: return new NM(getMessage());
1086           case 39: return new NM(getMessage());
1087           case 40: return new NM(getMessage());
1088           case 41: return new ID(getMessage(), new Integer( 66 ));
1089           case 42: return new ID(getMessage(), new Integer( 1 ));
1090           case 43: return new AD(getMessage());
1091           default: return null;
1092        }
1093    }
1094 
1095 
1096 }
1097