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