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.v22.segment;
35
36
37 import ca.uhn.hl7v2.model.v22.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 @SuppressWarnings("unused")
97 public class OM1 extends AbstractSegment {
98
99
100
101
102 public OM1(Group parent, ModelClassFactory factory) {
103 super(parent, factory);
104 init(factory);
105 }
106
107 private void init(ModelClassFactory factory) {
108 try {
109 this.add(ST.class, false, 1, 3, new Object[]{ getMessage() }, "Segment Type ID");
110 this.add(NM.class, false, 1, 4, new Object[]{ getMessage() }, "Sequence Number - Test/ Observation Master File");
111 this.add(CE.class, true, 1, 200, new Object[]{ getMessage() }, "Producer's test / observation ID");
112 this.add(ID.class, false, 0, 12, new Object[]{ getMessage(), new Integer(125) }, "Permitted Data Types");
113 this.add(ID.class, true, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Specimen Required");
114 this.add(CE.class, true, 1, 200, new Object[]{ getMessage() }, "Producer ID");
115 this.add(TX.class, false, 1, 200, new Object[]{ getMessage() }, "Observation Description");
116 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Other test / observation IDs for the observation");
117 this.add(ST.class, true, 0, 200, new Object[]{ getMessage() }, "Other Names");
118 this.add(ST.class, false, 1, 30, new Object[]{ getMessage() }, "Preferred Report Name for the Observation");
119 this.add(ST.class, false, 1, 8, new Object[]{ getMessage() }, "Preferred Short Name or Mnemonic for Observation");
120 this.add(ST.class, false, 1, 200, new Object[]{ getMessage() }, "Preferred Long Name for the Observation");
121 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Orderability");
122 this.add(CE.class, false, 0, 60, new Object[]{ getMessage() }, "Identity of instrument used to perform this study");
123 this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Coded Representation of Method");
124 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Portable");
125 this.add(ID.class, false, 0, 1, new Object[]{ getMessage(), new Integer(0) }, "Observation producing department / section");
126 this.add(TN.class, false, 1, 40, new Object[]{ getMessage() }, "Telephone Number of Section");
127 this.add(ID.class, true, 1, 1, new Object[]{ getMessage(), new Integer(174) }, "Nature of test / observation");
128 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Report Subheader");
129 this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Report Display Order");
130 this.add(TS.class, true, 1, 26, new Object[]{ getMessage() }, "Date / time stamp for any change in definition for obs");
131 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Effective date / time of change");
132 this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Typical Turn-around Time");
133 this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Processing Time");
134 this.add(ID.class, false, 0, 40, new Object[]{ getMessage(), new Integer(168) }, "Processing Priority");
135 this.add(ID.class, false, 1, 5, new Object[]{ getMessage(), new Integer(169) }, "Reporting Priority");
136 this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Outside Site(s) Where Observation may be Performed");
137 this.add(AD.class, false, 0, 1000, new Object[]{ getMessage() }, "Address of Outside Site(s)");
138 this.add(TN.class, false, 0, 400, new Object[]{ getMessage() }, "Phone Number of Outside Site");
139 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(177) }, "Confidentiality Code");
140 this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Observations required to interpret the observation");
141 this.add(TX.class, false, 1, 65536, new Object[]{ getMessage() }, "Interpretation of Observations");
142 this.add(CE.class, false, 0, 65536, new Object[]{ getMessage() }, "Contraindications to Observations");
143 this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Reflex tests / observations");
144 this.add(ST.class, false, 1, 80, new Object[]{ getMessage() }, "Rules that Trigger Reflex Testing");
145 this.add(CE.class, false, 0, 65536, new Object[]{ getMessage() }, "Fixed Canned Message");
146 this.add(TX.class, false, 1, 200, new Object[]{ getMessage() }, "Patient Preparation");
147 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Procedure Medication");
148 this.add(TX.class, false, 1, 200, new Object[]{ getMessage() }, "Factors that may affect the observation");
149 this.add(ST.class, false, 0, 60, new Object[]{ getMessage() }, "Test / observation performance schedule");
150 this.add(TX.class, false, 1, 65536, new Object[]{ getMessage() }, "Description of Test Methods");
151 } catch(HL7Exception e) {
152 log.error("Unexpected error creating OM1 - this is probably a bug in the source code generator.", e);
153 }
154 }
155
156
157
158
159
160
161
162 public ST getSegmentTypeID() {
163 ST retVal = this.getTypedField(1, 0);
164 return retVal;
165 }
166
167
168
169
170
171 public ST getOm11_SegmentTypeID() {
172 ST retVal = this.getTypedField(1, 0);
173 return retVal;
174 }
175
176
177
178
179
180
181
182 public NM getSequenceNumberTestObservationMasterFile() {
183 NM retVal = this.getTypedField(2, 0);
184 return retVal;
185 }
186
187
188
189
190
191 public NM getOm12_SequenceNumberTestObservationMasterFile() {
192 NM retVal = this.getTypedField(2, 0);
193 return retVal;
194 }
195
196
197
198
199
200
201
202 public CE getProducerSTestObservationID() {
203 CE retVal = this.getTypedField(3, 0);
204 return retVal;
205 }
206
207
208
209
210
211 public CE getOm13_ProducerSTestObservationID() {
212 CE retVal = this.getTypedField(3, 0);
213 return retVal;
214 }
215
216
217
218
219
220 public ID[] getPermittedDataTypes() {
221 ID[] retVal = this.getTypedField(4, new ID[0]);
222 return retVal;
223 }
224
225
226
227
228
229 public ID[] getOm14_PermittedDataTypes() {
230 ID[] retVal = this.getTypedField(4, new ID[0]);
231 return retVal;
232 }
233
234
235
236
237
238
239
240 public int getPermittedDataTypesReps() {
241 return this.getReps(4);
242 }
243
244
245
246
247
248
249
250
251 public ID getPermittedDataTypes(int rep) {
252 ID retVal = this.getTypedField(4, rep);
253 return retVal;
254 }
255
256
257
258
259
260
261
262 public ID getOm14_PermittedDataTypes(int rep) {
263 ID retVal = this.getTypedField(4, rep);
264 return retVal;
265 }
266
267
268
269
270
271
272 public int getOm14_PermittedDataTypesReps() {
273 return this.getReps(4);
274 }
275
276
277
278
279
280
281
282
283
284 public ID insertPermittedDataTypes(int rep) throws HL7Exception {
285 return (ID) super.insertRepetition(4, rep);
286 }
287
288
289
290
291
292
293
294
295
296 public ID insertOm14_PermittedDataTypes(int rep) throws HL7Exception {
297 return (ID) super.insertRepetition(4, rep);
298 }
299
300
301
302
303
304
305
306
307
308 public ID removePermittedDataTypes(int rep) throws HL7Exception {
309 return (ID) super.removeRepetition(4, rep);
310 }
311
312
313
314
315
316
317
318
319
320 public ID removeOm14_PermittedDataTypes(int rep) throws HL7Exception {
321 return (ID) super.removeRepetition(4, rep);
322 }
323
324
325
326
327
328
329
330
331 public ID getSpecimenRequired() {
332 ID retVal = this.getTypedField(5, 0);
333 return retVal;
334 }
335
336
337
338
339
340 public ID getOm15_SpecimenRequired() {
341 ID retVal = this.getTypedField(5, 0);
342 return retVal;
343 }
344
345
346
347
348
349
350
351 public CE getProducerID() {
352 CE retVal = this.getTypedField(6, 0);
353 return retVal;
354 }
355
356
357
358
359
360 public CE getOm16_ProducerID() {
361 CE retVal = this.getTypedField(6, 0);
362 return retVal;
363 }
364
365
366
367
368
369
370
371 public TX getObservationDescription() {
372 TX retVal = this.getTypedField(7, 0);
373 return retVal;
374 }
375
376
377
378
379
380 public TX getOm17_ObservationDescription() {
381 TX retVal = this.getTypedField(7, 0);
382 return retVal;
383 }
384
385
386
387
388
389
390
391 public CE getOtherTestObservationIDsForTheObservation() {
392 CE retVal = this.getTypedField(8, 0);
393 return retVal;
394 }
395
396
397
398
399
400 public CE getOm18_OtherTestObservationIDsForTheObservation() {
401 CE retVal = this.getTypedField(8, 0);
402 return retVal;
403 }
404
405
406
407
408
409 public ST[] getOtherNames() {
410 ST[] retVal = this.getTypedField(9, new ST[0]);
411 return retVal;
412 }
413
414
415
416
417
418 public ST[] getOm19_OtherNames() {
419 ST[] retVal = this.getTypedField(9, new ST[0]);
420 return retVal;
421 }
422
423
424
425
426
427
428
429 public int getOtherNamesReps() {
430 return this.getReps(9);
431 }
432
433
434
435
436
437
438
439
440 public ST getOtherNames(int rep) {
441 ST retVal = this.getTypedField(9, rep);
442 return retVal;
443 }
444
445
446
447
448
449
450
451 public ST getOm19_OtherNames(int rep) {
452 ST retVal = this.getTypedField(9, rep);
453 return retVal;
454 }
455
456
457
458
459
460
461 public int getOm19_OtherNamesReps() {
462 return this.getReps(9);
463 }
464
465
466
467
468
469
470
471
472
473 public ST insertOtherNames(int rep) throws HL7Exception {
474 return (ST) super.insertRepetition(9, rep);
475 }
476
477
478
479
480
481
482
483
484
485 public ST insertOm19_OtherNames(int rep) throws HL7Exception {
486 return (ST) super.insertRepetition(9, rep);
487 }
488
489
490
491
492
493
494
495
496
497 public ST removeOtherNames(int rep) throws HL7Exception {
498 return (ST) super.removeRepetition(9, rep);
499 }
500
501
502
503
504
505
506
507
508
509 public ST removeOm19_OtherNames(int rep) throws HL7Exception {
510 return (ST) super.removeRepetition(9, rep);
511 }
512
513
514
515
516
517
518
519
520 public ST getPreferredReportNameForTheObservation() {
521 ST retVal = this.getTypedField(10, 0);
522 return retVal;
523 }
524
525
526
527
528
529 public ST getOm110_PreferredReportNameForTheObservation() {
530 ST retVal = this.getTypedField(10, 0);
531 return retVal;
532 }
533
534
535
536
537
538
539
540 public ST getPreferredShortNameOrMnemonicForObservation() {
541 ST retVal = this.getTypedField(11, 0);
542 return retVal;
543 }
544
545
546
547
548
549 public ST getOm111_PreferredShortNameOrMnemonicForObservation() {
550 ST retVal = this.getTypedField(11, 0);
551 return retVal;
552 }
553
554
555
556
557
558
559
560 public ST getPreferredLongNameForTheObservation() {
561 ST retVal = this.getTypedField(12, 0);
562 return retVal;
563 }
564
565
566
567
568
569 public ST getOm112_PreferredLongNameForTheObservation() {
570 ST retVal = this.getTypedField(12, 0);
571 return retVal;
572 }
573
574
575
576
577
578
579
580 public ID getOrderability() {
581 ID retVal = this.getTypedField(13, 0);
582 return retVal;
583 }
584
585
586
587
588
589 public ID getOm113_Orderability() {
590 ID retVal = this.getTypedField(13, 0);
591 return retVal;
592 }
593
594
595
596
597
598 public CE[] getIdentityOfInstrumentUsedToPerformThisStudy() {
599 CE[] retVal = this.getTypedField(14, new CE[0]);
600 return retVal;
601 }
602
603
604
605
606
607 public CE[] getOm114_IdentityOfInstrumentUsedToPerformThisStudy() {
608 CE[] retVal = this.getTypedField(14, new CE[0]);
609 return retVal;
610 }
611
612
613
614
615
616
617
618 public int getIdentityOfInstrumentUsedToPerformThisStudyReps() {
619 return this.getReps(14);
620 }
621
622
623
624
625
626
627
628
629 public CE getIdentityOfInstrumentUsedToPerformThisStudy(int rep) {
630 CE retVal = this.getTypedField(14, rep);
631 return retVal;
632 }
633
634
635
636
637
638
639
640 public CE getOm114_IdentityOfInstrumentUsedToPerformThisStudy(int rep) {
641 CE retVal = this.getTypedField(14, rep);
642 return retVal;
643 }
644
645
646
647
648
649
650 public int getOm114_IdentityOfInstrumentUsedToPerformThisStudyReps() {
651 return this.getReps(14);
652 }
653
654
655
656
657
658
659
660
661
662 public CE insertIdentityOfInstrumentUsedToPerformThisStudy(int rep) throws HL7Exception {
663 return (CE) super.insertRepetition(14, rep);
664 }
665
666
667
668
669
670
671
672
673
674 public CE insertOm114_IdentityOfInstrumentUsedToPerformThisStudy(int rep) throws HL7Exception {
675 return (CE) super.insertRepetition(14, rep);
676 }
677
678
679
680
681
682
683
684
685
686 public CE removeIdentityOfInstrumentUsedToPerformThisStudy(int rep) throws HL7Exception {
687 return (CE) super.removeRepetition(14, rep);
688 }
689
690
691
692
693
694
695
696
697
698 public CE removeOm114_IdentityOfInstrumentUsedToPerformThisStudy(int rep) throws HL7Exception {
699 return (CE) super.removeRepetition(14, rep);
700 }
701
702
703
704
705
706
707 public CE[] getCodedRepresentationOfMethod() {
708 CE[] retVal = this.getTypedField(15, new CE[0]);
709 return retVal;
710 }
711
712
713
714
715
716 public CE[] getOm115_CodedRepresentationOfMethod() {
717 CE[] retVal = this.getTypedField(15, new CE[0]);
718 return retVal;
719 }
720
721
722
723
724
725
726
727 public int getCodedRepresentationOfMethodReps() {
728 return this.getReps(15);
729 }
730
731
732
733
734
735
736
737
738 public CE getCodedRepresentationOfMethod(int rep) {
739 CE retVal = this.getTypedField(15, rep);
740 return retVal;
741 }
742
743
744
745
746
747
748
749 public CE getOm115_CodedRepresentationOfMethod(int rep) {
750 CE retVal = this.getTypedField(15, rep);
751 return retVal;
752 }
753
754
755
756
757
758
759 public int getOm115_CodedRepresentationOfMethodReps() {
760 return this.getReps(15);
761 }
762
763
764
765
766
767
768
769
770
771 public CE insertCodedRepresentationOfMethod(int rep) throws HL7Exception {
772 return (CE) super.insertRepetition(15, rep);
773 }
774
775
776
777
778
779
780
781
782
783 public CE insertOm115_CodedRepresentationOfMethod(int rep) throws HL7Exception {
784 return (CE) super.insertRepetition(15, rep);
785 }
786
787
788
789
790
791
792
793
794
795 public CE removeCodedRepresentationOfMethod(int rep) throws HL7Exception {
796 return (CE) super.removeRepetition(15, rep);
797 }
798
799
800
801
802
803
804
805
806
807 public CE removeOm115_CodedRepresentationOfMethod(int rep) throws HL7Exception {
808 return (CE) super.removeRepetition(15, rep);
809 }
810
811
812
813
814
815
816
817
818 public ID getPortable() {
819 ID retVal = this.getTypedField(16, 0);
820 return retVal;
821 }
822
823
824
825
826
827 public ID getOm116_Portable() {
828 ID retVal = this.getTypedField(16, 0);
829 return retVal;
830 }
831
832
833
834
835
836 public ID[] getObservationProducingDepartmentSection() {
837 ID[] retVal = this.getTypedField(17, new ID[0]);
838 return retVal;
839 }
840
841
842
843
844
845 public ID[] getOm117_ObservationProducingDepartmentSection() {
846 ID[] retVal = this.getTypedField(17, new ID[0]);
847 return retVal;
848 }
849
850
851
852
853
854
855
856 public int getObservationProducingDepartmentSectionReps() {
857 return this.getReps(17);
858 }
859
860
861
862
863
864
865
866
867 public ID getObservationProducingDepartmentSection(int rep) {
868 ID retVal = this.getTypedField(17, rep);
869 return retVal;
870 }
871
872
873
874
875
876
877
878 public ID getOm117_ObservationProducingDepartmentSection(int rep) {
879 ID retVal = this.getTypedField(17, rep);
880 return retVal;
881 }
882
883
884
885
886
887
888 public int getOm117_ObservationProducingDepartmentSectionReps() {
889 return this.getReps(17);
890 }
891
892
893
894
895
896
897
898
899
900 public ID insertObservationProducingDepartmentSection(int rep) throws HL7Exception {
901 return (ID) super.insertRepetition(17, rep);
902 }
903
904
905
906
907
908
909
910
911
912 public ID insertOm117_ObservationProducingDepartmentSection(int rep) throws HL7Exception {
913 return (ID) super.insertRepetition(17, rep);
914 }
915
916
917
918
919
920
921
922
923
924 public ID removeObservationProducingDepartmentSection(int rep) throws HL7Exception {
925 return (ID) super.removeRepetition(17, rep);
926 }
927
928
929
930
931
932
933
934
935
936 public ID removeOm117_ObservationProducingDepartmentSection(int rep) throws HL7Exception {
937 return (ID) super.removeRepetition(17, rep);
938 }
939
940
941
942
943
944
945
946
947 public TN getTelephoneNumberOfSection() {
948 TN retVal = this.getTypedField(18, 0);
949 return retVal;
950 }
951
952
953
954
955
956 public TN getOm118_TelephoneNumberOfSection() {
957 TN retVal = this.getTypedField(18, 0);
958 return retVal;
959 }
960
961
962
963
964
965
966
967 public ID getNatureOfTestObservation() {
968 ID retVal = this.getTypedField(19, 0);
969 return retVal;
970 }
971
972
973
974
975
976 public ID getOm119_NatureOfTestObservation() {
977 ID retVal = this.getTypedField(19, 0);
978 return retVal;
979 }
980
981
982
983
984
985
986
987 public CE getReportSubheader() {
988 CE retVal = this.getTypedField(20, 0);
989 return retVal;
990 }
991
992
993
994
995
996 public CE getOm120_ReportSubheader() {
997 CE retVal = this.getTypedField(20, 0);
998 return retVal;
999 }
1000
1001
1002
1003
1004
1005
1006
1007 public ST getReportDisplayOrder() {
1008 ST retVal = this.getTypedField(21, 0);
1009 return retVal;
1010 }
1011
1012
1013
1014
1015
1016 public ST getOm121_ReportDisplayOrder() {
1017 ST retVal = this.getTypedField(21, 0);
1018 return retVal;
1019 }
1020
1021
1022
1023
1024
1025
1026
1027 public TS getDateTimeStampForAnyChangeInDefinitionForObs() {
1028 TS retVal = this.getTypedField(22, 0);
1029 return retVal;
1030 }
1031
1032
1033
1034
1035
1036 public TS getOm122_DateTimeStampForAnyChangeInDefinitionForObs() {
1037 TS retVal = this.getTypedField(22, 0);
1038 return retVal;
1039 }
1040
1041
1042
1043
1044
1045
1046
1047 public TS getEffectiveDateTimeOfChange() {
1048 TS retVal = this.getTypedField(23, 0);
1049 return retVal;
1050 }
1051
1052
1053
1054
1055
1056 public TS getOm123_EffectiveDateTimeOfChange() {
1057 TS retVal = this.getTypedField(23, 0);
1058 return retVal;
1059 }
1060
1061
1062
1063
1064
1065
1066
1067 public NM getTypicalTurnAroundTime() {
1068 NM retVal = this.getTypedField(24, 0);
1069 return retVal;
1070 }
1071
1072
1073
1074
1075
1076 public NM getOm124_TypicalTurnAroundTime() {
1077 NM retVal = this.getTypedField(24, 0);
1078 return retVal;
1079 }
1080
1081
1082
1083
1084
1085
1086
1087 public NM getProcessingTime() {
1088 NM retVal = this.getTypedField(25, 0);
1089 return retVal;
1090 }
1091
1092
1093
1094
1095
1096 public NM getOm125_ProcessingTime() {
1097 NM retVal = this.getTypedField(25, 0);
1098 return retVal;
1099 }
1100
1101
1102
1103
1104
1105 public ID[] getProcessingPriority() {
1106 ID[] retVal = this.getTypedField(26, new ID[0]);
1107 return retVal;
1108 }
1109
1110
1111
1112
1113
1114 public ID[] getOm126_ProcessingPriority() {
1115 ID[] retVal = this.getTypedField(26, new ID[0]);
1116 return retVal;
1117 }
1118
1119
1120
1121
1122
1123
1124
1125 public int getProcessingPriorityReps() {
1126 return this.getReps(26);
1127 }
1128
1129
1130
1131
1132
1133
1134
1135
1136 public ID getProcessingPriority(int rep) {
1137 ID retVal = this.getTypedField(26, rep);
1138 return retVal;
1139 }
1140
1141
1142
1143
1144
1145
1146
1147 public ID getOm126_ProcessingPriority(int rep) {
1148 ID retVal = this.getTypedField(26, rep);
1149 return retVal;
1150 }
1151
1152
1153
1154
1155
1156
1157 public int getOm126_ProcessingPriorityReps() {
1158 return this.getReps(26);
1159 }
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169 public ID insertProcessingPriority(int rep) throws HL7Exception {
1170 return (ID) super.insertRepetition(26, rep);
1171 }
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181 public ID insertOm126_ProcessingPriority(int rep) throws HL7Exception {
1182 return (ID) super.insertRepetition(26, rep);
1183 }
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193 public ID removeProcessingPriority(int rep) throws HL7Exception {
1194 return (ID) super.removeRepetition(26, rep);
1195 }
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205 public ID removeOm126_ProcessingPriority(int rep) throws HL7Exception {
1206 return (ID) super.removeRepetition(26, rep);
1207 }
1208
1209
1210
1211
1212
1213
1214
1215
1216 public ID getReportingPriority() {
1217 ID retVal = this.getTypedField(27, 0);
1218 return retVal;
1219 }
1220
1221
1222
1223
1224
1225 public ID getOm127_ReportingPriority() {
1226 ID retVal = this.getTypedField(27, 0);
1227 return retVal;
1228 }
1229
1230
1231
1232
1233
1234 public CE[] getOutsideSiteSWhereObservationMayBePerformed() {
1235 CE[] retVal = this.getTypedField(28, new CE[0]);
1236 return retVal;
1237 }
1238
1239
1240
1241
1242
1243 public CE[] getOm128_OutsideSiteSWhereObservationMayBePerformed() {
1244 CE[] retVal = this.getTypedField(28, new CE[0]);
1245 return retVal;
1246 }
1247
1248
1249
1250
1251
1252
1253
1254 public int getOutsideSiteSWhereObservationMayBePerformedReps() {
1255 return this.getReps(28);
1256 }
1257
1258
1259
1260
1261
1262
1263
1264
1265 public CE getOutsideSiteSWhereObservationMayBePerformed(int rep) {
1266 CE retVal = this.getTypedField(28, rep);
1267 return retVal;
1268 }
1269
1270
1271
1272
1273
1274
1275
1276 public CE getOm128_OutsideSiteSWhereObservationMayBePerformed(int rep) {
1277 CE retVal = this.getTypedField(28, rep);
1278 return retVal;
1279 }
1280
1281
1282
1283
1284
1285
1286 public int getOm128_OutsideSiteSWhereObservationMayBePerformedReps() {
1287 return this.getReps(28);
1288 }
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298 public CE insertOutsideSiteSWhereObservationMayBePerformed(int rep) throws HL7Exception {
1299 return (CE) super.insertRepetition(28, rep);
1300 }
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310 public CE insertOm128_OutsideSiteSWhereObservationMayBePerformed(int rep) throws HL7Exception {
1311 return (CE) super.insertRepetition(28, rep);
1312 }
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322 public CE removeOutsideSiteSWhereObservationMayBePerformed(int rep) throws HL7Exception {
1323 return (CE) super.removeRepetition(28, rep);
1324 }
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334 public CE removeOm128_OutsideSiteSWhereObservationMayBePerformed(int rep) throws HL7Exception {
1335 return (CE) super.removeRepetition(28, rep);
1336 }
1337
1338
1339
1340
1341
1342
1343 public AD[] getAddressOfOutsideSiteS() {
1344 AD[] retVal = this.getTypedField(29, new AD[0]);
1345 return retVal;
1346 }
1347
1348
1349
1350
1351
1352 public AD[] getOm129_AddressOfOutsideSiteS() {
1353 AD[] retVal = this.getTypedField(29, new AD[0]);
1354 return retVal;
1355 }
1356
1357
1358
1359
1360
1361
1362
1363 public int getAddressOfOutsideSiteSReps() {
1364 return this.getReps(29);
1365 }
1366
1367
1368
1369
1370
1371
1372
1373
1374 public AD getAddressOfOutsideSiteS(int rep) {
1375 AD retVal = this.getTypedField(29, rep);
1376 return retVal;
1377 }
1378
1379
1380
1381
1382
1383
1384
1385 public AD getOm129_AddressOfOutsideSiteS(int rep) {
1386 AD retVal = this.getTypedField(29, rep);
1387 return retVal;
1388 }
1389
1390
1391
1392
1393
1394
1395 public int getOm129_AddressOfOutsideSiteSReps() {
1396 return this.getReps(29);
1397 }
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407 public AD insertAddressOfOutsideSiteS(int rep) throws HL7Exception {
1408 return (AD) super.insertRepetition(29, rep);
1409 }
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419 public AD insertOm129_AddressOfOutsideSiteS(int rep) throws HL7Exception {
1420 return (AD) super.insertRepetition(29, rep);
1421 }
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431 public AD removeAddressOfOutsideSiteS(int rep) throws HL7Exception {
1432 return (AD) super.removeRepetition(29, rep);
1433 }
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443 public AD removeOm129_AddressOfOutsideSiteS(int rep) throws HL7Exception {
1444 return (AD) super.removeRepetition(29, rep);
1445 }
1446
1447
1448
1449
1450
1451
1452 public TN[] getPhoneNumberOfOutsideSite() {
1453 TN[] retVal = this.getTypedField(30, new TN[0]);
1454 return retVal;
1455 }
1456
1457
1458
1459
1460
1461 public TN[] getOm130_PhoneNumberOfOutsideSite() {
1462 TN[] retVal = this.getTypedField(30, new TN[0]);
1463 return retVal;
1464 }
1465
1466
1467
1468
1469
1470
1471
1472 public int getPhoneNumberOfOutsideSiteReps() {
1473 return this.getReps(30);
1474 }
1475
1476
1477
1478
1479
1480
1481
1482
1483 public TN getPhoneNumberOfOutsideSite(int rep) {
1484 TN retVal = this.getTypedField(30, rep);
1485 return retVal;
1486 }
1487
1488
1489
1490
1491
1492
1493
1494 public TN getOm130_PhoneNumberOfOutsideSite(int rep) {
1495 TN retVal = this.getTypedField(30, rep);
1496 return retVal;
1497 }
1498
1499
1500
1501
1502
1503
1504 public int getOm130_PhoneNumberOfOutsideSiteReps() {
1505 return this.getReps(30);
1506 }
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516 public TN insertPhoneNumberOfOutsideSite(int rep) throws HL7Exception {
1517 return (TN) super.insertRepetition(30, rep);
1518 }
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528 public TN insertOm130_PhoneNumberOfOutsideSite(int rep) throws HL7Exception {
1529 return (TN) super.insertRepetition(30, rep);
1530 }
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540 public TN removePhoneNumberOfOutsideSite(int rep) throws HL7Exception {
1541 return (TN) super.removeRepetition(30, rep);
1542 }
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552 public TN removeOm130_PhoneNumberOfOutsideSite(int rep) throws HL7Exception {
1553 return (TN) super.removeRepetition(30, rep);
1554 }
1555
1556
1557
1558
1559
1560
1561
1562
1563 public ID getConfidentialityCode() {
1564 ID retVal = this.getTypedField(31, 0);
1565 return retVal;
1566 }
1567
1568
1569
1570
1571
1572 public ID getOm131_ConfidentialityCode() {
1573 ID retVal = this.getTypedField(31, 0);
1574 return retVal;
1575 }
1576
1577
1578
1579
1580
1581 public CE[] getObservationsRequiredToInterpretTheObservation() {
1582 CE[] retVal = this.getTypedField(32, new CE[0]);
1583 return retVal;
1584 }
1585
1586
1587
1588
1589
1590 public CE[] getOm132_ObservationsRequiredToInterpretTheObservation() {
1591 CE[] retVal = this.getTypedField(32, new CE[0]);
1592 return retVal;
1593 }
1594
1595
1596
1597
1598
1599
1600
1601 public int getObservationsRequiredToInterpretTheObservationReps() {
1602 return this.getReps(32);
1603 }
1604
1605
1606
1607
1608
1609
1610
1611
1612 public CE getObservationsRequiredToInterpretTheObservation(int rep) {
1613 CE retVal = this.getTypedField(32, rep);
1614 return retVal;
1615 }
1616
1617
1618
1619
1620
1621
1622
1623 public CE getOm132_ObservationsRequiredToInterpretTheObservation(int rep) {
1624 CE retVal = this.getTypedField(32, rep);
1625 return retVal;
1626 }
1627
1628
1629
1630
1631
1632
1633 public int getOm132_ObservationsRequiredToInterpretTheObservationReps() {
1634 return this.getReps(32);
1635 }
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645 public CE insertObservationsRequiredToInterpretTheObservation(int rep) throws HL7Exception {
1646 return (CE) super.insertRepetition(32, rep);
1647 }
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657 public CE insertOm132_ObservationsRequiredToInterpretTheObservation(int rep) throws HL7Exception {
1658 return (CE) super.insertRepetition(32, rep);
1659 }
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669 public CE removeObservationsRequiredToInterpretTheObservation(int rep) throws HL7Exception {
1670 return (CE) super.removeRepetition(32, rep);
1671 }
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681 public CE removeOm132_ObservationsRequiredToInterpretTheObservation(int rep) throws HL7Exception {
1682 return (CE) super.removeRepetition(32, rep);
1683 }
1684
1685
1686
1687
1688
1689
1690
1691
1692 public TX getInterpretationOfObservations() {
1693 TX retVal = this.getTypedField(33, 0);
1694 return retVal;
1695 }
1696
1697
1698
1699
1700
1701 public TX getOm133_InterpretationOfObservations() {
1702 TX retVal = this.getTypedField(33, 0);
1703 return retVal;
1704 }
1705
1706
1707
1708
1709
1710 public CE[] getContraindicationsToObservations() {
1711 CE[] retVal = this.getTypedField(34, new CE[0]);
1712 return retVal;
1713 }
1714
1715
1716
1717
1718
1719 public CE[] getOm134_ContraindicationsToObservations() {
1720 CE[] retVal = this.getTypedField(34, new CE[0]);
1721 return retVal;
1722 }
1723
1724
1725
1726
1727
1728
1729
1730 public int getContraindicationsToObservationsReps() {
1731 return this.getReps(34);
1732 }
1733
1734
1735
1736
1737
1738
1739
1740
1741 public CE getContraindicationsToObservations(int rep) {
1742 CE retVal = this.getTypedField(34, rep);
1743 return retVal;
1744 }
1745
1746
1747
1748
1749
1750
1751
1752 public CE getOm134_ContraindicationsToObservations(int rep) {
1753 CE retVal = this.getTypedField(34, rep);
1754 return retVal;
1755 }
1756
1757
1758
1759
1760
1761
1762 public int getOm134_ContraindicationsToObservationsReps() {
1763 return this.getReps(34);
1764 }
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774 public CE insertContraindicationsToObservations(int rep) throws HL7Exception {
1775 return (CE) super.insertRepetition(34, rep);
1776 }
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786 public CE insertOm134_ContraindicationsToObservations(int rep) throws HL7Exception {
1787 return (CE) super.insertRepetition(34, rep);
1788 }
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798 public CE removeContraindicationsToObservations(int rep) throws HL7Exception {
1799 return (CE) super.removeRepetition(34, rep);
1800 }
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810 public CE removeOm134_ContraindicationsToObservations(int rep) throws HL7Exception {
1811 return (CE) super.removeRepetition(34, rep);
1812 }
1813
1814
1815
1816
1817
1818
1819 public CE[] getReflexTestsObservations() {
1820 CE[] retVal = this.getTypedField(35, new CE[0]);
1821 return retVal;
1822 }
1823
1824
1825
1826
1827
1828 public CE[] getOm135_ReflexTestsObservations() {
1829 CE[] retVal = this.getTypedField(35, new CE[0]);
1830 return retVal;
1831 }
1832
1833
1834
1835
1836
1837
1838
1839 public int getReflexTestsObservationsReps() {
1840 return this.getReps(35);
1841 }
1842
1843
1844
1845
1846
1847
1848
1849
1850 public CE getReflexTestsObservations(int rep) {
1851 CE retVal = this.getTypedField(35, rep);
1852 return retVal;
1853 }
1854
1855
1856
1857
1858
1859
1860
1861 public CE getOm135_ReflexTestsObservations(int rep) {
1862 CE retVal = this.getTypedField(35, rep);
1863 return retVal;
1864 }
1865
1866
1867
1868
1869
1870
1871 public int getOm135_ReflexTestsObservationsReps() {
1872 return this.getReps(35);
1873 }
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883 public CE insertReflexTestsObservations(int rep) throws HL7Exception {
1884 return (CE) super.insertRepetition(35, rep);
1885 }
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895 public CE insertOm135_ReflexTestsObservations(int rep) throws HL7Exception {
1896 return (CE) super.insertRepetition(35, rep);
1897 }
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907 public CE removeReflexTestsObservations(int rep) throws HL7Exception {
1908 return (CE) super.removeRepetition(35, rep);
1909 }
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919 public CE removeOm135_ReflexTestsObservations(int rep) throws HL7Exception {
1920 return (CE) super.removeRepetition(35, rep);
1921 }
1922
1923
1924
1925
1926
1927
1928
1929
1930 public ST getRulesThatTriggerReflexTesting() {
1931 ST retVal = this.getTypedField(36, 0);
1932 return retVal;
1933 }
1934
1935
1936
1937
1938
1939 public ST getOm136_RulesThatTriggerReflexTesting() {
1940 ST retVal = this.getTypedField(36, 0);
1941 return retVal;
1942 }
1943
1944
1945
1946
1947
1948 public CE[] getFixedCannedMessage() {
1949 CE[] retVal = this.getTypedField(37, new CE[0]);
1950 return retVal;
1951 }
1952
1953
1954
1955
1956
1957 public CE[] getOm137_FixedCannedMessage() {
1958 CE[] retVal = this.getTypedField(37, new CE[0]);
1959 return retVal;
1960 }
1961
1962
1963
1964
1965
1966
1967
1968 public int getFixedCannedMessageReps() {
1969 return this.getReps(37);
1970 }
1971
1972
1973
1974
1975
1976
1977
1978
1979 public CE getFixedCannedMessage(int rep) {
1980 CE retVal = this.getTypedField(37, rep);
1981 return retVal;
1982 }
1983
1984
1985
1986
1987
1988
1989
1990 public CE getOm137_FixedCannedMessage(int rep) {
1991 CE retVal = this.getTypedField(37, rep);
1992 return retVal;
1993 }
1994
1995
1996
1997
1998
1999
2000 public int getOm137_FixedCannedMessageReps() {
2001 return this.getReps(37);
2002 }
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012 public CE insertFixedCannedMessage(int rep) throws HL7Exception {
2013 return (CE) super.insertRepetition(37, rep);
2014 }
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024 public CE insertOm137_FixedCannedMessage(int rep) throws HL7Exception {
2025 return (CE) super.insertRepetition(37, rep);
2026 }
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036 public CE removeFixedCannedMessage(int rep) throws HL7Exception {
2037 return (CE) super.removeRepetition(37, rep);
2038 }
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048 public CE removeOm137_FixedCannedMessage(int rep) throws HL7Exception {
2049 return (CE) super.removeRepetition(37, rep);
2050 }
2051
2052
2053
2054
2055
2056
2057
2058
2059 public TX getPatientPreparation() {
2060 TX retVal = this.getTypedField(38, 0);
2061 return retVal;
2062 }
2063
2064
2065
2066
2067
2068 public TX getOm138_PatientPreparation() {
2069 TX retVal = this.getTypedField(38, 0);
2070 return retVal;
2071 }
2072
2073
2074
2075
2076
2077
2078
2079 public CE getProcedureMedication() {
2080 CE retVal = this.getTypedField(39, 0);
2081 return retVal;
2082 }
2083
2084
2085
2086
2087
2088 public CE getOm139_ProcedureMedication() {
2089 CE retVal = this.getTypedField(39, 0);
2090 return retVal;
2091 }
2092
2093
2094
2095
2096
2097
2098
2099 public TX getFactorsThatMayAffectTheObservation() {
2100 TX retVal = this.getTypedField(40, 0);
2101 return retVal;
2102 }
2103
2104
2105
2106
2107
2108 public TX getOm140_FactorsThatMayAffectTheObservation() {
2109 TX retVal = this.getTypedField(40, 0);
2110 return retVal;
2111 }
2112
2113
2114
2115
2116
2117 public ST[] getTestObservationPerformanceSchedule() {
2118 ST[] retVal = this.getTypedField(41, new ST[0]);
2119 return retVal;
2120 }
2121
2122
2123
2124
2125
2126 public ST[] getOm141_TestObservationPerformanceSchedule() {
2127 ST[] retVal = this.getTypedField(41, new ST[0]);
2128 return retVal;
2129 }
2130
2131
2132
2133
2134
2135
2136
2137 public int getTestObservationPerformanceScheduleReps() {
2138 return this.getReps(41);
2139 }
2140
2141
2142
2143
2144
2145
2146
2147
2148 public ST getTestObservationPerformanceSchedule(int rep) {
2149 ST retVal = this.getTypedField(41, rep);
2150 return retVal;
2151 }
2152
2153
2154
2155
2156
2157
2158
2159 public ST getOm141_TestObservationPerformanceSchedule(int rep) {
2160 ST retVal = this.getTypedField(41, rep);
2161 return retVal;
2162 }
2163
2164
2165
2166
2167
2168
2169 public int getOm141_TestObservationPerformanceScheduleReps() {
2170 return this.getReps(41);
2171 }
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181 public ST insertTestObservationPerformanceSchedule(int rep) throws HL7Exception {
2182 return (ST) super.insertRepetition(41, rep);
2183 }
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193 public ST insertOm141_TestObservationPerformanceSchedule(int rep) throws HL7Exception {
2194 return (ST) super.insertRepetition(41, rep);
2195 }
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205 public ST removeTestObservationPerformanceSchedule(int rep) throws HL7Exception {
2206 return (ST) super.removeRepetition(41, rep);
2207 }
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217 public ST removeOm141_TestObservationPerformanceSchedule(int rep) throws HL7Exception {
2218 return (ST) super.removeRepetition(41, rep);
2219 }
2220
2221
2222
2223
2224
2225
2226
2227
2228 public TX getDescriptionOfTestMethods() {
2229 TX retVal = this.getTypedField(42, 0);
2230 return retVal;
2231 }
2232
2233
2234
2235
2236
2237 public TX getOm142_DescriptionOfTestMethods() {
2238 TX retVal = this.getTypedField(42, 0);
2239 return retVal;
2240 }
2241
2242
2243
2244
2245
2246
2247 protected Type createNewTypeWithoutReflection(int field) {
2248 switch (field) {
2249 case 0: return new ST(getMessage());
2250 case 1: return new NM(getMessage());
2251 case 2: return new CE(getMessage());
2252 case 3: return new ID(getMessage(), new Integer( 125 ));
2253 case 4: return new ID(getMessage(), new Integer( 136 ));
2254 case 5: return new CE(getMessage());
2255 case 6: return new TX(getMessage());
2256 case 7: return new CE(getMessage());
2257 case 8: return new ST(getMessage());
2258 case 9: return new ST(getMessage());
2259 case 10: return new ST(getMessage());
2260 case 11: return new ST(getMessage());
2261 case 12: return new ID(getMessage(), new Integer( 136 ));
2262 case 13: return new CE(getMessage());
2263 case 14: return new CE(getMessage());
2264 case 15: return new ID(getMessage(), new Integer( 136 ));
2265 case 16: return new ID(getMessage(), new Integer( 0 ));
2266 case 17: return new TN(getMessage());
2267 case 18: return new ID(getMessage(), new Integer( 174 ));
2268 case 19: return new CE(getMessage());
2269 case 20: return new ST(getMessage());
2270 case 21: return new TS(getMessage());
2271 case 22: return new TS(getMessage());
2272 case 23: return new NM(getMessage());
2273 case 24: return new NM(getMessage());
2274 case 25: return new ID(getMessage(), new Integer( 168 ));
2275 case 26: return new ID(getMessage(), new Integer( 169 ));
2276 case 27: return new CE(getMessage());
2277 case 28: return new AD(getMessage());
2278 case 29: return new TN(getMessage());
2279 case 30: return new ID(getMessage(), new Integer( 177 ));
2280 case 31: return new CE(getMessage());
2281 case 32: return new TX(getMessage());
2282 case 33: return new CE(getMessage());
2283 case 34: return new CE(getMessage());
2284 case 35: return new ST(getMessage());
2285 case 36: return new CE(getMessage());
2286 case 37: return new TX(getMessage());
2287 case 38: return new CE(getMessage());
2288 case 39: return new TX(getMessage());
2289 case 40: return new ST(getMessage());
2290 case 41: return new TX(getMessage());
2291 default: return null;
2292 }
2293 }
2294
2295
2296 }
2297