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 @SuppressWarnings("unused")
84 public class OBX extends AbstractSegment {
85
86
87
88
89 public OBX(Group parent, ModelClassFactory factory) {
90 super(parent, factory);
91 init(factory);
92 }
93
94 private void init(ModelClassFactory factory) {
95 try {
96 this.add(SI.class, false, 1, 0, new Object[]{ getMessage() }, "Set ID - OBX");
97 this.add(ID.class, false, 1, 0, new Object[]{ getMessage(), new Integer(125) }, "Value Type");
98 this.add(CWE.class, true, 1, 0, new Object[]{ getMessage() }, "Observation Identifier");
99 this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Observation Sub-ID");
100 this.add(Varies.class, false, 0, 0, new Object[]{ getMessage() }, "Observation Value");
101 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Units");
102 this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "References Range");
103 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Interpretation Codes");
104 this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Probability");
105 this.add(ID.class, false, 0, 0, new Object[]{ getMessage(), new Integer(80) }, "Nature of Abnormal Test");
106 this.add(ID.class, true, 1, 0, new Object[]{ getMessage(), new Integer(85) }, "Observation Result Status");
107 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Effective Date of Reference Range");
108 this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "User Defined Access Checks");
109 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Date/Time of the Observation");
110 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Producer's ID");
111 this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Responsible Observer");
112 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Observation Method");
113 this.add(EI.class, false, 0, 0, new Object[]{ getMessage() }, "Equipment Instance Identifier");
114 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Date/Time of the Analysis");
115 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Observation Site");
116 this.add(EI.class, false, 1, 0, new Object[]{ getMessage() }, "Observation Instance Identifier");
117 this.add(CNE.class, false, 1, 0, new Object[]{ getMessage() }, "Mood Code");
118 this.add(XON.class, false, 1, 0, new Object[]{ getMessage() }, "Performing Organization Name");
119 this.add(XAD.class, false, 1, 0, new Object[]{ getMessage() }, "Performing Organization Address");
120 this.add(XCN.class, false, 1, 0, new Object[]{ getMessage() }, "Performing Organization Medical Director");
121 this.add(ID.class, false, 1, 0, new Object[]{ getMessage(), new Integer(909) }, "Patient Results Release Category");
122 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Root Cause");
123 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Local Process Control");
124 this.add(ID.class, false, 1, 0, new Object[]{ getMessage(), new Integer(936) }, "Observation Type");
125 } catch(HL7Exception e) {
126 log.error("Unexpected error creating OBX - this is probably a bug in the source code generator.", e);
127 }
128 }
129
130
131
132
133
134
135
136 public SI getSetIDOBX() {
137 SI retVal = this.getTypedField(1, 0);
138 return retVal;
139 }
140
141
142
143
144
145 public SI getObx1_SetIDOBX() {
146 SI retVal = this.getTypedField(1, 0);
147 return retVal;
148 }
149
150
151
152
153
154
155
156 public ID getValueType() {
157 ID retVal = this.getTypedField(2, 0);
158 return retVal;
159 }
160
161
162
163
164
165 public ID getObx2_ValueType() {
166 ID retVal = this.getTypedField(2, 0);
167 return retVal;
168 }
169
170
171
172
173
174
175
176 public CWE getObservationIdentifier() {
177 CWE retVal = this.getTypedField(3, 0);
178 return retVal;
179 }
180
181
182
183
184
185 public CWE getObx3_ObservationIdentifier() {
186 CWE retVal = this.getTypedField(3, 0);
187 return retVal;
188 }
189
190
191
192
193
194
195
196 public ST getObservationSubID() {
197 ST retVal = this.getTypedField(4, 0);
198 return retVal;
199 }
200
201
202
203
204
205 public ST getObx4_ObservationSubID() {
206 ST retVal = this.getTypedField(4, 0);
207 return retVal;
208 }
209
210
211
212
213
214 public Varies[] getObservationValue() {
215 Varies[] retVal = this.getTypedField(5, new Varies[0]);
216 return retVal;
217 }
218
219
220
221
222
223 public Varies[] getObx5_ObservationValue() {
224 Varies[] retVal = this.getTypedField(5, new Varies[0]);
225 return retVal;
226 }
227
228
229
230
231
232
233
234 public int getObservationValueReps() {
235 return this.getReps(5);
236 }
237
238
239
240
241
242
243
244
245 public Varies getObservationValue(int rep) {
246 Varies retVal = this.getTypedField(5, rep);
247 return retVal;
248 }
249
250
251
252
253
254
255
256 public Varies getObx5_ObservationValue(int rep) {
257 Varies retVal = this.getTypedField(5, rep);
258 return retVal;
259 }
260
261
262
263
264
265
266 public int getObx5_ObservationValueReps() {
267 return this.getReps(5);
268 }
269
270
271
272
273
274
275
276
277
278 public Varies insertObservationValue(int rep) throws HL7Exception {
279 return (Varies) super.insertRepetition(5, rep);
280 }
281
282
283
284
285
286
287
288
289
290 public Varies insertObx5_ObservationValue(int rep) throws HL7Exception {
291 return (Varies) super.insertRepetition(5, rep);
292 }
293
294
295
296
297
298
299
300
301
302 public Varies removeObservationValue(int rep) throws HL7Exception {
303 return (Varies) super.removeRepetition(5, rep);
304 }
305
306
307
308
309
310
311
312
313
314 public Varies removeObx5_ObservationValue(int rep) throws HL7Exception {
315 return (Varies) super.removeRepetition(5, rep);
316 }
317
318
319
320
321
322
323
324
325 public CWE getUnits() {
326 CWE retVal = this.getTypedField(6, 0);
327 return retVal;
328 }
329
330
331
332
333
334 public CWE getObx6_Units() {
335 CWE retVal = this.getTypedField(6, 0);
336 return retVal;
337 }
338
339
340
341
342
343
344
345 public ST getReferencesRange() {
346 ST retVal = this.getTypedField(7, 0);
347 return retVal;
348 }
349
350
351
352
353
354 public ST getObx7_ReferencesRange() {
355 ST retVal = this.getTypedField(7, 0);
356 return retVal;
357 }
358
359
360
361
362
363 public CWE[] getInterpretationCodes() {
364 CWE[] retVal = this.getTypedField(8, new CWE[0]);
365 return retVal;
366 }
367
368
369
370
371
372 public CWE[] getObx8_InterpretationCodes() {
373 CWE[] retVal = this.getTypedField(8, new CWE[0]);
374 return retVal;
375 }
376
377
378
379
380
381
382
383 public int getInterpretationCodesReps() {
384 return this.getReps(8);
385 }
386
387
388
389
390
391
392
393
394 public CWE getInterpretationCodes(int rep) {
395 CWE retVal = this.getTypedField(8, rep);
396 return retVal;
397 }
398
399
400
401
402
403
404
405 public CWE getObx8_InterpretationCodes(int rep) {
406 CWE retVal = this.getTypedField(8, rep);
407 return retVal;
408 }
409
410
411
412
413
414
415 public int getObx8_InterpretationCodesReps() {
416 return this.getReps(8);
417 }
418
419
420
421
422
423
424
425
426
427 public CWE insertInterpretationCodes(int rep) throws HL7Exception {
428 return (CWE) super.insertRepetition(8, rep);
429 }
430
431
432
433
434
435
436
437
438
439 public CWE insertObx8_InterpretationCodes(int rep) throws HL7Exception {
440 return (CWE) super.insertRepetition(8, rep);
441 }
442
443
444
445
446
447
448
449
450
451 public CWE removeInterpretationCodes(int rep) throws HL7Exception {
452 return (CWE) super.removeRepetition(8, rep);
453 }
454
455
456
457
458
459
460
461
462
463 public CWE removeObx8_InterpretationCodes(int rep) throws HL7Exception {
464 return (CWE) super.removeRepetition(8, rep);
465 }
466
467
468
469
470
471
472
473
474 public NM getProbability() {
475 NM retVal = this.getTypedField(9, 0);
476 return retVal;
477 }
478
479
480
481
482
483 public NM getObx9_Probability() {
484 NM retVal = this.getTypedField(9, 0);
485 return retVal;
486 }
487
488
489
490
491
492 public ID[] getNatureOfAbnormalTest() {
493 ID[] retVal = this.getTypedField(10, new ID[0]);
494 return retVal;
495 }
496
497
498
499
500
501 public ID[] getObx10_NatureOfAbnormalTest() {
502 ID[] retVal = this.getTypedField(10, new ID[0]);
503 return retVal;
504 }
505
506
507
508
509
510
511
512 public int getNatureOfAbnormalTestReps() {
513 return this.getReps(10);
514 }
515
516
517
518
519
520
521
522
523 public ID getNatureOfAbnormalTest(int rep) {
524 ID retVal = this.getTypedField(10, rep);
525 return retVal;
526 }
527
528
529
530
531
532
533
534 public ID getObx10_NatureOfAbnormalTest(int rep) {
535 ID retVal = this.getTypedField(10, rep);
536 return retVal;
537 }
538
539
540
541
542
543
544 public int getObx10_NatureOfAbnormalTestReps() {
545 return this.getReps(10);
546 }
547
548
549
550
551
552
553
554
555
556 public ID insertNatureOfAbnormalTest(int rep) throws HL7Exception {
557 return (ID) super.insertRepetition(10, rep);
558 }
559
560
561
562
563
564
565
566
567
568 public ID insertObx10_NatureOfAbnormalTest(int rep) throws HL7Exception {
569 return (ID) super.insertRepetition(10, rep);
570 }
571
572
573
574
575
576
577
578
579
580 public ID removeNatureOfAbnormalTest(int rep) throws HL7Exception {
581 return (ID) super.removeRepetition(10, rep);
582 }
583
584
585
586
587
588
589
590
591
592 public ID removeObx10_NatureOfAbnormalTest(int rep) throws HL7Exception {
593 return (ID) super.removeRepetition(10, rep);
594 }
595
596
597
598
599
600
601
602
603 public ID getObservationResultStatus() {
604 ID retVal = this.getTypedField(11, 0);
605 return retVal;
606 }
607
608
609
610
611
612 public ID getObx11_ObservationResultStatus() {
613 ID retVal = this.getTypedField(11, 0);
614 return retVal;
615 }
616
617
618
619
620
621
622
623 public DTM getEffectiveDateOfReferenceRange() {
624 DTM retVal = this.getTypedField(12, 0);
625 return retVal;
626 }
627
628
629
630
631
632 public DTM getObx12_EffectiveDateOfReferenceRange() {
633 DTM retVal = this.getTypedField(12, 0);
634 return retVal;
635 }
636
637
638
639
640
641
642
643 public ST getUserDefinedAccessChecks() {
644 ST retVal = this.getTypedField(13, 0);
645 return retVal;
646 }
647
648
649
650
651
652 public ST getObx13_UserDefinedAccessChecks() {
653 ST retVal = this.getTypedField(13, 0);
654 return retVal;
655 }
656
657
658
659
660
661
662
663 public DTM getDateTimeOfTheObservation() {
664 DTM retVal = this.getTypedField(14, 0);
665 return retVal;
666 }
667
668
669
670
671
672 public DTM getObx14_DateTimeOfTheObservation() {
673 DTM retVal = this.getTypedField(14, 0);
674 return retVal;
675 }
676
677
678
679
680
681
682
683 public CWE getProducerSID() {
684 CWE retVal = this.getTypedField(15, 0);
685 return retVal;
686 }
687
688
689
690
691
692 public CWE getObx15_ProducerSID() {
693 CWE retVal = this.getTypedField(15, 0);
694 return retVal;
695 }
696
697
698
699
700
701 public XCN[] getResponsibleObserver() {
702 XCN[] retVal = this.getTypedField(16, new XCN[0]);
703 return retVal;
704 }
705
706
707
708
709
710 public XCN[] getObx16_ResponsibleObserver() {
711 XCN[] retVal = this.getTypedField(16, new XCN[0]);
712 return retVal;
713 }
714
715
716
717
718
719
720
721 public int getResponsibleObserverReps() {
722 return this.getReps(16);
723 }
724
725
726
727
728
729
730
731
732 public XCN getResponsibleObserver(int rep) {
733 XCN retVal = this.getTypedField(16, rep);
734 return retVal;
735 }
736
737
738
739
740
741
742
743 public XCN getObx16_ResponsibleObserver(int rep) {
744 XCN retVal = this.getTypedField(16, rep);
745 return retVal;
746 }
747
748
749
750
751
752
753 public int getObx16_ResponsibleObserverReps() {
754 return this.getReps(16);
755 }
756
757
758
759
760
761
762
763
764
765 public XCN insertResponsibleObserver(int rep) throws HL7Exception {
766 return (XCN) super.insertRepetition(16, rep);
767 }
768
769
770
771
772
773
774
775
776
777 public XCN insertObx16_ResponsibleObserver(int rep) throws HL7Exception {
778 return (XCN) super.insertRepetition(16, rep);
779 }
780
781
782
783
784
785
786
787
788
789 public XCN removeResponsibleObserver(int rep) throws HL7Exception {
790 return (XCN) super.removeRepetition(16, rep);
791 }
792
793
794
795
796
797
798
799
800
801 public XCN removeObx16_ResponsibleObserver(int rep) throws HL7Exception {
802 return (XCN) super.removeRepetition(16, rep);
803 }
804
805
806
807
808
809
810 public CWE[] getObservationMethod() {
811 CWE[] retVal = this.getTypedField(17, new CWE[0]);
812 return retVal;
813 }
814
815
816
817
818
819 public CWE[] getObx17_ObservationMethod() {
820 CWE[] retVal = this.getTypedField(17, new CWE[0]);
821 return retVal;
822 }
823
824
825
826
827
828
829
830 public int getObservationMethodReps() {
831 return this.getReps(17);
832 }
833
834
835
836
837
838
839
840
841 public CWE getObservationMethod(int rep) {
842 CWE retVal = this.getTypedField(17, rep);
843 return retVal;
844 }
845
846
847
848
849
850
851
852 public CWE getObx17_ObservationMethod(int rep) {
853 CWE retVal = this.getTypedField(17, rep);
854 return retVal;
855 }
856
857
858
859
860
861
862 public int getObx17_ObservationMethodReps() {
863 return this.getReps(17);
864 }
865
866
867
868
869
870
871
872
873
874 public CWE insertObservationMethod(int rep) throws HL7Exception {
875 return (CWE) super.insertRepetition(17, rep);
876 }
877
878
879
880
881
882
883
884
885
886 public CWE insertObx17_ObservationMethod(int rep) throws HL7Exception {
887 return (CWE) super.insertRepetition(17, rep);
888 }
889
890
891
892
893
894
895
896
897
898 public CWE removeObservationMethod(int rep) throws HL7Exception {
899 return (CWE) super.removeRepetition(17, rep);
900 }
901
902
903
904
905
906
907
908
909
910 public CWE removeObx17_ObservationMethod(int rep) throws HL7Exception {
911 return (CWE) super.removeRepetition(17, rep);
912 }
913
914
915
916
917
918
919 public EI[] getEquipmentInstanceIdentifier() {
920 EI[] retVal = this.getTypedField(18, new EI[0]);
921 return retVal;
922 }
923
924
925
926
927
928 public EI[] getObx18_EquipmentInstanceIdentifier() {
929 EI[] retVal = this.getTypedField(18, new EI[0]);
930 return retVal;
931 }
932
933
934
935
936
937
938
939 public int getEquipmentInstanceIdentifierReps() {
940 return this.getReps(18);
941 }
942
943
944
945
946
947
948
949
950 public EI getEquipmentInstanceIdentifier(int rep) {
951 EI retVal = this.getTypedField(18, rep);
952 return retVal;
953 }
954
955
956
957
958
959
960
961 public EI getObx18_EquipmentInstanceIdentifier(int rep) {
962 EI retVal = this.getTypedField(18, rep);
963 return retVal;
964 }
965
966
967
968
969
970
971 public int getObx18_EquipmentInstanceIdentifierReps() {
972 return this.getReps(18);
973 }
974
975
976
977
978
979
980
981
982
983 public EI insertEquipmentInstanceIdentifier(int rep) throws HL7Exception {
984 return (EI) super.insertRepetition(18, rep);
985 }
986
987
988
989
990
991
992
993
994
995 public EI insertObx18_EquipmentInstanceIdentifier(int rep) throws HL7Exception {
996 return (EI) super.insertRepetition(18, rep);
997 }
998
999
1000
1001
1002
1003
1004
1005
1006
1007 public EI removeEquipmentInstanceIdentifier(int rep) throws HL7Exception {
1008 return (EI) super.removeRepetition(18, rep);
1009 }
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019 public EI removeObx18_EquipmentInstanceIdentifier(int rep) throws HL7Exception {
1020 return (EI) super.removeRepetition(18, rep);
1021 }
1022
1023
1024
1025
1026
1027
1028
1029
1030 public DTM getDateTimeOfTheAnalysis() {
1031 DTM retVal = this.getTypedField(19, 0);
1032 return retVal;
1033 }
1034
1035
1036
1037
1038
1039 public DTM getObx19_DateTimeOfTheAnalysis() {
1040 DTM retVal = this.getTypedField(19, 0);
1041 return retVal;
1042 }
1043
1044
1045
1046
1047
1048 public CWE[] getObservationSite() {
1049 CWE[] retVal = this.getTypedField(20, new CWE[0]);
1050 return retVal;
1051 }
1052
1053
1054
1055
1056
1057 public CWE[] getObx20_ObservationSite() {
1058 CWE[] retVal = this.getTypedField(20, new CWE[0]);
1059 return retVal;
1060 }
1061
1062
1063
1064
1065
1066
1067
1068 public int getObservationSiteReps() {
1069 return this.getReps(20);
1070 }
1071
1072
1073
1074
1075
1076
1077
1078
1079 public CWE getObservationSite(int rep) {
1080 CWE retVal = this.getTypedField(20, rep);
1081 return retVal;
1082 }
1083
1084
1085
1086
1087
1088
1089
1090 public CWE getObx20_ObservationSite(int rep) {
1091 CWE retVal = this.getTypedField(20, rep);
1092 return retVal;
1093 }
1094
1095
1096
1097
1098
1099
1100 public int getObx20_ObservationSiteReps() {
1101 return this.getReps(20);
1102 }
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112 public CWE insertObservationSite(int rep) throws HL7Exception {
1113 return (CWE) super.insertRepetition(20, rep);
1114 }
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124 public CWE insertObx20_ObservationSite(int rep) throws HL7Exception {
1125 return (CWE) super.insertRepetition(20, rep);
1126 }
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136 public CWE removeObservationSite(int rep) throws HL7Exception {
1137 return (CWE) super.removeRepetition(20, rep);
1138 }
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148 public CWE removeObx20_ObservationSite(int rep) throws HL7Exception {
1149 return (CWE) super.removeRepetition(20, rep);
1150 }
1151
1152
1153
1154
1155
1156
1157
1158
1159 public EI getObservationInstanceIdentifier() {
1160 EI retVal = this.getTypedField(21, 0);
1161 return retVal;
1162 }
1163
1164
1165
1166
1167
1168 public EI getObx21_ObservationInstanceIdentifier() {
1169 EI retVal = this.getTypedField(21, 0);
1170 return retVal;
1171 }
1172
1173
1174
1175
1176
1177
1178
1179 public CNE getMoodCode() {
1180 CNE retVal = this.getTypedField(22, 0);
1181 return retVal;
1182 }
1183
1184
1185
1186
1187
1188 public CNE getObx22_MoodCode() {
1189 CNE retVal = this.getTypedField(22, 0);
1190 return retVal;
1191 }
1192
1193
1194
1195
1196
1197
1198
1199 public XON getPerformingOrganizationName() {
1200 XON retVal = this.getTypedField(23, 0);
1201 return retVal;
1202 }
1203
1204
1205
1206
1207
1208 public XON getObx23_PerformingOrganizationName() {
1209 XON retVal = this.getTypedField(23, 0);
1210 return retVal;
1211 }
1212
1213
1214
1215
1216
1217
1218
1219 public XAD getPerformingOrganizationAddress() {
1220 XAD retVal = this.getTypedField(24, 0);
1221 return retVal;
1222 }
1223
1224
1225
1226
1227
1228 public XAD getObx24_PerformingOrganizationAddress() {
1229 XAD retVal = this.getTypedField(24, 0);
1230 return retVal;
1231 }
1232
1233
1234
1235
1236
1237
1238
1239 public XCN getPerformingOrganizationMedicalDirector() {
1240 XCN retVal = this.getTypedField(25, 0);
1241 return retVal;
1242 }
1243
1244
1245
1246
1247
1248 public XCN getObx25_PerformingOrganizationMedicalDirector() {
1249 XCN retVal = this.getTypedField(25, 0);
1250 return retVal;
1251 }
1252
1253
1254
1255
1256
1257
1258
1259 public ID getPatientResultsReleaseCategory() {
1260 ID retVal = this.getTypedField(26, 0);
1261 return retVal;
1262 }
1263
1264
1265
1266
1267
1268 public ID getObx26_PatientResultsReleaseCategory() {
1269 ID retVal = this.getTypedField(26, 0);
1270 return retVal;
1271 }
1272
1273
1274
1275
1276
1277
1278
1279 public CWE getRootCause() {
1280 CWE retVal = this.getTypedField(27, 0);
1281 return retVal;
1282 }
1283
1284
1285
1286
1287
1288 public CWE getObx27_RootCause() {
1289 CWE retVal = this.getTypedField(27, 0);
1290 return retVal;
1291 }
1292
1293
1294
1295
1296
1297 public CWE[] getLocalProcessControl() {
1298 CWE[] retVal = this.getTypedField(28, new CWE[0]);
1299 return retVal;
1300 }
1301
1302
1303
1304
1305
1306 public CWE[] getObx28_LocalProcessControl() {
1307 CWE[] retVal = this.getTypedField(28, new CWE[0]);
1308 return retVal;
1309 }
1310
1311
1312
1313
1314
1315
1316
1317 public int getLocalProcessControlReps() {
1318 return this.getReps(28);
1319 }
1320
1321
1322
1323
1324
1325
1326
1327
1328 public CWE getLocalProcessControl(int rep) {
1329 CWE retVal = this.getTypedField(28, rep);
1330 return retVal;
1331 }
1332
1333
1334
1335
1336
1337
1338
1339 public CWE getObx28_LocalProcessControl(int rep) {
1340 CWE retVal = this.getTypedField(28, rep);
1341 return retVal;
1342 }
1343
1344
1345
1346
1347
1348
1349 public int getObx28_LocalProcessControlReps() {
1350 return this.getReps(28);
1351 }
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361 public CWE insertLocalProcessControl(int rep) throws HL7Exception {
1362 return (CWE) super.insertRepetition(28, rep);
1363 }
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373 public CWE insertObx28_LocalProcessControl(int rep) throws HL7Exception {
1374 return (CWE) super.insertRepetition(28, rep);
1375 }
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385 public CWE removeLocalProcessControl(int rep) throws HL7Exception {
1386 return (CWE) super.removeRepetition(28, rep);
1387 }
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397 public CWE removeObx28_LocalProcessControl(int rep) throws HL7Exception {
1398 return (CWE) super.removeRepetition(28, rep);
1399 }
1400
1401
1402
1403
1404
1405
1406
1407
1408 public ID getObservationType() {
1409 ID retVal = this.getTypedField(29, 0);
1410 return retVal;
1411 }
1412
1413
1414
1415
1416
1417 public ID getObx29_ObservationType() {
1418 ID retVal = this.getTypedField(29, 0);
1419 return retVal;
1420 }
1421
1422
1423
1424
1425
1426
1427 protected Type createNewTypeWithoutReflection(int field) {
1428 switch (field) {
1429 case 0: return new SI(getMessage());
1430 case 1: return new ID(getMessage(), new Integer( 125 ));
1431 case 2: return new CWE(getMessage());
1432 case 3: return new ST(getMessage());
1433 case 4: return new Varies(getMessage());
1434 case 5: return new CWE(getMessage());
1435 case 6: return new ST(getMessage());
1436 case 7: return new CWE(getMessage());
1437 case 8: return new NM(getMessage());
1438 case 9: return new ID(getMessage(), new Integer( 80 ));
1439 case 10: return new ID(getMessage(), new Integer( 85 ));
1440 case 11: return new DTM(getMessage());
1441 case 12: return new ST(getMessage());
1442 case 13: return new DTM(getMessage());
1443 case 14: return new CWE(getMessage());
1444 case 15: return new XCN(getMessage());
1445 case 16: return new CWE(getMessage());
1446 case 17: return new EI(getMessage());
1447 case 18: return new DTM(getMessage());
1448 case 19: return new CWE(getMessage());
1449 case 20: return new EI(getMessage());
1450 case 21: return new CNE(getMessage());
1451 case 22: return new XON(getMessage());
1452 case 23: return new XAD(getMessage());
1453 case 24: return new XCN(getMessage());
1454 case 25: return new ID(getMessage(), new Integer( 909 ));
1455 case 26: return new CWE(getMessage());
1456 case 27: return new CWE(getMessage());
1457 case 28: return new ID(getMessage(), new Integer( 936 ));
1458 default: return null;
1459 }
1460 }
1461
1462
1463 }
1464