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.v21.segment;
35
36
37 import ca.uhn.hl7v2.model.v21.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 @SuppressWarnings("unused")
91 public class OBR extends AbstractSegment {
92
93
94
95
96 public OBR(Group parent, ModelClassFactory factory) {
97 super(parent, factory);
98 init(factory);
99 }
100
101 private void init(ModelClassFactory factory) {
102 try {
103 this.add(SI.class, false, 1, 4, new Object[]{ getMessage() }, "SET ID - OBSERVATION REQUEST");
104 this.add(CM.class, false, 1, 75, new Object[]{ getMessage() }, "PLACER ORDER #");
105 this.add(CM.class, false, 1, 75, new Object[]{ getMessage() }, "FILLER ORDER #");
106 this.add(CE.class, true, 1, 200, new Object[]{ getMessage() }, "UNIVERSAL SERVICE IDENT.");
107 this.add(ST.class, false, 1, 2, new Object[]{ getMessage() }, "PRIORITY");
108 this.add(TS.class, false, 1, 19, new Object[]{ getMessage() }, "REQUESTED DATE-TIME");
109 this.add(TS.class, true, 1, 19, new Object[]{ getMessage() }, "OBSERVATION DATE/TIME");
110 this.add(TS.class, true, 1, 19, new Object[]{ getMessage() }, "OBSERVATION END DATE/TIME");
111 this.add(CQ.class, true, 1, 20, new Object[]{ getMessage() }, "COLLECTION VOLUME");
112 this.add(CN.class, false, 0, 60, new Object[]{ getMessage() }, "COLLECTOR IDENTIFIER");
113 this.add(ST.class, false, 1, 1, new Object[]{ getMessage() }, "SPECIMEN ACTION CODE");
114 this.add(CM.class, false, 1, 60, new Object[]{ getMessage() }, "DANGER CODE");
115 this.add(ST.class, false, 1, 300, new Object[]{ getMessage() }, "RELEVANT CLINICAL INFO.");
116 this.add(TS.class, true, 1, 19, new Object[]{ getMessage() }, "SPECIMEN RECEIVED DATE/TIME");
117 this.add(CM.class, false, 1, 300, new Object[]{ getMessage() }, "SPECIMEN SOURCE");
118 this.add(CN.class, false, 0, 60, new Object[]{ getMessage() }, "ORDERING PROVIDER");
119 this.add(TN.class, false, 2, 40, new Object[]{ getMessage() }, "ORDER CALL-BACK PHONE NUM");
120 this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "PLACERS FIELD #1");
121 this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "PLACERS FIELD #2");
122 this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "FILLERS FIELD #1");
123 this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "FILLERS FIELD #2");
124 this.add(TS.class, true, 1, 19, new Object[]{ getMessage() }, "RESULTS RPT/STATUS CHNG - DATE/T");
125 this.add(CM.class, false, 1, 40, new Object[]{ getMessage() }, "CHARGE TO PRACTICE");
126 this.add(ID.class, false, 1, 10, new Object[]{ getMessage(), new Integer(74) }, "DIAGNOSTIC SERV SECT ID");
127 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(123) }, "RESULT STATUS");
128 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "LINKED RESULTS");
129 this.add(CM.class, false, 0, 200, new Object[]{ getMessage() }, "QUANTITY/TIMING");
130 this.add(CN.class, false, 5, 80, new Object[]{ getMessage() }, "RESULT COPIES TO");
131 this.add(CM.class, false, 1, 150, new Object[]{ getMessage() }, "PARENT ACCESSION #");
132 this.add(ID.class, false, 1, 20, new Object[]{ getMessage(), new Integer(124) }, "TRANSPORTATION MODE");
133 this.add(CE.class, false, 0, 300, new Object[]{ getMessage() }, "REASON FOR STUDY");
134 this.add(CN.class, false, 1, 60, new Object[]{ getMessage() }, "PRINCIPAL RESULT INTERPRETER");
135 this.add(CN.class, false, 1, 60, new Object[]{ getMessage() }, "ASSISTANT RESULT INTERPRETER");
136 this.add(CN.class, false, 1, 60, new Object[]{ getMessage() }, "TECHNICIAN");
137 this.add(CN.class, false, 1, 60, new Object[]{ getMessage() }, "TRANSCRIPTIONIST");
138 this.add(TS.class, false, 1, 19, new Object[]{ getMessage() }, "SCHEDULED - DATE/TIME");
139 } catch(HL7Exception e) {
140 log.error("Unexpected error creating OBR - this is probably a bug in the source code generator.", e);
141 }
142 }
143
144
145
146
147
148
149
150 public SI getSETIDOBSERVATIONREQUEST() {
151 SI retVal = this.getTypedField(1, 0);
152 return retVal;
153 }
154
155
156
157
158
159 public SI getObr1_SETIDOBSERVATIONREQUEST() {
160 SI retVal = this.getTypedField(1, 0);
161 return retVal;
162 }
163
164
165
166
167
168
169
170 public CM getPLACERORDER() {
171 CM retVal = this.getTypedField(2, 0);
172 return retVal;
173 }
174
175
176
177
178
179 public CM getObr2_PLACERORDER() {
180 CM retVal = this.getTypedField(2, 0);
181 return retVal;
182 }
183
184
185
186
187
188
189
190 public CM getFILLERORDER() {
191 CM retVal = this.getTypedField(3, 0);
192 return retVal;
193 }
194
195
196
197
198
199 public CM getObr3_FILLERORDER() {
200 CM retVal = this.getTypedField(3, 0);
201 return retVal;
202 }
203
204
205
206
207
208
209
210 public CE getUNIVERSALSERVICEIDENT() {
211 CE retVal = this.getTypedField(4, 0);
212 return retVal;
213 }
214
215
216
217
218
219 public CE getObr4_UNIVERSALSERVICEIDENT() {
220 CE retVal = this.getTypedField(4, 0);
221 return retVal;
222 }
223
224
225
226
227
228
229
230 public ST getPRIORITY() {
231 ST retVal = this.getTypedField(5, 0);
232 return retVal;
233 }
234
235
236
237
238
239 public ST getObr5_PRIORITY() {
240 ST retVal = this.getTypedField(5, 0);
241 return retVal;
242 }
243
244
245
246
247
248
249
250 public TS getREQUESTEDDATETIME() {
251 TS retVal = this.getTypedField(6, 0);
252 return retVal;
253 }
254
255
256
257
258
259 public TS getObr6_REQUESTEDDATETIME() {
260 TS retVal = this.getTypedField(6, 0);
261 return retVal;
262 }
263
264
265
266
267
268
269
270 public TS getOBSERVATIONDATETIME() {
271 TS retVal = this.getTypedField(7, 0);
272 return retVal;
273 }
274
275
276
277
278
279 public TS getObr7_OBSERVATIONDATETIME() {
280 TS retVal = this.getTypedField(7, 0);
281 return retVal;
282 }
283
284
285
286
287
288
289
290 public TS getOBSERVATIONENDDATETIME() {
291 TS retVal = this.getTypedField(8, 0);
292 return retVal;
293 }
294
295
296
297
298
299 public TS getObr8_OBSERVATIONENDDATETIME() {
300 TS retVal = this.getTypedField(8, 0);
301 return retVal;
302 }
303
304
305
306
307
308
309
310 public CQ getCOLLECTIONVOLUME() {
311 CQ retVal = this.getTypedField(9, 0);
312 return retVal;
313 }
314
315
316
317
318
319 public CQ getObr9_COLLECTIONVOLUME() {
320 CQ retVal = this.getTypedField(9, 0);
321 return retVal;
322 }
323
324
325
326
327
328 public CN[] getCOLLECTORIDENTIFIER() {
329 CN[] retVal = this.getTypedField(10, new CN[0]);
330 return retVal;
331 }
332
333
334
335
336
337 public CN[] getObr10_COLLECTORIDENTIFIER() {
338 CN[] retVal = this.getTypedField(10, new CN[0]);
339 return retVal;
340 }
341
342
343
344
345
346
347
348 public int getCOLLECTORIDENTIFIERReps() {
349 return this.getReps(10);
350 }
351
352
353
354
355
356
357
358
359 public CN getCOLLECTORIDENTIFIER(int rep) {
360 CN retVal = this.getTypedField(10, rep);
361 return retVal;
362 }
363
364
365
366
367
368
369
370 public CN getObr10_COLLECTORIDENTIFIER(int rep) {
371 CN retVal = this.getTypedField(10, rep);
372 return retVal;
373 }
374
375
376
377
378
379
380 public int getObr10_COLLECTORIDENTIFIERReps() {
381 return this.getReps(10);
382 }
383
384
385
386
387
388
389
390
391
392 public CN insertCOLLECTORIDENTIFIER(int rep) throws HL7Exception {
393 return (CN) super.insertRepetition(10, rep);
394 }
395
396
397
398
399
400
401
402
403
404 public CN insertObr10_COLLECTORIDENTIFIER(int rep) throws HL7Exception {
405 return (CN) super.insertRepetition(10, rep);
406 }
407
408
409
410
411
412
413
414
415
416 public CN removeCOLLECTORIDENTIFIER(int rep) throws HL7Exception {
417 return (CN) super.removeRepetition(10, rep);
418 }
419
420
421
422
423
424
425
426
427
428 public CN removeObr10_COLLECTORIDENTIFIER(int rep) throws HL7Exception {
429 return (CN) super.removeRepetition(10, rep);
430 }
431
432
433
434
435
436
437
438
439 public ST getSPECIMENACTIONCODE() {
440 ST retVal = this.getTypedField(11, 0);
441 return retVal;
442 }
443
444
445
446
447
448 public ST getObr11_SPECIMENACTIONCODE() {
449 ST retVal = this.getTypedField(11, 0);
450 return retVal;
451 }
452
453
454
455
456
457
458
459 public CM getDANGERCODE() {
460 CM retVal = this.getTypedField(12, 0);
461 return retVal;
462 }
463
464
465
466
467
468 public CM getObr12_DANGERCODE() {
469 CM retVal = this.getTypedField(12, 0);
470 return retVal;
471 }
472
473
474
475
476
477
478
479 public ST getRELEVANTCLINICALINFO() {
480 ST retVal = this.getTypedField(13, 0);
481 return retVal;
482 }
483
484
485
486
487
488 public ST getObr13_RELEVANTCLINICALINFO() {
489 ST retVal = this.getTypedField(13, 0);
490 return retVal;
491 }
492
493
494
495
496
497
498
499 public TS getSPECIMENRECEIVEDDATETIME() {
500 TS retVal = this.getTypedField(14, 0);
501 return retVal;
502 }
503
504
505
506
507
508 public TS getObr14_SPECIMENRECEIVEDDATETIME() {
509 TS retVal = this.getTypedField(14, 0);
510 return retVal;
511 }
512
513
514
515
516
517
518
519 public CM getSPECIMENSOURCE() {
520 CM retVal = this.getTypedField(15, 0);
521 return retVal;
522 }
523
524
525
526
527
528 public CM getObr15_SPECIMENSOURCE() {
529 CM retVal = this.getTypedField(15, 0);
530 return retVal;
531 }
532
533
534
535
536
537 public CN[] getORDERINGPROVIDER() {
538 CN[] retVal = this.getTypedField(16, new CN[0]);
539 return retVal;
540 }
541
542
543
544
545
546 public CN[] getObr16_ORDERINGPROVIDER() {
547 CN[] retVal = this.getTypedField(16, new CN[0]);
548 return retVal;
549 }
550
551
552
553
554
555
556
557 public int getORDERINGPROVIDERReps() {
558 return this.getReps(16);
559 }
560
561
562
563
564
565
566
567
568 public CN getORDERINGPROVIDER(int rep) {
569 CN retVal = this.getTypedField(16, rep);
570 return retVal;
571 }
572
573
574
575
576
577
578
579 public CN getObr16_ORDERINGPROVIDER(int rep) {
580 CN retVal = this.getTypedField(16, rep);
581 return retVal;
582 }
583
584
585
586
587
588
589 public int getObr16_ORDERINGPROVIDERReps() {
590 return this.getReps(16);
591 }
592
593
594
595
596
597
598
599
600
601 public CN insertORDERINGPROVIDER(int rep) throws HL7Exception {
602 return (CN) super.insertRepetition(16, rep);
603 }
604
605
606
607
608
609
610
611
612
613 public CN insertObr16_ORDERINGPROVIDER(int rep) throws HL7Exception {
614 return (CN) super.insertRepetition(16, rep);
615 }
616
617
618
619
620
621
622
623
624
625 public CN removeORDERINGPROVIDER(int rep) throws HL7Exception {
626 return (CN) super.removeRepetition(16, rep);
627 }
628
629
630
631
632
633
634
635
636
637 public CN removeObr16_ORDERINGPROVIDER(int rep) throws HL7Exception {
638 return (CN) super.removeRepetition(16, rep);
639 }
640
641
642
643
644
645
646 public TN[] getORDERCALLBACKPHONENUM() {
647 TN[] retVal = this.getTypedField(17, new TN[0]);
648 return retVal;
649 }
650
651
652
653
654
655 public TN[] getObr17_ORDERCALLBACKPHONENUM() {
656 TN[] retVal = this.getTypedField(17, new TN[0]);
657 return retVal;
658 }
659
660
661
662
663
664
665
666 public int getORDERCALLBACKPHONENUMReps() {
667 return this.getReps(17);
668 }
669
670
671
672
673
674
675
676
677 public TN getORDERCALLBACKPHONENUM(int rep) {
678 TN retVal = this.getTypedField(17, rep);
679 return retVal;
680 }
681
682
683
684
685
686
687
688 public TN getObr17_ORDERCALLBACKPHONENUM(int rep) {
689 TN retVal = this.getTypedField(17, rep);
690 return retVal;
691 }
692
693
694
695
696
697
698 public int getObr17_ORDERCALLBACKPHONENUMReps() {
699 return this.getReps(17);
700 }
701
702
703
704
705
706
707
708
709
710 public TN insertORDERCALLBACKPHONENUM(int rep) throws HL7Exception {
711 return (TN) super.insertRepetition(17, rep);
712 }
713
714
715
716
717
718
719
720
721
722 public TN insertObr17_ORDERCALLBACKPHONENUM(int rep) throws HL7Exception {
723 return (TN) super.insertRepetition(17, rep);
724 }
725
726
727
728
729
730
731
732
733
734 public TN removeORDERCALLBACKPHONENUM(int rep) throws HL7Exception {
735 return (TN) super.removeRepetition(17, rep);
736 }
737
738
739
740
741
742
743
744
745
746 public TN removeObr17_ORDERCALLBACKPHONENUM(int rep) throws HL7Exception {
747 return (TN) super.removeRepetition(17, rep);
748 }
749
750
751
752
753
754
755
756
757 public ST getPLACERSFIELD1() {
758 ST retVal = this.getTypedField(18, 0);
759 return retVal;
760 }
761
762
763
764
765
766 public ST getObr18_PLACERSFIELD1() {
767 ST retVal = this.getTypedField(18, 0);
768 return retVal;
769 }
770
771
772
773
774
775
776
777 public ST getPLACERSFIELD2() {
778 ST retVal = this.getTypedField(19, 0);
779 return retVal;
780 }
781
782
783
784
785
786 public ST getObr19_PLACERSFIELD2() {
787 ST retVal = this.getTypedField(19, 0);
788 return retVal;
789 }
790
791
792
793
794
795
796
797 public ST getFILLERSFIELD1() {
798 ST retVal = this.getTypedField(20, 0);
799 return retVal;
800 }
801
802
803
804
805
806 public ST getObr20_FILLERSFIELD1() {
807 ST retVal = this.getTypedField(20, 0);
808 return retVal;
809 }
810
811
812
813
814
815
816
817 public ST getFILLERSFIELD2() {
818 ST retVal = this.getTypedField(21, 0);
819 return retVal;
820 }
821
822
823
824
825
826 public ST getObr21_FILLERSFIELD2() {
827 ST retVal = this.getTypedField(21, 0);
828 return retVal;
829 }
830
831
832
833
834
835
836
837 public TS getRESULTSRPTSTATUSCHNGDATET() {
838 TS retVal = this.getTypedField(22, 0);
839 return retVal;
840 }
841
842
843
844
845
846 public TS getObr22_RESULTSRPTSTATUSCHNGDATET() {
847 TS retVal = this.getTypedField(22, 0);
848 return retVal;
849 }
850
851
852
853
854
855
856
857 public CM getCHARGETOPRACTICE() {
858 CM retVal = this.getTypedField(23, 0);
859 return retVal;
860 }
861
862
863
864
865
866 public CM getObr23_CHARGETOPRACTICE() {
867 CM retVal = this.getTypedField(23, 0);
868 return retVal;
869 }
870
871
872
873
874
875
876
877 public ID getDIAGNOSTICSERVSECTID() {
878 ID retVal = this.getTypedField(24, 0);
879 return retVal;
880 }
881
882
883
884
885
886 public ID getObr24_DIAGNOSTICSERVSECTID() {
887 ID retVal = this.getTypedField(24, 0);
888 return retVal;
889 }
890
891
892
893
894
895
896
897 public ID getRESULTSTATUS() {
898 ID retVal = this.getTypedField(25, 0);
899 return retVal;
900 }
901
902
903
904
905
906 public ID getObr25_RESULTSTATUS() {
907 ID retVal = this.getTypedField(25, 0);
908 return retVal;
909 }
910
911
912
913
914
915
916
917 public CE getLINKEDRESULTS() {
918 CE retVal = this.getTypedField(26, 0);
919 return retVal;
920 }
921
922
923
924
925
926 public CE getObr26_LINKEDRESULTS() {
927 CE retVal = this.getTypedField(26, 0);
928 return retVal;
929 }
930
931
932
933
934
935 public CM[] getQUANTITYTIMING() {
936 CM[] retVal = this.getTypedField(27, new CM[0]);
937 return retVal;
938 }
939
940
941
942
943
944 public CM[] getObr27_QUANTITYTIMING() {
945 CM[] retVal = this.getTypedField(27, new CM[0]);
946 return retVal;
947 }
948
949
950
951
952
953
954
955 public int getQUANTITYTIMINGReps() {
956 return this.getReps(27);
957 }
958
959
960
961
962
963
964
965
966 public CM getQUANTITYTIMING(int rep) {
967 CM retVal = this.getTypedField(27, rep);
968 return retVal;
969 }
970
971
972
973
974
975
976
977 public CM getObr27_QUANTITYTIMING(int rep) {
978 CM retVal = this.getTypedField(27, rep);
979 return retVal;
980 }
981
982
983
984
985
986
987 public int getObr27_QUANTITYTIMINGReps() {
988 return this.getReps(27);
989 }
990
991
992
993
994
995
996
997
998
999 public CM insertQUANTITYTIMING(int rep) throws HL7Exception {
1000 return (CM) super.insertRepetition(27, rep);
1001 }
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011 public CM insertObr27_QUANTITYTIMING(int rep) throws HL7Exception {
1012 return (CM) super.insertRepetition(27, rep);
1013 }
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023 public CM removeQUANTITYTIMING(int rep) throws HL7Exception {
1024 return (CM) super.removeRepetition(27, rep);
1025 }
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035 public CM removeObr27_QUANTITYTIMING(int rep) throws HL7Exception {
1036 return (CM) super.removeRepetition(27, rep);
1037 }
1038
1039
1040
1041
1042
1043
1044 public CN[] getRESULTCOPIESTO() {
1045 CN[] retVal = this.getTypedField(28, new CN[0]);
1046 return retVal;
1047 }
1048
1049
1050
1051
1052
1053 public CN[] getObr28_RESULTCOPIESTO() {
1054 CN[] retVal = this.getTypedField(28, new CN[0]);
1055 return retVal;
1056 }
1057
1058
1059
1060
1061
1062
1063
1064 public int getRESULTCOPIESTOReps() {
1065 return this.getReps(28);
1066 }
1067
1068
1069
1070
1071
1072
1073
1074
1075 public CN getRESULTCOPIESTO(int rep) {
1076 CN retVal = this.getTypedField(28, rep);
1077 return retVal;
1078 }
1079
1080
1081
1082
1083
1084
1085
1086 public CN getObr28_RESULTCOPIESTO(int rep) {
1087 CN retVal = this.getTypedField(28, rep);
1088 return retVal;
1089 }
1090
1091
1092
1093
1094
1095
1096 public int getObr28_RESULTCOPIESTOReps() {
1097 return this.getReps(28);
1098 }
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108 public CN insertRESULTCOPIESTO(int rep) throws HL7Exception {
1109 return (CN) super.insertRepetition(28, rep);
1110 }
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120 public CN insertObr28_RESULTCOPIESTO(int rep) throws HL7Exception {
1121 return (CN) super.insertRepetition(28, rep);
1122 }
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132 public CN removeRESULTCOPIESTO(int rep) throws HL7Exception {
1133 return (CN) super.removeRepetition(28, rep);
1134 }
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144 public CN removeObr28_RESULTCOPIESTO(int rep) throws HL7Exception {
1145 return (CN) super.removeRepetition(28, rep);
1146 }
1147
1148
1149
1150
1151
1152
1153
1154
1155 public CM getPARENTACCESSION() {
1156 CM retVal = this.getTypedField(29, 0);
1157 return retVal;
1158 }
1159
1160
1161
1162
1163
1164 public CM getObr29_PARENTACCESSION() {
1165 CM retVal = this.getTypedField(29, 0);
1166 return retVal;
1167 }
1168
1169
1170
1171
1172
1173
1174
1175 public ID getTRANSPORTATIONMODE() {
1176 ID retVal = this.getTypedField(30, 0);
1177 return retVal;
1178 }
1179
1180
1181
1182
1183
1184 public ID getObr30_TRANSPORTATIONMODE() {
1185 ID retVal = this.getTypedField(30, 0);
1186 return retVal;
1187 }
1188
1189
1190
1191
1192
1193 public CE[] getREASONFORSTUDY() {
1194 CE[] retVal = this.getTypedField(31, new CE[0]);
1195 return retVal;
1196 }
1197
1198
1199
1200
1201
1202 public CE[] getObr31_REASONFORSTUDY() {
1203 CE[] retVal = this.getTypedField(31, new CE[0]);
1204 return retVal;
1205 }
1206
1207
1208
1209
1210
1211
1212
1213 public int getREASONFORSTUDYReps() {
1214 return this.getReps(31);
1215 }
1216
1217
1218
1219
1220
1221
1222
1223
1224 public CE getREASONFORSTUDY(int rep) {
1225 CE retVal = this.getTypedField(31, rep);
1226 return retVal;
1227 }
1228
1229
1230
1231
1232
1233
1234
1235 public CE getObr31_REASONFORSTUDY(int rep) {
1236 CE retVal = this.getTypedField(31, rep);
1237 return retVal;
1238 }
1239
1240
1241
1242
1243
1244
1245 public int getObr31_REASONFORSTUDYReps() {
1246 return this.getReps(31);
1247 }
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257 public CE insertREASONFORSTUDY(int rep) throws HL7Exception {
1258 return (CE) super.insertRepetition(31, rep);
1259 }
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269 public CE insertObr31_REASONFORSTUDY(int rep) throws HL7Exception {
1270 return (CE) super.insertRepetition(31, rep);
1271 }
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281 public CE removeREASONFORSTUDY(int rep) throws HL7Exception {
1282 return (CE) super.removeRepetition(31, rep);
1283 }
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293 public CE removeObr31_REASONFORSTUDY(int rep) throws HL7Exception {
1294 return (CE) super.removeRepetition(31, rep);
1295 }
1296
1297
1298
1299
1300
1301
1302
1303
1304 public CN getPRINCIPALRESULTINTERPRETER() {
1305 CN retVal = this.getTypedField(32, 0);
1306 return retVal;
1307 }
1308
1309
1310
1311
1312
1313 public CN getObr32_PRINCIPALRESULTINTERPRETER() {
1314 CN retVal = this.getTypedField(32, 0);
1315 return retVal;
1316 }
1317
1318
1319
1320
1321
1322
1323
1324 public CN getASSISTANTRESULTINTERPRETER() {
1325 CN retVal = this.getTypedField(33, 0);
1326 return retVal;
1327 }
1328
1329
1330
1331
1332
1333 public CN getObr33_ASSISTANTRESULTINTERPRETER() {
1334 CN retVal = this.getTypedField(33, 0);
1335 return retVal;
1336 }
1337
1338
1339
1340
1341
1342
1343
1344 public CN getTECHNICIAN() {
1345 CN retVal = this.getTypedField(34, 0);
1346 return retVal;
1347 }
1348
1349
1350
1351
1352
1353 public CN getObr34_TECHNICIAN() {
1354 CN retVal = this.getTypedField(34, 0);
1355 return retVal;
1356 }
1357
1358
1359
1360
1361
1362
1363
1364 public CN getTRANSCRIPTIONIST() {
1365 CN retVal = this.getTypedField(35, 0);
1366 return retVal;
1367 }
1368
1369
1370
1371
1372
1373 public CN getObr35_TRANSCRIPTIONIST() {
1374 CN retVal = this.getTypedField(35, 0);
1375 return retVal;
1376 }
1377
1378
1379
1380
1381
1382
1383
1384 public TS getSCHEDULEDDATETIME() {
1385 TS retVal = this.getTypedField(36, 0);
1386 return retVal;
1387 }
1388
1389
1390
1391
1392
1393 public TS getObr36_SCHEDULEDDATETIME() {
1394 TS retVal = this.getTypedField(36, 0);
1395 return retVal;
1396 }
1397
1398
1399
1400
1401
1402
1403 protected Type createNewTypeWithoutReflection(int field) {
1404 switch (field) {
1405 case 0: return new SI(getMessage());
1406 case 1: return new CM(getMessage());
1407 case 2: return new CM(getMessage());
1408 case 3: return new CE(getMessage());
1409 case 4: return new ST(getMessage());
1410 case 5: return new TS(getMessage());
1411 case 6: return new TS(getMessage());
1412 case 7: return new TS(getMessage());
1413 case 8: return new CQ(getMessage());
1414 case 9: return new CN(getMessage());
1415 case 10: return new ST(getMessage());
1416 case 11: return new CM(getMessage());
1417 case 12: return new ST(getMessage());
1418 case 13: return new TS(getMessage());
1419 case 14: return new CM(getMessage());
1420 case 15: return new CN(getMessage());
1421 case 16: return new TN(getMessage());
1422 case 17: return new ST(getMessage());
1423 case 18: return new ST(getMessage());
1424 case 19: return new ST(getMessage());
1425 case 20: return new ST(getMessage());
1426 case 21: return new TS(getMessage());
1427 case 22: return new CM(getMessage());
1428 case 23: return new ID(getMessage(), new Integer( 74 ));
1429 case 24: return new ID(getMessage(), new Integer( 123 ));
1430 case 25: return new CE(getMessage());
1431 case 26: return new CM(getMessage());
1432 case 27: return new CN(getMessage());
1433 case 28: return new CM(getMessage());
1434 case 29: return new ID(getMessage(), new Integer( 124 ));
1435 case 30: return new CE(getMessage());
1436 case 31: return new CN(getMessage());
1437 case 32: return new CN(getMessage());
1438 case 33: return new CN(getMessage());
1439 case 34: return new CN(getMessage());
1440 case 35: return new TS(getMessage());
1441 default: return null;
1442 }
1443 }
1444
1445
1446 }
1447