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.v26.segment;
35
36
37 import ca.uhn.hl7v2.model.v26.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 @SuppressWarnings("unused")
94 public class STF extends AbstractSegment {
95
96
97
98
99 public STF(Group parent, ModelClassFactory factory) {
100 super(parent, factory);
101 init(factory);
102 }
103
104 private void init(ModelClassFactory factory) {
105 try {
106 this.add(CWE.class, false, 1, 250, new Object[]{ getMessage() }, "Primary Key Value - STF");
107 this.add(CX.class, false, 0, 250, new Object[]{ getMessage() }, "Staff Identifier List");
108 this.add(XPN.class, false, 0, 250, new Object[]{ getMessage() }, "Staff Name");
109 this.add(IS.class, false, 0, 2, new Object[]{ getMessage(), new Integer(182) }, "Staff Type");
110 this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(1) }, "Administrative Sex");
111 this.add(DTM.class, false, 1, 24, new Object[]{ getMessage() }, "Date/Time of Birth");
112 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(183) }, "Active/Inactive Flag");
113 this.add(CWE.class, false, 0, 250, new Object[]{ getMessage() }, "Department");
114 this.add(CWE.class, false, 0, 250, new Object[]{ getMessage() }, "Hospital Service - STF");
115 this.add(XTN.class, false, 0, 250, new Object[]{ getMessage() }, "Phone");
116 this.add(XAD.class, false, 0, 250, new Object[]{ getMessage() }, "Office/Home Address/Birthplace");
117 this.add(DIN.class, false, 0, 276, new Object[]{ getMessage() }, "Institution Activation Date");
118 this.add(DIN.class, false, 0, 276, new Object[]{ getMessage() }, "Institution Inactivation Date");
119 this.add(CWE.class, false, 0, 250, new Object[]{ getMessage() }, "Backup Person ID");
120 this.add(ST.class, false, 0, 40, new Object[]{ getMessage() }, "E-Mail Address");
121 this.add(CWE.class, false, 1, 705, new Object[]{ getMessage() }, "Preferred Method of Contact");
122 this.add(CWE.class, false, 1, 705, new Object[]{ getMessage() }, "Marital Status");
123 this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Job Title");
124 this.add(JCC.class, false, 1, 20, new Object[]{ getMessage() }, "Job Code/Class");
125 this.add(CWE.class, false, 1, 250, new Object[]{ getMessage() }, "Employment Status Code");
126 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Additional Insured on Auto");
127 this.add(DLN.class, false, 1, 25, new Object[]{ getMessage() }, "Driver's License Number - Staff");
128 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Copy Auto Ins");
129 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Auto Ins Expires");
130 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Date Last DMV Review");
131 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Date Next DMV Review");
132 this.add(CWE.class, false, 1, 705, new Object[]{ getMessage() }, "Race");
133 this.add(CWE.class, false, 1, 705, new Object[]{ getMessage() }, "Ethnic Group");
134 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Re-activation Approval Indicator");
135 this.add(CWE.class, false, 0, 705, new Object[]{ getMessage() }, "Citizenship");
136 this.add(DTM.class, false, 1, 8, new Object[]{ getMessage() }, "Date/Time of Death");
137 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Death Indicator");
138 this.add(CWE.class, false, 1, 250, new Object[]{ getMessage() }, "Institution Relationship Type Code");
139 this.add(DR.class, false, 1, 52, new Object[]{ getMessage() }, "Institution Relationship Period");
140 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Expected Return Date");
141 this.add(CWE.class, false, 0, 250, new Object[]{ getMessage() }, "Cost Center Code");
142 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Generic Classification Indicator");
143 this.add(CWE.class, false, 1, 250, new Object[]{ getMessage() }, "Inactive Reason Code");
144 this.add(CWE.class, false, 0, 1, new Object[]{ getMessage() }, "Generic resource type or category");
145 } catch(HL7Exception e) {
146 log.error("Unexpected error creating STF - this is probably a bug in the source code generator.", e);
147 }
148 }
149
150
151
152
153
154
155
156 public CWE getPrimaryKeyValueSTF() {
157 CWE retVal = this.getTypedField(1, 0);
158 return retVal;
159 }
160
161
162
163
164
165 public CWE getStf1_PrimaryKeyValueSTF() {
166 CWE retVal = this.getTypedField(1, 0);
167 return retVal;
168 }
169
170
171
172
173
174 public CX[] getStaffIdentifierList() {
175 CX[] retVal = this.getTypedField(2, new CX[0]);
176 return retVal;
177 }
178
179
180
181
182
183 public CX[] getStf2_StaffIdentifierList() {
184 CX[] retVal = this.getTypedField(2, new CX[0]);
185 return retVal;
186 }
187
188
189
190
191
192
193
194 public int getStaffIdentifierListReps() {
195 return this.getReps(2);
196 }
197
198
199
200
201
202
203
204
205 public CX getStaffIdentifierList(int rep) {
206 CX retVal = this.getTypedField(2, rep);
207 return retVal;
208 }
209
210
211
212
213
214
215
216 public CX getStf2_StaffIdentifierList(int rep) {
217 CX retVal = this.getTypedField(2, rep);
218 return retVal;
219 }
220
221
222
223
224
225
226 public int getStf2_StaffIdentifierListReps() {
227 return this.getReps(2);
228 }
229
230
231
232
233
234
235
236
237
238 public CX insertStaffIdentifierList(int rep) throws HL7Exception {
239 return (CX) super.insertRepetition(2, rep);
240 }
241
242
243
244
245
246
247
248
249
250 public CX insertStf2_StaffIdentifierList(int rep) throws HL7Exception {
251 return (CX) super.insertRepetition(2, rep);
252 }
253
254
255
256
257
258
259
260
261
262 public CX removeStaffIdentifierList(int rep) throws HL7Exception {
263 return (CX) super.removeRepetition(2, rep);
264 }
265
266
267
268
269
270
271
272
273
274 public CX removeStf2_StaffIdentifierList(int rep) throws HL7Exception {
275 return (CX) super.removeRepetition(2, rep);
276 }
277
278
279
280
281
282
283 public XPN[] getStaffName() {
284 XPN[] retVal = this.getTypedField(3, new XPN[0]);
285 return retVal;
286 }
287
288
289
290
291
292 public XPN[] getStf3_StaffName() {
293 XPN[] retVal = this.getTypedField(3, new XPN[0]);
294 return retVal;
295 }
296
297
298
299
300
301
302
303 public int getStaffNameReps() {
304 return this.getReps(3);
305 }
306
307
308
309
310
311
312
313
314 public XPN getStaffName(int rep) {
315 XPN retVal = this.getTypedField(3, rep);
316 return retVal;
317 }
318
319
320
321
322
323
324
325 public XPN getStf3_StaffName(int rep) {
326 XPN retVal = this.getTypedField(3, rep);
327 return retVal;
328 }
329
330
331
332
333
334
335 public int getStf3_StaffNameReps() {
336 return this.getReps(3);
337 }
338
339
340
341
342
343
344
345
346
347 public XPN insertStaffName(int rep) throws HL7Exception {
348 return (XPN) super.insertRepetition(3, rep);
349 }
350
351
352
353
354
355
356
357
358
359 public XPN insertStf3_StaffName(int rep) throws HL7Exception {
360 return (XPN) super.insertRepetition(3, rep);
361 }
362
363
364
365
366
367
368
369
370
371 public XPN removeStaffName(int rep) throws HL7Exception {
372 return (XPN) super.removeRepetition(3, rep);
373 }
374
375
376
377
378
379
380
381
382
383 public XPN removeStf3_StaffName(int rep) throws HL7Exception {
384 return (XPN) super.removeRepetition(3, rep);
385 }
386
387
388
389
390
391
392 public IS[] getStaffType() {
393 IS[] retVal = this.getTypedField(4, new IS[0]);
394 return retVal;
395 }
396
397
398
399
400
401 public IS[] getStf4_StaffType() {
402 IS[] retVal = this.getTypedField(4, new IS[0]);
403 return retVal;
404 }
405
406
407
408
409
410
411
412 public int getStaffTypeReps() {
413 return this.getReps(4);
414 }
415
416
417
418
419
420
421
422
423 public IS getStaffType(int rep) {
424 IS retVal = this.getTypedField(4, rep);
425 return retVal;
426 }
427
428
429
430
431
432
433
434 public IS getStf4_StaffType(int rep) {
435 IS retVal = this.getTypedField(4, rep);
436 return retVal;
437 }
438
439
440
441
442
443
444 public int getStf4_StaffTypeReps() {
445 return this.getReps(4);
446 }
447
448
449
450
451
452
453
454
455
456 public IS insertStaffType(int rep) throws HL7Exception {
457 return (IS) super.insertRepetition(4, rep);
458 }
459
460
461
462
463
464
465
466
467
468 public IS insertStf4_StaffType(int rep) throws HL7Exception {
469 return (IS) super.insertRepetition(4, rep);
470 }
471
472
473
474
475
476
477
478
479
480 public IS removeStaffType(int rep) throws HL7Exception {
481 return (IS) super.removeRepetition(4, rep);
482 }
483
484
485
486
487
488
489
490
491
492 public IS removeStf4_StaffType(int rep) throws HL7Exception {
493 return (IS) super.removeRepetition(4, rep);
494 }
495
496
497
498
499
500
501
502
503 public IS getAdministrativeSex() {
504 IS retVal = this.getTypedField(5, 0);
505 return retVal;
506 }
507
508
509
510
511
512 public IS getStf5_AdministrativeSex() {
513 IS retVal = this.getTypedField(5, 0);
514 return retVal;
515 }
516
517
518
519
520
521
522
523 public DTM getDateTimeOfBirth() {
524 DTM retVal = this.getTypedField(6, 0);
525 return retVal;
526 }
527
528
529
530
531
532 public DTM getStf6_DateTimeOfBirth() {
533 DTM retVal = this.getTypedField(6, 0);
534 return retVal;
535 }
536
537
538
539
540
541
542
543 public ID getActiveInactiveFlag() {
544 ID retVal = this.getTypedField(7, 0);
545 return retVal;
546 }
547
548
549
550
551
552 public ID getStf7_ActiveInactiveFlag() {
553 ID retVal = this.getTypedField(7, 0);
554 return retVal;
555 }
556
557
558
559
560
561 public CWE[] getDepartment() {
562 CWE[] retVal = this.getTypedField(8, new CWE[0]);
563 return retVal;
564 }
565
566
567
568
569
570 public CWE[] getStf8_Department() {
571 CWE[] retVal = this.getTypedField(8, new CWE[0]);
572 return retVal;
573 }
574
575
576
577
578
579
580
581 public int getDepartmentReps() {
582 return this.getReps(8);
583 }
584
585
586
587
588
589
590
591
592 public CWE getDepartment(int rep) {
593 CWE retVal = this.getTypedField(8, rep);
594 return retVal;
595 }
596
597
598
599
600
601
602
603 public CWE getStf8_Department(int rep) {
604 CWE retVal = this.getTypedField(8, rep);
605 return retVal;
606 }
607
608
609
610
611
612
613 public int getStf8_DepartmentReps() {
614 return this.getReps(8);
615 }
616
617
618
619
620
621
622
623
624
625 public CWE insertDepartment(int rep) throws HL7Exception {
626 return (CWE) super.insertRepetition(8, rep);
627 }
628
629
630
631
632
633
634
635
636
637 public CWE insertStf8_Department(int rep) throws HL7Exception {
638 return (CWE) super.insertRepetition(8, rep);
639 }
640
641
642
643
644
645
646
647
648
649 public CWE removeDepartment(int rep) throws HL7Exception {
650 return (CWE) super.removeRepetition(8, rep);
651 }
652
653
654
655
656
657
658
659
660
661 public CWE removeStf8_Department(int rep) throws HL7Exception {
662 return (CWE) super.removeRepetition(8, rep);
663 }
664
665
666
667
668
669
670 public CWE[] getHospitalServiceSTF() {
671 CWE[] retVal = this.getTypedField(9, new CWE[0]);
672 return retVal;
673 }
674
675
676
677
678
679 public CWE[] getStf9_HospitalServiceSTF() {
680 CWE[] retVal = this.getTypedField(9, new CWE[0]);
681 return retVal;
682 }
683
684
685
686
687
688
689
690 public int getHospitalServiceSTFReps() {
691 return this.getReps(9);
692 }
693
694
695
696
697
698
699
700
701 public CWE getHospitalServiceSTF(int rep) {
702 CWE retVal = this.getTypedField(9, rep);
703 return retVal;
704 }
705
706
707
708
709
710
711
712 public CWE getStf9_HospitalServiceSTF(int rep) {
713 CWE retVal = this.getTypedField(9, rep);
714 return retVal;
715 }
716
717
718
719
720
721
722 public int getStf9_HospitalServiceSTFReps() {
723 return this.getReps(9);
724 }
725
726
727
728
729
730
731
732
733
734 public CWE insertHospitalServiceSTF(int rep) throws HL7Exception {
735 return (CWE) super.insertRepetition(9, rep);
736 }
737
738
739
740
741
742
743
744
745
746 public CWE insertStf9_HospitalServiceSTF(int rep) throws HL7Exception {
747 return (CWE) super.insertRepetition(9, rep);
748 }
749
750
751
752
753
754
755
756
757
758 public CWE removeHospitalServiceSTF(int rep) throws HL7Exception {
759 return (CWE) super.removeRepetition(9, rep);
760 }
761
762
763
764
765
766
767
768
769
770 public CWE removeStf9_HospitalServiceSTF(int rep) throws HL7Exception {
771 return (CWE) super.removeRepetition(9, rep);
772 }
773
774
775
776
777
778
779 public XTN[] getPhone() {
780 XTN[] retVal = this.getTypedField(10, new XTN[0]);
781 return retVal;
782 }
783
784
785
786
787
788 public XTN[] getStf10_Phone() {
789 XTN[] retVal = this.getTypedField(10, new XTN[0]);
790 return retVal;
791 }
792
793
794
795
796
797
798
799 public int getPhoneReps() {
800 return this.getReps(10);
801 }
802
803
804
805
806
807
808
809
810 public XTN getPhone(int rep) {
811 XTN retVal = this.getTypedField(10, rep);
812 return retVal;
813 }
814
815
816
817
818
819
820
821 public XTN getStf10_Phone(int rep) {
822 XTN retVal = this.getTypedField(10, rep);
823 return retVal;
824 }
825
826
827
828
829
830
831 public int getStf10_PhoneReps() {
832 return this.getReps(10);
833 }
834
835
836
837
838
839
840
841
842
843 public XTN insertPhone(int rep) throws HL7Exception {
844 return (XTN) super.insertRepetition(10, rep);
845 }
846
847
848
849
850
851
852
853
854
855 public XTN insertStf10_Phone(int rep) throws HL7Exception {
856 return (XTN) super.insertRepetition(10, rep);
857 }
858
859
860
861
862
863
864
865
866
867 public XTN removePhone(int rep) throws HL7Exception {
868 return (XTN) super.removeRepetition(10, rep);
869 }
870
871
872
873
874
875
876
877
878
879 public XTN removeStf10_Phone(int rep) throws HL7Exception {
880 return (XTN) super.removeRepetition(10, rep);
881 }
882
883
884
885
886
887
888 public XAD[] getOfficeHomeAddressBirthplace() {
889 XAD[] retVal = this.getTypedField(11, new XAD[0]);
890 return retVal;
891 }
892
893
894
895
896
897 public XAD[] getStf11_OfficeHomeAddressBirthplace() {
898 XAD[] retVal = this.getTypedField(11, new XAD[0]);
899 return retVal;
900 }
901
902
903
904
905
906
907
908 public int getOfficeHomeAddressBirthplaceReps() {
909 return this.getReps(11);
910 }
911
912
913
914
915
916
917
918
919 public XAD getOfficeHomeAddressBirthplace(int rep) {
920 XAD retVal = this.getTypedField(11, rep);
921 return retVal;
922 }
923
924
925
926
927
928
929
930 public XAD getStf11_OfficeHomeAddressBirthplace(int rep) {
931 XAD retVal = this.getTypedField(11, rep);
932 return retVal;
933 }
934
935
936
937
938
939
940 public int getStf11_OfficeHomeAddressBirthplaceReps() {
941 return this.getReps(11);
942 }
943
944
945
946
947
948
949
950
951
952 public XAD insertOfficeHomeAddressBirthplace(int rep) throws HL7Exception {
953 return (XAD) super.insertRepetition(11, rep);
954 }
955
956
957
958
959
960
961
962
963
964 public XAD insertStf11_OfficeHomeAddressBirthplace(int rep) throws HL7Exception {
965 return (XAD) super.insertRepetition(11, rep);
966 }
967
968
969
970
971
972
973
974
975
976 public XAD removeOfficeHomeAddressBirthplace(int rep) throws HL7Exception {
977 return (XAD) super.removeRepetition(11, rep);
978 }
979
980
981
982
983
984
985
986
987
988 public XAD removeStf11_OfficeHomeAddressBirthplace(int rep) throws HL7Exception {
989 return (XAD) super.removeRepetition(11, rep);
990 }
991
992
993
994
995
996
997 public DIN[] getInstitutionActivationDate() {
998 DIN[] retVal = this.getTypedField(12, new DIN[0]);
999 return retVal;
1000 }
1001
1002
1003
1004
1005
1006 public DIN[] getStf12_InstitutionActivationDate() {
1007 DIN[] retVal = this.getTypedField(12, new DIN[0]);
1008 return retVal;
1009 }
1010
1011
1012
1013
1014
1015
1016
1017 public int getInstitutionActivationDateReps() {
1018 return this.getReps(12);
1019 }
1020
1021
1022
1023
1024
1025
1026
1027
1028 public DIN getInstitutionActivationDate(int rep) {
1029 DIN retVal = this.getTypedField(12, rep);
1030 return retVal;
1031 }
1032
1033
1034
1035
1036
1037
1038
1039 public DIN getStf12_InstitutionActivationDate(int rep) {
1040 DIN retVal = this.getTypedField(12, rep);
1041 return retVal;
1042 }
1043
1044
1045
1046
1047
1048
1049 public int getStf12_InstitutionActivationDateReps() {
1050 return this.getReps(12);
1051 }
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061 public DIN insertInstitutionActivationDate(int rep) throws HL7Exception {
1062 return (DIN) super.insertRepetition(12, rep);
1063 }
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073 public DIN insertStf12_InstitutionActivationDate(int rep) throws HL7Exception {
1074 return (DIN) super.insertRepetition(12, rep);
1075 }
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085 public DIN removeInstitutionActivationDate(int rep) throws HL7Exception {
1086 return (DIN) super.removeRepetition(12, rep);
1087 }
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097 public DIN removeStf12_InstitutionActivationDate(int rep) throws HL7Exception {
1098 return (DIN) super.removeRepetition(12, rep);
1099 }
1100
1101
1102
1103
1104
1105
1106 public DIN[] getInstitutionInactivationDate() {
1107 DIN[] retVal = this.getTypedField(13, new DIN[0]);
1108 return retVal;
1109 }
1110
1111
1112
1113
1114
1115 public DIN[] getStf13_InstitutionInactivationDate() {
1116 DIN[] retVal = this.getTypedField(13, new DIN[0]);
1117 return retVal;
1118 }
1119
1120
1121
1122
1123
1124
1125
1126 public int getInstitutionInactivationDateReps() {
1127 return this.getReps(13);
1128 }
1129
1130
1131
1132
1133
1134
1135
1136
1137 public DIN getInstitutionInactivationDate(int rep) {
1138 DIN retVal = this.getTypedField(13, rep);
1139 return retVal;
1140 }
1141
1142
1143
1144
1145
1146
1147
1148 public DIN getStf13_InstitutionInactivationDate(int rep) {
1149 DIN retVal = this.getTypedField(13, rep);
1150 return retVal;
1151 }
1152
1153
1154
1155
1156
1157
1158 public int getStf13_InstitutionInactivationDateReps() {
1159 return this.getReps(13);
1160 }
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170 public DIN insertInstitutionInactivationDate(int rep) throws HL7Exception {
1171 return (DIN) super.insertRepetition(13, rep);
1172 }
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182 public DIN insertStf13_InstitutionInactivationDate(int rep) throws HL7Exception {
1183 return (DIN) super.insertRepetition(13, rep);
1184 }
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194 public DIN removeInstitutionInactivationDate(int rep) throws HL7Exception {
1195 return (DIN) super.removeRepetition(13, rep);
1196 }
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206 public DIN removeStf13_InstitutionInactivationDate(int rep) throws HL7Exception {
1207 return (DIN) super.removeRepetition(13, rep);
1208 }
1209
1210
1211
1212
1213
1214
1215 public CWE[] getBackupPersonID() {
1216 CWE[] retVal = this.getTypedField(14, new CWE[0]);
1217 return retVal;
1218 }
1219
1220
1221
1222
1223
1224 public CWE[] getStf14_BackupPersonID() {
1225 CWE[] retVal = this.getTypedField(14, new CWE[0]);
1226 return retVal;
1227 }
1228
1229
1230
1231
1232
1233
1234
1235 public int getBackupPersonIDReps() {
1236 return this.getReps(14);
1237 }
1238
1239
1240
1241
1242
1243
1244
1245
1246 public CWE getBackupPersonID(int rep) {
1247 CWE retVal = this.getTypedField(14, rep);
1248 return retVal;
1249 }
1250
1251
1252
1253
1254
1255
1256
1257 public CWE getStf14_BackupPersonID(int rep) {
1258 CWE retVal = this.getTypedField(14, rep);
1259 return retVal;
1260 }
1261
1262
1263
1264
1265
1266
1267 public int getStf14_BackupPersonIDReps() {
1268 return this.getReps(14);
1269 }
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279 public CWE insertBackupPersonID(int rep) throws HL7Exception {
1280 return (CWE) super.insertRepetition(14, rep);
1281 }
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291 public CWE insertStf14_BackupPersonID(int rep) throws HL7Exception {
1292 return (CWE) super.insertRepetition(14, rep);
1293 }
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303 public CWE removeBackupPersonID(int rep) throws HL7Exception {
1304 return (CWE) super.removeRepetition(14, rep);
1305 }
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315 public CWE removeStf14_BackupPersonID(int rep) throws HL7Exception {
1316 return (CWE) super.removeRepetition(14, rep);
1317 }
1318
1319
1320
1321
1322
1323
1324 public ST[] getEMailAddress() {
1325 ST[] retVal = this.getTypedField(15, new ST[0]);
1326 return retVal;
1327 }
1328
1329
1330
1331
1332
1333 public ST[] getStf15_EMailAddress() {
1334 ST[] retVal = this.getTypedField(15, new ST[0]);
1335 return retVal;
1336 }
1337
1338
1339
1340
1341
1342
1343
1344 public int getEMailAddressReps() {
1345 return this.getReps(15);
1346 }
1347
1348
1349
1350
1351
1352
1353
1354
1355 public ST getEMailAddress(int rep) {
1356 ST retVal = this.getTypedField(15, rep);
1357 return retVal;
1358 }
1359
1360
1361
1362
1363
1364
1365
1366 public ST getStf15_EMailAddress(int rep) {
1367 ST retVal = this.getTypedField(15, rep);
1368 return retVal;
1369 }
1370
1371
1372
1373
1374
1375
1376 public int getStf15_EMailAddressReps() {
1377 return this.getReps(15);
1378 }
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388 public ST insertEMailAddress(int rep) throws HL7Exception {
1389 return (ST) super.insertRepetition(15, rep);
1390 }
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400 public ST insertStf15_EMailAddress(int rep) throws HL7Exception {
1401 return (ST) super.insertRepetition(15, rep);
1402 }
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412 public ST removeEMailAddress(int rep) throws HL7Exception {
1413 return (ST) super.removeRepetition(15, rep);
1414 }
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424 public ST removeStf15_EMailAddress(int rep) throws HL7Exception {
1425 return (ST) super.removeRepetition(15, rep);
1426 }
1427
1428
1429
1430
1431
1432
1433
1434
1435 public CWE getPreferredMethodOfContact() {
1436 CWE retVal = this.getTypedField(16, 0);
1437 return retVal;
1438 }
1439
1440
1441
1442
1443
1444 public CWE getStf16_PreferredMethodOfContact() {
1445 CWE retVal = this.getTypedField(16, 0);
1446 return retVal;
1447 }
1448
1449
1450
1451
1452
1453
1454
1455 public CWE getMaritalStatus() {
1456 CWE retVal = this.getTypedField(17, 0);
1457 return retVal;
1458 }
1459
1460
1461
1462
1463
1464 public CWE getStf17_MaritalStatus() {
1465 CWE retVal = this.getTypedField(17, 0);
1466 return retVal;
1467 }
1468
1469
1470
1471
1472
1473
1474
1475 public ST getJobTitle() {
1476 ST retVal = this.getTypedField(18, 0);
1477 return retVal;
1478 }
1479
1480
1481
1482
1483
1484 public ST getStf18_JobTitle() {
1485 ST retVal = this.getTypedField(18, 0);
1486 return retVal;
1487 }
1488
1489
1490
1491
1492
1493
1494
1495 public JCC getJobCodeClass() {
1496 JCC retVal = this.getTypedField(19, 0);
1497 return retVal;
1498 }
1499
1500
1501
1502
1503
1504 public JCC getStf19_JobCodeClass() {
1505 JCC retVal = this.getTypedField(19, 0);
1506 return retVal;
1507 }
1508
1509
1510
1511
1512
1513
1514
1515 public CWE getEmploymentStatusCode() {
1516 CWE retVal = this.getTypedField(20, 0);
1517 return retVal;
1518 }
1519
1520
1521
1522
1523
1524 public CWE getStf20_EmploymentStatusCode() {
1525 CWE retVal = this.getTypedField(20, 0);
1526 return retVal;
1527 }
1528
1529
1530
1531
1532
1533
1534
1535 public ID getAdditionalInsuredOnAuto() {
1536 ID retVal = this.getTypedField(21, 0);
1537 return retVal;
1538 }
1539
1540
1541
1542
1543
1544 public ID getStf21_AdditionalInsuredOnAuto() {
1545 ID retVal = this.getTypedField(21, 0);
1546 return retVal;
1547 }
1548
1549
1550
1551
1552
1553
1554
1555 public DLN getDriverSLicenseNumberStaff() {
1556 DLN retVal = this.getTypedField(22, 0);
1557 return retVal;
1558 }
1559
1560
1561
1562
1563
1564 public DLN getStf22_DriverSLicenseNumberStaff() {
1565 DLN retVal = this.getTypedField(22, 0);
1566 return retVal;
1567 }
1568
1569
1570
1571
1572
1573
1574
1575 public ID getCopyAutoIns() {
1576 ID retVal = this.getTypedField(23, 0);
1577 return retVal;
1578 }
1579
1580
1581
1582
1583
1584 public ID getStf23_CopyAutoIns() {
1585 ID retVal = this.getTypedField(23, 0);
1586 return retVal;
1587 }
1588
1589
1590
1591
1592
1593
1594
1595 public DT getAutoInsExpires() {
1596 DT retVal = this.getTypedField(24, 0);
1597 return retVal;
1598 }
1599
1600
1601
1602
1603
1604 public DT getStf24_AutoInsExpires() {
1605 DT retVal = this.getTypedField(24, 0);
1606 return retVal;
1607 }
1608
1609
1610
1611
1612
1613
1614
1615 public DT getDateLastDMVReview() {
1616 DT retVal = this.getTypedField(25, 0);
1617 return retVal;
1618 }
1619
1620
1621
1622
1623
1624 public DT getStf25_DateLastDMVReview() {
1625 DT retVal = this.getTypedField(25, 0);
1626 return retVal;
1627 }
1628
1629
1630
1631
1632
1633
1634
1635 public DT getDateNextDMVReview() {
1636 DT retVal = this.getTypedField(26, 0);
1637 return retVal;
1638 }
1639
1640
1641
1642
1643
1644 public DT getStf26_DateNextDMVReview() {
1645 DT retVal = this.getTypedField(26, 0);
1646 return retVal;
1647 }
1648
1649
1650
1651
1652
1653
1654
1655 public CWE getRace() {
1656 CWE retVal = this.getTypedField(27, 0);
1657 return retVal;
1658 }
1659
1660
1661
1662
1663
1664 public CWE getStf27_Race() {
1665 CWE retVal = this.getTypedField(27, 0);
1666 return retVal;
1667 }
1668
1669
1670
1671
1672
1673
1674
1675 public CWE getEthnicGroup() {
1676 CWE retVal = this.getTypedField(28, 0);
1677 return retVal;
1678 }
1679
1680
1681
1682
1683
1684 public CWE getStf28_EthnicGroup() {
1685 CWE retVal = this.getTypedField(28, 0);
1686 return retVal;
1687 }
1688
1689
1690
1691
1692
1693
1694
1695 public ID getReActivationApprovalIndicator() {
1696 ID retVal = this.getTypedField(29, 0);
1697 return retVal;
1698 }
1699
1700
1701
1702
1703
1704 public ID getStf29_ReActivationApprovalIndicator() {
1705 ID retVal = this.getTypedField(29, 0);
1706 return retVal;
1707 }
1708
1709
1710
1711
1712
1713 public CWE[] getCitizenship() {
1714 CWE[] retVal = this.getTypedField(30, new CWE[0]);
1715 return retVal;
1716 }
1717
1718
1719
1720
1721
1722 public CWE[] getStf30_Citizenship() {
1723 CWE[] retVal = this.getTypedField(30, new CWE[0]);
1724 return retVal;
1725 }
1726
1727
1728
1729
1730
1731
1732
1733 public int getCitizenshipReps() {
1734 return this.getReps(30);
1735 }
1736
1737
1738
1739
1740
1741
1742
1743
1744 public CWE getCitizenship(int rep) {
1745 CWE retVal = this.getTypedField(30, rep);
1746 return retVal;
1747 }
1748
1749
1750
1751
1752
1753
1754
1755 public CWE getStf30_Citizenship(int rep) {
1756 CWE retVal = this.getTypedField(30, rep);
1757 return retVal;
1758 }
1759
1760
1761
1762
1763
1764
1765 public int getStf30_CitizenshipReps() {
1766 return this.getReps(30);
1767 }
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777 public CWE insertCitizenship(int rep) throws HL7Exception {
1778 return (CWE) super.insertRepetition(30, rep);
1779 }
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789 public CWE insertStf30_Citizenship(int rep) throws HL7Exception {
1790 return (CWE) super.insertRepetition(30, rep);
1791 }
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801 public CWE removeCitizenship(int rep) throws HL7Exception {
1802 return (CWE) super.removeRepetition(30, rep);
1803 }
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813 public CWE removeStf30_Citizenship(int rep) throws HL7Exception {
1814 return (CWE) super.removeRepetition(30, rep);
1815 }
1816
1817
1818
1819
1820
1821
1822
1823
1824 public DTM getDateTimeOfDeath() {
1825 DTM retVal = this.getTypedField(31, 0);
1826 return retVal;
1827 }
1828
1829
1830
1831
1832
1833 public DTM getStf31_DateTimeOfDeath() {
1834 DTM retVal = this.getTypedField(31, 0);
1835 return retVal;
1836 }
1837
1838
1839
1840
1841
1842
1843
1844 public ID getDeathIndicator() {
1845 ID retVal = this.getTypedField(32, 0);
1846 return retVal;
1847 }
1848
1849
1850
1851
1852
1853 public ID getStf32_DeathIndicator() {
1854 ID retVal = this.getTypedField(32, 0);
1855 return retVal;
1856 }
1857
1858
1859
1860
1861
1862
1863
1864 public CWE getInstitutionRelationshipTypeCode() {
1865 CWE retVal = this.getTypedField(33, 0);
1866 return retVal;
1867 }
1868
1869
1870
1871
1872
1873 public CWE getStf33_InstitutionRelationshipTypeCode() {
1874 CWE retVal = this.getTypedField(33, 0);
1875 return retVal;
1876 }
1877
1878
1879
1880
1881
1882
1883
1884 public DR getInstitutionRelationshipPeriod() {
1885 DR retVal = this.getTypedField(34, 0);
1886 return retVal;
1887 }
1888
1889
1890
1891
1892
1893 public DR getStf34_InstitutionRelationshipPeriod() {
1894 DR retVal = this.getTypedField(34, 0);
1895 return retVal;
1896 }
1897
1898
1899
1900
1901
1902
1903
1904 public DT getExpectedReturnDate() {
1905 DT retVal = this.getTypedField(35, 0);
1906 return retVal;
1907 }
1908
1909
1910
1911
1912
1913 public DT getStf35_ExpectedReturnDate() {
1914 DT retVal = this.getTypedField(35, 0);
1915 return retVal;
1916 }
1917
1918
1919
1920
1921
1922 public CWE[] getCostCenterCode() {
1923 CWE[] retVal = this.getTypedField(36, new CWE[0]);
1924 return retVal;
1925 }
1926
1927
1928
1929
1930
1931 public CWE[] getStf36_CostCenterCode() {
1932 CWE[] retVal = this.getTypedField(36, new CWE[0]);
1933 return retVal;
1934 }
1935
1936
1937
1938
1939
1940
1941
1942 public int getCostCenterCodeReps() {
1943 return this.getReps(36);
1944 }
1945
1946
1947
1948
1949
1950
1951
1952
1953 public CWE getCostCenterCode(int rep) {
1954 CWE retVal = this.getTypedField(36, rep);
1955 return retVal;
1956 }
1957
1958
1959
1960
1961
1962
1963
1964 public CWE getStf36_CostCenterCode(int rep) {
1965 CWE retVal = this.getTypedField(36, rep);
1966 return retVal;
1967 }
1968
1969
1970
1971
1972
1973
1974 public int getStf36_CostCenterCodeReps() {
1975 return this.getReps(36);
1976 }
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986 public CWE insertCostCenterCode(int rep) throws HL7Exception {
1987 return (CWE) super.insertRepetition(36, rep);
1988 }
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998 public CWE insertStf36_CostCenterCode(int rep) throws HL7Exception {
1999 return (CWE) super.insertRepetition(36, rep);
2000 }
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010 public CWE removeCostCenterCode(int rep) throws HL7Exception {
2011 return (CWE) super.removeRepetition(36, rep);
2012 }
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022 public CWE removeStf36_CostCenterCode(int rep) throws HL7Exception {
2023 return (CWE) super.removeRepetition(36, rep);
2024 }
2025
2026
2027
2028
2029
2030
2031
2032
2033 public ID getGenericClassificationIndicator() {
2034 ID retVal = this.getTypedField(37, 0);
2035 return retVal;
2036 }
2037
2038
2039
2040
2041
2042 public ID getStf37_GenericClassificationIndicator() {
2043 ID retVal = this.getTypedField(37, 0);
2044 return retVal;
2045 }
2046
2047
2048
2049
2050
2051
2052
2053 public CWE getInactiveReasonCode() {
2054 CWE retVal = this.getTypedField(38, 0);
2055 return retVal;
2056 }
2057
2058
2059
2060
2061
2062 public CWE getStf38_InactiveReasonCode() {
2063 CWE retVal = this.getTypedField(38, 0);
2064 return retVal;
2065 }
2066
2067
2068
2069
2070
2071 public CWE[] getGenericResourceTypeOrCategory() {
2072 CWE[] retVal = this.getTypedField(39, new CWE[0]);
2073 return retVal;
2074 }
2075
2076
2077
2078
2079
2080 public CWE[] getStf39_GenericResourceTypeOrCategory() {
2081 CWE[] retVal = this.getTypedField(39, new CWE[0]);
2082 return retVal;
2083 }
2084
2085
2086
2087
2088
2089
2090
2091 public int getGenericResourceTypeOrCategoryReps() {
2092 return this.getReps(39);
2093 }
2094
2095
2096
2097
2098
2099
2100
2101
2102 public CWE getGenericResourceTypeOrCategory(int rep) {
2103 CWE retVal = this.getTypedField(39, rep);
2104 return retVal;
2105 }
2106
2107
2108
2109
2110
2111
2112
2113 public CWE getStf39_GenericResourceTypeOrCategory(int rep) {
2114 CWE retVal = this.getTypedField(39, rep);
2115 return retVal;
2116 }
2117
2118
2119
2120
2121
2122
2123 public int getStf39_GenericResourceTypeOrCategoryReps() {
2124 return this.getReps(39);
2125 }
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135 public CWE insertGenericResourceTypeOrCategory(int rep) throws HL7Exception {
2136 return (CWE) super.insertRepetition(39, rep);
2137 }
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147 public CWE insertStf39_GenericResourceTypeOrCategory(int rep) throws HL7Exception {
2148 return (CWE) super.insertRepetition(39, rep);
2149 }
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159 public CWE removeGenericResourceTypeOrCategory(int rep) throws HL7Exception {
2160 return (CWE) super.removeRepetition(39, rep);
2161 }
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171 public CWE removeStf39_GenericResourceTypeOrCategory(int rep) throws HL7Exception {
2172 return (CWE) super.removeRepetition(39, rep);
2173 }
2174
2175
2176
2177
2178
2179
2180
2181 protected Type createNewTypeWithoutReflection(int field) {
2182 switch (field) {
2183 case 0: return new CWE(getMessage());
2184 case 1: return new CX(getMessage());
2185 case 2: return new XPN(getMessage());
2186 case 3: return new IS(getMessage(), new Integer( 182 ));
2187 case 4: return new IS(getMessage(), new Integer( 1 ));
2188 case 5: return new DTM(getMessage());
2189 case 6: return new ID(getMessage(), new Integer( 183 ));
2190 case 7: return new CWE(getMessage());
2191 case 8: return new CWE(getMessage());
2192 case 9: return new XTN(getMessage());
2193 case 10: return new XAD(getMessage());
2194 case 11: return new DIN(getMessage());
2195 case 12: return new DIN(getMessage());
2196 case 13: return new CWE(getMessage());
2197 case 14: return new ST(getMessage());
2198 case 15: return new CWE(getMessage());
2199 case 16: return new CWE(getMessage());
2200 case 17: return new ST(getMessage());
2201 case 18: return new JCC(getMessage());
2202 case 19: return new CWE(getMessage());
2203 case 20: return new ID(getMessage(), new Integer( 136 ));
2204 case 21: return new DLN(getMessage());
2205 case 22: return new ID(getMessage(), new Integer( 136 ));
2206 case 23: return new DT(getMessage());
2207 case 24: return new DT(getMessage());
2208 case 25: return new DT(getMessage());
2209 case 26: return new CWE(getMessage());
2210 case 27: return new CWE(getMessage());
2211 case 28: return new ID(getMessage(), new Integer( 136 ));
2212 case 29: return new CWE(getMessage());
2213 case 30: return new DTM(getMessage());
2214 case 31: return new ID(getMessage(), new Integer( 136 ));
2215 case 32: return new CWE(getMessage());
2216 case 33: return new DR(getMessage());
2217 case 34: return new DT(getMessage());
2218 case 35: return new CWE(getMessage());
2219 case 36: return new ID(getMessage(), new Integer( 136 ));
2220 case 37: return new CWE(getMessage());
2221 case 38: return new CWE(getMessage());
2222 default: return null;
2223 }
2224 }
2225
2226
2227 }
2228