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