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