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