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.v23.segment;
35
36
37 import ca.uhn.hl7v2.model.v23.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 @SuppressWarnings("unused")
92 public class NK1 extends AbstractSegment {
93
94
95
96
97 public NK1(Group parent, ModelClassFactory factory) {
98 super(parent, factory);
99 init(factory);
100 }
101
102 private void init(ModelClassFactory factory) {
103 try {
104 this.add(SI.class, true, 1, 4, new Object[]{ getMessage() }, "Set ID - Next of Kin");
105 this.add(XPN.class, false, 0, 48, new Object[]{ getMessage() }, "NK Name");
106 this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Relationship");
107 this.add(XAD.class, false, 0, 106, new Object[]{ getMessage() }, "Address");
108 this.add(XTN.class, false, 0, 40, new Object[]{ getMessage() }, "Phone Number");
109 this.add(XTN.class, false, 0, 40, new Object[]{ getMessage() }, "Business Phone Number");
110 this.add(CE.class, true, 1, 60, new Object[]{ getMessage() }, "Contact Role");
111 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "Start Date");
112 this.add(DT.class, false, 1, 8, new Object[]{ getMessage() }, "End Date");
113 this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "Next of Kin/Associated Parties Job Title");
114 this.add(JCC.class, false, 1, 20, new Object[]{ getMessage() }, "Next of Kin Job/Associated Parties Code/Class");
115 this.add(CX.class, false, 1, 20, new Object[]{ getMessage() }, "Next of Kin/Associated Parties Employee Number");
116 this.add(XON.class, false, 0, 60, new Object[]{ getMessage() }, "Organization Name");
117 this.add(IS.class, false, 0, 1, new Object[]{ getMessage(), new Integer(2) }, "Marital Status");
118 this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(1) }, "Sex");
119 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Date of Birth");
120 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(223) }, "Living Dependency");
121 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(9) }, "Ambulatory Status");
122 this.add(IS.class, false, 1, 4, new Object[]{ getMessage(), new Integer(171) }, "Citizenship");
123 this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Primary Language");
124 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(220) }, "Living Arrangement");
125 this.add(CE.class, false, 1, 1, new Object[]{ getMessage() }, "Publicity Indicator");
126 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Protection Indicator");
127 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(231) }, "Student Indicator");
128 this.add(IS.class, false, 1, 3, new Object[]{ getMessage(), new Integer(6) }, "Religion");
129 this.add(XPN.class, false, 1, 48, new Object[]{ getMessage() }, "Mother’s Maiden Name");
130 this.add(CE.class, false, 1, 80, new Object[]{ getMessage() }, "Nationality Code");
131 this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(189) }, "Ethnic Group");
132 this.add(CE.class, false, 1, 2, new Object[]{ getMessage() }, "Contact Reason");
133 this.add(XPN.class, false, 0, 48, new Object[]{ getMessage() }, "Contact Person's Name");
134 this.add(XTN.class, false, 0, 40, new Object[]{ getMessage() }, "Contact Person’s Telephone Number");
135 this.add(XAD.class, false, 0, 106, new Object[]{ getMessage() }, "Contact Person’s Address");
136 this.add(CX.class, false, 0, 32, new Object[]{ getMessage() }, "Associated Party’s Identifiers");
137 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(311) }, "Job Status");
138 this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(5) }, "Race");
139 this.add(IS.class, false, 1, 2, new Object[]{ getMessage(), new Integer(310) }, "Handicap");
140 this.add(ST.class, false, 1, 16, new Object[]{ getMessage() }, "Contact Person Social Security Number");
141 } catch(HL7Exception e) {
142 log.error("Unexpected error creating NK1 - this is probably a bug in the source code generator.", e);
143 }
144 }
145
146
147
148
149
150
151
152 public SI getSetIDNextOfKin() {
153 SI retVal = this.getTypedField(1, 0);
154 return retVal;
155 }
156
157
158
159
160
161 public SI getNk11_SetIDNextOfKin() {
162 SI retVal = this.getTypedField(1, 0);
163 return retVal;
164 }
165
166
167
168
169
170 public XPN[] getNKName() {
171 XPN[] retVal = this.getTypedField(2, new XPN[0]);
172 return retVal;
173 }
174
175
176
177
178
179 public XPN[] getNk12_NKName() {
180 XPN[] retVal = this.getTypedField(2, new XPN[0]);
181 return retVal;
182 }
183
184
185
186
187
188
189
190 public int getNKNameReps() {
191 return this.getReps(2);
192 }
193
194
195
196
197
198
199
200
201 public XPN getNKName(int rep) {
202 XPN retVal = this.getTypedField(2, rep);
203 return retVal;
204 }
205
206
207
208
209
210
211
212 public XPN getNk12_NKName(int rep) {
213 XPN retVal = this.getTypedField(2, rep);
214 return retVal;
215 }
216
217
218
219
220
221
222 public int getNk12_NKNameReps() {
223 return this.getReps(2);
224 }
225
226
227
228
229
230
231
232
233
234 public XPN insertNKName(int rep) throws HL7Exception {
235 return (XPN) super.insertRepetition(2, rep);
236 }
237
238
239
240
241
242
243
244
245
246 public XPN insertNk12_NKName(int rep) throws HL7Exception {
247 return (XPN) super.insertRepetition(2, rep);
248 }
249
250
251
252
253
254
255
256
257
258 public XPN removeNKName(int rep) throws HL7Exception {
259 return (XPN) super.removeRepetition(2, rep);
260 }
261
262
263
264
265
266
267
268
269
270 public XPN removeNk12_NKName(int rep) throws HL7Exception {
271 return (XPN) super.removeRepetition(2, rep);
272 }
273
274
275
276
277
278
279
280
281 public CE getRelationship() {
282 CE retVal = this.getTypedField(3, 0);
283 return retVal;
284 }
285
286
287
288
289
290 public CE getNk13_Relationship() {
291 CE retVal = this.getTypedField(3, 0);
292 return retVal;
293 }
294
295
296
297
298
299 public XAD[] getAddress() {
300 XAD[] retVal = this.getTypedField(4, new XAD[0]);
301 return retVal;
302 }
303
304
305
306
307
308 public XAD[] getNk14_Address() {
309 XAD[] retVal = this.getTypedField(4, new XAD[0]);
310 return retVal;
311 }
312
313
314
315
316
317
318
319 public int getAddressReps() {
320 return this.getReps(4);
321 }
322
323
324
325
326
327
328
329
330 public XAD getAddress(int rep) {
331 XAD retVal = this.getTypedField(4, rep);
332 return retVal;
333 }
334
335
336
337
338
339
340
341 public XAD getNk14_Address(int rep) {
342 XAD retVal = this.getTypedField(4, rep);
343 return retVal;
344 }
345
346
347
348
349
350
351 public int getNk14_AddressReps() {
352 return this.getReps(4);
353 }
354
355
356
357
358
359
360
361
362
363 public XAD insertAddress(int rep) throws HL7Exception {
364 return (XAD) super.insertRepetition(4, rep);
365 }
366
367
368
369
370
371
372
373
374
375 public XAD insertNk14_Address(int rep) throws HL7Exception {
376 return (XAD) super.insertRepetition(4, rep);
377 }
378
379
380
381
382
383
384
385
386
387 public XAD removeAddress(int rep) throws HL7Exception {
388 return (XAD) super.removeRepetition(4, rep);
389 }
390
391
392
393
394
395
396
397
398
399 public XAD removeNk14_Address(int rep) throws HL7Exception {
400 return (XAD) super.removeRepetition(4, rep);
401 }
402
403
404
405
406
407
408 public XTN[] getPhoneNumber() {
409 XTN[] retVal = this.getTypedField(5, new XTN[0]);
410 return retVal;
411 }
412
413
414
415
416
417 public XTN[] getNk15_PhoneNumber() {
418 XTN[] retVal = this.getTypedField(5, new XTN[0]);
419 return retVal;
420 }
421
422
423
424
425
426
427
428 public int getPhoneNumberReps() {
429 return this.getReps(5);
430 }
431
432
433
434
435
436
437
438
439 public XTN getPhoneNumber(int rep) {
440 XTN retVal = this.getTypedField(5, rep);
441 return retVal;
442 }
443
444
445
446
447
448
449
450 public XTN getNk15_PhoneNumber(int rep) {
451 XTN retVal = this.getTypedField(5, rep);
452 return retVal;
453 }
454
455
456
457
458
459
460 public int getNk15_PhoneNumberReps() {
461 return this.getReps(5);
462 }
463
464
465
466
467
468
469
470
471
472 public XTN insertPhoneNumber(int rep) throws HL7Exception {
473 return (XTN) super.insertRepetition(5, rep);
474 }
475
476
477
478
479
480
481
482
483
484 public XTN insertNk15_PhoneNumber(int rep) throws HL7Exception {
485 return (XTN) super.insertRepetition(5, rep);
486 }
487
488
489
490
491
492
493
494
495
496 public XTN removePhoneNumber(int rep) throws HL7Exception {
497 return (XTN) super.removeRepetition(5, rep);
498 }
499
500
501
502
503
504
505
506
507
508 public XTN removeNk15_PhoneNumber(int rep) throws HL7Exception {
509 return (XTN) super.removeRepetition(5, rep);
510 }
511
512
513
514
515
516
517 public XTN[] getBusinessPhoneNumber() {
518 XTN[] retVal = this.getTypedField(6, new XTN[0]);
519 return retVal;
520 }
521
522
523
524
525
526 public XTN[] getNk16_BusinessPhoneNumber() {
527 XTN[] retVal = this.getTypedField(6, new XTN[0]);
528 return retVal;
529 }
530
531
532
533
534
535
536
537 public int getBusinessPhoneNumberReps() {
538 return this.getReps(6);
539 }
540
541
542
543
544
545
546
547
548 public XTN getBusinessPhoneNumber(int rep) {
549 XTN retVal = this.getTypedField(6, rep);
550 return retVal;
551 }
552
553
554
555
556
557
558
559 public XTN getNk16_BusinessPhoneNumber(int rep) {
560 XTN retVal = this.getTypedField(6, rep);
561 return retVal;
562 }
563
564
565
566
567
568
569 public int getNk16_BusinessPhoneNumberReps() {
570 return this.getReps(6);
571 }
572
573
574
575
576
577
578
579
580
581 public XTN insertBusinessPhoneNumber(int rep) throws HL7Exception {
582 return (XTN) super.insertRepetition(6, rep);
583 }
584
585
586
587
588
589
590
591
592
593 public XTN insertNk16_BusinessPhoneNumber(int rep) throws HL7Exception {
594 return (XTN) super.insertRepetition(6, rep);
595 }
596
597
598
599
600
601
602
603
604
605 public XTN removeBusinessPhoneNumber(int rep) throws HL7Exception {
606 return (XTN) super.removeRepetition(6, rep);
607 }
608
609
610
611
612
613
614
615
616
617 public XTN removeNk16_BusinessPhoneNumber(int rep) throws HL7Exception {
618 return (XTN) super.removeRepetition(6, rep);
619 }
620
621
622
623
624
625
626
627
628 public CE getContactRole() {
629 CE retVal = this.getTypedField(7, 0);
630 return retVal;
631 }
632
633
634
635
636
637 public CE getNk17_ContactRole() {
638 CE retVal = this.getTypedField(7, 0);
639 return retVal;
640 }
641
642
643
644
645
646
647
648 public DT getStartDate() {
649 DT retVal = this.getTypedField(8, 0);
650 return retVal;
651 }
652
653
654
655
656
657 public DT getNk18_StartDate() {
658 DT retVal = this.getTypedField(8, 0);
659 return retVal;
660 }
661
662
663
664
665
666
667
668 public DT getEndDate() {
669 DT retVal = this.getTypedField(9, 0);
670 return retVal;
671 }
672
673
674
675
676
677 public DT getNk19_EndDate() {
678 DT retVal = this.getTypedField(9, 0);
679 return retVal;
680 }
681
682
683
684
685
686
687
688 public ST getNextOfKinAssociatedPartiesJobTitle() {
689 ST retVal = this.getTypedField(10, 0);
690 return retVal;
691 }
692
693
694
695
696
697 public ST getNk110_NextOfKinAssociatedPartiesJobTitle() {
698 ST retVal = this.getTypedField(10, 0);
699 return retVal;
700 }
701
702
703
704
705
706
707
708 public JCC getNextOfKinJobAssociatedPartiesCodeClass() {
709 JCC retVal = this.getTypedField(11, 0);
710 return retVal;
711 }
712
713
714
715
716
717 public JCC getNk111_NextOfKinJobAssociatedPartiesCodeClass() {
718 JCC retVal = this.getTypedField(11, 0);
719 return retVal;
720 }
721
722
723
724
725
726
727
728 public CX getNextOfKinAssociatedPartiesEmployeeNumber() {
729 CX retVal = this.getTypedField(12, 0);
730 return retVal;
731 }
732
733
734
735
736
737 public CX getNk112_NextOfKinAssociatedPartiesEmployeeNumber() {
738 CX retVal = this.getTypedField(12, 0);
739 return retVal;
740 }
741
742
743
744
745
746 public XON[] getOrganizationName() {
747 XON[] retVal = this.getTypedField(13, new XON[0]);
748 return retVal;
749 }
750
751
752
753
754
755 public XON[] getNk113_OrganizationName() {
756 XON[] retVal = this.getTypedField(13, new XON[0]);
757 return retVal;
758 }
759
760
761
762
763
764
765
766 public int getOrganizationNameReps() {
767 return this.getReps(13);
768 }
769
770
771
772
773
774
775
776
777 public XON getOrganizationName(int rep) {
778 XON retVal = this.getTypedField(13, rep);
779 return retVal;
780 }
781
782
783
784
785
786
787
788 public XON getNk113_OrganizationName(int rep) {
789 XON retVal = this.getTypedField(13, rep);
790 return retVal;
791 }
792
793
794
795
796
797
798 public int getNk113_OrganizationNameReps() {
799 return this.getReps(13);
800 }
801
802
803
804
805
806
807
808
809
810 public XON insertOrganizationName(int rep) throws HL7Exception {
811 return (XON) super.insertRepetition(13, rep);
812 }
813
814
815
816
817
818
819
820
821
822 public XON insertNk113_OrganizationName(int rep) throws HL7Exception {
823 return (XON) super.insertRepetition(13, rep);
824 }
825
826
827
828
829
830
831
832
833
834 public XON removeOrganizationName(int rep) throws HL7Exception {
835 return (XON) super.removeRepetition(13, rep);
836 }
837
838
839
840
841
842
843
844
845
846 public XON removeNk113_OrganizationName(int rep) throws HL7Exception {
847 return (XON) super.removeRepetition(13, rep);
848 }
849
850
851
852
853
854
855 public IS[] getMaritalStatus() {
856 IS[] retVal = this.getTypedField(14, new IS[0]);
857 return retVal;
858 }
859
860
861
862
863
864 public IS[] getNk114_MaritalStatus() {
865 IS[] retVal = this.getTypedField(14, new IS[0]);
866 return retVal;
867 }
868
869
870
871
872
873
874
875 public int getMaritalStatusReps() {
876 return this.getReps(14);
877 }
878
879
880
881
882
883
884
885
886 public IS getMaritalStatus(int rep) {
887 IS retVal = this.getTypedField(14, rep);
888 return retVal;
889 }
890
891
892
893
894
895
896
897 public IS getNk114_MaritalStatus(int rep) {
898 IS retVal = this.getTypedField(14, rep);
899 return retVal;
900 }
901
902
903
904
905
906
907 public int getNk114_MaritalStatusReps() {
908 return this.getReps(14);
909 }
910
911
912
913
914
915
916
917
918
919 public IS insertMaritalStatus(int rep) throws HL7Exception {
920 return (IS) super.insertRepetition(14, rep);
921 }
922
923
924
925
926
927
928
929
930
931 public IS insertNk114_MaritalStatus(int rep) throws HL7Exception {
932 return (IS) super.insertRepetition(14, rep);
933 }
934
935
936
937
938
939
940
941
942
943 public IS removeMaritalStatus(int rep) throws HL7Exception {
944 return (IS) super.removeRepetition(14, rep);
945 }
946
947
948
949
950
951
952
953
954
955 public IS removeNk114_MaritalStatus(int rep) throws HL7Exception {
956 return (IS) super.removeRepetition(14, rep);
957 }
958
959
960
961
962
963
964
965
966 public IS getSex() {
967 IS retVal = this.getTypedField(15, 0);
968 return retVal;
969 }
970
971
972
973
974
975 public IS getNk115_Sex() {
976 IS retVal = this.getTypedField(15, 0);
977 return retVal;
978 }
979
980
981
982
983
984
985
986 public TS getDateOfBirth() {
987 TS retVal = this.getTypedField(16, 0);
988 return retVal;
989 }
990
991
992
993
994
995 public TS getNk116_DateOfBirth() {
996 TS retVal = this.getTypedField(16, 0);
997 return retVal;
998 }
999
1000
1001
1002
1003
1004
1005
1006 public IS getLivingDependency() {
1007 IS retVal = this.getTypedField(17, 0);
1008 return retVal;
1009 }
1010
1011
1012
1013
1014
1015 public IS getNk117_LivingDependency() {
1016 IS retVal = this.getTypedField(17, 0);
1017 return retVal;
1018 }
1019
1020
1021
1022
1023
1024
1025
1026 public IS getAmbulatoryStatus() {
1027 IS retVal = this.getTypedField(18, 0);
1028 return retVal;
1029 }
1030
1031
1032
1033
1034
1035 public IS getNk118_AmbulatoryStatus() {
1036 IS retVal = this.getTypedField(18, 0);
1037 return retVal;
1038 }
1039
1040
1041
1042
1043
1044
1045
1046 public IS getCitizenship() {
1047 IS retVal = this.getTypedField(19, 0);
1048 return retVal;
1049 }
1050
1051
1052
1053
1054
1055 public IS getNk119_Citizenship() {
1056 IS retVal = this.getTypedField(19, 0);
1057 return retVal;
1058 }
1059
1060
1061
1062
1063
1064
1065
1066 public CE getPrimaryLanguage() {
1067 CE retVal = this.getTypedField(20, 0);
1068 return retVal;
1069 }
1070
1071
1072
1073
1074
1075 public CE getNk120_PrimaryLanguage() {
1076 CE retVal = this.getTypedField(20, 0);
1077 return retVal;
1078 }
1079
1080
1081
1082
1083
1084
1085
1086 public IS getLivingArrangement() {
1087 IS retVal = this.getTypedField(21, 0);
1088 return retVal;
1089 }
1090
1091
1092
1093
1094
1095 public IS getNk121_LivingArrangement() {
1096 IS retVal = this.getTypedField(21, 0);
1097 return retVal;
1098 }
1099
1100
1101
1102
1103
1104
1105
1106 public CE getPublicityIndicator() {
1107 CE retVal = this.getTypedField(22, 0);
1108 return retVal;
1109 }
1110
1111
1112
1113
1114
1115 public CE getNk122_PublicityIndicator() {
1116 CE retVal = this.getTypedField(22, 0);
1117 return retVal;
1118 }
1119
1120
1121
1122
1123
1124
1125
1126 public ID getProtectionIndicator() {
1127 ID retVal = this.getTypedField(23, 0);
1128 return retVal;
1129 }
1130
1131
1132
1133
1134
1135 public ID getNk123_ProtectionIndicator() {
1136 ID retVal = this.getTypedField(23, 0);
1137 return retVal;
1138 }
1139
1140
1141
1142
1143
1144
1145
1146 public IS getStudentIndicator() {
1147 IS retVal = this.getTypedField(24, 0);
1148 return retVal;
1149 }
1150
1151
1152
1153
1154
1155 public IS getNk124_StudentIndicator() {
1156 IS retVal = this.getTypedField(24, 0);
1157 return retVal;
1158 }
1159
1160
1161
1162
1163
1164
1165
1166 public IS getReligion() {
1167 IS retVal = this.getTypedField(25, 0);
1168 return retVal;
1169 }
1170
1171
1172
1173
1174
1175 public IS getNk125_Religion() {
1176 IS retVal = this.getTypedField(25, 0);
1177 return retVal;
1178 }
1179
1180
1181
1182
1183
1184
1185
1186 public XPN getMotherSMaidenName() {
1187 XPN retVal = this.getTypedField(26, 0);
1188 return retVal;
1189 }
1190
1191
1192
1193
1194
1195 public XPN getNk126_MotherSMaidenName() {
1196 XPN retVal = this.getTypedField(26, 0);
1197 return retVal;
1198 }
1199
1200
1201
1202
1203
1204
1205
1206 public CE getNationalityCode() {
1207 CE retVal = this.getTypedField(27, 0);
1208 return retVal;
1209 }
1210
1211
1212
1213
1214
1215 public CE getNk127_NationalityCode() {
1216 CE retVal = this.getTypedField(27, 0);
1217 return retVal;
1218 }
1219
1220
1221
1222
1223
1224
1225
1226 public IS getEthnicGroup() {
1227 IS retVal = this.getTypedField(28, 0);
1228 return retVal;
1229 }
1230
1231
1232
1233
1234
1235 public IS getNk128_EthnicGroup() {
1236 IS retVal = this.getTypedField(28, 0);
1237 return retVal;
1238 }
1239
1240
1241
1242
1243
1244
1245
1246 public CE getContactReason() {
1247 CE retVal = this.getTypedField(29, 0);
1248 return retVal;
1249 }
1250
1251
1252
1253
1254
1255 public CE getNk129_ContactReason() {
1256 CE retVal = this.getTypedField(29, 0);
1257 return retVal;
1258 }
1259
1260
1261
1262
1263
1264 public XPN[] getContactPersonSName() {
1265 XPN[] retVal = this.getTypedField(30, new XPN[0]);
1266 return retVal;
1267 }
1268
1269
1270
1271
1272
1273 public XPN[] getNk130_ContactPersonSName() {
1274 XPN[] retVal = this.getTypedField(30, new XPN[0]);
1275 return retVal;
1276 }
1277
1278
1279
1280
1281
1282
1283
1284 public int getContactPersonSNameReps() {
1285 return this.getReps(30);
1286 }
1287
1288
1289
1290
1291
1292
1293
1294
1295 public XPN getContactPersonSName(int rep) {
1296 XPN retVal = this.getTypedField(30, rep);
1297 return retVal;
1298 }
1299
1300
1301
1302
1303
1304
1305
1306 public XPN getNk130_ContactPersonSName(int rep) {
1307 XPN retVal = this.getTypedField(30, rep);
1308 return retVal;
1309 }
1310
1311
1312
1313
1314
1315
1316 public int getNk130_ContactPersonSNameReps() {
1317 return this.getReps(30);
1318 }
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328 public XPN insertContactPersonSName(int rep) throws HL7Exception {
1329 return (XPN) super.insertRepetition(30, rep);
1330 }
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340 public XPN insertNk130_ContactPersonSName(int rep) throws HL7Exception {
1341 return (XPN) super.insertRepetition(30, rep);
1342 }
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352 public XPN removeContactPersonSName(int rep) throws HL7Exception {
1353 return (XPN) super.removeRepetition(30, rep);
1354 }
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364 public XPN removeNk130_ContactPersonSName(int rep) throws HL7Exception {
1365 return (XPN) super.removeRepetition(30, rep);
1366 }
1367
1368
1369
1370
1371
1372
1373 public XTN[] getContactPersonSTelephoneNumber() {
1374 XTN[] retVal = this.getTypedField(31, new XTN[0]);
1375 return retVal;
1376 }
1377
1378
1379
1380
1381
1382 public XTN[] getNk131_ContactPersonSTelephoneNumber() {
1383 XTN[] retVal = this.getTypedField(31, new XTN[0]);
1384 return retVal;
1385 }
1386
1387
1388
1389
1390
1391
1392
1393 public int getContactPersonSTelephoneNumberReps() {
1394 return this.getReps(31);
1395 }
1396
1397
1398
1399
1400
1401
1402
1403
1404 public XTN getContactPersonSTelephoneNumber(int rep) {
1405 XTN retVal = this.getTypedField(31, rep);
1406 return retVal;
1407 }
1408
1409
1410
1411
1412
1413
1414
1415 public XTN getNk131_ContactPersonSTelephoneNumber(int rep) {
1416 XTN retVal = this.getTypedField(31, rep);
1417 return retVal;
1418 }
1419
1420
1421
1422
1423
1424
1425 public int getNk131_ContactPersonSTelephoneNumberReps() {
1426 return this.getReps(31);
1427 }
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437 public XTN insertContactPersonSTelephoneNumber(int rep) throws HL7Exception {
1438 return (XTN) super.insertRepetition(31, rep);
1439 }
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449 public XTN insertNk131_ContactPersonSTelephoneNumber(int rep) throws HL7Exception {
1450 return (XTN) super.insertRepetition(31, rep);
1451 }
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461 public XTN removeContactPersonSTelephoneNumber(int rep) throws HL7Exception {
1462 return (XTN) super.removeRepetition(31, rep);
1463 }
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473 public XTN removeNk131_ContactPersonSTelephoneNumber(int rep) throws HL7Exception {
1474 return (XTN) super.removeRepetition(31, rep);
1475 }
1476
1477
1478
1479
1480
1481
1482 public XAD[] getContactPersonSAddress() {
1483 XAD[] retVal = this.getTypedField(32, new XAD[0]);
1484 return retVal;
1485 }
1486
1487
1488
1489
1490
1491 public XAD[] getNk132_ContactPersonSAddress() {
1492 XAD[] retVal = this.getTypedField(32, new XAD[0]);
1493 return retVal;
1494 }
1495
1496
1497
1498
1499
1500
1501
1502 public int getContactPersonSAddressReps() {
1503 return this.getReps(32);
1504 }
1505
1506
1507
1508
1509
1510
1511
1512
1513 public XAD getContactPersonSAddress(int rep) {
1514 XAD retVal = this.getTypedField(32, rep);
1515 return retVal;
1516 }
1517
1518
1519
1520
1521
1522
1523
1524 public XAD getNk132_ContactPersonSAddress(int rep) {
1525 XAD retVal = this.getTypedField(32, rep);
1526 return retVal;
1527 }
1528
1529
1530
1531
1532
1533
1534 public int getNk132_ContactPersonSAddressReps() {
1535 return this.getReps(32);
1536 }
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546 public XAD insertContactPersonSAddress(int rep) throws HL7Exception {
1547 return (XAD) super.insertRepetition(32, rep);
1548 }
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558 public XAD insertNk132_ContactPersonSAddress(int rep) throws HL7Exception {
1559 return (XAD) super.insertRepetition(32, rep);
1560 }
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570 public XAD removeContactPersonSAddress(int rep) throws HL7Exception {
1571 return (XAD) super.removeRepetition(32, rep);
1572 }
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582 public XAD removeNk132_ContactPersonSAddress(int rep) throws HL7Exception {
1583 return (XAD) super.removeRepetition(32, rep);
1584 }
1585
1586
1587
1588
1589
1590
1591 public CX[] getAssociatedPartySIdentifiers() {
1592 CX[] retVal = this.getTypedField(33, new CX[0]);
1593 return retVal;
1594 }
1595
1596
1597
1598
1599
1600 public CX[] getNk133_AssociatedPartySIdentifiers() {
1601 CX[] retVal = this.getTypedField(33, new CX[0]);
1602 return retVal;
1603 }
1604
1605
1606
1607
1608
1609
1610
1611 public int getAssociatedPartySIdentifiersReps() {
1612 return this.getReps(33);
1613 }
1614
1615
1616
1617
1618
1619
1620
1621
1622 public CX getAssociatedPartySIdentifiers(int rep) {
1623 CX retVal = this.getTypedField(33, rep);
1624 return retVal;
1625 }
1626
1627
1628
1629
1630
1631
1632
1633 public CX getNk133_AssociatedPartySIdentifiers(int rep) {
1634 CX retVal = this.getTypedField(33, rep);
1635 return retVal;
1636 }
1637
1638
1639
1640
1641
1642
1643 public int getNk133_AssociatedPartySIdentifiersReps() {
1644 return this.getReps(33);
1645 }
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655 public CX insertAssociatedPartySIdentifiers(int rep) throws HL7Exception {
1656 return (CX) super.insertRepetition(33, rep);
1657 }
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667 public CX insertNk133_AssociatedPartySIdentifiers(int rep) throws HL7Exception {
1668 return (CX) super.insertRepetition(33, rep);
1669 }
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679 public CX removeAssociatedPartySIdentifiers(int rep) throws HL7Exception {
1680 return (CX) super.removeRepetition(33, rep);
1681 }
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691 public CX removeNk133_AssociatedPartySIdentifiers(int rep) throws HL7Exception {
1692 return (CX) super.removeRepetition(33, rep);
1693 }
1694
1695
1696
1697
1698
1699
1700
1701
1702 public IS getJobStatus() {
1703 IS retVal = this.getTypedField(34, 0);
1704 return retVal;
1705 }
1706
1707
1708
1709
1710
1711 public IS getNk134_JobStatus() {
1712 IS retVal = this.getTypedField(34, 0);
1713 return retVal;
1714 }
1715
1716
1717
1718
1719
1720
1721
1722 public IS getRace() {
1723 IS retVal = this.getTypedField(35, 0);
1724 return retVal;
1725 }
1726
1727
1728
1729
1730
1731 public IS getNk135_Race() {
1732 IS retVal = this.getTypedField(35, 0);
1733 return retVal;
1734 }
1735
1736
1737
1738
1739
1740
1741
1742 public IS getHandicap() {
1743 IS retVal = this.getTypedField(36, 0);
1744 return retVal;
1745 }
1746
1747
1748
1749
1750
1751 public IS getNk136_Handicap() {
1752 IS retVal = this.getTypedField(36, 0);
1753 return retVal;
1754 }
1755
1756
1757
1758
1759
1760
1761
1762 public ST getContactPersonSocialSecurityNumber() {
1763 ST retVal = this.getTypedField(37, 0);
1764 return retVal;
1765 }
1766
1767
1768
1769
1770
1771 public ST getNk137_ContactPersonSocialSecurityNumber() {
1772 ST retVal = this.getTypedField(37, 0);
1773 return retVal;
1774 }
1775
1776
1777
1778
1779
1780
1781 protected Type createNewTypeWithoutReflection(int field) {
1782 switch (field) {
1783 case 0: return new SI(getMessage());
1784 case 1: return new XPN(getMessage());
1785 case 2: return new CE(getMessage());
1786 case 3: return new XAD(getMessage());
1787 case 4: return new XTN(getMessage());
1788 case 5: return new XTN(getMessage());
1789 case 6: return new CE(getMessage());
1790 case 7: return new DT(getMessage());
1791 case 8: return new DT(getMessage());
1792 case 9: return new ST(getMessage());
1793 case 10: return new JCC(getMessage());
1794 case 11: return new CX(getMessage());
1795 case 12: return new XON(getMessage());
1796 case 13: return new IS(getMessage(), new Integer( 2 ));
1797 case 14: return new IS(getMessage(), new Integer( 1 ));
1798 case 15: return new TS(getMessage());
1799 case 16: return new IS(getMessage(), new Integer( 223 ));
1800 case 17: return new IS(getMessage(), new Integer( 9 ));
1801 case 18: return new IS(getMessage(), new Integer( 171 ));
1802 case 19: return new CE(getMessage());
1803 case 20: return new IS(getMessage(), new Integer( 220 ));
1804 case 21: return new CE(getMessage());
1805 case 22: return new ID(getMessage(), new Integer( 136 ));
1806 case 23: return new IS(getMessage(), new Integer( 231 ));
1807 case 24: return new IS(getMessage(), new Integer( 6 ));
1808 case 25: return new XPN(getMessage());
1809 case 26: return new CE(getMessage());
1810 case 27: return new IS(getMessage(), new Integer( 189 ));
1811 case 28: return new CE(getMessage());
1812 case 29: return new XPN(getMessage());
1813 case 30: return new XTN(getMessage());
1814 case 31: return new XAD(getMessage());
1815 case 32: return new CX(getMessage());
1816 case 33: return new IS(getMessage(), new Integer( 311 ));
1817 case 34: return new IS(getMessage(), new Integer( 5 ));
1818 case 35: return new IS(getMessage(), new Integer( 310 ));
1819 case 36: return new ST(getMessage());
1820 default: return null;
1821 }
1822 }
1823
1824
1825 }
1826