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