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