1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 package ca.uhn.hl7v2.model.v25.segment;
35
36
37 import ca.uhn.hl7v2.model.v25.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107 @SuppressWarnings("unused")
108 public class IN1 extends AbstractSegment {
109
110
111
112
113 public IN1(Group parent, ModelClassFactory factory) {
114 super(parent, factory);
115 init(factory);
116 }
117
118 private void init(ModelClassFactory factory) {
119 try {
120 this.add(SI.class, true, 1, 4, new Object[]{ getMessage() }, "Set ID - IN1");
121 this.add(CE.class, true, 1, 250, new Object[]{ getMessage() }, "Insurance Plan ID");
122 this.add(CX.class, true, 0, 250, new Object[]{ getMessage() }, "Insurance Company ID");
123 this.add(XON.class, false, 0, 250, new Object[]{ getMessage() }, "Insurance Company Name");
124 this.add(XAD.class, false, 0, 250, new Object[]{ getMessage() }, "Insurance Company Address");
125 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Insurance Co Contact Person");
126 this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Insurance Co Phone Number");
127 this.add(ST.class, false, 1, 12, new Object[]{ getMessage() }, "Group Number");
128 this.add(XON.class, false, 0, 250, new Object[]{ getMessage() }, "Group Name");
129 this.add(CX.class, false, 0, 250, new Object[]{ getMessage() }, "Insured's Group Emp ID");
130 this.add(XON.class, false, 0, 250, new Object[]{ getMessage() }, "Insured's Group Emp Name");
131 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Plan Effective Date");
132 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Plan Expiration Date");
133 this.add(AUI.class, false, 1, 239, new Object[]{ getMessage() }, "Authorization Information");
134 this.add(IS.class, false, 1, 3, new Object[]{ getMessage(), new Integer(86) }, "Plan Type");
135 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Name Of Insured");
136 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Insured's Relationship To Patient");
137 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Insured's Date Of Birth");
138 this.add(XAD.class, false, 0, 250, new Object[]{ getMessage() }, "Insured's Address");
139 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(135) }, "Assignment Of Benefits");
140 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(173) }, "Coordination Of Benefits");
141 this.add(ST.class, false, 1, 2, new Object[]{ getMessage() }, "Coord Of Ben. Priority");
142 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Notice Of Admission Flag");
143 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Notice Of Admission Date");
144 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Report Of Eligibility Flag");
145 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Report Of Eligibility Date");
146 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(93) }, "Release Information Code");
147 this.add(ST.class, false, 1, 15, new Object[]{ getMessage() }, "Pre-Admit Cert (PAC)");
148 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Verification Date/Time");
149 this.add(XCN.class, false, 0, 250, new Object[]{ getMessage() }, "Verification By");
150 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(98) }, "Type Of Agreement Code");
151 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(22) }, "Billing Status");
152 this.add(NM.class, false, 1, 4, new Object[]{ getMessage() }, "Lifetime Reserve Days");
153 this.add(NM.class, false, 1, 4, new Object[]{ getMessage() }, "Delay Before L.R. Day");
154 this.add(IS.class, false, 1, 8, new Object[]{ getMessage(), new Integer(42) }, "Company Plan Code");
155 this.add(ST.class, false, 1, 15, new Object[]{ getMessage() }, "Policy Number");
156 this.add(CP.class, false, 1, 12, new Object[]{ getMessage() }, "Policy Deductible");
157 this.add(CP.class, false, 1, 12, new Object[]{ getMessage() }, "Policy Limit - Amount");
158 this.add(NM.class, false, 1, 4, new Object[]{ getMessage() }, "Policy Limit - Days");
159 this.add(CP.class, false, 1, 12, new Object[]{ getMessage() }, "Room Rate - Semi-Private");
160 this.add(CP.class, false, 1, 12, new Object[]{ getMessage() }, "Room Rate - Private");
161 this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Insured's Employment Status");
162 this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(1) }, "Insured's Administrative Sex");
163 this.add(XAD.class, false, 0, 250, new Object[]{ getMessage() }, "Insured's Employer's Address");
164 this.add(ST.class, false, 1, 2, new Object[]{ getMessage() }, "Verification Status");
165 this.add(IS.class, false, 1, 8, new Object[]{ getMessage(), new Integer(72) }, "Prior Insurance Plan ID");
166 this.add(IS.class, false, 1, 3, new Object[]{ getMessage(), new Integer(309) }, "Coverage Type");
167 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(295) }, "Handicap");
168 this.add(CX.class, false, 0, 250, new Object[]{ getMessage() }, "Insured's ID Number");
169 this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(535) }, "Signature Code");
170 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Signature Code Date");
171 this.add(ST.class, false, 1, 250, new Object[]{ getMessage() }, "Insured_s Birth Place");
172 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(99) }, "VIP Indicator");
173 } catch(HL7Exception e) {
174 log.error("Unexpected error creating IN1 - this is probably a bug in the source code generator.", e);
175 }
176 }
177
178
179
180
181
182
183
184 public SI getSetIDIN1() {
185 SI retVal = this.getTypedField(1, 0);
186 return retVal;
187 }
188
189
190
191
192
193 public SI getIn11_SetIDIN1() {
194 SI retVal = this.getTypedField(1, 0);
195 return retVal;
196 }
197
198
199
200
201
202
203
204 public CE getInsurancePlanID() {
205 CE retVal = this.getTypedField(2, 0);
206 return retVal;
207 }
208
209
210
211
212
213 public CE getIn12_InsurancePlanID() {
214 CE retVal = this.getTypedField(2, 0);
215 return retVal;
216 }
217
218
219
220
221
222 public CX[] getInsuranceCompanyID() {
223 CX[] retVal = this.getTypedField(3, new CX[0]);
224 return retVal;
225 }
226
227
228
229
230
231 public CX[] getIn13_InsuranceCompanyID() {
232 CX[] retVal = this.getTypedField(3, new CX[0]);
233 return retVal;
234 }
235
236
237
238
239
240
241
242 public int getInsuranceCompanyIDReps() {
243 return this.getReps(3);
244 }
245
246
247
248
249
250
251
252
253 public CX getInsuranceCompanyID(int rep) {
254 CX retVal = this.getTypedField(3, rep);
255 return retVal;
256 }
257
258
259
260
261
262
263
264 public CX getIn13_InsuranceCompanyID(int rep) {
265 CX retVal = this.getTypedField(3, rep);
266 return retVal;
267 }
268
269
270
271
272
273
274 public int getIn13_InsuranceCompanyIDReps() {
275 return this.getReps(3);
276 }
277
278
279
280
281
282
283
284
285
286 public CX insertInsuranceCompanyID(int rep) throws HL7Exception {
287 return (CX) super.insertRepetition(3, rep);
288 }
289
290
291
292
293
294
295
296
297
298 public CX insertIn13_InsuranceCompanyID(int rep) throws HL7Exception {
299 return (CX) super.insertRepetition(3, rep);
300 }
301
302
303
304
305
306
307
308
309
310 public CX removeInsuranceCompanyID(int rep) throws HL7Exception {
311 return (CX) super.removeRepetition(3, rep);
312 }
313
314
315
316
317
318
319
320
321
322 public CX removeIn13_InsuranceCompanyID(int rep) throws HL7Exception {
323 return (CX) super.removeRepetition(3, rep);
324 }
325
326
327
328
329
330
331 public XON[] getInsuranceCompanyName() {
332 XON[] retVal = this.getTypedField(4, new XON[0]);
333 return retVal;
334 }
335
336
337
338
339
340 public XON[] getIn14_InsuranceCompanyName() {
341 XON[] retVal = this.getTypedField(4, new XON[0]);
342 return retVal;
343 }
344
345
346
347
348
349
350
351 public int getInsuranceCompanyNameReps() {
352 return this.getReps(4);
353 }
354
355
356
357
358
359
360
361
362 public XON getInsuranceCompanyName(int rep) {
363 XON retVal = this.getTypedField(4, rep);
364 return retVal;
365 }
366
367
368
369
370
371
372
373 public XON getIn14_InsuranceCompanyName(int rep) {
374 XON retVal = this.getTypedField(4, rep);
375 return retVal;
376 }
377
378
379
380
381
382
383 public int getIn14_InsuranceCompanyNameReps() {
384 return this.getReps(4);
385 }
386
387
388
389
390
391
392
393
394
395 public XON insertInsuranceCompanyName(int rep) throws HL7Exception {
396 return (XON) super.insertRepetition(4, rep);
397 }
398
399
400
401
402
403
404
405
406
407 public XON insertIn14_InsuranceCompanyName(int rep) throws HL7Exception {
408 return (XON) super.insertRepetition(4, rep);
409 }
410
411
412
413
414
415
416
417
418
419 public XON removeInsuranceCompanyName(int rep) throws HL7Exception {
420 return (XON) super.removeRepetition(4, rep);
421 }
422
423
424
425
426
427
428
429
430
431 public XON removeIn14_InsuranceCompanyName(int rep) throws HL7Exception {
432 return (XON) super.removeRepetition(4, rep);
433 }
434
435
436
437
438
439
440 public XAD[] getInsuranceCompanyAddress() {
441 XAD[] retVal = this.getTypedField(5, new XAD[0]);
442 return retVal;
443 }
444
445
446
447
448
449 public XAD[] getIn15_InsuranceCompanyAddress() {
450 XAD[] retVal = this.getTypedField(5, new XAD[0]);
451 return retVal;
452 }
453
454
455
456
457
458
459
460 public int getInsuranceCompanyAddressReps() {
461 return this.getReps(5);
462 }
463
464
465
466
467
468
469
470
471 public XAD getInsuranceCompanyAddress(int rep) {
472 XAD retVal = this.getTypedField(5, rep);
473 return retVal;
474 }
475
476
477
478
479
480
481
482 public XAD getIn15_InsuranceCompanyAddress(int rep) {
483 XAD retVal = this.getTypedField(5, rep);
484 return retVal;
485 }
486
487
488
489
490
491
492 public int getIn15_InsuranceCompanyAddressReps() {
493 return this.getReps(5);
494 }
495
496
497
498
499
500
501
502
503
504 public XAD insertInsuranceCompanyAddress(int rep) throws HL7Exception {
505 return (XAD) super.insertRepetition(5, rep);
506 }
507
508
509
510
511
512
513
514
515
516 public XAD insertIn15_InsuranceCompanyAddress(int rep) throws HL7Exception {
517 return (XAD) super.insertRepetition(5, rep);
518 }
519
520
521
522
523
524
525
526
527
528 public XAD removeInsuranceCompanyAddress(int rep) throws HL7Exception {
529 return (XAD) super.removeRepetition(5, rep);
530 }
531
532
533
534
535
536
537
538
539
540 public XAD removeIn15_InsuranceCompanyAddress(int rep) throws HL7Exception {
541 return (XAD) super.removeRepetition(5, rep);
542 }
543
544
545
546
547
548
549 public XPN[] getInsuranceCoContactPerson() {
550 XPN[] retVal = this.getTypedField(6, new XPN[0]);
551 return retVal;
552 }
553
554
555
556
557
558 public XPN[] getIn16_InsuranceCoContactPerson() {
559 XPN[] retVal = this.getTypedField(6, new XPN[0]);
560 return retVal;
561 }
562
563
564
565
566
567
568
569 public int getInsuranceCoContactPersonReps() {
570 return this.getReps(6);
571 }
572
573
574
575
576
577
578
579
580 public XPN getInsuranceCoContactPerson(int rep) {
581 XPN retVal = this.getTypedField(6, rep);
582 return retVal;
583 }
584
585
586
587
588
589
590
591 public XPN getIn16_InsuranceCoContactPerson(int rep) {
592 XPN retVal = this.getTypedField(6, rep);
593 return retVal;
594 }
595
596
597
598
599
600
601 public int getIn16_InsuranceCoContactPersonReps() {
602 return this.getReps(6);
603 }
604
605
606
607
608
609
610
611
612
613 public XPN insertInsuranceCoContactPerson(int rep) throws HL7Exception {
614 return (XPN) super.insertRepetition(6, rep);
615 }
616
617
618
619
620
621
622
623
624
625 public XPN insertIn16_InsuranceCoContactPerson(int rep) throws HL7Exception {
626 return (XPN) super.insertRepetition(6, rep);
627 }
628
629
630
631
632
633
634
635
636
637 public XPN removeInsuranceCoContactPerson(int rep) throws HL7Exception {
638 return (XPN) super.removeRepetition(6, rep);
639 }
640
641
642
643
644
645
646
647
648
649 public XPN removeIn16_InsuranceCoContactPerson(int rep) throws HL7Exception {
650 return (XPN) super.removeRepetition(6, rep);
651 }
652
653
654
655
656
657
658 public XTN[] getInsuranceCoPhoneNumber() {
659 XTN[] retVal = this.getTypedField(7, new XTN[0]);
660 return retVal;
661 }
662
663
664
665
666
667 public XTN[] getIn17_InsuranceCoPhoneNumber() {
668 XTN[] retVal = this.getTypedField(7, new XTN[0]);
669 return retVal;
670 }
671
672
673
674
675
676
677
678 public int getInsuranceCoPhoneNumberReps() {
679 return this.getReps(7);
680 }
681
682
683
684
685
686
687
688
689 public XTN getInsuranceCoPhoneNumber(int rep) {
690 XTN retVal = this.getTypedField(7, rep);
691 return retVal;
692 }
693
694
695
696
697
698
699
700 public XTN getIn17_InsuranceCoPhoneNumber(int rep) {
701 XTN retVal = this.getTypedField(7, rep);
702 return retVal;
703 }
704
705
706
707
708
709
710 public int getIn17_InsuranceCoPhoneNumberReps() {
711 return this.getReps(7);
712 }
713
714
715
716
717
718
719
720
721
722 public XTN insertInsuranceCoPhoneNumber(int rep) throws HL7Exception {
723 return (XTN) super.insertRepetition(7, rep);
724 }
725
726
727
728
729
730
731
732
733
734 public XTN insertIn17_InsuranceCoPhoneNumber(int rep) throws HL7Exception {
735 return (XTN) super.insertRepetition(7, rep);
736 }
737
738
739
740
741
742
743
744
745
746 public XTN removeInsuranceCoPhoneNumber(int rep) throws HL7Exception {
747 return (XTN) super.removeRepetition(7, rep);
748 }
749
750
751
752
753
754
755
756
757
758 public XTN removeIn17_InsuranceCoPhoneNumber(int rep) throws HL7Exception {
759 return (XTN) super.removeRepetition(7, rep);
760 }
761
762
763
764
765
766
767
768
769 public ST getGroupNumber() {
770 ST retVal = this.getTypedField(8, 0);
771 return retVal;
772 }
773
774
775
776
777
778 public ST getIn18_GroupNumber() {
779 ST retVal = this.getTypedField(8, 0);
780 return retVal;
781 }
782
783
784
785
786
787 public XON[] getGroupName() {
788 XON[] retVal = this.getTypedField(9, new XON[0]);
789 return retVal;
790 }
791
792
793
794
795
796 public XON[] getIn19_GroupName() {
797 XON[] retVal = this.getTypedField(9, new XON[0]);
798 return retVal;
799 }
800
801
802
803
804
805
806
807 public int getGroupNameReps() {
808 return this.getReps(9);
809 }
810
811
812
813
814
815
816
817
818 public XON getGroupName(int rep) {
819 XON retVal = this.getTypedField(9, rep);
820 return retVal;
821 }
822
823
824
825
826
827
828
829 public XON getIn19_GroupName(int rep) {
830 XON retVal = this.getTypedField(9, rep);
831 return retVal;
832 }
833
834
835
836
837
838
839 public int getIn19_GroupNameReps() {
840 return this.getReps(9);
841 }
842
843
844
845
846
847
848
849
850
851 public XON insertGroupName(int rep) throws HL7Exception {
852 return (XON) super.insertRepetition(9, rep);
853 }
854
855
856
857
858
859
860
861
862
863 public XON insertIn19_GroupName(int rep) throws HL7Exception {
864 return (XON) super.insertRepetition(9, rep);
865 }
866
867
868
869
870
871
872
873
874
875 public XON removeGroupName(int rep) throws HL7Exception {
876 return (XON) super.removeRepetition(9, rep);
877 }
878
879
880
881
882
883
884
885
886
887 public XON removeIn19_GroupName(int rep) throws HL7Exception {
888 return (XON) super.removeRepetition(9, rep);
889 }
890
891
892
893
894
895
896 public CX[] getInsuredSGroupEmpID() {
897 CX[] retVal = this.getTypedField(10, new CX[0]);
898 return retVal;
899 }
900
901
902
903
904
905 public CX[] getIn110_InsuredSGroupEmpID() {
906 CX[] retVal = this.getTypedField(10, new CX[0]);
907 return retVal;
908 }
909
910
911
912
913
914
915
916 public int getInsuredSGroupEmpIDReps() {
917 return this.getReps(10);
918 }
919
920
921
922
923
924
925
926
927 public CX getInsuredSGroupEmpID(int rep) {
928 CX retVal = this.getTypedField(10, rep);
929 return retVal;
930 }
931
932
933
934
935
936
937
938 public CX getIn110_InsuredSGroupEmpID(int rep) {
939 CX retVal = this.getTypedField(10, rep);
940 return retVal;
941 }
942
943
944
945
946
947
948 public int getIn110_InsuredSGroupEmpIDReps() {
949 return this.getReps(10);
950 }
951
952
953
954
955
956
957
958
959
960 public CX insertInsuredSGroupEmpID(int rep) throws HL7Exception {
961 return (CX) super.insertRepetition(10, rep);
962 }
963
964
965
966
967
968
969
970
971
972 public CX insertIn110_InsuredSGroupEmpID(int rep) throws HL7Exception {
973 return (CX) super.insertRepetition(10, rep);
974 }
975
976
977
978
979
980
981
982
983
984 public CX removeInsuredSGroupEmpID(int rep) throws HL7Exception {
985 return (CX) super.removeRepetition(10, rep);
986 }
987
988
989
990
991
992
993
994
995
996 public CX removeIn110_InsuredSGroupEmpID(int rep) throws HL7Exception {
997 return (CX) super.removeRepetition(10, rep);
998 }
999
1000
1001
1002
1003
1004
1005 public XON[] getInsuredSGroupEmpName() {
1006 XON[] retVal = this.getTypedField(11, new XON[0]);
1007 return retVal;
1008 }
1009
1010
1011
1012
1013
1014 public XON[] getIn111_InsuredSGroupEmpName() {
1015 XON[] retVal = this.getTypedField(11, new XON[0]);
1016 return retVal;
1017 }
1018
1019
1020
1021
1022
1023
1024
1025 public int getInsuredSGroupEmpNameReps() {
1026 return this.getReps(11);
1027 }
1028
1029
1030
1031
1032
1033
1034
1035
1036 public XON getInsuredSGroupEmpName(int rep) {
1037 XON retVal = this.getTypedField(11, rep);
1038 return retVal;
1039 }
1040
1041
1042
1043
1044
1045
1046
1047 public XON getIn111_InsuredSGroupEmpName(int rep) {
1048 XON retVal = this.getTypedField(11, rep);
1049 return retVal;
1050 }
1051
1052
1053
1054
1055
1056
1057 public int getIn111_InsuredSGroupEmpNameReps() {
1058 return this.getReps(11);
1059 }
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069 public XON insertInsuredSGroupEmpName(int rep) throws HL7Exception {
1070 return (XON) super.insertRepetition(11, rep);
1071 }
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081 public XON insertIn111_InsuredSGroupEmpName(int rep) throws HL7Exception {
1082 return (XON) super.insertRepetition(11, rep);
1083 }
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093 public XON removeInsuredSGroupEmpName(int rep) throws HL7Exception {
1094 return (XON) super.removeRepetition(11, rep);
1095 }
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105 public XON removeIn111_InsuredSGroupEmpName(int rep) throws HL7Exception {
1106 return (XON) super.removeRepetition(11, rep);
1107 }
1108
1109
1110
1111
1112
1113
1114
1115
1116 public DT getPlanEffectiveDate() {
1117 DT retVal = this.getTypedField(12, 0);
1118 return retVal;
1119 }
1120
1121
1122
1123
1124
1125 public DT getIn112_PlanEffectiveDate() {
1126 DT retVal = this.getTypedField(12, 0);
1127 return retVal;
1128 }
1129
1130
1131
1132
1133
1134
1135
1136 public DT getPlanExpirationDate() {
1137 DT retVal = this.getTypedField(13, 0);
1138 return retVal;
1139 }
1140
1141
1142
1143
1144
1145 public DT getIn113_PlanExpirationDate() {
1146 DT retVal = this.getTypedField(13, 0);
1147 return retVal;
1148 }
1149
1150
1151
1152
1153
1154
1155
1156 public AUI getAuthorizationInformation() {
1157 AUI retVal = this.getTypedField(14, 0);
1158 return retVal;
1159 }
1160
1161
1162
1163
1164
1165 public AUI getIn114_AuthorizationInformation() {
1166 AUI retVal = this.getTypedField(14, 0);
1167 return retVal;
1168 }
1169
1170
1171
1172
1173
1174
1175
1176 public IS getPlanType() {
1177 IS retVal = this.getTypedField(15, 0);
1178 return retVal;
1179 }
1180
1181
1182
1183
1184
1185 public IS getIn115_PlanType() {
1186 IS retVal = this.getTypedField(15, 0);
1187 return retVal;
1188 }
1189
1190
1191
1192
1193
1194 public XPN[] getNameOfInsured() {
1195 XPN[] retVal = this.getTypedField(16, new XPN[0]);
1196 return retVal;
1197 }
1198
1199
1200
1201
1202
1203 public XPN[] getIn116_NameOfInsured() {
1204 XPN[] retVal = this.getTypedField(16, new XPN[0]);
1205 return retVal;
1206 }
1207
1208
1209
1210
1211
1212
1213
1214 public int getNameOfInsuredReps() {
1215 return this.getReps(16);
1216 }
1217
1218
1219
1220
1221
1222
1223
1224
1225 public XPN getNameOfInsured(int rep) {
1226 XPN retVal = this.getTypedField(16, rep);
1227 return retVal;
1228 }
1229
1230
1231
1232
1233
1234
1235
1236 public XPN getIn116_NameOfInsured(int rep) {
1237 XPN retVal = this.getTypedField(16, rep);
1238 return retVal;
1239 }
1240
1241
1242
1243
1244
1245
1246 public int getIn116_NameOfInsuredReps() {
1247 return this.getReps(16);
1248 }
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258 public XPN insertNameOfInsured(int rep) throws HL7Exception {
1259 return (XPN) super.insertRepetition(16, rep);
1260 }
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270 public XPN insertIn116_NameOfInsured(int rep) throws HL7Exception {
1271 return (XPN) super.insertRepetition(16, rep);
1272 }
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282 public XPN removeNameOfInsured(int rep) throws HL7Exception {
1283 return (XPN) super.removeRepetition(16, rep);
1284 }
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294 public XPN removeIn116_NameOfInsured(int rep) throws HL7Exception {
1295 return (XPN) super.removeRepetition(16, rep);
1296 }
1297
1298
1299
1300
1301
1302
1303
1304
1305 public CE getInsuredSRelationshipToPatient() {
1306 CE retVal = this.getTypedField(17, 0);
1307 return retVal;
1308 }
1309
1310
1311
1312
1313
1314 public CE getIn117_InsuredSRelationshipToPatient() {
1315 CE retVal = this.getTypedField(17, 0);
1316 return retVal;
1317 }
1318
1319
1320
1321
1322
1323
1324
1325 public TS getInsuredSDateOfBirth() {
1326 TS retVal = this.getTypedField(18, 0);
1327 return retVal;
1328 }
1329
1330
1331
1332
1333
1334 public TS getIn118_InsuredSDateOfBirth() {
1335 TS retVal = this.getTypedField(18, 0);
1336 return retVal;
1337 }
1338
1339
1340
1341
1342
1343 public XAD[] getInsuredSAddress() {
1344 XAD[] retVal = this.getTypedField(19, new XAD[0]);
1345 return retVal;
1346 }
1347
1348
1349
1350
1351
1352 public XAD[] getIn119_InsuredSAddress() {
1353 XAD[] retVal = this.getTypedField(19, new XAD[0]);
1354 return retVal;
1355 }
1356
1357
1358
1359
1360
1361
1362
1363 public int getInsuredSAddressReps() {
1364 return this.getReps(19);
1365 }
1366
1367
1368
1369
1370
1371
1372
1373
1374 public XAD getInsuredSAddress(int rep) {
1375 XAD retVal = this.getTypedField(19, rep);
1376 return retVal;
1377 }
1378
1379
1380
1381
1382
1383
1384
1385 public XAD getIn119_InsuredSAddress(int rep) {
1386 XAD retVal = this.getTypedField(19, rep);
1387 return retVal;
1388 }
1389
1390
1391
1392
1393
1394
1395 public int getIn119_InsuredSAddressReps() {
1396 return this.getReps(19);
1397 }
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407 public XAD insertInsuredSAddress(int rep) throws HL7Exception {
1408 return (XAD) super.insertRepetition(19, rep);
1409 }
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419 public XAD insertIn119_InsuredSAddress(int rep) throws HL7Exception {
1420 return (XAD) super.insertRepetition(19, rep);
1421 }
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431 public XAD removeInsuredSAddress(int rep) throws HL7Exception {
1432 return (XAD) super.removeRepetition(19, rep);
1433 }
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443 public XAD removeIn119_InsuredSAddress(int rep) throws HL7Exception {
1444 return (XAD) super.removeRepetition(19, rep);
1445 }
1446
1447
1448
1449
1450
1451
1452
1453
1454 public IS getAssignmentOfBenefits() {
1455 IS retVal = this.getTypedField(20, 0);
1456 return retVal;
1457 }
1458
1459
1460
1461
1462
1463 public IS getIn120_AssignmentOfBenefits() {
1464 IS retVal = this.getTypedField(20, 0);
1465 return retVal;
1466 }
1467
1468
1469
1470
1471
1472
1473
1474 public IS getCoordinationOfBenefits() {
1475 IS retVal = this.getTypedField(21, 0);
1476 return retVal;
1477 }
1478
1479
1480
1481
1482
1483 public IS getIn121_CoordinationOfBenefits() {
1484 IS retVal = this.getTypedField(21, 0);
1485 return retVal;
1486 }
1487
1488
1489
1490
1491
1492
1493
1494 public ST getCoordOfBenPriority() {
1495 ST retVal = this.getTypedField(22, 0);
1496 return retVal;
1497 }
1498
1499
1500
1501
1502
1503 public ST getIn122_CoordOfBenPriority() {
1504 ST retVal = this.getTypedField(22, 0);
1505 return retVal;
1506 }
1507
1508
1509
1510
1511
1512
1513
1514 public ID getNoticeOfAdmissionFlag() {
1515 ID retVal = this.getTypedField(23, 0);
1516 return retVal;
1517 }
1518
1519
1520
1521
1522
1523 public ID getIn123_NoticeOfAdmissionFlag() {
1524 ID retVal = this.getTypedField(23, 0);
1525 return retVal;
1526 }
1527
1528
1529
1530
1531
1532
1533
1534 public DT getNoticeOfAdmissionDate() {
1535 DT retVal = this.getTypedField(24, 0);
1536 return retVal;
1537 }
1538
1539
1540
1541
1542
1543 public DT getIn124_NoticeOfAdmissionDate() {
1544 DT retVal = this.getTypedField(24, 0);
1545 return retVal;
1546 }
1547
1548
1549
1550
1551
1552
1553
1554 public ID getReportOfEligibilityFlag() {
1555 ID retVal = this.getTypedField(25, 0);
1556 return retVal;
1557 }
1558
1559
1560
1561
1562
1563 public ID getIn125_ReportOfEligibilityFlag() {
1564 ID retVal = this.getTypedField(25, 0);
1565 return retVal;
1566 }
1567
1568
1569
1570
1571
1572
1573
1574 public DT getReportOfEligibilityDate() {
1575 DT retVal = this.getTypedField(26, 0);
1576 return retVal;
1577 }
1578
1579
1580
1581
1582
1583 public DT getIn126_ReportOfEligibilityDate() {
1584 DT retVal = this.getTypedField(26, 0);
1585 return retVal;
1586 }
1587
1588
1589
1590
1591
1592
1593
1594 public IS getReleaseInformationCode() {
1595 IS retVal = this.getTypedField(27, 0);
1596 return retVal;
1597 }
1598
1599
1600
1601
1602
1603 public IS getIn127_ReleaseInformationCode() {
1604 IS retVal = this.getTypedField(27, 0);
1605 return retVal;
1606 }
1607
1608
1609
1610
1611
1612
1613
1614 public ST getPreAdmitCert() {
1615 ST retVal = this.getTypedField(28, 0);
1616 return retVal;
1617 }
1618
1619
1620
1621
1622
1623 public ST getIn128_PreAdmitCert() {
1624 ST retVal = this.getTypedField(28, 0);
1625 return retVal;
1626 }
1627
1628
1629
1630
1631
1632
1633
1634 public TS getVerificationDateTime() {
1635 TS retVal = this.getTypedField(29, 0);
1636 return retVal;
1637 }
1638
1639
1640
1641
1642
1643 public TS getIn129_VerificationDateTime() {
1644 TS retVal = this.getTypedField(29, 0);
1645 return retVal;
1646 }
1647
1648
1649
1650
1651
1652 public XCN[] getVerificationBy() {
1653 XCN[] retVal = this.getTypedField(30, new XCN[0]);
1654 return retVal;
1655 }
1656
1657
1658
1659
1660
1661 public XCN[] getIn130_VerificationBy() {
1662 XCN[] retVal = this.getTypedField(30, new XCN[0]);
1663 return retVal;
1664 }
1665
1666
1667
1668
1669
1670
1671
1672 public int getVerificationByReps() {
1673 return this.getReps(30);
1674 }
1675
1676
1677
1678
1679
1680
1681
1682
1683 public XCN getVerificationBy(int rep) {
1684 XCN retVal = this.getTypedField(30, rep);
1685 return retVal;
1686 }
1687
1688
1689
1690
1691
1692
1693
1694 public XCN getIn130_VerificationBy(int rep) {
1695 XCN retVal = this.getTypedField(30, rep);
1696 return retVal;
1697 }
1698
1699
1700
1701
1702
1703
1704 public int getIn130_VerificationByReps() {
1705 return this.getReps(30);
1706 }
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716 public XCN insertVerificationBy(int rep) throws HL7Exception {
1717 return (XCN) super.insertRepetition(30, rep);
1718 }
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728 public XCN insertIn130_VerificationBy(int rep) throws HL7Exception {
1729 return (XCN) super.insertRepetition(30, rep);
1730 }
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740 public XCN removeVerificationBy(int rep) throws HL7Exception {
1741 return (XCN) super.removeRepetition(30, rep);
1742 }
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752 public XCN removeIn130_VerificationBy(int rep) throws HL7Exception {
1753 return (XCN) super.removeRepetition(30, rep);
1754 }
1755
1756
1757
1758
1759
1760
1761
1762
1763 public IS getTypeOfAgreementCode() {
1764 IS retVal = this.getTypedField(31, 0);
1765 return retVal;
1766 }
1767
1768
1769
1770
1771
1772 public IS getIn131_TypeOfAgreementCode() {
1773 IS retVal = this.getTypedField(31, 0);
1774 return retVal;
1775 }
1776
1777
1778
1779
1780
1781
1782
1783 public IS getBillingStatus() {
1784 IS retVal = this.getTypedField(32, 0);
1785 return retVal;
1786 }
1787
1788
1789
1790
1791
1792 public IS getIn132_BillingStatus() {
1793 IS retVal = this.getTypedField(32, 0);
1794 return retVal;
1795 }
1796
1797
1798
1799
1800
1801
1802
1803 public NM getLifetimeReserveDays() {
1804 NM retVal = this.getTypedField(33, 0);
1805 return retVal;
1806 }
1807
1808
1809
1810
1811
1812 public NM getIn133_LifetimeReserveDays() {
1813 NM retVal = this.getTypedField(33, 0);
1814 return retVal;
1815 }
1816
1817
1818
1819
1820
1821
1822
1823 public NM getDelayBeforeLRDay() {
1824 NM retVal = this.getTypedField(34, 0);
1825 return retVal;
1826 }
1827
1828
1829
1830
1831
1832 public NM getIn134_DelayBeforeLRDay() {
1833 NM retVal = this.getTypedField(34, 0);
1834 return retVal;
1835 }
1836
1837
1838
1839
1840
1841
1842
1843 public IS getCompanyPlanCode() {
1844 IS retVal = this.getTypedField(35, 0);
1845 return retVal;
1846 }
1847
1848
1849
1850
1851
1852 public IS getIn135_CompanyPlanCode() {
1853 IS retVal = this.getTypedField(35, 0);
1854 return retVal;
1855 }
1856
1857
1858
1859
1860
1861
1862
1863 public ST getPolicyNumber() {
1864 ST retVal = this.getTypedField(36, 0);
1865 return retVal;
1866 }
1867
1868
1869
1870
1871
1872 public ST getIn136_PolicyNumber() {
1873 ST retVal = this.getTypedField(36, 0);
1874 return retVal;
1875 }
1876
1877
1878
1879
1880
1881
1882
1883 public CP getPolicyDeductible() {
1884 CP retVal = this.getTypedField(37, 0);
1885 return retVal;
1886 }
1887
1888
1889
1890
1891
1892 public CP getIn137_PolicyDeductible() {
1893 CP retVal = this.getTypedField(37, 0);
1894 return retVal;
1895 }
1896
1897
1898
1899
1900
1901
1902
1903 public CP getPolicyLimitAmount() {
1904 CP retVal = this.getTypedField(38, 0);
1905 return retVal;
1906 }
1907
1908
1909
1910
1911
1912 public CP getIn138_PolicyLimitAmount() {
1913 CP retVal = this.getTypedField(38, 0);
1914 return retVal;
1915 }
1916
1917
1918
1919
1920
1921
1922
1923 public NM getPolicyLimitDays() {
1924 NM retVal = this.getTypedField(39, 0);
1925 return retVal;
1926 }
1927
1928
1929
1930
1931
1932 public NM getIn139_PolicyLimitDays() {
1933 NM retVal = this.getTypedField(39, 0);
1934 return retVal;
1935 }
1936
1937
1938
1939
1940
1941
1942
1943 public CP getRoomRateSemiPrivate() {
1944 CP retVal = this.getTypedField(40, 0);
1945 return retVal;
1946 }
1947
1948
1949
1950
1951
1952 public CP getIn140_RoomRateSemiPrivate() {
1953 CP retVal = this.getTypedField(40, 0);
1954 return retVal;
1955 }
1956
1957
1958
1959
1960
1961
1962
1963 public CP getRoomRatePrivate() {
1964 CP retVal = this.getTypedField(41, 0);
1965 return retVal;
1966 }
1967
1968
1969
1970
1971
1972 public CP getIn141_RoomRatePrivate() {
1973 CP retVal = this.getTypedField(41, 0);
1974 return retVal;
1975 }
1976
1977
1978
1979
1980
1981
1982
1983 public CE getInsuredSEmploymentStatus() {
1984 CE retVal = this.getTypedField(42, 0);
1985 return retVal;
1986 }
1987
1988
1989
1990
1991
1992 public CE getIn142_InsuredSEmploymentStatus() {
1993 CE retVal = this.getTypedField(42, 0);
1994 return retVal;
1995 }
1996
1997
1998
1999
2000
2001
2002
2003 public IS getInsuredSAdministrativeSex() {
2004 IS retVal = this.getTypedField(43, 0);
2005 return retVal;
2006 }
2007
2008
2009
2010
2011
2012 public IS getIn143_InsuredSAdministrativeSex() {
2013 IS retVal = this.getTypedField(43, 0);
2014 return retVal;
2015 }
2016
2017
2018
2019
2020
2021 public XAD[] getInsuredSEmployerSAddress() {
2022 XAD[] retVal = this.getTypedField(44, new XAD[0]);
2023 return retVal;
2024 }
2025
2026
2027
2028
2029
2030 public XAD[] getIn144_InsuredSEmployerSAddress() {
2031 XAD[] retVal = this.getTypedField(44, new XAD[0]);
2032 return retVal;
2033 }
2034
2035
2036
2037
2038
2039
2040
2041 public int getInsuredSEmployerSAddressReps() {
2042 return this.getReps(44);
2043 }
2044
2045
2046
2047
2048
2049
2050
2051
2052 public XAD getInsuredSEmployerSAddress(int rep) {
2053 XAD retVal = this.getTypedField(44, rep);
2054 return retVal;
2055 }
2056
2057
2058
2059
2060
2061
2062
2063 public XAD getIn144_InsuredSEmployerSAddress(int rep) {
2064 XAD retVal = this.getTypedField(44, rep);
2065 return retVal;
2066 }
2067
2068
2069
2070
2071
2072
2073 public int getIn144_InsuredSEmployerSAddressReps() {
2074 return this.getReps(44);
2075 }
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085 public XAD insertInsuredSEmployerSAddress(int rep) throws HL7Exception {
2086 return (XAD) super.insertRepetition(44, rep);
2087 }
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097 public XAD insertIn144_InsuredSEmployerSAddress(int rep) throws HL7Exception {
2098 return (XAD) super.insertRepetition(44, rep);
2099 }
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109 public XAD removeInsuredSEmployerSAddress(int rep) throws HL7Exception {
2110 return (XAD) super.removeRepetition(44, rep);
2111 }
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121 public XAD removeIn144_InsuredSEmployerSAddress(int rep) throws HL7Exception {
2122 return (XAD) super.removeRepetition(44, rep);
2123 }
2124
2125
2126
2127
2128
2129
2130
2131
2132 public ST getVerificationStatus() {
2133 ST retVal = this.getTypedField(45, 0);
2134 return retVal;
2135 }
2136
2137
2138
2139
2140
2141 public ST getIn145_VerificationStatus() {
2142 ST retVal = this.getTypedField(45, 0);
2143 return retVal;
2144 }
2145
2146
2147
2148
2149
2150
2151
2152 public IS getPriorInsurancePlanID() {
2153 IS retVal = this.getTypedField(46, 0);
2154 return retVal;
2155 }
2156
2157
2158
2159
2160
2161 public IS getIn146_PriorInsurancePlanID() {
2162 IS retVal = this.getTypedField(46, 0);
2163 return retVal;
2164 }
2165
2166
2167
2168
2169
2170
2171
2172 public IS getCoverageType() {
2173 IS retVal = this.getTypedField(47, 0);
2174 return retVal;
2175 }
2176
2177
2178
2179
2180
2181 public IS getIn147_CoverageType() {
2182 IS retVal = this.getTypedField(47, 0);
2183 return retVal;
2184 }
2185
2186
2187
2188
2189
2190
2191
2192 public IS getHandicap() {
2193 IS retVal = this.getTypedField(48, 0);
2194 return retVal;
2195 }
2196
2197
2198
2199
2200
2201 public IS getIn148_Handicap() {
2202 IS retVal = this.getTypedField(48, 0);
2203 return retVal;
2204 }
2205
2206
2207
2208
2209
2210 public CX[] getInsuredSIDNumber() {
2211 CX[] retVal = this.getTypedField(49, new CX[0]);
2212 return retVal;
2213 }
2214
2215
2216
2217
2218
2219 public CX[] getIn149_InsuredSIDNumber() {
2220 CX[] retVal = this.getTypedField(49, new CX[0]);
2221 return retVal;
2222 }
2223
2224
2225
2226
2227
2228
2229
2230 public int getInsuredSIDNumberReps() {
2231 return this.getReps(49);
2232 }
2233
2234
2235
2236
2237
2238
2239
2240
2241 public CX getInsuredSIDNumber(int rep) {
2242 CX retVal = this.getTypedField(49, rep);
2243 return retVal;
2244 }
2245
2246
2247
2248
2249
2250
2251
2252 public CX getIn149_InsuredSIDNumber(int rep) {
2253 CX retVal = this.getTypedField(49, rep);
2254 return retVal;
2255 }
2256
2257
2258
2259
2260
2261
2262 public int getIn149_InsuredSIDNumberReps() {
2263 return this.getReps(49);
2264 }
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274 public CX insertInsuredSIDNumber(int rep) throws HL7Exception {
2275 return (CX) super.insertRepetition(49, rep);
2276 }
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286 public CX insertIn149_InsuredSIDNumber(int rep) throws HL7Exception {
2287 return (CX) super.insertRepetition(49, rep);
2288 }
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298 public CX removeInsuredSIDNumber(int rep) throws HL7Exception {
2299 return (CX) super.removeRepetition(49, rep);
2300 }
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310 public CX removeIn149_InsuredSIDNumber(int rep) throws HL7Exception {
2311 return (CX) super.removeRepetition(49, rep);
2312 }
2313
2314
2315
2316
2317
2318
2319
2320
2321 public IS getSignatureCode() {
2322 IS retVal = this.getTypedField(50, 0);
2323 return retVal;
2324 }
2325
2326
2327
2328
2329
2330 public IS getIn150_SignatureCode() {
2331 IS retVal = this.getTypedField(50, 0);
2332 return retVal;
2333 }
2334
2335
2336
2337
2338
2339
2340
2341 public DT getSignatureCodeDate() {
2342 DT retVal = this.getTypedField(51, 0);
2343 return retVal;
2344 }
2345
2346
2347
2348
2349
2350 public DT getIn151_SignatureCodeDate() {
2351 DT retVal = this.getTypedField(51, 0);
2352 return retVal;
2353 }
2354
2355
2356
2357
2358
2359
2360
2361 public ST getInsuredSBirthPlace() {
2362 ST retVal = this.getTypedField(52, 0);
2363 return retVal;
2364 }
2365
2366
2367
2368
2369
2370 public ST getIn152_InsuredSBirthPlace() {
2371 ST retVal = this.getTypedField(52, 0);
2372 return retVal;
2373 }
2374
2375
2376
2377
2378
2379
2380
2381 public IS getVIPIndicator() {
2382 IS retVal = this.getTypedField(53, 0);
2383 return retVal;
2384 }
2385
2386
2387
2388
2389
2390 public IS getIn153_VIPIndicator() {
2391 IS retVal = this.getTypedField(53, 0);
2392 return retVal;
2393 }
2394
2395
2396
2397
2398
2399
2400 protected Type createNewTypeWithoutReflection(int field) {
2401 switch (field) {
2402 case 0: return new SI(getMessage());
2403 case 1: return new CE(getMessage());
2404 case 2: return new CX(getMessage());
2405 case 3: return new XON(getMessage());
2406 case 4: return new XAD(getMessage());
2407 case 5: return new XPN(getMessage());
2408 case 6: return new XTN(getMessage());
2409 case 7: return new ST(getMessage());
2410 case 8: return new XON(getMessage());
2411 case 9: return new CX(getMessage());
2412 case 10: return new XON(getMessage());
2413 case 11: return new DT(getMessage());
2414 case 12: return new DT(getMessage());
2415 case 13: return new AUI(getMessage());
2416 case 14: return new IS(getMessage(), new Integer( 86 ));
2417 case 15: return new XPN(getMessage());
2418 case 16: return new CE(getMessage());
2419 case 17: return new TS(getMessage());
2420 case 18: return new XAD(getMessage());
2421 case 19: return new IS(getMessage(), new Integer( 135 ));
2422 case 20: return new IS(getMessage(), new Integer( 173 ));
2423 case 21: return new ST(getMessage());
2424 case 22: return new ID(getMessage(), new Integer( 136 ));
2425 case 23: return new DT(getMessage());
2426 case 24: return new ID(getMessage(), new Integer( 136 ));
2427 case 25: return new DT(getMessage());
2428 case 26: return new IS(getMessage(), new Integer( 93 ));
2429 case 27: return new ST(getMessage());
2430 case 28: return new TS(getMessage());
2431 case 29: return new XCN(getMessage());
2432 case 30: return new IS(getMessage(), new Integer( 98 ));
2433 case 31: return new IS(getMessage(), new Integer( 22 ));
2434 case 32: return new NM(getMessage());
2435 case 33: return new NM(getMessage());
2436 case 34: return new IS(getMessage(), new Integer( 42 ));
2437 case 35: return new ST(getMessage());
2438 case 36: return new CP(getMessage());
2439 case 37: return new CP(getMessage());
2440 case 38: return new NM(getMessage());
2441 case 39: return new CP(getMessage());
2442 case 40: return new CP(getMessage());
2443 case 41: return new CE(getMessage());
2444 case 42: return new IS(getMessage(), new Integer( 1 ));
2445 case 43: return new XAD(getMessage());
2446 case 44: return new ST(getMessage());
2447 case 45: return new IS(getMessage(), new Integer( 72 ));
2448 case 46: return new IS(getMessage(), new Integer( 309 ));
2449 case 47: return new IS(getMessage(), new Integer( 295 ));
2450 case 48: return new CX(getMessage());
2451 case 49: return new IS(getMessage(), new Integer( 535 ));
2452 case 50: return new DT(getMessage());
2453 case 51: return new ST(getMessage());
2454 case 52: return new IS(getMessage(), new Integer( 99 ));
2455 default: return null;
2456 }
2457 }
2458
2459
2460 }
2461