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