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