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