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