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.v23.segment;
35
36
37 import ca.uhn.hl7v2.model.v23.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
98
99
100
101 @SuppressWarnings("unused")
102 public class OM1 extends AbstractSegment {
103
104
105
106
107 public OM1(Group parent, ModelClassFactory factory) {
108 super(parent, factory);
109 init(factory);
110 }
111
112 private void init(ModelClassFactory factory) {
113 try {
114 this.add(NM.class, false, 1, 4, new Object[]{ getMessage() }, "Sequence Number - Test/ Observation Master File");
115 this.add(CE.class, true, 1, 200, new Object[]{ getMessage() }, "Producer's Test/Observation ID");
116 this.add(ID.class, false, 0, 12, new Object[]{ getMessage(), new Integer(125) }, "Permitted Data Types");
117 this.add(ID.class, true, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Specimen Required");
118 this.add(CE.class, true, 1, 200, new Object[]{ getMessage() }, "Producer ID");
119 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Observation Description");
120 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Other Test/Observation IDs for the Observation");
121 this.add(ST.class, true, 0, 200, new Object[]{ getMessage() }, "Other Names");
122 this.add(ST.class, false, 1, 30, new Object[]{ getMessage() }, "Preferred Report Name for the Observation");
123 this.add(ST.class, false, 1, 8, new Object[]{ getMessage() }, "Preferred Short Name or Mnemonic for Observation");
124 this.add(ST.class, false, 1, 200, new Object[]{ getMessage() }, "Preferred Long Name for the Observation");
125 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Orderability");
126 this.add(CE.class, false, 0, 60, new Object[]{ getMessage() }, "Identity of Instrument Used to Perfrom this Study");
127 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Coded Representation of Method");
128 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Portable");
129 this.add(CE.class, false, 0, 60, new Object[]{ getMessage() }, "Observation Producing Department/Section");
130 this.add(TN.class, false, 1, 40, new Object[]{ getMessage() }, "Telephone Number of Section");
131 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(174) }, "Nature of Test/Observation");
132 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Report Subheader");
133 this.add(ST.class, false, 1, 20, new Object[]{ getMessage() }, "Report Display Order");
134 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Date/Time Stamp for any change in Def Attri for Obs");
135 this.add(TS.class, false, 1, 26, new Object[]{ getMessage() }, "Effective Date/Time of Change in Test Proc. that make Results Non-Comparable");
136 this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Typical Turn-Around Time");
137 this.add(NM.class, false, 1, 20, new Object[]{ getMessage() }, "Processing Time");
138 this.add(ID.class, false, 0, 40, new Object[]{ getMessage(), new Integer(168) }, "Processing Priority");
139 this.add(ID.class, false, 1, 5, new Object[]{ getMessage(), new Integer(169) }, "Reporting Priority");
140 this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Outside Site(s) Where Observation may be Performed");
141 this.add(AD.class, false, 1, 1000, new Object[]{ getMessage() }, "Address of Outside Site(s)");
142 this.add(TN.class, false, 1, 400, new Object[]{ getMessage() }, "Phone Number of Outside Site");
143 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(177) }, "Confidentiality Code");
144 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Observations Required to Interpret the Observation");
145 this.add(TX.class, false, 1, 65536, new Object[]{ getMessage() }, "Interpretation of Observations");
146 this.add(CE.class, false, 1, 65536, new Object[]{ getMessage() }, "Contraindications to Observations");
147 this.add(CE.class, false, 0, 200, new Object[]{ getMessage() }, "Reflex Tests/Observations");
148 this.add(ST.class, false, 1, 80, new Object[]{ getMessage() }, "Rules that Trigger Reflex Testing");
149 this.add(CE.class, false, 1, 65536, new Object[]{ getMessage() }, "Fixed Canned Message");
150 this.add(TX.class, false, 1, 200, new Object[]{ getMessage() }, "Patient Preparation");
151 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Procedure Medication");
152 this.add(TX.class, false, 1, 200, new Object[]{ getMessage() }, "Factors that may Effect the Observation");
153 this.add(ST.class, false, 0, 60, new Object[]{ getMessage() }, "Test/Observation Performance Schedule");
154 this.add(TX.class, false, 1, 65536, new Object[]{ getMessage() }, "Description of Test Methods");
155 this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Kind of Quantity Observed");
156 this.add(CE.class, false, 1, 60, new Object[]{ getMessage() }, "Point versus Interval");
157 this.add(TX.class, false, 1, 200, new Object[]{ getMessage() }, "Challenge information");
158 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Relationship modifier");
159 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Target anatomic site of test");
160 this.add(CE.class, false, 1, 200, new Object[]{ getMessage() }, "Modality of imaging measurement");
161 } catch(HL7Exception e) {
162 log.error("Unexpected error creating OM1 - this is probably a bug in the source code generator.", e);
163 }
164 }
165
166
167
168
169
170
171
172 public NM getSequenceNumberTestObservationMasterFile() {
173 NM retVal = this.getTypedField(1, 0);
174 return retVal;
175 }
176
177
178
179
180
181 public NM getOm11_SequenceNumberTestObservationMasterFile() {
182 NM retVal = this.getTypedField(1, 0);
183 return retVal;
184 }
185
186
187
188
189
190
191
192 public CE getProducerSTestObservationID() {
193 CE retVal = this.getTypedField(2, 0);
194 return retVal;
195 }
196
197
198
199
200
201 public CE getOm12_ProducerSTestObservationID() {
202 CE retVal = this.getTypedField(2, 0);
203 return retVal;
204 }
205
206
207
208
209
210 public ID[] getPermittedDataTypes() {
211 ID[] retVal = this.getTypedField(3, new ID[0]);
212 return retVal;
213 }
214
215
216
217
218
219 public ID[] getOm13_PermittedDataTypes() {
220 ID[] retVal = this.getTypedField(3, new ID[0]);
221 return retVal;
222 }
223
224
225
226
227
228
229
230 public int getPermittedDataTypesReps() {
231 return this.getReps(3);
232 }
233
234
235
236
237
238
239
240
241 public ID getPermittedDataTypes(int rep) {
242 ID retVal = this.getTypedField(3, rep);
243 return retVal;
244 }
245
246
247
248
249
250
251
252 public ID getOm13_PermittedDataTypes(int rep) {
253 ID retVal = this.getTypedField(3, rep);
254 return retVal;
255 }
256
257
258
259
260
261
262 public int getOm13_PermittedDataTypesReps() {
263 return this.getReps(3);
264 }
265
266
267
268
269
270
271
272
273
274 public ID insertPermittedDataTypes(int rep) throws HL7Exception {
275 return (ID) super.insertRepetition(3, rep);
276 }
277
278
279
280
281
282
283
284
285
286 public ID insertOm13_PermittedDataTypes(int rep) throws HL7Exception {
287 return (ID) super.insertRepetition(3, rep);
288 }
289
290
291
292
293
294
295
296
297
298 public ID removePermittedDataTypes(int rep) throws HL7Exception {
299 return (ID) super.removeRepetition(3, rep);
300 }
301
302
303
304
305
306
307
308
309
310 public ID removeOm13_PermittedDataTypes(int rep) throws HL7Exception {
311 return (ID) super.removeRepetition(3, rep);
312 }
313
314
315
316
317
318
319
320
321 public ID getSpecimenRequired() {
322 ID retVal = this.getTypedField(4, 0);
323 return retVal;
324 }
325
326
327
328
329
330 public ID getOm14_SpecimenRequired() {
331 ID retVal = this.getTypedField(4, 0);
332 return retVal;
333 }
334
335
336
337
338
339
340
341 public CE getProducerID() {
342 CE retVal = this.getTypedField(5, 0);
343 return retVal;
344 }
345
346
347
348
349
350 public CE getOm15_ProducerID() {
351 CE retVal = this.getTypedField(5, 0);
352 return retVal;
353 }
354
355
356
357
358
359
360
361 public CE getObservationDescription() {
362 CE retVal = this.getTypedField(6, 0);
363 return retVal;
364 }
365
366
367
368
369
370 public CE getOm16_ObservationDescription() {
371 CE retVal = this.getTypedField(6, 0);
372 return retVal;
373 }
374
375
376
377
378
379
380
381 public CE getOtherTestObservationIDsForTheObservation() {
382 CE retVal = this.getTypedField(7, 0);
383 return retVal;
384 }
385
386
387
388
389
390 public CE getOm17_OtherTestObservationIDsForTheObservation() {
391 CE retVal = this.getTypedField(7, 0);
392 return retVal;
393 }
394
395
396
397
398
399 public ST[] getOtherNames() {
400 ST[] retVal = this.getTypedField(8, new ST[0]);
401 return retVal;
402 }
403
404
405
406
407
408 public ST[] getOm18_OtherNames() {
409 ST[] retVal = this.getTypedField(8, new ST[0]);
410 return retVal;
411 }
412
413
414
415
416
417
418
419 public int getOtherNamesReps() {
420 return this.getReps(8);
421 }
422
423
424
425
426
427
428
429
430 public ST getOtherNames(int rep) {
431 ST retVal = this.getTypedField(8, rep);
432 return retVal;
433 }
434
435
436
437
438
439
440
441 public ST getOm18_OtherNames(int rep) {
442 ST retVal = this.getTypedField(8, rep);
443 return retVal;
444 }
445
446
447
448
449
450
451 public int getOm18_OtherNamesReps() {
452 return this.getReps(8);
453 }
454
455
456
457
458
459
460
461
462
463 public ST insertOtherNames(int rep) throws HL7Exception {
464 return (ST) super.insertRepetition(8, rep);
465 }
466
467
468
469
470
471
472
473
474
475 public ST insertOm18_OtherNames(int rep) throws HL7Exception {
476 return (ST) super.insertRepetition(8, rep);
477 }
478
479
480
481
482
483
484
485
486
487 public ST removeOtherNames(int rep) throws HL7Exception {
488 return (ST) super.removeRepetition(8, rep);
489 }
490
491
492
493
494
495
496
497
498
499 public ST removeOm18_OtherNames(int rep) throws HL7Exception {
500 return (ST) super.removeRepetition(8, rep);
501 }
502
503
504
505
506
507
508
509
510 public ST getPreferredReportNameForTheObservation() {
511 ST retVal = this.getTypedField(9, 0);
512 return retVal;
513 }
514
515
516
517
518
519 public ST getOm19_PreferredReportNameForTheObservation() {
520 ST retVal = this.getTypedField(9, 0);
521 return retVal;
522 }
523
524
525
526
527
528
529
530 public ST getPreferredShortNameOrMnemonicForObservation() {
531 ST retVal = this.getTypedField(10, 0);
532 return retVal;
533 }
534
535
536
537
538
539 public ST getOm110_PreferredShortNameOrMnemonicForObservation() {
540 ST retVal = this.getTypedField(10, 0);
541 return retVal;
542 }
543
544
545
546
547
548
549
550 public ST getPreferredLongNameForTheObservation() {
551 ST retVal = this.getTypedField(11, 0);
552 return retVal;
553 }
554
555
556
557
558
559 public ST getOm111_PreferredLongNameForTheObservation() {
560 ST retVal = this.getTypedField(11, 0);
561 return retVal;
562 }
563
564
565
566
567
568
569
570 public ID getOrderability() {
571 ID retVal = this.getTypedField(12, 0);
572 return retVal;
573 }
574
575
576
577
578
579 public ID getOm112_Orderability() {
580 ID retVal = this.getTypedField(12, 0);
581 return retVal;
582 }
583
584
585
586
587
588 public CE[] getIdentityOfInstrumentUsedToPerfromThisStudy() {
589 CE[] retVal = this.getTypedField(13, new CE[0]);
590 return retVal;
591 }
592
593
594
595
596
597 public CE[] getOm113_IdentityOfInstrumentUsedToPerfromThisStudy() {
598 CE[] retVal = this.getTypedField(13, new CE[0]);
599 return retVal;
600 }
601
602
603
604
605
606
607
608 public int getIdentityOfInstrumentUsedToPerfromThisStudyReps() {
609 return this.getReps(13);
610 }
611
612
613
614
615
616
617
618
619 public CE getIdentityOfInstrumentUsedToPerfromThisStudy(int rep) {
620 CE retVal = this.getTypedField(13, rep);
621 return retVal;
622 }
623
624
625
626
627
628
629
630 public CE getOm113_IdentityOfInstrumentUsedToPerfromThisStudy(int rep) {
631 CE retVal = this.getTypedField(13, rep);
632 return retVal;
633 }
634
635
636
637
638
639
640 public int getOm113_IdentityOfInstrumentUsedToPerfromThisStudyReps() {
641 return this.getReps(13);
642 }
643
644
645
646
647
648
649
650
651
652 public CE insertIdentityOfInstrumentUsedToPerfromThisStudy(int rep) throws HL7Exception {
653 return (CE) super.insertRepetition(13, rep);
654 }
655
656
657
658
659
660
661
662
663
664 public CE insertOm113_IdentityOfInstrumentUsedToPerfromThisStudy(int rep) throws HL7Exception {
665 return (CE) super.insertRepetition(13, rep);
666 }
667
668
669
670
671
672
673
674
675
676 public CE removeIdentityOfInstrumentUsedToPerfromThisStudy(int rep) throws HL7Exception {
677 return (CE) super.removeRepetition(13, rep);
678 }
679
680
681
682
683
684
685
686
687
688 public CE removeOm113_IdentityOfInstrumentUsedToPerfromThisStudy(int rep) throws HL7Exception {
689 return (CE) super.removeRepetition(13, rep);
690 }
691
692
693
694
695
696
697
698
699 public CE getCodedRepresentationOfMethod() {
700 CE retVal = this.getTypedField(14, 0);
701 return retVal;
702 }
703
704
705
706
707
708 public CE getOm114_CodedRepresentationOfMethod() {
709 CE retVal = this.getTypedField(14, 0);
710 return retVal;
711 }
712
713
714
715
716
717
718
719 public ID getPortable() {
720 ID retVal = this.getTypedField(15, 0);
721 return retVal;
722 }
723
724
725
726
727
728 public ID getOm115_Portable() {
729 ID retVal = this.getTypedField(15, 0);
730 return retVal;
731 }
732
733
734
735
736
737 public CE[] getObservationProducingDepartmentSection() {
738 CE[] retVal = this.getTypedField(16, new CE[0]);
739 return retVal;
740 }
741
742
743
744
745
746 public CE[] getOm116_ObservationProducingDepartmentSection() {
747 CE[] retVal = this.getTypedField(16, new CE[0]);
748 return retVal;
749 }
750
751
752
753
754
755
756
757 public int getObservationProducingDepartmentSectionReps() {
758 return this.getReps(16);
759 }
760
761
762
763
764
765
766
767
768 public CE getObservationProducingDepartmentSection(int rep) {
769 CE retVal = this.getTypedField(16, rep);
770 return retVal;
771 }
772
773
774
775
776
777
778
779 public CE getOm116_ObservationProducingDepartmentSection(int rep) {
780 CE retVal = this.getTypedField(16, rep);
781 return retVal;
782 }
783
784
785
786
787
788
789 public int getOm116_ObservationProducingDepartmentSectionReps() {
790 return this.getReps(16);
791 }
792
793
794
795
796
797
798
799
800
801 public CE insertObservationProducingDepartmentSection(int rep) throws HL7Exception {
802 return (CE) super.insertRepetition(16, rep);
803 }
804
805
806
807
808
809
810
811
812
813 public CE insertOm116_ObservationProducingDepartmentSection(int rep) throws HL7Exception {
814 return (CE) super.insertRepetition(16, rep);
815 }
816
817
818
819
820
821
822
823
824
825 public CE removeObservationProducingDepartmentSection(int rep) throws HL7Exception {
826 return (CE) super.removeRepetition(16, rep);
827 }
828
829
830
831
832
833
834
835
836
837 public CE removeOm116_ObservationProducingDepartmentSection(int rep) throws HL7Exception {
838 return (CE) super.removeRepetition(16, rep);
839 }
840
841
842
843
844
845
846
847
848 public TN getTelephoneNumberOfSection() {
849 TN retVal = this.getTypedField(17, 0);
850 return retVal;
851 }
852
853
854
855
856
857 public TN getOm117_TelephoneNumberOfSection() {
858 TN retVal = this.getTypedField(17, 0);
859 return retVal;
860 }
861
862
863
864
865
866
867
868 public ID getNatureOfTestObservation() {
869 ID retVal = this.getTypedField(18, 0);
870 return retVal;
871 }
872
873
874
875
876
877 public ID getOm118_NatureOfTestObservation() {
878 ID retVal = this.getTypedField(18, 0);
879 return retVal;
880 }
881
882
883
884
885
886
887
888 public CE getReportSubheader() {
889 CE retVal = this.getTypedField(19, 0);
890 return retVal;
891 }
892
893
894
895
896
897 public CE getOm119_ReportSubheader() {
898 CE retVal = this.getTypedField(19, 0);
899 return retVal;
900 }
901
902
903
904
905
906
907
908 public ST getReportDisplayOrder() {
909 ST retVal = this.getTypedField(20, 0);
910 return retVal;
911 }
912
913
914
915
916
917 public ST getOm120_ReportDisplayOrder() {
918 ST retVal = this.getTypedField(20, 0);
919 return retVal;
920 }
921
922
923
924
925
926
927
928 public TS getDateTimeStampForAnyChangeInDefAttriForObs() {
929 TS retVal = this.getTypedField(21, 0);
930 return retVal;
931 }
932
933
934
935
936
937 public TS getOm121_DateTimeStampForAnyChangeInDefAttriForObs() {
938 TS retVal = this.getTypedField(21, 0);
939 return retVal;
940 }
941
942
943
944
945
946
947
948 public TS getEffectiveDateTimeOfChangeInTestProcThatMakeResultsNonComparable() {
949 TS retVal = this.getTypedField(22, 0);
950 return retVal;
951 }
952
953
954
955
956
957 public TS getOm122_EffectiveDateTimeOfChangeInTestProcThatMakeResultsNonComparable() {
958 TS retVal = this.getTypedField(22, 0);
959 return retVal;
960 }
961
962
963
964
965
966
967
968 public NM getTypicalTurnAroundTime() {
969 NM retVal = this.getTypedField(23, 0);
970 return retVal;
971 }
972
973
974
975
976
977 public NM getOm123_TypicalTurnAroundTime() {
978 NM retVal = this.getTypedField(23, 0);
979 return retVal;
980 }
981
982
983
984
985
986
987
988 public NM getProcessingTime() {
989 NM retVal = this.getTypedField(24, 0);
990 return retVal;
991 }
992
993
994
995
996
997 public NM getOm124_ProcessingTime() {
998 NM retVal = this.getTypedField(24, 0);
999 return retVal;
1000 }
1001
1002
1003
1004
1005
1006 public ID[] getProcessingPriority() {
1007 ID[] retVal = this.getTypedField(25, new ID[0]);
1008 return retVal;
1009 }
1010
1011
1012
1013
1014
1015 public ID[] getOm125_ProcessingPriority() {
1016 ID[] retVal = this.getTypedField(25, new ID[0]);
1017 return retVal;
1018 }
1019
1020
1021
1022
1023
1024
1025
1026 public int getProcessingPriorityReps() {
1027 return this.getReps(25);
1028 }
1029
1030
1031
1032
1033
1034
1035
1036
1037 public ID getProcessingPriority(int rep) {
1038 ID retVal = this.getTypedField(25, rep);
1039 return retVal;
1040 }
1041
1042
1043
1044
1045
1046
1047
1048 public ID getOm125_ProcessingPriority(int rep) {
1049 ID retVal = this.getTypedField(25, rep);
1050 return retVal;
1051 }
1052
1053
1054
1055
1056
1057
1058 public int getOm125_ProcessingPriorityReps() {
1059 return this.getReps(25);
1060 }
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070 public ID insertProcessingPriority(int rep) throws HL7Exception {
1071 return (ID) super.insertRepetition(25, rep);
1072 }
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082 public ID insertOm125_ProcessingPriority(int rep) throws HL7Exception {
1083 return (ID) super.insertRepetition(25, rep);
1084 }
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094 public ID removeProcessingPriority(int rep) throws HL7Exception {
1095 return (ID) super.removeRepetition(25, rep);
1096 }
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106 public ID removeOm125_ProcessingPriority(int rep) throws HL7Exception {
1107 return (ID) super.removeRepetition(25, rep);
1108 }
1109
1110
1111
1112
1113
1114
1115
1116
1117 public ID getReportingPriority() {
1118 ID retVal = this.getTypedField(26, 0);
1119 return retVal;
1120 }
1121
1122
1123
1124
1125
1126 public ID getOm126_ReportingPriority() {
1127 ID retVal = this.getTypedField(26, 0);
1128 return retVal;
1129 }
1130
1131
1132
1133
1134
1135 public CE[] getOutsideSiteSWhereObservationMayBePerformed() {
1136 CE[] retVal = this.getTypedField(27, new CE[0]);
1137 return retVal;
1138 }
1139
1140
1141
1142
1143
1144 public CE[] getOm127_OutsideSiteSWhereObservationMayBePerformed() {
1145 CE[] retVal = this.getTypedField(27, new CE[0]);
1146 return retVal;
1147 }
1148
1149
1150
1151
1152
1153
1154
1155 public int getOutsideSiteSWhereObservationMayBePerformedReps() {
1156 return this.getReps(27);
1157 }
1158
1159
1160
1161
1162
1163
1164
1165
1166 public CE getOutsideSiteSWhereObservationMayBePerformed(int rep) {
1167 CE retVal = this.getTypedField(27, rep);
1168 return retVal;
1169 }
1170
1171
1172
1173
1174
1175
1176
1177 public CE getOm127_OutsideSiteSWhereObservationMayBePerformed(int rep) {
1178 CE retVal = this.getTypedField(27, rep);
1179 return retVal;
1180 }
1181
1182
1183
1184
1185
1186
1187 public int getOm127_OutsideSiteSWhereObservationMayBePerformedReps() {
1188 return this.getReps(27);
1189 }
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199 public CE insertOutsideSiteSWhereObservationMayBePerformed(int rep) throws HL7Exception {
1200 return (CE) super.insertRepetition(27, rep);
1201 }
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211 public CE insertOm127_OutsideSiteSWhereObservationMayBePerformed(int rep) throws HL7Exception {
1212 return (CE) super.insertRepetition(27, rep);
1213 }
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223 public CE removeOutsideSiteSWhereObservationMayBePerformed(int rep) throws HL7Exception {
1224 return (CE) super.removeRepetition(27, rep);
1225 }
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235 public CE removeOm127_OutsideSiteSWhereObservationMayBePerformed(int rep) throws HL7Exception {
1236 return (CE) super.removeRepetition(27, rep);
1237 }
1238
1239
1240
1241
1242
1243
1244
1245
1246 public AD getAddressOfOutsideSiteS() {
1247 AD retVal = this.getTypedField(28, 0);
1248 return retVal;
1249 }
1250
1251
1252
1253
1254
1255 public AD getOm128_AddressOfOutsideSiteS() {
1256 AD retVal = this.getTypedField(28, 0);
1257 return retVal;
1258 }
1259
1260
1261
1262
1263
1264
1265
1266 public TN getPhoneNumberOfOutsideSite() {
1267 TN retVal = this.getTypedField(29, 0);
1268 return retVal;
1269 }
1270
1271
1272
1273
1274
1275 public TN getOm129_PhoneNumberOfOutsideSite() {
1276 TN retVal = this.getTypedField(29, 0);
1277 return retVal;
1278 }
1279
1280
1281
1282
1283
1284
1285
1286 public ID getConfidentialityCode() {
1287 ID retVal = this.getTypedField(30, 0);
1288 return retVal;
1289 }
1290
1291
1292
1293
1294
1295 public ID getOm130_ConfidentialityCode() {
1296 ID retVal = this.getTypedField(30, 0);
1297 return retVal;
1298 }
1299
1300
1301
1302
1303
1304
1305
1306 public CE getObservationsRequiredToInterpretTheObservation() {
1307 CE retVal = this.getTypedField(31, 0);
1308 return retVal;
1309 }
1310
1311
1312
1313
1314
1315 public CE getOm131_ObservationsRequiredToInterpretTheObservation() {
1316 CE retVal = this.getTypedField(31, 0);
1317 return retVal;
1318 }
1319
1320
1321
1322
1323
1324
1325
1326 public TX getInterpretationOfObservations() {
1327 TX retVal = this.getTypedField(32, 0);
1328 return retVal;
1329 }
1330
1331
1332
1333
1334
1335 public TX getOm132_InterpretationOfObservations() {
1336 TX retVal = this.getTypedField(32, 0);
1337 return retVal;
1338 }
1339
1340
1341
1342
1343
1344
1345
1346 public CE getContraindicationsToObservations() {
1347 CE retVal = this.getTypedField(33, 0);
1348 return retVal;
1349 }
1350
1351
1352
1353
1354
1355 public CE getOm133_ContraindicationsToObservations() {
1356 CE retVal = this.getTypedField(33, 0);
1357 return retVal;
1358 }
1359
1360
1361
1362
1363
1364 public CE[] getReflexTestsObservations() {
1365 CE[] retVal = this.getTypedField(34, new CE[0]);
1366 return retVal;
1367 }
1368
1369
1370
1371
1372
1373 public CE[] getOm134_ReflexTestsObservations() {
1374 CE[] retVal = this.getTypedField(34, new CE[0]);
1375 return retVal;
1376 }
1377
1378
1379
1380
1381
1382
1383
1384 public int getReflexTestsObservationsReps() {
1385 return this.getReps(34);
1386 }
1387
1388
1389
1390
1391
1392
1393
1394
1395 public CE getReflexTestsObservations(int rep) {
1396 CE retVal = this.getTypedField(34, rep);
1397 return retVal;
1398 }
1399
1400
1401
1402
1403
1404
1405
1406 public CE getOm134_ReflexTestsObservations(int rep) {
1407 CE retVal = this.getTypedField(34, rep);
1408 return retVal;
1409 }
1410
1411
1412
1413
1414
1415
1416 public int getOm134_ReflexTestsObservationsReps() {
1417 return this.getReps(34);
1418 }
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428 public CE insertReflexTestsObservations(int rep) throws HL7Exception {
1429 return (CE) super.insertRepetition(34, rep);
1430 }
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440 public CE insertOm134_ReflexTestsObservations(int rep) throws HL7Exception {
1441 return (CE) super.insertRepetition(34, rep);
1442 }
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452 public CE removeReflexTestsObservations(int rep) throws HL7Exception {
1453 return (CE) super.removeRepetition(34, rep);
1454 }
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464 public CE removeOm134_ReflexTestsObservations(int rep) throws HL7Exception {
1465 return (CE) super.removeRepetition(34, rep);
1466 }
1467
1468
1469
1470
1471
1472
1473
1474
1475 public ST getRulesThatTriggerReflexTesting() {
1476 ST retVal = this.getTypedField(35, 0);
1477 return retVal;
1478 }
1479
1480
1481
1482
1483
1484 public ST getOm135_RulesThatTriggerReflexTesting() {
1485 ST retVal = this.getTypedField(35, 0);
1486 return retVal;
1487 }
1488
1489
1490
1491
1492
1493
1494
1495 public CE getFixedCannedMessage() {
1496 CE retVal = this.getTypedField(36, 0);
1497 return retVal;
1498 }
1499
1500
1501
1502
1503
1504 public CE getOm136_FixedCannedMessage() {
1505 CE retVal = this.getTypedField(36, 0);
1506 return retVal;
1507 }
1508
1509
1510
1511
1512
1513
1514
1515 public TX getPatientPreparation() {
1516 TX retVal = this.getTypedField(37, 0);
1517 return retVal;
1518 }
1519
1520
1521
1522
1523
1524 public TX getOm137_PatientPreparation() {
1525 TX retVal = this.getTypedField(37, 0);
1526 return retVal;
1527 }
1528
1529
1530
1531
1532
1533
1534
1535 public CE getProcedureMedication() {
1536 CE retVal = this.getTypedField(38, 0);
1537 return retVal;
1538 }
1539
1540
1541
1542
1543
1544 public CE getOm138_ProcedureMedication() {
1545 CE retVal = this.getTypedField(38, 0);
1546 return retVal;
1547 }
1548
1549
1550
1551
1552
1553
1554
1555 public TX getFactorsThatMayEffectTheObservation() {
1556 TX retVal = this.getTypedField(39, 0);
1557 return retVal;
1558 }
1559
1560
1561
1562
1563
1564 public TX getOm139_FactorsThatMayEffectTheObservation() {
1565 TX retVal = this.getTypedField(39, 0);
1566 return retVal;
1567 }
1568
1569
1570
1571
1572
1573 public ST[] getTestObservationPerformanceSchedule() {
1574 ST[] retVal = this.getTypedField(40, new ST[0]);
1575 return retVal;
1576 }
1577
1578
1579
1580
1581
1582 public ST[] getOm140_TestObservationPerformanceSchedule() {
1583 ST[] retVal = this.getTypedField(40, new ST[0]);
1584 return retVal;
1585 }
1586
1587
1588
1589
1590
1591
1592
1593 public int getTestObservationPerformanceScheduleReps() {
1594 return this.getReps(40);
1595 }
1596
1597
1598
1599
1600
1601
1602
1603
1604 public ST getTestObservationPerformanceSchedule(int rep) {
1605 ST retVal = this.getTypedField(40, rep);
1606 return retVal;
1607 }
1608
1609
1610
1611
1612
1613
1614
1615 public ST getOm140_TestObservationPerformanceSchedule(int rep) {
1616 ST retVal = this.getTypedField(40, rep);
1617 return retVal;
1618 }
1619
1620
1621
1622
1623
1624
1625 public int getOm140_TestObservationPerformanceScheduleReps() {
1626 return this.getReps(40);
1627 }
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637 public ST insertTestObservationPerformanceSchedule(int rep) throws HL7Exception {
1638 return (ST) super.insertRepetition(40, rep);
1639 }
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649 public ST insertOm140_TestObservationPerformanceSchedule(int rep) throws HL7Exception {
1650 return (ST) super.insertRepetition(40, rep);
1651 }
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661 public ST removeTestObservationPerformanceSchedule(int rep) throws HL7Exception {
1662 return (ST) super.removeRepetition(40, rep);
1663 }
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673 public ST removeOm140_TestObservationPerformanceSchedule(int rep) throws HL7Exception {
1674 return (ST) super.removeRepetition(40, rep);
1675 }
1676
1677
1678
1679
1680
1681
1682
1683
1684 public TX getDescriptionOfTestMethods() {
1685 TX retVal = this.getTypedField(41, 0);
1686 return retVal;
1687 }
1688
1689
1690
1691
1692
1693 public TX getOm141_DescriptionOfTestMethods() {
1694 TX retVal = this.getTypedField(41, 0);
1695 return retVal;
1696 }
1697
1698
1699
1700
1701
1702
1703
1704 public CE getKindOfQuantityObserved() {
1705 CE retVal = this.getTypedField(42, 0);
1706 return retVal;
1707 }
1708
1709
1710
1711
1712
1713 public CE getOm142_KindOfQuantityObserved() {
1714 CE retVal = this.getTypedField(42, 0);
1715 return retVal;
1716 }
1717
1718
1719
1720
1721
1722
1723
1724 public CE getPointVersusInterval() {
1725 CE retVal = this.getTypedField(43, 0);
1726 return retVal;
1727 }
1728
1729
1730
1731
1732
1733 public CE getOm143_PointVersusInterval() {
1734 CE retVal = this.getTypedField(43, 0);
1735 return retVal;
1736 }
1737
1738
1739
1740
1741
1742
1743
1744 public TX getChallengeInformation() {
1745 TX retVal = this.getTypedField(44, 0);
1746 return retVal;
1747 }
1748
1749
1750
1751
1752
1753 public TX getOm144_ChallengeInformation() {
1754 TX retVal = this.getTypedField(44, 0);
1755 return retVal;
1756 }
1757
1758
1759
1760
1761
1762
1763
1764 public CE getRelationshipModifier() {
1765 CE retVal = this.getTypedField(45, 0);
1766 return retVal;
1767 }
1768
1769
1770
1771
1772
1773 public CE getOm145_RelationshipModifier() {
1774 CE retVal = this.getTypedField(45, 0);
1775 return retVal;
1776 }
1777
1778
1779
1780
1781
1782
1783
1784 public CE getTargetAnatomicSiteOfTest() {
1785 CE retVal = this.getTypedField(46, 0);
1786 return retVal;
1787 }
1788
1789
1790
1791
1792
1793 public CE getOm146_TargetAnatomicSiteOfTest() {
1794 CE retVal = this.getTypedField(46, 0);
1795 return retVal;
1796 }
1797
1798
1799
1800
1801
1802
1803
1804 public CE getModalityOfImagingMeasurement() {
1805 CE retVal = this.getTypedField(47, 0);
1806 return retVal;
1807 }
1808
1809
1810
1811
1812
1813 public CE getOm147_ModalityOfImagingMeasurement() {
1814 CE retVal = this.getTypedField(47, 0);
1815 return retVal;
1816 }
1817
1818
1819
1820
1821
1822
1823 protected Type createNewTypeWithoutReflection(int field) {
1824 switch (field) {
1825 case 0: return new NM(getMessage());
1826 case 1: return new CE(getMessage());
1827 case 2: return new ID(getMessage(), new Integer( 125 ));
1828 case 3: return new ID(getMessage(), new Integer( 136 ));
1829 case 4: return new CE(getMessage());
1830 case 5: return new CE(getMessage());
1831 case 6: return new CE(getMessage());
1832 case 7: return new ST(getMessage());
1833 case 8: return new ST(getMessage());
1834 case 9: return new ST(getMessage());
1835 case 10: return new ST(getMessage());
1836 case 11: return new ID(getMessage(), new Integer( 136 ));
1837 case 12: return new CE(getMessage());
1838 case 13: return new CE(getMessage());
1839 case 14: return new ID(getMessage(), new Integer( 136 ));
1840 case 15: return new CE(getMessage());
1841 case 16: return new TN(getMessage());
1842 case 17: return new ID(getMessage(), new Integer( 174 ));
1843 case 18: return new CE(getMessage());
1844 case 19: return new ST(getMessage());
1845 case 20: return new TS(getMessage());
1846 case 21: return new TS(getMessage());
1847 case 22: return new NM(getMessage());
1848 case 23: return new NM(getMessage());
1849 case 24: return new ID(getMessage(), new Integer( 168 ));
1850 case 25: return new ID(getMessage(), new Integer( 169 ));
1851 case 26: return new CE(getMessage());
1852 case 27: return new AD(getMessage());
1853 case 28: return new TN(getMessage());
1854 case 29: return new ID(getMessage(), new Integer( 177 ));
1855 case 30: return new CE(getMessage());
1856 case 31: return new TX(getMessage());
1857 case 32: return new CE(getMessage());
1858 case 33: return new CE(getMessage());
1859 case 34: return new ST(getMessage());
1860 case 35: return new CE(getMessage());
1861 case 36: return new TX(getMessage());
1862 case 37: return new CE(getMessage());
1863 case 38: return new TX(getMessage());
1864 case 39: return new ST(getMessage());
1865 case 40: return new TX(getMessage());
1866 case 41: return new CE(getMessage());
1867 case 42: return new CE(getMessage());
1868 case 43: return new TX(getMessage());
1869 case 44: return new CE(getMessage());
1870 case 45: return new CE(getMessage());
1871 case 46: return new CE(getMessage());
1872 default: return null;
1873 }
1874 }
1875
1876
1877 }
1878