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