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.test.singledt.conf.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 PID extends AbstractSegment {
95
96
97
98
99 public PID(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, false, 1, 4, new Object[]{ getMessage() }, "Set ID - PID");
107 this.add(CX.class, false, -1, 20, new Object[]{ getMessage() }, "Patient ID");
108 this.add(CX.class, true, -1, 250, new Object[]{ getMessage() }, "Patient Identifier List");
109 this.add(CX.class, false, -1, 20, new Object[]{ getMessage() }, "Alternate Patient ID - PID");
110 this.add(XPN.class, true, -1, 294, new Object[]{ getMessage() }, "Patient Name");
111 this.add(XPN.class, false, -1, 294, new Object[]{ getMessage() }, "Mother_s Maiden Name");
112 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Date/Time of Birth");
113 this.add(IS.class, false, 1, 1, new Object[]{ getMessage(), new Integer(1) }, "Administrative Sex");
114 this.add(XPN.class, false, -1, 294, new Object[]{ getMessage() }, "Patient Alias");
115 this.add(CE.class, false, -1, 478, new Object[]{ getMessage() }, "Race");
116 this.add(XAD.class, false, -1, 513, new Object[]{ getMessage() }, "Patient Address");
117 this.add(IS.class, false, -1, 4, new Object[]{ getMessage(), new Integer(289) }, "County Code");
118 this.add(XTN.class, false, -1, 250, new Object[]{ getMessage() }, "Phone Number - Home");
119 this.add(XTN.class, false, -1, 250, new Object[]{ getMessage() }, "Phone Number - Business");
120 this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Primary Language");
121 this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Marital Status");
122 this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Religion");
123 this.add(CX.class, false, 1, 250, new Object[]{ getMessage() }, "Patient Account Number");
124 this.add(ST.class, false, -1, 16, new Object[]{ getMessage() }, "SSN Number - Patient");
125 this.add(DLN.class, false, -1, 64, new Object[]{ getMessage() }, "Driver's License Number - Patient");
126 this.add(CX.class, false, -1, 250, new Object[]{ getMessage() }, "Mother's Identifier");
127 this.add(CE.class, false, -1, 478, new Object[]{ getMessage() }, "Ethnic Group");
128 this.add(ST.class, false, 1, 250, new Object[]{ getMessage() }, "Birth Place");
129 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Multiple Birth Indicator");
130 this.add(NM.class, false, 1, 2, new Object[]{ getMessage() }, "Birth Order");
131 this.add(CE.class, false, -1, 478, new Object[]{ getMessage() }, "Citizenship");
132 this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Veterans Military Status");
133 this.add(CE.class, false, -1, 478, new Object[]{ getMessage() }, "Nationality");
134 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Patient Death Date and Time");
135 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Patient Death Indicator");
136 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Identity Unknown Indicator");
137 this.add(IS.class, false, -1, 20, new Object[]{ getMessage(), new Integer(445) }, "Identity Reliability Code");
138 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Last Update Date/Time");
139 this.add(HD.class, false, 1, 241, new Object[]{ getMessage() }, "Last Update Facility");
140 this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Species Code");
141 this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Breed Code");
142 this.add(ST.class, false, 1, 80, new Object[]{ getMessage() }, "Strain");
143 this.add(CE.class, false, 1, 478, new Object[]{ getMessage() }, "Production Class Code");
144 this.add(CWE.class, false, -1, 697, new Object[]{ getMessage() }, "Tribal Citizenship");
145 } catch(HL7Exception e) {
146 log.error("Unexpected error creating PID - this is probably a bug in the source code generator.", e);
147 }
148 }
149
150
151
152
153
154
155
156 public SI getSetIDPID() {
157 SI retVal = this.getTypedField(1, 0);
158 return retVal;
159 }
160
161
162
163
164
165 public SI getPid1_SetIDPID() {
166 SI retVal = this.getTypedField(1, 0);
167 return retVal;
168 }
169
170
171
172
173
174 public CX[] getPatientID() {
175 CX[] retVal = this.getTypedField(2, new CX[0]);
176 return retVal;
177 }
178
179
180
181
182
183 public CX[] getPid2_PatientID() {
184 CX[] retVal = this.getTypedField(2, new CX[0]);
185 return retVal;
186 }
187
188
189
190
191
192
193
194 public int getPatientIDReps() {
195 return this.getReps(2);
196 }
197
198
199
200
201
202
203
204
205 public CX getPatientID(int rep) {
206 CX retVal = this.getTypedField(2, rep);
207 return retVal;
208 }
209
210
211
212
213
214
215
216 public CX getPid2_PatientID(int rep) {
217 CX retVal = this.getTypedField(2, rep);
218 return retVal;
219 }
220
221
222
223
224
225
226 public int getPid2_PatientIDReps() {
227 return this.getReps(2);
228 }
229
230
231
232
233
234
235
236
237
238 public CX insertPatientID(int rep) throws HL7Exception {
239 return (CX) super.insertRepetition(2, rep);
240 }
241
242
243
244
245
246
247
248
249
250 public CX insertPid2_PatientID(int rep) throws HL7Exception {
251 return (CX) super.insertRepetition(2, rep);
252 }
253
254
255
256
257
258
259
260
261
262 public CX removePatientID(int rep) throws HL7Exception {
263 return (CX) super.removeRepetition(2, rep);
264 }
265
266
267
268
269
270
271
272
273
274 public CX removePid2_PatientID(int rep) throws HL7Exception {
275 return (CX) super.removeRepetition(2, rep);
276 }
277
278
279
280
281
282
283 public CX[] getPatientIdentifierList() {
284 CX[] retVal = this.getTypedField(3, new CX[0]);
285 return retVal;
286 }
287
288
289
290
291
292 public CX[] getPid3_PatientIdentifierList() {
293 CX[] retVal = this.getTypedField(3, new CX[0]);
294 return retVal;
295 }
296
297
298
299
300
301
302
303 public int getPatientIdentifierListReps() {
304 return this.getReps(3);
305 }
306
307
308
309
310
311
312
313
314 public CX getPatientIdentifierList(int rep) {
315 CX retVal = this.getTypedField(3, rep);
316 return retVal;
317 }
318
319
320
321
322
323
324
325 public CX getPid3_PatientIdentifierList(int rep) {
326 CX retVal = this.getTypedField(3, rep);
327 return retVal;
328 }
329
330
331
332
333
334
335 public int getPid3_PatientIdentifierListReps() {
336 return this.getReps(3);
337 }
338
339
340
341
342
343
344
345
346
347 public CX insertPatientIdentifierList(int rep) throws HL7Exception {
348 return (CX) super.insertRepetition(3, rep);
349 }
350
351
352
353
354
355
356
357
358
359 public CX insertPid3_PatientIdentifierList(int rep) throws HL7Exception {
360 return (CX) super.insertRepetition(3, rep);
361 }
362
363
364
365
366
367
368
369
370
371 public CX removePatientIdentifierList(int rep) throws HL7Exception {
372 return (CX) super.removeRepetition(3, rep);
373 }
374
375
376
377
378
379
380
381
382
383 public CX removePid3_PatientIdentifierList(int rep) throws HL7Exception {
384 return (CX) super.removeRepetition(3, rep);
385 }
386
387
388
389
390
391
392 public CX[] getAlternatePatientIDPID() {
393 CX[] retVal = this.getTypedField(4, new CX[0]);
394 return retVal;
395 }
396
397
398
399
400
401 public CX[] getPid4_AlternatePatientIDPID() {
402 CX[] retVal = this.getTypedField(4, new CX[0]);
403 return retVal;
404 }
405
406
407
408
409
410
411
412 public int getAlternatePatientIDPIDReps() {
413 return this.getReps(4);
414 }
415
416
417
418
419
420
421
422
423 public CX getAlternatePatientIDPID(int rep) {
424 CX retVal = this.getTypedField(4, rep);
425 return retVal;
426 }
427
428
429
430
431
432
433
434 public CX getPid4_AlternatePatientIDPID(int rep) {
435 CX retVal = this.getTypedField(4, rep);
436 return retVal;
437 }
438
439
440
441
442
443
444 public int getPid4_AlternatePatientIDPIDReps() {
445 return this.getReps(4);
446 }
447
448
449
450
451
452
453
454
455
456 public CX insertAlternatePatientIDPID(int rep) throws HL7Exception {
457 return (CX) super.insertRepetition(4, rep);
458 }
459
460
461
462
463
464
465
466
467
468 public CX insertPid4_AlternatePatientIDPID(int rep) throws HL7Exception {
469 return (CX) super.insertRepetition(4, rep);
470 }
471
472
473
474
475
476
477
478
479
480 public CX removeAlternatePatientIDPID(int rep) throws HL7Exception {
481 return (CX) super.removeRepetition(4, rep);
482 }
483
484
485
486
487
488
489
490
491
492 public CX removePid4_AlternatePatientIDPID(int rep) throws HL7Exception {
493 return (CX) super.removeRepetition(4, rep);
494 }
495
496
497
498
499
500
501 public XPN[] getPatientName() {
502 XPN[] retVal = this.getTypedField(5, new XPN[0]);
503 return retVal;
504 }
505
506
507
508
509
510 public XPN[] getPid5_PatientName() {
511 XPN[] retVal = this.getTypedField(5, new XPN[0]);
512 return retVal;
513 }
514
515
516
517
518
519
520
521 public int getPatientNameReps() {
522 return this.getReps(5);
523 }
524
525
526
527
528
529
530
531
532 public XPN getPatientName(int rep) {
533 XPN retVal = this.getTypedField(5, rep);
534 return retVal;
535 }
536
537
538
539
540
541
542
543 public XPN getPid5_PatientName(int rep) {
544 XPN retVal = this.getTypedField(5, rep);
545 return retVal;
546 }
547
548
549
550
551
552
553 public int getPid5_PatientNameReps() {
554 return this.getReps(5);
555 }
556
557
558
559
560
561
562
563
564
565 public XPN insertPatientName(int rep) throws HL7Exception {
566 return (XPN) super.insertRepetition(5, rep);
567 }
568
569
570
571
572
573
574
575
576
577 public XPN insertPid5_PatientName(int rep) throws HL7Exception {
578 return (XPN) super.insertRepetition(5, rep);
579 }
580
581
582
583
584
585
586
587
588
589 public XPN removePatientName(int rep) throws HL7Exception {
590 return (XPN) super.removeRepetition(5, rep);
591 }
592
593
594
595
596
597
598
599
600
601 public XPN removePid5_PatientName(int rep) throws HL7Exception {
602 return (XPN) super.removeRepetition(5, rep);
603 }
604
605
606
607
608
609
610 public XPN[] getMotherSMaidenName() {
611 XPN[] retVal = this.getTypedField(6, new XPN[0]);
612 return retVal;
613 }
614
615
616
617
618
619 public XPN[] getPid6_MotherSMaidenName() {
620 XPN[] retVal = this.getTypedField(6, new XPN[0]);
621 return retVal;
622 }
623
624
625
626
627
628
629
630 public int getMotherSMaidenNameReps() {
631 return this.getReps(6);
632 }
633
634
635
636
637
638
639
640
641 public XPN getMotherSMaidenName(int rep) {
642 XPN retVal = this.getTypedField(6, rep);
643 return retVal;
644 }
645
646
647
648
649
650
651
652 public XPN getPid6_MotherSMaidenName(int rep) {
653 XPN retVal = this.getTypedField(6, rep);
654 return retVal;
655 }
656
657
658
659
660
661
662 public int getPid6_MotherSMaidenNameReps() {
663 return this.getReps(6);
664 }
665
666
667
668
669
670
671
672
673
674 public XPN insertMotherSMaidenName(int rep) throws HL7Exception {
675 return (XPN) super.insertRepetition(6, rep);
676 }
677
678
679
680
681
682
683
684
685
686 public XPN insertPid6_MotherSMaidenName(int rep) throws HL7Exception {
687 return (XPN) super.insertRepetition(6, rep);
688 }
689
690
691
692
693
694
695
696
697
698 public XPN removeMotherSMaidenName(int rep) throws HL7Exception {
699 return (XPN) super.removeRepetition(6, rep);
700 }
701
702
703
704
705
706
707
708
709
710 public XPN removePid6_MotherSMaidenName(int rep) throws HL7Exception {
711 return (XPN) super.removeRepetition(6, rep);
712 }
713
714
715
716
717
718
719
720
721 public TS getDateTimeOfBirth() {
722 TS retVal = this.getTypedField(7, 0);
723 return retVal;
724 }
725
726
727
728
729
730 public TS getPid7_DateTimeOfBirth() {
731 TS retVal = this.getTypedField(7, 0);
732 return retVal;
733 }
734
735
736
737
738
739
740
741 public IS getAdministrativeSex() {
742 IS retVal = this.getTypedField(8, 0);
743 return retVal;
744 }
745
746
747
748
749
750 public IS getPid8_AdministrativeSex() {
751 IS retVal = this.getTypedField(8, 0);
752 return retVal;
753 }
754
755
756
757
758
759 public XPN[] getPatientAlias() {
760 XPN[] retVal = this.getTypedField(9, new XPN[0]);
761 return retVal;
762 }
763
764
765
766
767
768 public XPN[] getPid9_PatientAlias() {
769 XPN[] retVal = this.getTypedField(9, new XPN[0]);
770 return retVal;
771 }
772
773
774
775
776
777
778
779 public int getPatientAliasReps() {
780 return this.getReps(9);
781 }
782
783
784
785
786
787
788
789
790 public XPN getPatientAlias(int rep) {
791 XPN retVal = this.getTypedField(9, rep);
792 return retVal;
793 }
794
795
796
797
798
799
800
801 public XPN getPid9_PatientAlias(int rep) {
802 XPN retVal = this.getTypedField(9, rep);
803 return retVal;
804 }
805
806
807
808
809
810
811 public int getPid9_PatientAliasReps() {
812 return this.getReps(9);
813 }
814
815
816
817
818
819
820
821
822
823 public XPN insertPatientAlias(int rep) throws HL7Exception {
824 return (XPN) super.insertRepetition(9, rep);
825 }
826
827
828
829
830
831
832
833
834
835 public XPN insertPid9_PatientAlias(int rep) throws HL7Exception {
836 return (XPN) super.insertRepetition(9, rep);
837 }
838
839
840
841
842
843
844
845
846
847 public XPN removePatientAlias(int rep) throws HL7Exception {
848 return (XPN) super.removeRepetition(9, rep);
849 }
850
851
852
853
854
855
856
857
858
859 public XPN removePid9_PatientAlias(int rep) throws HL7Exception {
860 return (XPN) super.removeRepetition(9, rep);
861 }
862
863
864
865
866
867
868 public CE[] getRace() {
869 CE[] retVal = this.getTypedField(10, new CE[0]);
870 return retVal;
871 }
872
873
874
875
876
877 public CE[] getPid10_Race() {
878 CE[] retVal = this.getTypedField(10, new CE[0]);
879 return retVal;
880 }
881
882
883
884
885
886
887
888 public int getRaceReps() {
889 return this.getReps(10);
890 }
891
892
893
894
895
896
897
898
899 public CE getRace(int rep) {
900 CE retVal = this.getTypedField(10, rep);
901 return retVal;
902 }
903
904
905
906
907
908
909
910 public CE getPid10_Race(int rep) {
911 CE retVal = this.getTypedField(10, rep);
912 return retVal;
913 }
914
915
916
917
918
919
920 public int getPid10_RaceReps() {
921 return this.getReps(10);
922 }
923
924
925
926
927
928
929
930
931
932 public CE insertRace(int rep) throws HL7Exception {
933 return (CE) super.insertRepetition(10, rep);
934 }
935
936
937
938
939
940
941
942
943
944 public CE insertPid10_Race(int rep) throws HL7Exception {
945 return (CE) super.insertRepetition(10, rep);
946 }
947
948
949
950
951
952
953
954
955
956 public CE removeRace(int rep) throws HL7Exception {
957 return (CE) super.removeRepetition(10, rep);
958 }
959
960
961
962
963
964
965
966
967
968 public CE removePid10_Race(int rep) throws HL7Exception {
969 return (CE) super.removeRepetition(10, rep);
970 }
971
972
973
974
975
976
977 public XAD[] getPatientAddress() {
978 XAD[] retVal = this.getTypedField(11, new XAD[0]);
979 return retVal;
980 }
981
982
983
984
985
986 public XAD[] getPid11_PatientAddress() {
987 XAD[] retVal = this.getTypedField(11, new XAD[0]);
988 return retVal;
989 }
990
991
992
993
994
995
996
997 public int getPatientAddressReps() {
998 return this.getReps(11);
999 }
1000
1001
1002
1003
1004
1005
1006
1007
1008 public XAD getPatientAddress(int rep) {
1009 XAD retVal = this.getTypedField(11, rep);
1010 return retVal;
1011 }
1012
1013
1014
1015
1016
1017
1018
1019 public XAD getPid11_PatientAddress(int rep) {
1020 XAD retVal = this.getTypedField(11, rep);
1021 return retVal;
1022 }
1023
1024
1025
1026
1027
1028
1029 public int getPid11_PatientAddressReps() {
1030 return this.getReps(11);
1031 }
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041 public XAD insertPatientAddress(int rep) throws HL7Exception {
1042 return (XAD) super.insertRepetition(11, rep);
1043 }
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053 public XAD insertPid11_PatientAddress(int rep) throws HL7Exception {
1054 return (XAD) super.insertRepetition(11, rep);
1055 }
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065 public XAD removePatientAddress(int rep) throws HL7Exception {
1066 return (XAD) super.removeRepetition(11, rep);
1067 }
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077 public XAD removePid11_PatientAddress(int rep) throws HL7Exception {
1078 return (XAD) super.removeRepetition(11, rep);
1079 }
1080
1081
1082
1083
1084
1085
1086 public IS[] getCountyCode() {
1087 IS[] retVal = this.getTypedField(12, new IS[0]);
1088 return retVal;
1089 }
1090
1091
1092
1093
1094
1095 public IS[] getPid12_CountyCode() {
1096 IS[] retVal = this.getTypedField(12, new IS[0]);
1097 return retVal;
1098 }
1099
1100
1101
1102
1103
1104
1105
1106 public int getCountyCodeReps() {
1107 return this.getReps(12);
1108 }
1109
1110
1111
1112
1113
1114
1115
1116
1117 public IS getCountyCode(int rep) {
1118 IS retVal = this.getTypedField(12, rep);
1119 return retVal;
1120 }
1121
1122
1123
1124
1125
1126
1127
1128 public IS getPid12_CountyCode(int rep) {
1129 IS retVal = this.getTypedField(12, rep);
1130 return retVal;
1131 }
1132
1133
1134
1135
1136
1137
1138 public int getPid12_CountyCodeReps() {
1139 return this.getReps(12);
1140 }
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150 public IS insertCountyCode(int rep) throws HL7Exception {
1151 return (IS) super.insertRepetition(12, rep);
1152 }
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162 public IS insertPid12_CountyCode(int rep) throws HL7Exception {
1163 return (IS) super.insertRepetition(12, rep);
1164 }
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174 public IS removeCountyCode(int rep) throws HL7Exception {
1175 return (IS) super.removeRepetition(12, rep);
1176 }
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186 public IS removePid12_CountyCode(int rep) throws HL7Exception {
1187 return (IS) super.removeRepetition(12, rep);
1188 }
1189
1190
1191
1192
1193
1194
1195 public XTN[] getPhoneNumberHome() {
1196 XTN[] retVal = this.getTypedField(13, new XTN[0]);
1197 return retVal;
1198 }
1199
1200
1201
1202
1203
1204 public XTN[] getPid13_PhoneNumberHome() {
1205 XTN[] retVal = this.getTypedField(13, new XTN[0]);
1206 return retVal;
1207 }
1208
1209
1210
1211
1212
1213
1214
1215 public int getPhoneNumberHomeReps() {
1216 return this.getReps(13);
1217 }
1218
1219
1220
1221
1222
1223
1224
1225
1226 public XTN getPhoneNumberHome(int rep) {
1227 XTN retVal = this.getTypedField(13, rep);
1228 return retVal;
1229 }
1230
1231
1232
1233
1234
1235
1236
1237 public XTN getPid13_PhoneNumberHome(int rep) {
1238 XTN retVal = this.getTypedField(13, rep);
1239 return retVal;
1240 }
1241
1242
1243
1244
1245
1246
1247 public int getPid13_PhoneNumberHomeReps() {
1248 return this.getReps(13);
1249 }
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259 public XTN insertPhoneNumberHome(int rep) throws HL7Exception {
1260 return (XTN) super.insertRepetition(13, rep);
1261 }
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271 public XTN insertPid13_PhoneNumberHome(int rep) throws HL7Exception {
1272 return (XTN) super.insertRepetition(13, rep);
1273 }
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283 public XTN removePhoneNumberHome(int rep) throws HL7Exception {
1284 return (XTN) super.removeRepetition(13, rep);
1285 }
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295 public XTN removePid13_PhoneNumberHome(int rep) throws HL7Exception {
1296 return (XTN) super.removeRepetition(13, rep);
1297 }
1298
1299
1300
1301
1302
1303
1304 public XTN[] getPhoneNumberBusiness() {
1305 XTN[] retVal = this.getTypedField(14, new XTN[0]);
1306 return retVal;
1307 }
1308
1309
1310
1311
1312
1313 public XTN[] getPid14_PhoneNumberBusiness() {
1314 XTN[] retVal = this.getTypedField(14, new XTN[0]);
1315 return retVal;
1316 }
1317
1318
1319
1320
1321
1322
1323
1324 public int getPhoneNumberBusinessReps() {
1325 return this.getReps(14);
1326 }
1327
1328
1329
1330
1331
1332
1333
1334
1335 public XTN getPhoneNumberBusiness(int rep) {
1336 XTN retVal = this.getTypedField(14, rep);
1337 return retVal;
1338 }
1339
1340
1341
1342
1343
1344
1345
1346 public XTN getPid14_PhoneNumberBusiness(int rep) {
1347 XTN retVal = this.getTypedField(14, rep);
1348 return retVal;
1349 }
1350
1351
1352
1353
1354
1355
1356 public int getPid14_PhoneNumberBusinessReps() {
1357 return this.getReps(14);
1358 }
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368 public XTN insertPhoneNumberBusiness(int rep) throws HL7Exception {
1369 return (XTN) super.insertRepetition(14, rep);
1370 }
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380 public XTN insertPid14_PhoneNumberBusiness(int rep) throws HL7Exception {
1381 return (XTN) super.insertRepetition(14, rep);
1382 }
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392 public XTN removePhoneNumberBusiness(int rep) throws HL7Exception {
1393 return (XTN) super.removeRepetition(14, rep);
1394 }
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404 public XTN removePid14_PhoneNumberBusiness(int rep) throws HL7Exception {
1405 return (XTN) super.removeRepetition(14, rep);
1406 }
1407
1408
1409
1410
1411
1412
1413
1414
1415 public CE getPrimaryLanguage() {
1416 CE retVal = this.getTypedField(15, 0);
1417 return retVal;
1418 }
1419
1420
1421
1422
1423
1424 public CE getPid15_PrimaryLanguage() {
1425 CE retVal = this.getTypedField(15, 0);
1426 return retVal;
1427 }
1428
1429
1430
1431
1432
1433
1434
1435 public CE getMaritalStatus() {
1436 CE retVal = this.getTypedField(16, 0);
1437 return retVal;
1438 }
1439
1440
1441
1442
1443
1444 public CE getPid16_MaritalStatus() {
1445 CE retVal = this.getTypedField(16, 0);
1446 return retVal;
1447 }
1448
1449
1450
1451
1452
1453
1454
1455 public CE getReligion() {
1456 CE retVal = this.getTypedField(17, 0);
1457 return retVal;
1458 }
1459
1460
1461
1462
1463
1464 public CE getPid17_Religion() {
1465 CE retVal = this.getTypedField(17, 0);
1466 return retVal;
1467 }
1468
1469
1470
1471
1472
1473
1474
1475 public CX getPatientAccountNumber() {
1476 CX retVal = this.getTypedField(18, 0);
1477 return retVal;
1478 }
1479
1480
1481
1482
1483
1484 public CX getPid18_PatientAccountNumber() {
1485 CX retVal = this.getTypedField(18, 0);
1486 return retVal;
1487 }
1488
1489
1490
1491
1492
1493 public ST[] getSSNNumberPatient() {
1494 ST[] retVal = this.getTypedField(19, new ST[0]);
1495 return retVal;
1496 }
1497
1498
1499
1500
1501
1502 public ST[] getPid19_SSNNumberPatient() {
1503 ST[] retVal = this.getTypedField(19, new ST[0]);
1504 return retVal;
1505 }
1506
1507
1508
1509
1510
1511
1512
1513 public int getSSNNumberPatientReps() {
1514 return this.getReps(19);
1515 }
1516
1517
1518
1519
1520
1521
1522
1523
1524 public ST getSSNNumberPatient(int rep) {
1525 ST retVal = this.getTypedField(19, rep);
1526 return retVal;
1527 }
1528
1529
1530
1531
1532
1533
1534
1535 public ST getPid19_SSNNumberPatient(int rep) {
1536 ST retVal = this.getTypedField(19, rep);
1537 return retVal;
1538 }
1539
1540
1541
1542
1543
1544
1545 public int getPid19_SSNNumberPatientReps() {
1546 return this.getReps(19);
1547 }
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557 public ST insertSSNNumberPatient(int rep) throws HL7Exception {
1558 return (ST) super.insertRepetition(19, rep);
1559 }
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569 public ST insertPid19_SSNNumberPatient(int rep) throws HL7Exception {
1570 return (ST) super.insertRepetition(19, rep);
1571 }
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581 public ST removeSSNNumberPatient(int rep) throws HL7Exception {
1582 return (ST) super.removeRepetition(19, rep);
1583 }
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593 public ST removePid19_SSNNumberPatient(int rep) throws HL7Exception {
1594 return (ST) super.removeRepetition(19, rep);
1595 }
1596
1597
1598
1599
1600
1601
1602 public DLN[] getDriverSLicenseNumberPatient() {
1603 DLN[] retVal = this.getTypedField(20, new DLN[0]);
1604 return retVal;
1605 }
1606
1607
1608
1609
1610
1611 public DLN[] getPid20_DriverSLicenseNumberPatient() {
1612 DLN[] retVal = this.getTypedField(20, new DLN[0]);
1613 return retVal;
1614 }
1615
1616
1617
1618
1619
1620
1621
1622 public int getDriverSLicenseNumberPatientReps() {
1623 return this.getReps(20);
1624 }
1625
1626
1627
1628
1629
1630
1631
1632
1633 public DLN getDriverSLicenseNumberPatient(int rep) {
1634 DLN retVal = this.getTypedField(20, rep);
1635 return retVal;
1636 }
1637
1638
1639
1640
1641
1642
1643
1644 public DLN getPid20_DriverSLicenseNumberPatient(int rep) {
1645 DLN retVal = this.getTypedField(20, rep);
1646 return retVal;
1647 }
1648
1649
1650
1651
1652
1653
1654 public int getPid20_DriverSLicenseNumberPatientReps() {
1655 return this.getReps(20);
1656 }
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666 public DLN insertDriverSLicenseNumberPatient(int rep) throws HL7Exception {
1667 return (DLN) super.insertRepetition(20, rep);
1668 }
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678 public DLN insertPid20_DriverSLicenseNumberPatient(int rep) throws HL7Exception {
1679 return (DLN) super.insertRepetition(20, rep);
1680 }
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690 public DLN removeDriverSLicenseNumberPatient(int rep) throws HL7Exception {
1691 return (DLN) super.removeRepetition(20, rep);
1692 }
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702 public DLN removePid20_DriverSLicenseNumberPatient(int rep) throws HL7Exception {
1703 return (DLN) super.removeRepetition(20, rep);
1704 }
1705
1706
1707
1708
1709
1710
1711 public CX[] getMotherSIdentifier() {
1712 CX[] retVal = this.getTypedField(21, new CX[0]);
1713 return retVal;
1714 }
1715
1716
1717
1718
1719
1720 public CX[] getPid21_MotherSIdentifier() {
1721 CX[] retVal = this.getTypedField(21, new CX[0]);
1722 return retVal;
1723 }
1724
1725
1726
1727
1728
1729
1730
1731 public int getMotherSIdentifierReps() {
1732 return this.getReps(21);
1733 }
1734
1735
1736
1737
1738
1739
1740
1741
1742 public CX getMotherSIdentifier(int rep) {
1743 CX retVal = this.getTypedField(21, rep);
1744 return retVal;
1745 }
1746
1747
1748
1749
1750
1751
1752
1753 public CX getPid21_MotherSIdentifier(int rep) {
1754 CX retVal = this.getTypedField(21, rep);
1755 return retVal;
1756 }
1757
1758
1759
1760
1761
1762
1763 public int getPid21_MotherSIdentifierReps() {
1764 return this.getReps(21);
1765 }
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775 public CX insertMotherSIdentifier(int rep) throws HL7Exception {
1776 return (CX) super.insertRepetition(21, rep);
1777 }
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787 public CX insertPid21_MotherSIdentifier(int rep) throws HL7Exception {
1788 return (CX) super.insertRepetition(21, rep);
1789 }
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799 public CX removeMotherSIdentifier(int rep) throws HL7Exception {
1800 return (CX) super.removeRepetition(21, rep);
1801 }
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811 public CX removePid21_MotherSIdentifier(int rep) throws HL7Exception {
1812 return (CX) super.removeRepetition(21, rep);
1813 }
1814
1815
1816
1817
1818
1819
1820 public CE[] getEthnicGroup() {
1821 CE[] retVal = this.getTypedField(22, new CE[0]);
1822 return retVal;
1823 }
1824
1825
1826
1827
1828
1829 public CE[] getPid22_EthnicGroup() {
1830 CE[] retVal = this.getTypedField(22, new CE[0]);
1831 return retVal;
1832 }
1833
1834
1835
1836
1837
1838
1839
1840 public int getEthnicGroupReps() {
1841 return this.getReps(22);
1842 }
1843
1844
1845
1846
1847
1848
1849
1850
1851 public CE getEthnicGroup(int rep) {
1852 CE retVal = this.getTypedField(22, rep);
1853 return retVal;
1854 }
1855
1856
1857
1858
1859
1860
1861
1862 public CE getPid22_EthnicGroup(int rep) {
1863 CE retVal = this.getTypedField(22, rep);
1864 return retVal;
1865 }
1866
1867
1868
1869
1870
1871
1872 public int getPid22_EthnicGroupReps() {
1873 return this.getReps(22);
1874 }
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884 public CE insertEthnicGroup(int rep) throws HL7Exception {
1885 return (CE) super.insertRepetition(22, rep);
1886 }
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896 public CE insertPid22_EthnicGroup(int rep) throws HL7Exception {
1897 return (CE) super.insertRepetition(22, rep);
1898 }
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908 public CE removeEthnicGroup(int rep) throws HL7Exception {
1909 return (CE) super.removeRepetition(22, rep);
1910 }
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920 public CE removePid22_EthnicGroup(int rep) throws HL7Exception {
1921 return (CE) super.removeRepetition(22, rep);
1922 }
1923
1924
1925
1926
1927
1928
1929
1930
1931 public ST getBirthPlace() {
1932 ST retVal = this.getTypedField(23, 0);
1933 return retVal;
1934 }
1935
1936
1937
1938
1939
1940 public ST getPid23_BirthPlace() {
1941 ST retVal = this.getTypedField(23, 0);
1942 return retVal;
1943 }
1944
1945
1946
1947
1948
1949
1950
1951 public ID getMultipleBirthIndicator() {
1952 ID retVal = this.getTypedField(24, 0);
1953 return retVal;
1954 }
1955
1956
1957
1958
1959
1960 public ID getPid24_MultipleBirthIndicator() {
1961 ID retVal = this.getTypedField(24, 0);
1962 return retVal;
1963 }
1964
1965
1966
1967
1968
1969
1970
1971 public NM getBirthOrder() {
1972 NM retVal = this.getTypedField(25, 0);
1973 return retVal;
1974 }
1975
1976
1977
1978
1979
1980 public NM getPid25_BirthOrder() {
1981 NM retVal = this.getTypedField(25, 0);
1982 return retVal;
1983 }
1984
1985
1986
1987
1988
1989 public CE[] getCitizenship() {
1990 CE[] retVal = this.getTypedField(26, new CE[0]);
1991 return retVal;
1992 }
1993
1994
1995
1996
1997
1998 public CE[] getPid26_Citizenship() {
1999 CE[] retVal = this.getTypedField(26, new CE[0]);
2000 return retVal;
2001 }
2002
2003
2004
2005
2006
2007
2008
2009 public int getCitizenshipReps() {
2010 return this.getReps(26);
2011 }
2012
2013
2014
2015
2016
2017
2018
2019
2020 public CE getCitizenship(int rep) {
2021 CE retVal = this.getTypedField(26, rep);
2022 return retVal;
2023 }
2024
2025
2026
2027
2028
2029
2030
2031 public CE getPid26_Citizenship(int rep) {
2032 CE retVal = this.getTypedField(26, rep);
2033 return retVal;
2034 }
2035
2036
2037
2038
2039
2040
2041 public int getPid26_CitizenshipReps() {
2042 return this.getReps(26);
2043 }
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053 public CE insertCitizenship(int rep) throws HL7Exception {
2054 return (CE) super.insertRepetition(26, rep);
2055 }
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065 public CE insertPid26_Citizenship(int rep) throws HL7Exception {
2066 return (CE) super.insertRepetition(26, rep);
2067 }
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077 public CE removeCitizenship(int rep) throws HL7Exception {
2078 return (CE) super.removeRepetition(26, rep);
2079 }
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089 public CE removePid26_Citizenship(int rep) throws HL7Exception {
2090 return (CE) super.removeRepetition(26, rep);
2091 }
2092
2093
2094
2095
2096
2097
2098
2099
2100 public CE getVeteransMilitaryStatus() {
2101 CE retVal = this.getTypedField(27, 0);
2102 return retVal;
2103 }
2104
2105
2106
2107
2108
2109 public CE getPid27_VeteransMilitaryStatus() {
2110 CE retVal = this.getTypedField(27, 0);
2111 return retVal;
2112 }
2113
2114
2115
2116
2117
2118 public CE[] getNationality() {
2119 CE[] retVal = this.getTypedField(28, new CE[0]);
2120 return retVal;
2121 }
2122
2123
2124
2125
2126
2127 public CE[] getPid28_Nationality() {
2128 CE[] retVal = this.getTypedField(28, new CE[0]);
2129 return retVal;
2130 }
2131
2132
2133
2134
2135
2136
2137
2138 public int getNationalityReps() {
2139 return this.getReps(28);
2140 }
2141
2142
2143
2144
2145
2146
2147
2148
2149 public CE getNationality(int rep) {
2150 CE retVal = this.getTypedField(28, rep);
2151 return retVal;
2152 }
2153
2154
2155
2156
2157
2158
2159
2160 public CE getPid28_Nationality(int rep) {
2161 CE retVal = this.getTypedField(28, rep);
2162 return retVal;
2163 }
2164
2165
2166
2167
2168
2169
2170 public int getPid28_NationalityReps() {
2171 return this.getReps(28);
2172 }
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182 public CE insertNationality(int rep) throws HL7Exception {
2183 return (CE) super.insertRepetition(28, rep);
2184 }
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194 public CE insertPid28_Nationality(int rep) throws HL7Exception {
2195 return (CE) super.insertRepetition(28, rep);
2196 }
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206 public CE removeNationality(int rep) throws HL7Exception {
2207 return (CE) super.removeRepetition(28, rep);
2208 }
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218 public CE removePid28_Nationality(int rep) throws HL7Exception {
2219 return (CE) super.removeRepetition(28, rep);
2220 }
2221
2222
2223
2224
2225
2226
2227
2228
2229 public TS getPatientDeathDateAndTime() {
2230 TS retVal = this.getTypedField(29, 0);
2231 return retVal;
2232 }
2233
2234
2235
2236
2237
2238 public TS getPid29_PatientDeathDateAndTime() {
2239 TS retVal = this.getTypedField(29, 0);
2240 return retVal;
2241 }
2242
2243
2244
2245
2246
2247
2248
2249 public ID getPatientDeathIndicator() {
2250 ID retVal = this.getTypedField(30, 0);
2251 return retVal;
2252 }
2253
2254
2255
2256
2257
2258 public ID getPid30_PatientDeathIndicator() {
2259 ID retVal = this.getTypedField(30, 0);
2260 return retVal;
2261 }
2262
2263
2264
2265
2266
2267
2268
2269 public ID getIdentityUnknownIndicator() {
2270 ID retVal = this.getTypedField(31, 0);
2271 return retVal;
2272 }
2273
2274
2275
2276
2277
2278 public ID getPid31_IdentityUnknownIndicator() {
2279 ID retVal = this.getTypedField(31, 0);
2280 return retVal;
2281 }
2282
2283
2284
2285
2286
2287 public IS[] getIdentityReliabilityCode() {
2288 IS[] retVal = this.getTypedField(32, new IS[0]);
2289 return retVal;
2290 }
2291
2292
2293
2294
2295
2296 public IS[] getPid32_IdentityReliabilityCode() {
2297 IS[] retVal = this.getTypedField(32, new IS[0]);
2298 return retVal;
2299 }
2300
2301
2302
2303
2304
2305
2306
2307 public int getIdentityReliabilityCodeReps() {
2308 return this.getReps(32);
2309 }
2310
2311
2312
2313
2314
2315
2316
2317
2318 public IS getIdentityReliabilityCode(int rep) {
2319 IS retVal = this.getTypedField(32, rep);
2320 return retVal;
2321 }
2322
2323
2324
2325
2326
2327
2328
2329 public IS getPid32_IdentityReliabilityCode(int rep) {
2330 IS retVal = this.getTypedField(32, rep);
2331 return retVal;
2332 }
2333
2334
2335
2336
2337
2338
2339 public int getPid32_IdentityReliabilityCodeReps() {
2340 return this.getReps(32);
2341 }
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351 public IS insertIdentityReliabilityCode(int rep) throws HL7Exception {
2352 return (IS) super.insertRepetition(32, rep);
2353 }
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363 public IS insertPid32_IdentityReliabilityCode(int rep) throws HL7Exception {
2364 return (IS) super.insertRepetition(32, rep);
2365 }
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375 public IS removeIdentityReliabilityCode(int rep) throws HL7Exception {
2376 return (IS) super.removeRepetition(32, rep);
2377 }
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387 public IS removePid32_IdentityReliabilityCode(int rep) throws HL7Exception {
2388 return (IS) super.removeRepetition(32, rep);
2389 }
2390
2391
2392
2393
2394
2395
2396
2397
2398 public TS getLastUpdateDateTime() {
2399 TS retVal = this.getTypedField(33, 0);
2400 return retVal;
2401 }
2402
2403
2404
2405
2406
2407 public TS getPid33_LastUpdateDateTime() {
2408 TS retVal = this.getTypedField(33, 0);
2409 return retVal;
2410 }
2411
2412
2413
2414
2415
2416
2417
2418 public HD getLastUpdateFacility() {
2419 HD retVal = this.getTypedField(34, 0);
2420 return retVal;
2421 }
2422
2423
2424
2425
2426
2427 public HD getPid34_LastUpdateFacility() {
2428 HD retVal = this.getTypedField(34, 0);
2429 return retVal;
2430 }
2431
2432
2433
2434
2435
2436
2437
2438 public CE getSpeciesCode() {
2439 CE retVal = this.getTypedField(35, 0);
2440 return retVal;
2441 }
2442
2443
2444
2445
2446
2447 public CE getPid35_SpeciesCode() {
2448 CE retVal = this.getTypedField(35, 0);
2449 return retVal;
2450 }
2451
2452
2453
2454
2455
2456
2457
2458 public CE getBreedCode() {
2459 CE retVal = this.getTypedField(36, 0);
2460 return retVal;
2461 }
2462
2463
2464
2465
2466
2467 public CE getPid36_BreedCode() {
2468 CE retVal = this.getTypedField(36, 0);
2469 return retVal;
2470 }
2471
2472
2473
2474
2475
2476
2477
2478 public ST getStrain() {
2479 ST retVal = this.getTypedField(37, 0);
2480 return retVal;
2481 }
2482
2483
2484
2485
2486
2487 public ST getPid37_Strain() {
2488 ST retVal = this.getTypedField(37, 0);
2489 return retVal;
2490 }
2491
2492
2493
2494
2495
2496
2497
2498 public CE getProductionClassCode() {
2499 CE retVal = this.getTypedField(38, 0);
2500 return retVal;
2501 }
2502
2503
2504
2505
2506
2507 public CE getPid38_ProductionClassCode() {
2508 CE retVal = this.getTypedField(38, 0);
2509 return retVal;
2510 }
2511
2512
2513
2514
2515
2516 public CWE[] getTribalCitizenship() {
2517 CWE[] retVal = this.getTypedField(39, new CWE[0]);
2518 return retVal;
2519 }
2520
2521
2522
2523
2524
2525 public CWE[] getPid39_TribalCitizenship() {
2526 CWE[] retVal = this.getTypedField(39, new CWE[0]);
2527 return retVal;
2528 }
2529
2530
2531
2532
2533
2534
2535
2536 public int getTribalCitizenshipReps() {
2537 return this.getReps(39);
2538 }
2539
2540
2541
2542
2543
2544
2545
2546
2547 public CWE getTribalCitizenship(int rep) {
2548 CWE retVal = this.getTypedField(39, rep);
2549 return retVal;
2550 }
2551
2552
2553
2554
2555
2556
2557
2558 public CWE getPid39_TribalCitizenship(int rep) {
2559 CWE retVal = this.getTypedField(39, rep);
2560 return retVal;
2561 }
2562
2563
2564
2565
2566
2567
2568 public int getPid39_TribalCitizenshipReps() {
2569 return this.getReps(39);
2570 }
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580 public CWE insertTribalCitizenship(int rep) throws HL7Exception {
2581 return (CWE) super.insertRepetition(39, rep);
2582 }
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592 public CWE insertPid39_TribalCitizenship(int rep) throws HL7Exception {
2593 return (CWE) super.insertRepetition(39, rep);
2594 }
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604 public CWE removeTribalCitizenship(int rep) throws HL7Exception {
2605 return (CWE) super.removeRepetition(39, rep);
2606 }
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616 public CWE removePid39_TribalCitizenship(int rep) throws HL7Exception {
2617 return (CWE) super.removeRepetition(39, rep);
2618 }
2619
2620
2621
2622
2623
2624
2625
2626 protected Type createNewTypeWithoutReflection(int field) {
2627 switch (field) {
2628 case 0: return new SI(getMessage());
2629 case 1: return new CX(getMessage());
2630 case 2: return new CX(getMessage());
2631 case 3: return new CX(getMessage());
2632 case 4: return new XPN(getMessage());
2633 case 5: return new XPN(getMessage());
2634 case 6: return new TS(getMessage());
2635 case 7: return new IS(getMessage(), new Integer( 1 ));
2636 case 8: return new XPN(getMessage());
2637 case 9: return new CE(getMessage());
2638 case 10: return new XAD(getMessage());
2639 case 11: return new IS(getMessage(), new Integer( 289 ));
2640 case 12: return new XTN(getMessage());
2641 case 13: return new XTN(getMessage());
2642 case 14: return new CE(getMessage());
2643 case 15: return new CE(getMessage());
2644 case 16: return new CE(getMessage());
2645 case 17: return new CX(getMessage());
2646 case 18: return new ST(getMessage());
2647 case 19: return new DLN(getMessage());
2648 case 20: return new CX(getMessage());
2649 case 21: return new CE(getMessage());
2650 case 22: return new ST(getMessage());
2651 case 23: return new ID(getMessage(), new Integer( 136 ));
2652 case 24: return new NM(getMessage());
2653 case 25: return new CE(getMessage());
2654 case 26: return new CE(getMessage());
2655 case 27: return new CE(getMessage());
2656 case 28: return new TS(getMessage());
2657 case 29: return new ID(getMessage(), new Integer( 136 ));
2658 case 30: return new ID(getMessage(), new Integer( 136 ));
2659 case 31: return new IS(getMessage(), new Integer( 445 ));
2660 case 32: return new TS(getMessage());
2661 case 33: return new HD(getMessage());
2662 case 34: return new CE(getMessage());
2663 case 35: return new CE(getMessage());
2664 case 36: return new ST(getMessage());
2665 case 37: return new CE(getMessage());
2666 case 38: return new CWE(getMessage());
2667 default: return null;
2668 }
2669 }
2670
2671
2672 }
2673