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