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