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
92
93
94
95
96
97 @SuppressWarnings("unused")
98 public class OBR extends AbstractSegment {
99
100
101
102
103 public OBR(Group parent, ModelClassFactory factory) {
104 super(parent, factory);
105 init(factory);
106 }
107
108 private void init(ModelClassFactory factory) {
109 try {
110 this.add(SI.class, false, 1, 4, new Object[]{ getMessage() }, "Set ID - Observation Request");
111 this.add(EI.class, false, 0, 22, new Object[]{ getMessage() }, "Placer Order Number");
112 this.add(EI.class, false, 1, 22, new Object[]{ getMessage() }, "Filler Order Number");
113 this.add(CE.class, true, 1, 200, new Object[]{ getMessage() }, "Universal Service Identifier");
114 this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(0) }, "Priority");
115 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Requested Date/Time");
116 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Observation Date/Time");
117 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Observation End Date/Time");
118 this.add(CQ.class, false, 1, 20, new Object[]{ getMessage() }, "Collection Volume");
119 this.add(XCN.class, false, 0, 60, new Object[]{ getMessage() }, "Collector Identifier");
120 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(65) }, "Specimen Action Code");
121 this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Danger Code");
122 this.add(ST.class, false, 1, 300, new Object[]{ getMessage() }, "Relevant Clinical Information");
123 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Specimen Received Date/Time");
124 this.add(CM_SPS.class, false, 1, 300, new Object[]{ getMessage() }, "Specimen Source");
125 this.add(XCN.class, false, 0, 120, new Object[]{ getMessage() }, "Ordering Provider");
126 this.add(XTN.class, false, 2, 40, new Object[]{ getMessage() }, "Order Callback Phone Number");
127 this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "Placer Field 1");
128 this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "Placer Field 2");
129 this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "Filler Field 1");
130 this.add(ST.class, false, 1, 60, new Object[]{ getMessage() }, "Filler Field 2");
131 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Results Rpt/Status Chng - Date/Time");
132 this.add(CM_MOC.class, false, 1, 40, new Object[]{ getMessage() }, "Charge To Practice");
133 this.add(ID.class, false, 1, 10, new Object[]{ getMessage(), new Integer(74) }, "Diagnostic Service Section ID");
134 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(123) }, "Result Status");
135 this.add(CM_PRL.class, false, 1, 200, new Object[]{ getMessage() }, "Parent Result");
136 this.add(TQ.class, true, 1, 200, new Object[]{ getMessage() }, "Quantity/Timing");
137 this.add(XCN.class, false, 5, 150, new Object[]{ getMessage() }, "Result Copies To");
138 this.add(CM_EIP.class, false, 1, 150, new Object[]{ getMessage() }, "Parent Number");
139 this.add(ID.class, false, 1, 20, new Object[]{ getMessage(), new Integer(124) }, "Transportation Mode");
140 this.add(CE.class, false, 0, 300, new Object[]{ getMessage() }, "Reason For Study");
141 this.add(CM_NDL.class, false, 1, 200, new Object[]{ getMessage() }, "Principal Result Interpreter");
142 this.add(CM_NDL.class, false, 0, 200, new Object[]{ getMessage() }, "Assistant Result Interpreter");
143 this.add(CM_NDL.class, false, 0, 200, new Object[]{ getMessage() }, "Technician");
144 this.add(CM_NDL.class, false, 0, 200, new Object[]{ getMessage() }, "Transcriptionist");
145 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Scheduled Date/Time");
146 this.add(NM.class, false, 1, 4, new Object[]{ getMessage() }, "Number Of Sample Containers");
147 this.add(CE.class, false, 0, 60, new Object[]{ getMessage() }, "Transport Logistics Of Collected Sample");
148 this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Collector’s Comment");
149 this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Transport Arrangement Responsibility");
150 this.add(ID.class, false, 1, 30, new Object[]{ getMessage(), new Integer(224) }, "Transport Arranged");
151 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(225) }, "Escort Required");
152 this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Planned Patient Transport Comment");
153 } catch(HL7Exception e) {
154 log.error("Unexpected error creating OBR - this is probably a bug in the source code generator.", e);
155 }
156 }
157
158
159
160
161
162
163
164 public SI getSetIDObservationRequest() {
165 SI retVal = this.getTypedField(1, 0);
166 return retVal;
167 }
168
169
170
171
172
173 public SI getObr1_SetIDObservationRequest() {
174 SI retVal = this.getTypedField(1, 0);
175 return retVal;
176 }
177
178
179
180
181
182 public EI[] getPlacerOrderNumber() {
183 EI[] retVal = this.getTypedField(2, new EI[0]);
184 return retVal;
185 }
186
187
188
189
190
191 public EI[] getObr2_PlacerOrderNumber() {
192 EI[] retVal = this.getTypedField(2, new EI[0]);
193 return retVal;
194 }
195
196
197
198
199
200
201
202 public int getPlacerOrderNumberReps() {
203 return this.getReps(2);
204 }
205
206
207
208
209
210
211
212
213 public EI getPlacerOrderNumber(int rep) {
214 EI retVal = this.getTypedField(2, rep);
215 return retVal;
216 }
217
218
219
220
221
222
223
224 public EI getObr2_PlacerOrderNumber(int rep) {
225 EI retVal = this.getTypedField(2, rep);
226 return retVal;
227 }
228
229
230
231
232
233
234 public int getObr2_PlacerOrderNumberReps() {
235 return this.getReps(2);
236 }
237
238
239
240
241
242
243
244
245
246 public EI insertPlacerOrderNumber(int rep) throws HL7Exception {
247 return (EI) super.insertRepetition(2, rep);
248 }
249
250
251
252
253
254
255
256
257
258 public EI insertObr2_PlacerOrderNumber(int rep) throws HL7Exception {
259 return (EI) super.insertRepetition(2, rep);
260 }
261
262
263
264
265
266
267
268
269
270 public EI removePlacerOrderNumber(int rep) throws HL7Exception {
271 return (EI) super.removeRepetition(2, rep);
272 }
273
274
275
276
277
278
279
280
281
282 public EI removeObr2_PlacerOrderNumber(int rep) throws HL7Exception {
283 return (EI) super.removeRepetition(2, rep);
284 }
285
286
287
288
289
290
291
292
293 public EI getFillerOrderNumber() {
294 EI retVal = this.getTypedField(3, 0);
295 return retVal;
296 }
297
298
299
300
301
302 public EI getObr3_FillerOrderNumber() {
303 EI retVal = this.getTypedField(3, 0);
304 return retVal;
305 }
306
307
308
309
310
311
312
313 public CE getUniversalServiceIdentifier() {
314 CE retVal = this.getTypedField(4, 0);
315 return retVal;
316 }
317
318
319
320
321
322 public CE getObr4_UniversalServiceIdentifier() {
323 CE retVal = this.getTypedField(4, 0);
324 return retVal;
325 }
326
327
328
329
330
331
332
333 public ID getPriority() {
334 ID retVal = this.getTypedField(5, 0);
335 return retVal;
336 }
337
338
339
340
341
342 public ID getObr5_Priority() {
343 ID retVal = this.getTypedField(5, 0);
344 return retVal;
345 }
346
347
348
349
350
351
352
353 public TS getRequestedDateTime() {
354 TS retVal = this.getTypedField(6, 0);
355 return retVal;
356 }
357
358
359
360
361
362 public TS getObr6_RequestedDateTime() {
363 TS retVal = this.getTypedField(6, 0);
364 return retVal;
365 }
366
367
368
369
370
371
372
373 public TS getObservationDateTime() {
374 TS retVal = this.getTypedField(7, 0);
375 return retVal;
376 }
377
378
379
380
381
382 public TS getObr7_ObservationDateTime() {
383 TS retVal = this.getTypedField(7, 0);
384 return retVal;
385 }
386
387
388
389
390
391
392
393 public TS getObservationEndDateTime() {
394 TS retVal = this.getTypedField(8, 0);
395 return retVal;
396 }
397
398
399
400
401
402 public TS getObr8_ObservationEndDateTime() {
403 TS retVal = this.getTypedField(8, 0);
404 return retVal;
405 }
406
407
408
409
410
411
412
413 public CQ getCollectionVolume() {
414 CQ retVal = this.getTypedField(9, 0);
415 return retVal;
416 }
417
418
419
420
421
422 public CQ getObr9_CollectionVolume() {
423 CQ retVal = this.getTypedField(9, 0);
424 return retVal;
425 }
426
427
428
429
430
431 public XCN[] getCollectorIdentifier() {
432 XCN[] retVal = this.getTypedField(10, new XCN[0]);
433 return retVal;
434 }
435
436
437
438
439
440 public XCN[] getObr10_CollectorIdentifier() {
441 XCN[] retVal = this.getTypedField(10, new XCN[0]);
442 return retVal;
443 }
444
445
446
447
448
449
450
451 public int getCollectorIdentifierReps() {
452 return this.getReps(10);
453 }
454
455
456
457
458
459
460
461
462 public XCN getCollectorIdentifier(int rep) {
463 XCN retVal = this.getTypedField(10, rep);
464 return retVal;
465 }
466
467
468
469
470
471
472
473 public XCN getObr10_CollectorIdentifier(int rep) {
474 XCN retVal = this.getTypedField(10, rep);
475 return retVal;
476 }
477
478
479
480
481
482
483 public int getObr10_CollectorIdentifierReps() {
484 return this.getReps(10);
485 }
486
487
488
489
490
491
492
493
494
495 public XCN insertCollectorIdentifier(int rep) throws HL7Exception {
496 return (XCN) super.insertRepetition(10, rep);
497 }
498
499
500
501
502
503
504
505
506
507 public XCN insertObr10_CollectorIdentifier(int rep) throws HL7Exception {
508 return (XCN) super.insertRepetition(10, rep);
509 }
510
511
512
513
514
515
516
517
518
519 public XCN removeCollectorIdentifier(int rep) throws HL7Exception {
520 return (XCN) super.removeRepetition(10, rep);
521 }
522
523
524
525
526
527
528
529
530
531 public XCN removeObr10_CollectorIdentifier(int rep) throws HL7Exception {
532 return (XCN) super.removeRepetition(10, rep);
533 }
534
535
536
537
538
539
540
541
542 public ID getSpecimenActionCode() {
543 ID retVal = this.getTypedField(11, 0);
544 return retVal;
545 }
546
547
548
549
550
551 public ID getObr11_SpecimenActionCode() {
552 ID retVal = this.getTypedField(11, 0);
553 return retVal;
554 }
555
556
557
558
559
560
561
562 public CE getDangerCode() {
563 CE retVal = this.getTypedField(12, 0);
564 return retVal;
565 }
566
567
568
569
570
571 public CE getObr12_DangerCode() {
572 CE retVal = this.getTypedField(12, 0);
573 return retVal;
574 }
575
576
577
578
579
580
581
582 public ST getRelevantClinicalInformation() {
583 ST retVal = this.getTypedField(13, 0);
584 return retVal;
585 }
586
587
588
589
590
591 public ST getObr13_RelevantClinicalInformation() {
592 ST retVal = this.getTypedField(13, 0);
593 return retVal;
594 }
595
596
597
598
599
600
601
602 public TS getSpecimenReceivedDateTime() {
603 TS retVal = this.getTypedField(14, 0);
604 return retVal;
605 }
606
607
608
609
610
611 public TS getObr14_SpecimenReceivedDateTime() {
612 TS retVal = this.getTypedField(14, 0);
613 return retVal;
614 }
615
616
617
618
619
620
621
622 public CM_SPS getSpecimenSource() {
623 CM_SPS retVal = this.getTypedField(15, 0);
624 return retVal;
625 }
626
627
628
629
630
631 public CM_SPS getObr15_SpecimenSource() {
632 CM_SPS retVal = this.getTypedField(15, 0);
633 return retVal;
634 }
635
636
637
638
639
640 public XCN[] getOrderingProvider() {
641 XCN[] retVal = this.getTypedField(16, new XCN[0]);
642 return retVal;
643 }
644
645
646
647
648
649 public XCN[] getObr16_OrderingProvider() {
650 XCN[] retVal = this.getTypedField(16, new XCN[0]);
651 return retVal;
652 }
653
654
655
656
657
658
659
660 public int getOrderingProviderReps() {
661 return this.getReps(16);
662 }
663
664
665
666
667
668
669
670
671 public XCN getOrderingProvider(int rep) {
672 XCN retVal = this.getTypedField(16, rep);
673 return retVal;
674 }
675
676
677
678
679
680
681
682 public XCN getObr16_OrderingProvider(int rep) {
683 XCN retVal = this.getTypedField(16, rep);
684 return retVal;
685 }
686
687
688
689
690
691
692 public int getObr16_OrderingProviderReps() {
693 return this.getReps(16);
694 }
695
696
697
698
699
700
701
702
703
704 public XCN insertOrderingProvider(int rep) throws HL7Exception {
705 return (XCN) super.insertRepetition(16, rep);
706 }
707
708
709
710
711
712
713
714
715
716 public XCN insertObr16_OrderingProvider(int rep) throws HL7Exception {
717 return (XCN) super.insertRepetition(16, rep);
718 }
719
720
721
722
723
724
725
726
727
728 public XCN removeOrderingProvider(int rep) throws HL7Exception {
729 return (XCN) super.removeRepetition(16, rep);
730 }
731
732
733
734
735
736
737
738
739
740 public XCN removeObr16_OrderingProvider(int rep) throws HL7Exception {
741 return (XCN) super.removeRepetition(16, rep);
742 }
743
744
745
746
747
748
749 public XTN[] getOrderCallbackPhoneNumber() {
750 XTN[] retVal = this.getTypedField(17, new XTN[0]);
751 return retVal;
752 }
753
754
755
756
757
758 public XTN[] getObr17_OrderCallbackPhoneNumber() {
759 XTN[] retVal = this.getTypedField(17, new XTN[0]);
760 return retVal;
761 }
762
763
764
765
766
767
768
769 public int getOrderCallbackPhoneNumberReps() {
770 return this.getReps(17);
771 }
772
773
774
775
776
777
778
779
780 public XTN getOrderCallbackPhoneNumber(int rep) {
781 XTN retVal = this.getTypedField(17, rep);
782 return retVal;
783 }
784
785
786
787
788
789
790
791 public XTN getObr17_OrderCallbackPhoneNumber(int rep) {
792 XTN retVal = this.getTypedField(17, rep);
793 return retVal;
794 }
795
796
797
798
799
800
801 public int getObr17_OrderCallbackPhoneNumberReps() {
802 return this.getReps(17);
803 }
804
805
806
807
808
809
810
811
812
813 public XTN insertOrderCallbackPhoneNumber(int rep) throws HL7Exception {
814 return (XTN) super.insertRepetition(17, rep);
815 }
816
817
818
819
820
821
822
823
824
825 public XTN insertObr17_OrderCallbackPhoneNumber(int rep) throws HL7Exception {
826 return (XTN) super.insertRepetition(17, rep);
827 }
828
829
830
831
832
833
834
835
836
837 public XTN removeOrderCallbackPhoneNumber(int rep) throws HL7Exception {
838 return (XTN) super.removeRepetition(17, rep);
839 }
840
841
842
843
844
845
846
847
848
849 public XTN removeObr17_OrderCallbackPhoneNumber(int rep) throws HL7Exception {
850 return (XTN) super.removeRepetition(17, rep);
851 }
852
853
854
855
856
857
858
859
860 public ST getPlacerField1() {
861 ST retVal = this.getTypedField(18, 0);
862 return retVal;
863 }
864
865
866
867
868
869 public ST getObr18_PlacerField1() {
870 ST retVal = this.getTypedField(18, 0);
871 return retVal;
872 }
873
874
875
876
877
878
879
880 public ST getPlacerField2() {
881 ST retVal = this.getTypedField(19, 0);
882 return retVal;
883 }
884
885
886
887
888
889 public ST getObr19_PlacerField2() {
890 ST retVal = this.getTypedField(19, 0);
891 return retVal;
892 }
893
894
895
896
897
898
899
900 public ST getFillerField1() {
901 ST retVal = this.getTypedField(20, 0);
902 return retVal;
903 }
904
905
906
907
908
909 public ST getObr20_FillerField1() {
910 ST retVal = this.getTypedField(20, 0);
911 return retVal;
912 }
913
914
915
916
917
918
919
920 public ST getFillerField2() {
921 ST retVal = this.getTypedField(21, 0);
922 return retVal;
923 }
924
925
926
927
928
929 public ST getObr21_FillerField2() {
930 ST retVal = this.getTypedField(21, 0);
931 return retVal;
932 }
933
934
935
936
937
938
939
940 public TS getResultsRptStatusChngDateTime() {
941 TS retVal = this.getTypedField(22, 0);
942 return retVal;
943 }
944
945
946
947
948
949 public TS getObr22_ResultsRptStatusChngDateTime() {
950 TS retVal = this.getTypedField(22, 0);
951 return retVal;
952 }
953
954
955
956
957
958
959
960 public CM_MOC getChargeToPractice() {
961 CM_MOC retVal = this.getTypedField(23, 0);
962 return retVal;
963 }
964
965
966
967
968
969 public CM_MOC getObr23_ChargeToPractice() {
970 CM_MOC retVal = this.getTypedField(23, 0);
971 return retVal;
972 }
973
974
975
976
977
978
979
980 public ID getDiagnosticServiceSectionID() {
981 ID retVal = this.getTypedField(24, 0);
982 return retVal;
983 }
984
985
986
987
988
989 public ID getObr24_DiagnosticServiceSectionID() {
990 ID retVal = this.getTypedField(24, 0);
991 return retVal;
992 }
993
994
995
996
997
998
999
1000 public ID getResultStatus() {
1001 ID retVal = this.getTypedField(25, 0);
1002 return retVal;
1003 }
1004
1005
1006
1007
1008
1009 public ID getObr25_ResultStatus() {
1010 ID retVal = this.getTypedField(25, 0);
1011 return retVal;
1012 }
1013
1014
1015
1016
1017
1018
1019
1020 public CM_PRL getParentResult() {
1021 CM_PRL retVal = this.getTypedField(26, 0);
1022 return retVal;
1023 }
1024
1025
1026
1027
1028
1029 public CM_PRL getObr26_ParentResult() {
1030 CM_PRL retVal = this.getTypedField(26, 0);
1031 return retVal;
1032 }
1033
1034
1035
1036
1037
1038
1039
1040 public TQ getQuantityTiming() {
1041 TQ retVal = this.getTypedField(27, 0);
1042 return retVal;
1043 }
1044
1045
1046
1047
1048
1049 public TQ getObr27_QuantityTiming() {
1050 TQ retVal = this.getTypedField(27, 0);
1051 return retVal;
1052 }
1053
1054
1055
1056
1057
1058 public XCN[] getResultCopiesTo() {
1059 XCN[] retVal = this.getTypedField(28, new XCN[0]);
1060 return retVal;
1061 }
1062
1063
1064
1065
1066
1067 public XCN[] getObr28_ResultCopiesTo() {
1068 XCN[] retVal = this.getTypedField(28, new XCN[0]);
1069 return retVal;
1070 }
1071
1072
1073
1074
1075
1076
1077
1078 public int getResultCopiesToReps() {
1079 return this.getReps(28);
1080 }
1081
1082
1083
1084
1085
1086
1087
1088
1089 public XCN getResultCopiesTo(int rep) {
1090 XCN retVal = this.getTypedField(28, rep);
1091 return retVal;
1092 }
1093
1094
1095
1096
1097
1098
1099
1100 public XCN getObr28_ResultCopiesTo(int rep) {
1101 XCN retVal = this.getTypedField(28, rep);
1102 return retVal;
1103 }
1104
1105
1106
1107
1108
1109
1110 public int getObr28_ResultCopiesToReps() {
1111 return this.getReps(28);
1112 }
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122 public XCN insertResultCopiesTo(int rep) throws HL7Exception {
1123 return (XCN) super.insertRepetition(28, rep);
1124 }
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134 public XCN insertObr28_ResultCopiesTo(int rep) throws HL7Exception {
1135 return (XCN) super.insertRepetition(28, rep);
1136 }
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146 public XCN removeResultCopiesTo(int rep) throws HL7Exception {
1147 return (XCN) super.removeRepetition(28, rep);
1148 }
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158 public XCN removeObr28_ResultCopiesTo(int rep) throws HL7Exception {
1159 return (XCN) super.removeRepetition(28, rep);
1160 }
1161
1162
1163
1164
1165
1166
1167
1168
1169 public CM_EIP getParentNumber() {
1170 CM_EIP retVal = this.getTypedField(29, 0);
1171 return retVal;
1172 }
1173
1174
1175
1176
1177
1178 public CM_EIP getObr29_ParentNumber() {
1179 CM_EIP retVal = this.getTypedField(29, 0);
1180 return retVal;
1181 }
1182
1183
1184
1185
1186
1187
1188
1189 public ID getTransportationMode() {
1190 ID retVal = this.getTypedField(30, 0);
1191 return retVal;
1192 }
1193
1194
1195
1196
1197
1198 public ID getObr30_TransportationMode() {
1199 ID retVal = this.getTypedField(30, 0);
1200 return retVal;
1201 }
1202
1203
1204
1205
1206
1207 public CE[] getReasonForStudy() {
1208 CE[] retVal = this.getTypedField(31, new CE[0]);
1209 return retVal;
1210 }
1211
1212
1213
1214
1215
1216 public CE[] getObr31_ReasonForStudy() {
1217 CE[] retVal = this.getTypedField(31, new CE[0]);
1218 return retVal;
1219 }
1220
1221
1222
1223
1224
1225
1226
1227 public int getReasonForStudyReps() {
1228 return this.getReps(31);
1229 }
1230
1231
1232
1233
1234
1235
1236
1237
1238 public CE getReasonForStudy(int rep) {
1239 CE retVal = this.getTypedField(31, rep);
1240 return retVal;
1241 }
1242
1243
1244
1245
1246
1247
1248
1249 public CE getObr31_ReasonForStudy(int rep) {
1250 CE retVal = this.getTypedField(31, rep);
1251 return retVal;
1252 }
1253
1254
1255
1256
1257
1258
1259 public int getObr31_ReasonForStudyReps() {
1260 return this.getReps(31);
1261 }
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271 public CE insertReasonForStudy(int rep) throws HL7Exception {
1272 return (CE) super.insertRepetition(31, rep);
1273 }
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283 public CE insertObr31_ReasonForStudy(int rep) throws HL7Exception {
1284 return (CE) super.insertRepetition(31, rep);
1285 }
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295 public CE removeReasonForStudy(int rep) throws HL7Exception {
1296 return (CE) super.removeRepetition(31, rep);
1297 }
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307 public CE removeObr31_ReasonForStudy(int rep) throws HL7Exception {
1308 return (CE) super.removeRepetition(31, rep);
1309 }
1310
1311
1312
1313
1314
1315
1316
1317
1318 public CM_NDL getPrincipalResultInterpreter() {
1319 CM_NDL retVal = this.getTypedField(32, 0);
1320 return retVal;
1321 }
1322
1323
1324
1325
1326
1327 public CM_NDL getObr32_PrincipalResultInterpreter() {
1328 CM_NDL retVal = this.getTypedField(32, 0);
1329 return retVal;
1330 }
1331
1332
1333
1334
1335
1336 public CM_NDL[] getAssistantResultInterpreter() {
1337 CM_NDL[] retVal = this.getTypedField(33, new CM_NDL[0]);
1338 return retVal;
1339 }
1340
1341
1342
1343
1344
1345 public CM_NDL[] getObr33_AssistantResultInterpreter() {
1346 CM_NDL[] retVal = this.getTypedField(33, new CM_NDL[0]);
1347 return retVal;
1348 }
1349
1350
1351
1352
1353
1354
1355
1356 public int getAssistantResultInterpreterReps() {
1357 return this.getReps(33);
1358 }
1359
1360
1361
1362
1363
1364
1365
1366
1367 public CM_NDL getAssistantResultInterpreter(int rep) {
1368 CM_NDL retVal = this.getTypedField(33, rep);
1369 return retVal;
1370 }
1371
1372
1373
1374
1375
1376
1377
1378 public CM_NDL getObr33_AssistantResultInterpreter(int rep) {
1379 CM_NDL retVal = this.getTypedField(33, rep);
1380 return retVal;
1381 }
1382
1383
1384
1385
1386
1387
1388 public int getObr33_AssistantResultInterpreterReps() {
1389 return this.getReps(33);
1390 }
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400 public CM_NDL insertAssistantResultInterpreter(int rep) throws HL7Exception {
1401 return (CM_NDL) super.insertRepetition(33, rep);
1402 }
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412 public CM_NDL insertObr33_AssistantResultInterpreter(int rep) throws HL7Exception {
1413 return (CM_NDL) super.insertRepetition(33, rep);
1414 }
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424 public CM_NDL removeAssistantResultInterpreter(int rep) throws HL7Exception {
1425 return (CM_NDL) super.removeRepetition(33, rep);
1426 }
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436 public CM_NDL removeObr33_AssistantResultInterpreter(int rep) throws HL7Exception {
1437 return (CM_NDL) super.removeRepetition(33, rep);
1438 }
1439
1440
1441
1442
1443
1444
1445 public CM_NDL[] getTechnician() {
1446 CM_NDL[] retVal = this.getTypedField(34, new CM_NDL[0]);
1447 return retVal;
1448 }
1449
1450
1451
1452
1453
1454 public CM_NDL[] getObr34_Technician() {
1455 CM_NDL[] retVal = this.getTypedField(34, new CM_NDL[0]);
1456 return retVal;
1457 }
1458
1459
1460
1461
1462
1463
1464
1465 public int getTechnicianReps() {
1466 return this.getReps(34);
1467 }
1468
1469
1470
1471
1472
1473
1474
1475
1476 public CM_NDL getTechnician(int rep) {
1477 CM_NDL retVal = this.getTypedField(34, rep);
1478 return retVal;
1479 }
1480
1481
1482
1483
1484
1485
1486
1487 public CM_NDL getObr34_Technician(int rep) {
1488 CM_NDL retVal = this.getTypedField(34, rep);
1489 return retVal;
1490 }
1491
1492
1493
1494
1495
1496
1497 public int getObr34_TechnicianReps() {
1498 return this.getReps(34);
1499 }
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509 public CM_NDL insertTechnician(int rep) throws HL7Exception {
1510 return (CM_NDL) super.insertRepetition(34, rep);
1511 }
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521 public CM_NDL insertObr34_Technician(int rep) throws HL7Exception {
1522 return (CM_NDL) super.insertRepetition(34, rep);
1523 }
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533 public CM_NDL removeTechnician(int rep) throws HL7Exception {
1534 return (CM_NDL) super.removeRepetition(34, rep);
1535 }
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545 public CM_NDL removeObr34_Technician(int rep) throws HL7Exception {
1546 return (CM_NDL) super.removeRepetition(34, rep);
1547 }
1548
1549
1550
1551
1552
1553
1554 public CM_NDL[] getTranscriptionist() {
1555 CM_NDL[] retVal = this.getTypedField(35, new CM_NDL[0]);
1556 return retVal;
1557 }
1558
1559
1560
1561
1562
1563 public CM_NDL[] getObr35_Transcriptionist() {
1564 CM_NDL[] retVal = this.getTypedField(35, new CM_NDL[0]);
1565 return retVal;
1566 }
1567
1568
1569
1570
1571
1572
1573
1574 public int getTranscriptionistReps() {
1575 return this.getReps(35);
1576 }
1577
1578
1579
1580
1581
1582
1583
1584
1585 public CM_NDL getTranscriptionist(int rep) {
1586 CM_NDL retVal = this.getTypedField(35, rep);
1587 return retVal;
1588 }
1589
1590
1591
1592
1593
1594
1595
1596 public CM_NDL getObr35_Transcriptionist(int rep) {
1597 CM_NDL retVal = this.getTypedField(35, rep);
1598 return retVal;
1599 }
1600
1601
1602
1603
1604
1605
1606 public int getObr35_TranscriptionistReps() {
1607 return this.getReps(35);
1608 }
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618 public CM_NDL insertTranscriptionist(int rep) throws HL7Exception {
1619 return (CM_NDL) super.insertRepetition(35, rep);
1620 }
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630 public CM_NDL insertObr35_Transcriptionist(int rep) throws HL7Exception {
1631 return (CM_NDL) super.insertRepetition(35, rep);
1632 }
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642 public CM_NDL removeTranscriptionist(int rep) throws HL7Exception {
1643 return (CM_NDL) super.removeRepetition(35, rep);
1644 }
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654 public CM_NDL removeObr35_Transcriptionist(int rep) throws HL7Exception {
1655 return (CM_NDL) super.removeRepetition(35, rep);
1656 }
1657
1658
1659
1660
1661
1662
1663
1664
1665 public TS getScheduledDateTime() {
1666 TS retVal = this.getTypedField(36, 0);
1667 return retVal;
1668 }
1669
1670
1671
1672
1673
1674 public TS getObr36_ScheduledDateTime() {
1675 TS retVal = this.getTypedField(36, 0);
1676 return retVal;
1677 }
1678
1679
1680
1681
1682
1683
1684
1685 public NM getNumberOfSampleContainers() {
1686 NM retVal = this.getTypedField(37, 0);
1687 return retVal;
1688 }
1689
1690
1691
1692
1693
1694 public NM getObr37_NumberOfSampleContainers() {
1695 NM retVal = this.getTypedField(37, 0);
1696 return retVal;
1697 }
1698
1699
1700
1701
1702
1703 public CE[] getTransportLogisticsOfCollectedSample() {
1704 CE[] retVal = this.getTypedField(38, new CE[0]);
1705 return retVal;
1706 }
1707
1708
1709
1710
1711
1712 public CE[] getObr38_TransportLogisticsOfCollectedSample() {
1713 CE[] retVal = this.getTypedField(38, new CE[0]);
1714 return retVal;
1715 }
1716
1717
1718
1719
1720
1721
1722
1723 public int getTransportLogisticsOfCollectedSampleReps() {
1724 return this.getReps(38);
1725 }
1726
1727
1728
1729
1730
1731
1732
1733
1734 public CE getTransportLogisticsOfCollectedSample(int rep) {
1735 CE retVal = this.getTypedField(38, rep);
1736 return retVal;
1737 }
1738
1739
1740
1741
1742
1743
1744
1745 public CE getObr38_TransportLogisticsOfCollectedSample(int rep) {
1746 CE retVal = this.getTypedField(38, rep);
1747 return retVal;
1748 }
1749
1750
1751
1752
1753
1754
1755 public int getObr38_TransportLogisticsOfCollectedSampleReps() {
1756 return this.getReps(38);
1757 }
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767 public CE insertTransportLogisticsOfCollectedSample(int rep) throws HL7Exception {
1768 return (CE) super.insertRepetition(38, rep);
1769 }
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779 public CE insertObr38_TransportLogisticsOfCollectedSample(int rep) throws HL7Exception {
1780 return (CE) super.insertRepetition(38, rep);
1781 }
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791 public CE removeTransportLogisticsOfCollectedSample(int rep) throws HL7Exception {
1792 return (CE) super.removeRepetition(38, rep);
1793 }
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803 public CE removeObr38_TransportLogisticsOfCollectedSample(int rep) throws HL7Exception {
1804 return (CE) super.removeRepetition(38, rep);
1805 }
1806
1807
1808
1809
1810
1811
1812 public CE[] getCollectorSComment() {
1813 CE[] retVal = this.getTypedField(39, new CE[0]);
1814 return retVal;
1815 }
1816
1817
1818
1819
1820
1821 public CE[] getObr39_CollectorSComment() {
1822 CE[] retVal = this.getTypedField(39, new CE[0]);
1823 return retVal;
1824 }
1825
1826
1827
1828
1829
1830
1831
1832 public int getCollectorSCommentReps() {
1833 return this.getReps(39);
1834 }
1835
1836
1837
1838
1839
1840
1841
1842
1843 public CE getCollectorSComment(int rep) {
1844 CE retVal = this.getTypedField(39, rep);
1845 return retVal;
1846 }
1847
1848
1849
1850
1851
1852
1853
1854 public CE getObr39_CollectorSComment(int rep) {
1855 CE retVal = this.getTypedField(39, rep);
1856 return retVal;
1857 }
1858
1859
1860
1861
1862
1863
1864 public int getObr39_CollectorSCommentReps() {
1865 return this.getReps(39);
1866 }
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876 public CE insertCollectorSComment(int rep) throws HL7Exception {
1877 return (CE) super.insertRepetition(39, rep);
1878 }
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888 public CE insertObr39_CollectorSComment(int rep) throws HL7Exception {
1889 return (CE) super.insertRepetition(39, rep);
1890 }
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900 public CE removeCollectorSComment(int rep) throws HL7Exception {
1901 return (CE) super.removeRepetition(39, rep);
1902 }
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912 public CE removeObr39_CollectorSComment(int rep) throws HL7Exception {
1913 return (CE) super.removeRepetition(39, rep);
1914 }
1915
1916
1917
1918
1919
1920
1921
1922
1923 public CE getTransportArrangementResponsibility() {
1924 CE retVal = this.getTypedField(40, 0);
1925 return retVal;
1926 }
1927
1928
1929
1930
1931
1932 public CE getObr40_TransportArrangementResponsibility() {
1933 CE retVal = this.getTypedField(40, 0);
1934 return retVal;
1935 }
1936
1937
1938
1939
1940
1941
1942
1943 public ID getTransportArranged() {
1944 ID retVal = this.getTypedField(41, 0);
1945 return retVal;
1946 }
1947
1948
1949
1950
1951
1952 public ID getObr41_TransportArranged() {
1953 ID retVal = this.getTypedField(41, 0);
1954 return retVal;
1955 }
1956
1957
1958
1959
1960
1961
1962
1963 public ID getEscortRequired() {
1964 ID retVal = this.getTypedField(42, 0);
1965 return retVal;
1966 }
1967
1968
1969
1970
1971
1972 public ID getObr42_EscortRequired() {
1973 ID retVal = this.getTypedField(42, 0);
1974 return retVal;
1975 }
1976
1977
1978
1979
1980
1981 public CE[] getPlannedPatientTransportComment() {
1982 CE[] retVal = this.getTypedField(43, new CE[0]);
1983 return retVal;
1984 }
1985
1986
1987
1988
1989
1990 public CE[] getObr43_PlannedPatientTransportComment() {
1991 CE[] retVal = this.getTypedField(43, new CE[0]);
1992 return retVal;
1993 }
1994
1995
1996
1997
1998
1999
2000
2001 public int getPlannedPatientTransportCommentReps() {
2002 return this.getReps(43);
2003 }
2004
2005
2006
2007
2008
2009
2010
2011
2012 public CE getPlannedPatientTransportComment(int rep) {
2013 CE retVal = this.getTypedField(43, rep);
2014 return retVal;
2015 }
2016
2017
2018
2019
2020
2021
2022
2023 public CE getObr43_PlannedPatientTransportComment(int rep) {
2024 CE retVal = this.getTypedField(43, rep);
2025 return retVal;
2026 }
2027
2028
2029
2030
2031
2032
2033 public int getObr43_PlannedPatientTransportCommentReps() {
2034 return this.getReps(43);
2035 }
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045 public CE insertPlannedPatientTransportComment(int rep) throws HL7Exception {
2046 return (CE) super.insertRepetition(43, rep);
2047 }
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057 public CE insertObr43_PlannedPatientTransportComment(int rep) throws HL7Exception {
2058 return (CE) super.insertRepetition(43, rep);
2059 }
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069 public CE removePlannedPatientTransportComment(int rep) throws HL7Exception {
2070 return (CE) super.removeRepetition(43, rep);
2071 }
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081 public CE removeObr43_PlannedPatientTransportComment(int rep) throws HL7Exception {
2082 return (CE) super.removeRepetition(43, rep);
2083 }
2084
2085
2086
2087
2088
2089
2090
2091 protected Type createNewTypeWithoutReflection(int field) {
2092 switch (field) {
2093 case 0: return new SI(getMessage());
2094 case 1: return new EI(getMessage());
2095 case 2: return new EI(getMessage());
2096 case 3: return new CE(getMessage());
2097 case 4: return new ID(getMessage(), new Integer( 0 ));
2098 case 5: return new TS(getMessage());
2099 case 6: return new TS(getMessage());
2100 case 7: return new TS(getMessage());
2101 case 8: return new CQ(getMessage());
2102 case 9: return new XCN(getMessage());
2103 case 10: return new ID(getMessage(), new Integer( 65 ));
2104 case 11: return new CE(getMessage());
2105 case 12: return new ST(getMessage());
2106 case 13: return new TS(getMessage());
2107 case 14: return new CM_SPS(getMessage());
2108 case 15: return new XCN(getMessage());
2109 case 16: return new XTN(getMessage());
2110 case 17: return new ST(getMessage());
2111 case 18: return new ST(getMessage());
2112 case 19: return new ST(getMessage());
2113 case 20: return new ST(getMessage());
2114 case 21: return new TS(getMessage());
2115 case 22: return new CM_MOC(getMessage());
2116 case 23: return new ID(getMessage(), new Integer( 74 ));
2117 case 24: return new ID(getMessage(), new Integer( 123 ));
2118 case 25: return new CM_PRL(getMessage());
2119 case 26: return new TQ(getMessage());
2120 case 27: return new XCN(getMessage());
2121 case 28: return new CM_EIP(getMessage());
2122 case 29: return new ID(getMessage(), new Integer( 124 ));
2123 case 30: return new CE(getMessage());
2124 case 31: return new CM_NDL(getMessage());
2125 case 32: return new CM_NDL(getMessage());
2126 case 33: return new CM_NDL(getMessage());
2127 case 34: return new CM_NDL(getMessage());
2128 case 35: return new TS(getMessage());
2129 case 36: return new NM(getMessage());
2130 case 37: return new CE(getMessage());
2131 case 38: return new CE(getMessage());
2132 case 39: return new CE(getMessage());
2133 case 40: return new ID(getMessage(), new Integer( 224 ));
2134 case 41: return new ID(getMessage(), new Integer( 225 ));
2135 case 42: return new CE(getMessage());
2136 default: return null;
2137 }
2138 }
2139
2140
2141 }
2142