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