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.v28.segment;
35
36
37 import ca.uhn.hl7v2.model.v28.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 @SuppressWarnings("unused")
89 public class ORC extends AbstractSegment {
90
91
92
93
94 public ORC(Group parent, ModelClassFactory factory) {
95 super(parent, factory);
96 init(factory);
97 }
98
99 private void init(ModelClassFactory factory) {
100 try {
101 this.add(ID.class, true, 1, 2, new Object[]{ getMessage(), new Integer(119) }, "Order Control");
102 this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Placer Order Number");
103 this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Filler Order Number");
104 this.add(EIP.class, false, 1, 0, new Object[]{ getMessage() }, "Placer Group Number");
105 this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(38) }, "Order Status");
106 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(121) }, "Response Flag");
107 this.add(NULLDT.class, false, 0, 0, new Object[]{ getMessage() }, "Quantity/Timing");
108 this.add(EIP.class, false, 1, 0, new Object[]{ getMessage() }, "Parent Order");
109 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Date/Time of Transaction");
110 this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Entered By");
111 this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Verified By");
112 this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Ordering Provider");
113 this.add(PL.class, false, 1, 0, new Object[]{ getMessage() }, "Enterer's Location");
114 this.add(XTN.class, false, 2, 0, new Object[]{ getMessage() }, "Call Back Phone Number");
115 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Order Effective Date/Time");
116 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Order Control Code Reason");
117 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Entering Organization");
118 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Entering Device");
119 this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Action By");
120 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Advanced Beneficiary Notice Code");
121 this.add(XON.class, false, 0, 0, new Object[]{ getMessage() }, "Ordering Facility Name");
122 this.add(XAD.class, false, 0, 0, new Object[]{ getMessage() }, "Ordering Facility Address");
123 this.add(XTN.class, false, 0, 0, new Object[]{ getMessage() }, "Ordering Facility Phone Number");
124 this.add(XAD.class, false, 0, 0, new Object[]{ getMessage() }, "Ordering Provider Address");
125 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Order Status Modifier");
126 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Advanced Beneficiary Notice Override Reason");
127 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Filler's Expected Availability Date/Time");
128 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Confidentiality Code");
129 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Order Type");
130 this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Enterer Authorization Mode");
131 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Parent Universal Service Identifier");
132 this.add(DT.class, false, 1, 0, new Object[]{ getMessage() }, "Advanced Beneficiary Notice Date");
133 this.add(CX.class, false, 0, 0, new Object[]{ getMessage() }, "Alternate Placer Order Number");
134 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Order Workflow Profile");
135 } catch(HL7Exception e) {
136 log.error("Unexpected error creating ORC - this is probably a bug in the source code generator.", e);
137 }
138 }
139
140
141
142
143
144
145
146 public ID getOrderControl() {
147 ID retVal = this.getTypedField(1, 0);
148 return retVal;
149 }
150
151
152
153
154
155 public ID getOrc1_OrderControl() {
156 ID retVal = this.getTypedField(1, 0);
157 return retVal;
158 }
159
160
161
162
163
164
165
166 public EI getPlacerOrderNumber() {
167 EI retVal = this.getTypedField(2, 0);
168 return retVal;
169 }
170
171
172
173
174
175 public EI getOrc2_PlacerOrderNumber() {
176 EI retVal = this.getTypedField(2, 0);
177 return retVal;
178 }
179
180
181
182
183
184
185
186 public EI getFillerOrderNumber() {
187 EI retVal = this.getTypedField(3, 0);
188 return retVal;
189 }
190
191
192
193
194
195 public EI getOrc3_FillerOrderNumber() {
196 EI retVal = this.getTypedField(3, 0);
197 return retVal;
198 }
199
200
201
202
203
204
205
206 public EIP getPlacerGroupNumber() {
207 EIP retVal = this.getTypedField(4, 0);
208 return retVal;
209 }
210
211
212
213
214
215 public EIP getOrc4_PlacerGroupNumber() {
216 EIP retVal = this.getTypedField(4, 0);
217 return retVal;
218 }
219
220
221
222
223
224
225
226 public ID getOrderStatus() {
227 ID retVal = this.getTypedField(5, 0);
228 return retVal;
229 }
230
231
232
233
234
235 public ID getOrc5_OrderStatus() {
236 ID retVal = this.getTypedField(5, 0);
237 return retVal;
238 }
239
240
241
242
243
244
245
246 public ID getResponseFlag() {
247 ID retVal = this.getTypedField(6, 0);
248 return retVal;
249 }
250
251
252
253
254
255 public ID getOrc6_ResponseFlag() {
256 ID retVal = this.getTypedField(6, 0);
257 return retVal;
258 }
259
260
261
262
263
264 public NULLDT[] getQuantityTiming() {
265 NULLDT[] retVal = this.getTypedField(7, new NULLDT[0]);
266 return retVal;
267 }
268
269
270
271
272
273 public NULLDT[] getOrc7_QuantityTiming() {
274 NULLDT[] retVal = this.getTypedField(7, new NULLDT[0]);
275 return retVal;
276 }
277
278
279
280
281
282
283
284 public int getQuantityTimingReps() {
285 return this.getReps(7);
286 }
287
288
289
290
291
292
293
294
295 public NULLDT getQuantityTiming(int rep) {
296 NULLDT retVal = this.getTypedField(7, rep);
297 return retVal;
298 }
299
300
301
302
303
304
305
306 public NULLDT getOrc7_QuantityTiming(int rep) {
307 NULLDT retVal = this.getTypedField(7, rep);
308 return retVal;
309 }
310
311
312
313
314
315
316 public int getOrc7_QuantityTimingReps() {
317 return this.getReps(7);
318 }
319
320
321
322
323
324
325
326
327
328 public NULLDT insertQuantityTiming(int rep) throws HL7Exception {
329 return (NULLDT) super.insertRepetition(7, rep);
330 }
331
332
333
334
335
336
337
338
339
340 public NULLDT insertOrc7_QuantityTiming(int rep) throws HL7Exception {
341 return (NULLDT) super.insertRepetition(7, rep);
342 }
343
344
345
346
347
348
349
350
351
352 public NULLDT removeQuantityTiming(int rep) throws HL7Exception {
353 return (NULLDT) super.removeRepetition(7, rep);
354 }
355
356
357
358
359
360
361
362
363
364 public NULLDT removeOrc7_QuantityTiming(int rep) throws HL7Exception {
365 return (NULLDT) super.removeRepetition(7, rep);
366 }
367
368
369
370
371
372
373
374
375 public EIP getParentOrder() {
376 EIP retVal = this.getTypedField(8, 0);
377 return retVal;
378 }
379
380
381
382
383
384 public EIP getOrc8_ParentOrder() {
385 EIP retVal = this.getTypedField(8, 0);
386 return retVal;
387 }
388
389
390
391
392
393
394
395 public DTM getDateTimeOfTransaction() {
396 DTM retVal = this.getTypedField(9, 0);
397 return retVal;
398 }
399
400
401
402
403
404 public DTM getOrc9_DateTimeOfTransaction() {
405 DTM retVal = this.getTypedField(9, 0);
406 return retVal;
407 }
408
409
410
411
412
413 public XCN[] getEnteredBy() {
414 XCN[] retVal = this.getTypedField(10, new XCN[0]);
415 return retVal;
416 }
417
418
419
420
421
422 public XCN[] getOrc10_EnteredBy() {
423 XCN[] retVal = this.getTypedField(10, new XCN[0]);
424 return retVal;
425 }
426
427
428
429
430
431
432
433 public int getEnteredByReps() {
434 return this.getReps(10);
435 }
436
437
438
439
440
441
442
443
444 public XCN getEnteredBy(int rep) {
445 XCN retVal = this.getTypedField(10, rep);
446 return retVal;
447 }
448
449
450
451
452
453
454
455 public XCN getOrc10_EnteredBy(int rep) {
456 XCN retVal = this.getTypedField(10, rep);
457 return retVal;
458 }
459
460
461
462
463
464
465 public int getOrc10_EnteredByReps() {
466 return this.getReps(10);
467 }
468
469
470
471
472
473
474
475
476
477 public XCN insertEnteredBy(int rep) throws HL7Exception {
478 return (XCN) super.insertRepetition(10, rep);
479 }
480
481
482
483
484
485
486
487
488
489 public XCN insertOrc10_EnteredBy(int rep) throws HL7Exception {
490 return (XCN) super.insertRepetition(10, rep);
491 }
492
493
494
495
496
497
498
499
500
501 public XCN removeEnteredBy(int rep) throws HL7Exception {
502 return (XCN) super.removeRepetition(10, rep);
503 }
504
505
506
507
508
509
510
511
512
513 public XCN removeOrc10_EnteredBy(int rep) throws HL7Exception {
514 return (XCN) super.removeRepetition(10, rep);
515 }
516
517
518
519
520
521
522 public XCN[] getVerifiedBy() {
523 XCN[] retVal = this.getTypedField(11, new XCN[0]);
524 return retVal;
525 }
526
527
528
529
530
531 public XCN[] getOrc11_VerifiedBy() {
532 XCN[] retVal = this.getTypedField(11, new XCN[0]);
533 return retVal;
534 }
535
536
537
538
539
540
541
542 public int getVerifiedByReps() {
543 return this.getReps(11);
544 }
545
546
547
548
549
550
551
552
553 public XCN getVerifiedBy(int rep) {
554 XCN retVal = this.getTypedField(11, rep);
555 return retVal;
556 }
557
558
559
560
561
562
563
564 public XCN getOrc11_VerifiedBy(int rep) {
565 XCN retVal = this.getTypedField(11, rep);
566 return retVal;
567 }
568
569
570
571
572
573
574 public int getOrc11_VerifiedByReps() {
575 return this.getReps(11);
576 }
577
578
579
580
581
582
583
584
585
586 public XCN insertVerifiedBy(int rep) throws HL7Exception {
587 return (XCN) super.insertRepetition(11, rep);
588 }
589
590
591
592
593
594
595
596
597
598 public XCN insertOrc11_VerifiedBy(int rep) throws HL7Exception {
599 return (XCN) super.insertRepetition(11, rep);
600 }
601
602
603
604
605
606
607
608
609
610 public XCN removeVerifiedBy(int rep) throws HL7Exception {
611 return (XCN) super.removeRepetition(11, rep);
612 }
613
614
615
616
617
618
619
620
621
622 public XCN removeOrc11_VerifiedBy(int rep) throws HL7Exception {
623 return (XCN) super.removeRepetition(11, rep);
624 }
625
626
627
628
629
630
631 public XCN[] getOrderingProvider() {
632 XCN[] retVal = this.getTypedField(12, new XCN[0]);
633 return retVal;
634 }
635
636
637
638
639
640 public XCN[] getOrc12_OrderingProvider() {
641 XCN[] retVal = this.getTypedField(12, new XCN[0]);
642 return retVal;
643 }
644
645
646
647
648
649
650
651 public int getOrderingProviderReps() {
652 return this.getReps(12);
653 }
654
655
656
657
658
659
660
661
662 public XCN getOrderingProvider(int rep) {
663 XCN retVal = this.getTypedField(12, rep);
664 return retVal;
665 }
666
667
668
669
670
671
672
673 public XCN getOrc12_OrderingProvider(int rep) {
674 XCN retVal = this.getTypedField(12, rep);
675 return retVal;
676 }
677
678
679
680
681
682
683 public int getOrc12_OrderingProviderReps() {
684 return this.getReps(12);
685 }
686
687
688
689
690
691
692
693
694
695 public XCN insertOrderingProvider(int rep) throws HL7Exception {
696 return (XCN) super.insertRepetition(12, rep);
697 }
698
699
700
701
702
703
704
705
706
707 public XCN insertOrc12_OrderingProvider(int rep) throws HL7Exception {
708 return (XCN) super.insertRepetition(12, rep);
709 }
710
711
712
713
714
715
716
717
718
719 public XCN removeOrderingProvider(int rep) throws HL7Exception {
720 return (XCN) super.removeRepetition(12, rep);
721 }
722
723
724
725
726
727
728
729
730
731 public XCN removeOrc12_OrderingProvider(int rep) throws HL7Exception {
732 return (XCN) super.removeRepetition(12, rep);
733 }
734
735
736
737
738
739
740
741
742 public PL getEntererSLocation() {
743 PL retVal = this.getTypedField(13, 0);
744 return retVal;
745 }
746
747
748
749
750
751 public PL getOrc13_EntererSLocation() {
752 PL retVal = this.getTypedField(13, 0);
753 return retVal;
754 }
755
756
757
758
759
760 public XTN[] getCallBackPhoneNumber() {
761 XTN[] retVal = this.getTypedField(14, new XTN[0]);
762 return retVal;
763 }
764
765
766
767
768
769 public XTN[] getOrc14_CallBackPhoneNumber() {
770 XTN[] retVal = this.getTypedField(14, new XTN[0]);
771 return retVal;
772 }
773
774
775
776
777
778
779
780 public int getCallBackPhoneNumberReps() {
781 return this.getReps(14);
782 }
783
784
785
786
787
788
789
790
791 public XTN getCallBackPhoneNumber(int rep) {
792 XTN retVal = this.getTypedField(14, rep);
793 return retVal;
794 }
795
796
797
798
799
800
801
802 public XTN getOrc14_CallBackPhoneNumber(int rep) {
803 XTN retVal = this.getTypedField(14, rep);
804 return retVal;
805 }
806
807
808
809
810
811
812 public int getOrc14_CallBackPhoneNumberReps() {
813 return this.getReps(14);
814 }
815
816
817
818
819
820
821
822
823
824 public XTN insertCallBackPhoneNumber(int rep) throws HL7Exception {
825 return (XTN) super.insertRepetition(14, rep);
826 }
827
828
829
830
831
832
833
834
835
836 public XTN insertOrc14_CallBackPhoneNumber(int rep) throws HL7Exception {
837 return (XTN) super.insertRepetition(14, rep);
838 }
839
840
841
842
843
844
845
846
847
848 public XTN removeCallBackPhoneNumber(int rep) throws HL7Exception {
849 return (XTN) super.removeRepetition(14, rep);
850 }
851
852
853
854
855
856
857
858
859
860 public XTN removeOrc14_CallBackPhoneNumber(int rep) throws HL7Exception {
861 return (XTN) super.removeRepetition(14, rep);
862 }
863
864
865
866
867
868
869
870
871 public DTM getOrderEffectiveDateTime() {
872 DTM retVal = this.getTypedField(15, 0);
873 return retVal;
874 }
875
876
877
878
879
880 public DTM getOrc15_OrderEffectiveDateTime() {
881 DTM retVal = this.getTypedField(15, 0);
882 return retVal;
883 }
884
885
886
887
888
889
890
891 public CWE getOrderControlCodeReason() {
892 CWE retVal = this.getTypedField(16, 0);
893 return retVal;
894 }
895
896
897
898
899
900 public CWE getOrc16_OrderControlCodeReason() {
901 CWE retVal = this.getTypedField(16, 0);
902 return retVal;
903 }
904
905
906
907
908
909
910
911 public CWE getEnteringOrganization() {
912 CWE retVal = this.getTypedField(17, 0);
913 return retVal;
914 }
915
916
917
918
919
920 public CWE getOrc17_EnteringOrganization() {
921 CWE retVal = this.getTypedField(17, 0);
922 return retVal;
923 }
924
925
926
927
928
929
930
931 public CWE getEnteringDevice() {
932 CWE retVal = this.getTypedField(18, 0);
933 return retVal;
934 }
935
936
937
938
939
940 public CWE getOrc18_EnteringDevice() {
941 CWE retVal = this.getTypedField(18, 0);
942 return retVal;
943 }
944
945
946
947
948
949 public XCN[] getActionBy() {
950 XCN[] retVal = this.getTypedField(19, new XCN[0]);
951 return retVal;
952 }
953
954
955
956
957
958 public XCN[] getOrc19_ActionBy() {
959 XCN[] retVal = this.getTypedField(19, new XCN[0]);
960 return retVal;
961 }
962
963
964
965
966
967
968
969 public int getActionByReps() {
970 return this.getReps(19);
971 }
972
973
974
975
976
977
978
979
980 public XCN getActionBy(int rep) {
981 XCN retVal = this.getTypedField(19, rep);
982 return retVal;
983 }
984
985
986
987
988
989
990
991 public XCN getOrc19_ActionBy(int rep) {
992 XCN retVal = this.getTypedField(19, rep);
993 return retVal;
994 }
995
996
997
998
999
1000
1001 public int getOrc19_ActionByReps() {
1002 return this.getReps(19);
1003 }
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013 public XCN insertActionBy(int rep) throws HL7Exception {
1014 return (XCN) super.insertRepetition(19, rep);
1015 }
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025 public XCN insertOrc19_ActionBy(int rep) throws HL7Exception {
1026 return (XCN) super.insertRepetition(19, rep);
1027 }
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037 public XCN removeActionBy(int rep) throws HL7Exception {
1038 return (XCN) super.removeRepetition(19, rep);
1039 }
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049 public XCN removeOrc19_ActionBy(int rep) throws HL7Exception {
1050 return (XCN) super.removeRepetition(19, rep);
1051 }
1052
1053
1054
1055
1056
1057
1058
1059
1060 public CWE getAdvancedBeneficiaryNoticeCode() {
1061 CWE retVal = this.getTypedField(20, 0);
1062 return retVal;
1063 }
1064
1065
1066
1067
1068
1069 public CWE getOrc20_AdvancedBeneficiaryNoticeCode() {
1070 CWE retVal = this.getTypedField(20, 0);
1071 return retVal;
1072 }
1073
1074
1075
1076
1077
1078 public XON[] getOrderingFacilityName() {
1079 XON[] retVal = this.getTypedField(21, new XON[0]);
1080 return retVal;
1081 }
1082
1083
1084
1085
1086
1087 public XON[] getOrc21_OrderingFacilityName() {
1088 XON[] retVal = this.getTypedField(21, new XON[0]);
1089 return retVal;
1090 }
1091
1092
1093
1094
1095
1096
1097
1098 public int getOrderingFacilityNameReps() {
1099 return this.getReps(21);
1100 }
1101
1102
1103
1104
1105
1106
1107
1108
1109 public XON getOrderingFacilityName(int rep) {
1110 XON retVal = this.getTypedField(21, rep);
1111 return retVal;
1112 }
1113
1114
1115
1116
1117
1118
1119
1120 public XON getOrc21_OrderingFacilityName(int rep) {
1121 XON retVal = this.getTypedField(21, rep);
1122 return retVal;
1123 }
1124
1125
1126
1127
1128
1129
1130 public int getOrc21_OrderingFacilityNameReps() {
1131 return this.getReps(21);
1132 }
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142 public XON insertOrderingFacilityName(int rep) throws HL7Exception {
1143 return (XON) super.insertRepetition(21, rep);
1144 }
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154 public XON insertOrc21_OrderingFacilityName(int rep) throws HL7Exception {
1155 return (XON) super.insertRepetition(21, rep);
1156 }
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166 public XON removeOrderingFacilityName(int rep) throws HL7Exception {
1167 return (XON) super.removeRepetition(21, rep);
1168 }
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178 public XON removeOrc21_OrderingFacilityName(int rep) throws HL7Exception {
1179 return (XON) super.removeRepetition(21, rep);
1180 }
1181
1182
1183
1184
1185
1186
1187 public XAD[] getOrderingFacilityAddress() {
1188 XAD[] retVal = this.getTypedField(22, new XAD[0]);
1189 return retVal;
1190 }
1191
1192
1193
1194
1195
1196 public XAD[] getOrc22_OrderingFacilityAddress() {
1197 XAD[] retVal = this.getTypedField(22, new XAD[0]);
1198 return retVal;
1199 }
1200
1201
1202
1203
1204
1205
1206
1207 public int getOrderingFacilityAddressReps() {
1208 return this.getReps(22);
1209 }
1210
1211
1212
1213
1214
1215
1216
1217
1218 public XAD getOrderingFacilityAddress(int rep) {
1219 XAD retVal = this.getTypedField(22, rep);
1220 return retVal;
1221 }
1222
1223
1224
1225
1226
1227
1228
1229 public XAD getOrc22_OrderingFacilityAddress(int rep) {
1230 XAD retVal = this.getTypedField(22, rep);
1231 return retVal;
1232 }
1233
1234
1235
1236
1237
1238
1239 public int getOrc22_OrderingFacilityAddressReps() {
1240 return this.getReps(22);
1241 }
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251 public XAD insertOrderingFacilityAddress(int rep) throws HL7Exception {
1252 return (XAD) super.insertRepetition(22, rep);
1253 }
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263 public XAD insertOrc22_OrderingFacilityAddress(int rep) throws HL7Exception {
1264 return (XAD) super.insertRepetition(22, rep);
1265 }
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275 public XAD removeOrderingFacilityAddress(int rep) throws HL7Exception {
1276 return (XAD) super.removeRepetition(22, rep);
1277 }
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287 public XAD removeOrc22_OrderingFacilityAddress(int rep) throws HL7Exception {
1288 return (XAD) super.removeRepetition(22, rep);
1289 }
1290
1291
1292
1293
1294
1295
1296 public XTN[] getOrderingFacilityPhoneNumber() {
1297 XTN[] retVal = this.getTypedField(23, new XTN[0]);
1298 return retVal;
1299 }
1300
1301
1302
1303
1304
1305 public XTN[] getOrc23_OrderingFacilityPhoneNumber() {
1306 XTN[] retVal = this.getTypedField(23, new XTN[0]);
1307 return retVal;
1308 }
1309
1310
1311
1312
1313
1314
1315
1316 public int getOrderingFacilityPhoneNumberReps() {
1317 return this.getReps(23);
1318 }
1319
1320
1321
1322
1323
1324
1325
1326
1327 public XTN getOrderingFacilityPhoneNumber(int rep) {
1328 XTN retVal = this.getTypedField(23, rep);
1329 return retVal;
1330 }
1331
1332
1333
1334
1335
1336
1337
1338 public XTN getOrc23_OrderingFacilityPhoneNumber(int rep) {
1339 XTN retVal = this.getTypedField(23, rep);
1340 return retVal;
1341 }
1342
1343
1344
1345
1346
1347
1348 public int getOrc23_OrderingFacilityPhoneNumberReps() {
1349 return this.getReps(23);
1350 }
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360 public XTN insertOrderingFacilityPhoneNumber(int rep) throws HL7Exception {
1361 return (XTN) super.insertRepetition(23, rep);
1362 }
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372 public XTN insertOrc23_OrderingFacilityPhoneNumber(int rep) throws HL7Exception {
1373 return (XTN) super.insertRepetition(23, rep);
1374 }
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384 public XTN removeOrderingFacilityPhoneNumber(int rep) throws HL7Exception {
1385 return (XTN) super.removeRepetition(23, rep);
1386 }
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396 public XTN removeOrc23_OrderingFacilityPhoneNumber(int rep) throws HL7Exception {
1397 return (XTN) super.removeRepetition(23, rep);
1398 }
1399
1400
1401
1402
1403
1404
1405 public XAD[] getOrderingProviderAddress() {
1406 XAD[] retVal = this.getTypedField(24, new XAD[0]);
1407 return retVal;
1408 }
1409
1410
1411
1412
1413
1414 public XAD[] getOrc24_OrderingProviderAddress() {
1415 XAD[] retVal = this.getTypedField(24, new XAD[0]);
1416 return retVal;
1417 }
1418
1419
1420
1421
1422
1423
1424
1425 public int getOrderingProviderAddressReps() {
1426 return this.getReps(24);
1427 }
1428
1429
1430
1431
1432
1433
1434
1435
1436 public XAD getOrderingProviderAddress(int rep) {
1437 XAD retVal = this.getTypedField(24, rep);
1438 return retVal;
1439 }
1440
1441
1442
1443
1444
1445
1446
1447 public XAD getOrc24_OrderingProviderAddress(int rep) {
1448 XAD retVal = this.getTypedField(24, rep);
1449 return retVal;
1450 }
1451
1452
1453
1454
1455
1456
1457 public int getOrc24_OrderingProviderAddressReps() {
1458 return this.getReps(24);
1459 }
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469 public XAD insertOrderingProviderAddress(int rep) throws HL7Exception {
1470 return (XAD) super.insertRepetition(24, rep);
1471 }
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481 public XAD insertOrc24_OrderingProviderAddress(int rep) throws HL7Exception {
1482 return (XAD) super.insertRepetition(24, rep);
1483 }
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493 public XAD removeOrderingProviderAddress(int rep) throws HL7Exception {
1494 return (XAD) super.removeRepetition(24, rep);
1495 }
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505 public XAD removeOrc24_OrderingProviderAddress(int rep) throws HL7Exception {
1506 return (XAD) super.removeRepetition(24, rep);
1507 }
1508
1509
1510
1511
1512
1513
1514
1515
1516 public CWE getOrderStatusModifier() {
1517 CWE retVal = this.getTypedField(25, 0);
1518 return retVal;
1519 }
1520
1521
1522
1523
1524
1525 public CWE getOrc25_OrderStatusModifier() {
1526 CWE retVal = this.getTypedField(25, 0);
1527 return retVal;
1528 }
1529
1530
1531
1532
1533
1534
1535
1536 public CWE getAdvancedBeneficiaryNoticeOverrideReason() {
1537 CWE retVal = this.getTypedField(26, 0);
1538 return retVal;
1539 }
1540
1541
1542
1543
1544
1545 public CWE getOrc26_AdvancedBeneficiaryNoticeOverrideReason() {
1546 CWE retVal = this.getTypedField(26, 0);
1547 return retVal;
1548 }
1549
1550
1551
1552
1553
1554
1555
1556 public DTM getFillerSExpectedAvailabilityDateTime() {
1557 DTM retVal = this.getTypedField(27, 0);
1558 return retVal;
1559 }
1560
1561
1562
1563
1564
1565 public DTM getOrc27_FillerSExpectedAvailabilityDateTime() {
1566 DTM retVal = this.getTypedField(27, 0);
1567 return retVal;
1568 }
1569
1570
1571
1572
1573
1574
1575
1576 public CWE getConfidentialityCode() {
1577 CWE retVal = this.getTypedField(28, 0);
1578 return retVal;
1579 }
1580
1581
1582
1583
1584
1585 public CWE getOrc28_ConfidentialityCode() {
1586 CWE retVal = this.getTypedField(28, 0);
1587 return retVal;
1588 }
1589
1590
1591
1592
1593
1594
1595
1596 public CWE getOrderType() {
1597 CWE retVal = this.getTypedField(29, 0);
1598 return retVal;
1599 }
1600
1601
1602
1603
1604
1605 public CWE getOrc29_OrderType() {
1606 CWE retVal = this.getTypedField(29, 0);
1607 return retVal;
1608 }
1609
1610
1611
1612
1613
1614
1615
1616 public CNE getEntererAuthorizationMode() {
1617 CNE retVal = this.getTypedField(30, 0);
1618 return retVal;
1619 }
1620
1621
1622
1623
1624
1625 public CNE getOrc30_EntererAuthorizationMode() {
1626 CNE retVal = this.getTypedField(30, 0);
1627 return retVal;
1628 }
1629
1630
1631
1632
1633
1634
1635
1636 public CWE getParentUniversalServiceIdentifier() {
1637 CWE retVal = this.getTypedField(31, 0);
1638 return retVal;
1639 }
1640
1641
1642
1643
1644
1645 public CWE getOrc31_ParentUniversalServiceIdentifier() {
1646 CWE retVal = this.getTypedField(31, 0);
1647 return retVal;
1648 }
1649
1650
1651
1652
1653
1654
1655
1656 public DT getAdvancedBeneficiaryNoticeDate() {
1657 DT retVal = this.getTypedField(32, 0);
1658 return retVal;
1659 }
1660
1661
1662
1663
1664
1665 public DT getOrc32_AdvancedBeneficiaryNoticeDate() {
1666 DT retVal = this.getTypedField(32, 0);
1667 return retVal;
1668 }
1669
1670
1671
1672
1673
1674 public CX[] getAlternatePlacerOrderNumber() {
1675 CX[] retVal = this.getTypedField(33, new CX[0]);
1676 return retVal;
1677 }
1678
1679
1680
1681
1682
1683 public CX[] getOrc33_AlternatePlacerOrderNumber() {
1684 CX[] retVal = this.getTypedField(33, new CX[0]);
1685 return retVal;
1686 }
1687
1688
1689
1690
1691
1692
1693
1694 public int getAlternatePlacerOrderNumberReps() {
1695 return this.getReps(33);
1696 }
1697
1698
1699
1700
1701
1702
1703
1704
1705 public CX getAlternatePlacerOrderNumber(int rep) {
1706 CX retVal = this.getTypedField(33, rep);
1707 return retVal;
1708 }
1709
1710
1711
1712
1713
1714
1715
1716 public CX getOrc33_AlternatePlacerOrderNumber(int rep) {
1717 CX retVal = this.getTypedField(33, rep);
1718 return retVal;
1719 }
1720
1721
1722
1723
1724
1725
1726 public int getOrc33_AlternatePlacerOrderNumberReps() {
1727 return this.getReps(33);
1728 }
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738 public CX insertAlternatePlacerOrderNumber(int rep) throws HL7Exception {
1739 return (CX) super.insertRepetition(33, rep);
1740 }
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750 public CX insertOrc33_AlternatePlacerOrderNumber(int rep) throws HL7Exception {
1751 return (CX) super.insertRepetition(33, rep);
1752 }
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762 public CX removeAlternatePlacerOrderNumber(int rep) throws HL7Exception {
1763 return (CX) super.removeRepetition(33, rep);
1764 }
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774 public CX removeOrc33_AlternatePlacerOrderNumber(int rep) throws HL7Exception {
1775 return (CX) super.removeRepetition(33, rep);
1776 }
1777
1778
1779
1780
1781
1782
1783 public CWE[] getOrderWorkflowProfile() {
1784 CWE[] retVal = this.getTypedField(34, new CWE[0]);
1785 return retVal;
1786 }
1787
1788
1789
1790
1791
1792 public CWE[] getOrc34_OrderWorkflowProfile() {
1793 CWE[] retVal = this.getTypedField(34, new CWE[0]);
1794 return retVal;
1795 }
1796
1797
1798
1799
1800
1801
1802
1803 public int getOrderWorkflowProfileReps() {
1804 return this.getReps(34);
1805 }
1806
1807
1808
1809
1810
1811
1812
1813
1814 public CWE getOrderWorkflowProfile(int rep) {
1815 CWE retVal = this.getTypedField(34, rep);
1816 return retVal;
1817 }
1818
1819
1820
1821
1822
1823
1824
1825 public CWE getOrc34_OrderWorkflowProfile(int rep) {
1826 CWE retVal = this.getTypedField(34, rep);
1827 return retVal;
1828 }
1829
1830
1831
1832
1833
1834
1835 public int getOrc34_OrderWorkflowProfileReps() {
1836 return this.getReps(34);
1837 }
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847 public CWE insertOrderWorkflowProfile(int rep) throws HL7Exception {
1848 return (CWE) super.insertRepetition(34, rep);
1849 }
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859 public CWE insertOrc34_OrderWorkflowProfile(int rep) throws HL7Exception {
1860 return (CWE) super.insertRepetition(34, rep);
1861 }
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871 public CWE removeOrderWorkflowProfile(int rep) throws HL7Exception {
1872 return (CWE) super.removeRepetition(34, rep);
1873 }
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883 public CWE removeOrc34_OrderWorkflowProfile(int rep) throws HL7Exception {
1884 return (CWE) super.removeRepetition(34, rep);
1885 }
1886
1887
1888
1889
1890
1891
1892
1893 protected Type createNewTypeWithoutReflection(int field) {
1894 switch (field) {
1895 case 0: return new ID(getMessage(), new Integer( 119 ));
1896 case 1: return new EI(getMessage());
1897 case 2: return new EI(getMessage());
1898 case 3: return new EIP(getMessage());
1899 case 4: return new ID(getMessage(), new Integer( 38 ));
1900 case 5: return new ID(getMessage(), new Integer( 121 ));
1901 case 6: return new NULLDT(getMessage());
1902 case 7: return new EIP(getMessage());
1903 case 8: return new DTM(getMessage());
1904 case 9: return new XCN(getMessage());
1905 case 10: return new XCN(getMessage());
1906 case 11: return new XCN(getMessage());
1907 case 12: return new PL(getMessage());
1908 case 13: return new XTN(getMessage());
1909 case 14: return new DTM(getMessage());
1910 case 15: return new CWE(getMessage());
1911 case 16: return new CWE(getMessage());
1912 case 17: return new CWE(getMessage());
1913 case 18: return new XCN(getMessage());
1914 case 19: return new CWE(getMessage());
1915 case 20: return new XON(getMessage());
1916 case 21: return new XAD(getMessage());
1917 case 22: return new XTN(getMessage());
1918 case 23: return new XAD(getMessage());
1919 case 24: return new CWE(getMessage());
1920 case 25: return new CWE(getMessage());
1921 case 26: return new DTM(getMessage());
1922 case 27: return new CWE(getMessage());
1923 case 28: return new CWE(getMessage());
1924 case 29: return new CNE(getMessage());
1925 case 30: return new CWE(getMessage());
1926 case 31: return new DT(getMessage());
1927 case 32: return new CX(getMessage());
1928 case 33: return new CWE(getMessage());
1929 default: return null;
1930 }
1931 }
1932
1933
1934 }
1935