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.v27.segment;
35
36
37 import ca.uhn.hl7v2.model.v27.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, true, 1, 0, new Object[]{ getMessage() }, "Sequence Number - Test/Observation Master File");
115 this.add(CWE.class, true, 1, 0, new Object[]{ getMessage() }, "Producer's Service/Test/Observation ID");
116 this.add(ID.class, false, 0, 3, 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(CWE.class, true, 1, 0, new Object[]{ getMessage() }, "Producer ID");
119 this.add(TX.class, false, 1, 0, new Object[]{ getMessage() }, "Observation Description");
120 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Other Service/Test/Observation IDs for the Observation");
121 this.add(ST.class, true, 0, 0, new Object[]{ getMessage() }, "Other Names");
122 this.add(ST.class, false, 1, 0, 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 the Observation");
124 this.add(ST.class, false, 1, 0, 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(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Identity of Instrument Used to Perform this Study");
127 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Coded Representation of Method");
128 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Portable Device Indicator");
129 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Observation Producing Department/Section");
130 this.add(XTN.class, false, 1, 0, new Object[]{ getMessage() }, "Telephone Number of Section");
131 this.add(CWE.class, true, 1, 1, new Object[]{ getMessage() }, "Nature of Service/Test/Observation");
132 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Report Subheader");
133 this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Report Display Order");
134 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Date/Time Stamp for Any Change in Definition for the Observation");
135 this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Effective Date/Time of Change");
136 this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Typical Turn-Around Time");
137 this.add(NM.class, false, 1, 0, new Object[]{ getMessage() }, "Processing Time");
138 this.add(ID.class, false, 0, 1, new Object[]{ getMessage(), new Integer(168) }, "Processing Priority");
139 this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(169) }, "Reporting Priority");
140 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Outside Site(s) Where Observation May Be Performed");
141 this.add(XAD.class, false, 0, 0, new Object[]{ getMessage() }, "Address of Outside Site(s)");
142 this.add(XTN.class, false, 1, 0, new Object[]{ getMessage() }, "Phone Number of Outside Site");
143 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Confidentiality Code");
144 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Observations Required to Interpret this Observation");
145 this.add(TX.class, false, 1, 0, new Object[]{ getMessage() }, "Interpretation of Observations");
146 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Contraindications to Observations");
147 this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Reflex Tests/Observations");
148 this.add(TX.class, false, 1, 0, new Object[]{ getMessage() }, "Rules that Trigger Reflex Testing");
149 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Fixed Canned Message");
150 this.add(TX.class, false, 1, 0, new Object[]{ getMessage() }, "Patient Preparation");
151 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Procedure Medication");
152 this.add(TX.class, false, 1, 0, new Object[]{ getMessage() }, "Factors that may Affect the Observation");
153 this.add(ST.class, false, 0, 0, new Object[]{ getMessage() }, "Service/Test/Observation Performance Schedule");
154 this.add(TX.class, false, 1, 0, new Object[]{ getMessage() }, "Description of Test Methods");
155 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Kind of Quantity Observed");
156 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Point Versus Interval");
157 this.add(TX.class, false, 1, 0, new Object[]{ getMessage() }, "Challenge Information");
158 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Relationship Modifier");
159 this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Target Anatomic Site Of Test");
160 this.add(CWE.class, false, 1, 0, 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 CWE getProducerSServiceTestObservationID() {
193 CWE retVal = this.getTypedField(2, 0);
194 return retVal;
195 }
196
197
198
199
200
201 public CWE getOm12_ProducerSServiceTestObservationID() {
202 CWE 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 CWE getProducerID() {
342 CWE retVal = this.getTypedField(5, 0);
343 return retVal;
344 }
345
346
347
348
349
350 public CWE getOm15_ProducerID() {
351 CWE retVal = this.getTypedField(5, 0);
352 return retVal;
353 }
354
355
356
357
358
359
360
361 public TX getObservationDescription() {
362 TX retVal = this.getTypedField(6, 0);
363 return retVal;
364 }
365
366
367
368
369
370 public TX getOm16_ObservationDescription() {
371 TX retVal = this.getTypedField(6, 0);
372 return retVal;
373 }
374
375
376
377
378
379
380
381 public CWE getOtherServiceTestObservationIDsForTheObservation() {
382 CWE retVal = this.getTypedField(7, 0);
383 return retVal;
384 }
385
386
387
388
389
390 public CWE getOm17_OtherServiceTestObservationIDsForTheObservation() {
391 CWE 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 getPreferredShortNameOrMnemonicForTheObservation() {
531 ST retVal = this.getTypedField(10, 0);
532 return retVal;
533 }
534
535
536
537
538
539 public ST getOm110_PreferredShortNameOrMnemonicForTheObservation() {
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 CWE[] getIdentityOfInstrumentUsedToPerformThisStudy() {
589 CWE[] retVal = this.getTypedField(13, new CWE[0]);
590 return retVal;
591 }
592
593
594
595
596
597 public CWE[] getOm113_IdentityOfInstrumentUsedToPerformThisStudy() {
598 CWE[] retVal = this.getTypedField(13, new CWE[0]);
599 return retVal;
600 }
601
602
603
604
605
606
607
608 public int getIdentityOfInstrumentUsedToPerformThisStudyReps() {
609 return this.getReps(13);
610 }
611
612
613
614
615
616
617
618
619 public CWE getIdentityOfInstrumentUsedToPerformThisStudy(int rep) {
620 CWE retVal = this.getTypedField(13, rep);
621 return retVal;
622 }
623
624
625
626
627
628
629
630 public CWE getOm113_IdentityOfInstrumentUsedToPerformThisStudy(int rep) {
631 CWE retVal = this.getTypedField(13, rep);
632 return retVal;
633 }
634
635
636
637
638
639
640 public int getOm113_IdentityOfInstrumentUsedToPerformThisStudyReps() {
641 return this.getReps(13);
642 }
643
644
645
646
647
648
649
650
651
652 public CWE insertIdentityOfInstrumentUsedToPerformThisStudy(int rep) throws HL7Exception {
653 return (CWE) super.insertRepetition(13, rep);
654 }
655
656
657
658
659
660
661
662
663
664 public CWE insertOm113_IdentityOfInstrumentUsedToPerformThisStudy(int rep) throws HL7Exception {
665 return (CWE) super.insertRepetition(13, rep);
666 }
667
668
669
670
671
672
673
674
675
676 public CWE removeIdentityOfInstrumentUsedToPerformThisStudy(int rep) throws HL7Exception {
677 return (CWE) super.removeRepetition(13, rep);
678 }
679
680
681
682
683
684
685
686
687
688 public CWE removeOm113_IdentityOfInstrumentUsedToPerformThisStudy(int rep) throws HL7Exception {
689 return (CWE) super.removeRepetition(13, rep);
690 }
691
692
693
694
695
696
697 public CWE[] getCodedRepresentationOfMethod() {
698 CWE[] retVal = this.getTypedField(14, new CWE[0]);
699 return retVal;
700 }
701
702
703
704
705
706 public CWE[] getOm114_CodedRepresentationOfMethod() {
707 CWE[] retVal = this.getTypedField(14, new CWE[0]);
708 return retVal;
709 }
710
711
712
713
714
715
716
717 public int getCodedRepresentationOfMethodReps() {
718 return this.getReps(14);
719 }
720
721
722
723
724
725
726
727
728 public CWE getCodedRepresentationOfMethod(int rep) {
729 CWE retVal = this.getTypedField(14, rep);
730 return retVal;
731 }
732
733
734
735
736
737
738
739 public CWE getOm114_CodedRepresentationOfMethod(int rep) {
740 CWE retVal = this.getTypedField(14, rep);
741 return retVal;
742 }
743
744
745
746
747
748
749 public int getOm114_CodedRepresentationOfMethodReps() {
750 return this.getReps(14);
751 }
752
753
754
755
756
757
758
759
760
761 public CWE insertCodedRepresentationOfMethod(int rep) throws HL7Exception {
762 return (CWE) super.insertRepetition(14, rep);
763 }
764
765
766
767
768
769
770
771
772
773 public CWE insertOm114_CodedRepresentationOfMethod(int rep) throws HL7Exception {
774 return (CWE) super.insertRepetition(14, rep);
775 }
776
777
778
779
780
781
782
783
784
785 public CWE removeCodedRepresentationOfMethod(int rep) throws HL7Exception {
786 return (CWE) super.removeRepetition(14, rep);
787 }
788
789
790
791
792
793
794
795
796
797 public CWE removeOm114_CodedRepresentationOfMethod(int rep) throws HL7Exception {
798 return (CWE) super.removeRepetition(14, rep);
799 }
800
801
802
803
804
805
806
807
808 public ID getPortableDeviceIndicator() {
809 ID retVal = this.getTypedField(15, 0);
810 return retVal;
811 }
812
813
814
815
816
817 public ID getOm115_PortableDeviceIndicator() {
818 ID retVal = this.getTypedField(15, 0);
819 return retVal;
820 }
821
822
823
824
825
826 public CWE[] getObservationProducingDepartmentSection() {
827 CWE[] retVal = this.getTypedField(16, new CWE[0]);
828 return retVal;
829 }
830
831
832
833
834
835 public CWE[] getOm116_ObservationProducingDepartmentSection() {
836 CWE[] retVal = this.getTypedField(16, new CWE[0]);
837 return retVal;
838 }
839
840
841
842
843
844
845
846 public int getObservationProducingDepartmentSectionReps() {
847 return this.getReps(16);
848 }
849
850
851
852
853
854
855
856
857 public CWE getObservationProducingDepartmentSection(int rep) {
858 CWE retVal = this.getTypedField(16, rep);
859 return retVal;
860 }
861
862
863
864
865
866
867
868 public CWE getOm116_ObservationProducingDepartmentSection(int rep) {
869 CWE retVal = this.getTypedField(16, rep);
870 return retVal;
871 }
872
873
874
875
876
877
878 public int getOm116_ObservationProducingDepartmentSectionReps() {
879 return this.getReps(16);
880 }
881
882
883
884
885
886
887
888
889
890 public CWE insertObservationProducingDepartmentSection(int rep) throws HL7Exception {
891 return (CWE) super.insertRepetition(16, rep);
892 }
893
894
895
896
897
898
899
900
901
902 public CWE insertOm116_ObservationProducingDepartmentSection(int rep) throws HL7Exception {
903 return (CWE) super.insertRepetition(16, rep);
904 }
905
906
907
908
909
910
911
912
913
914 public CWE removeObservationProducingDepartmentSection(int rep) throws HL7Exception {
915 return (CWE) super.removeRepetition(16, rep);
916 }
917
918
919
920
921
922
923
924
925
926 public CWE removeOm116_ObservationProducingDepartmentSection(int rep) throws HL7Exception {
927 return (CWE) super.removeRepetition(16, rep);
928 }
929
930
931
932
933
934
935
936
937 public XTN getTelephoneNumberOfSection() {
938 XTN retVal = this.getTypedField(17, 0);
939 return retVal;
940 }
941
942
943
944
945
946 public XTN getOm117_TelephoneNumberOfSection() {
947 XTN retVal = this.getTypedField(17, 0);
948 return retVal;
949 }
950
951
952
953
954
955
956
957 public CWE getNatureOfServiceTestObservation() {
958 CWE retVal = this.getTypedField(18, 0);
959 return retVal;
960 }
961
962
963
964
965
966 public CWE getOm118_NatureOfServiceTestObservation() {
967 CWE retVal = this.getTypedField(18, 0);
968 return retVal;
969 }
970
971
972
973
974
975
976
977 public CWE getReportSubheader() {
978 CWE retVal = this.getTypedField(19, 0);
979 return retVal;
980 }
981
982
983
984
985
986 public CWE getOm119_ReportSubheader() {
987 CWE retVal = this.getTypedField(19, 0);
988 return retVal;
989 }
990
991
992
993
994
995
996
997 public ST getReportDisplayOrder() {
998 ST retVal = this.getTypedField(20, 0);
999 return retVal;
1000 }
1001
1002
1003
1004
1005
1006 public ST getOm120_ReportDisplayOrder() {
1007 ST retVal = this.getTypedField(20, 0);
1008 return retVal;
1009 }
1010
1011
1012
1013
1014
1015
1016
1017 public DTM getDateTimeStampForAnyChangeInDefinitionForTheObservation() {
1018 DTM retVal = this.getTypedField(21, 0);
1019 return retVal;
1020 }
1021
1022
1023
1024
1025
1026 public DTM getOm121_DateTimeStampForAnyChangeInDefinitionForTheObservation() {
1027 DTM retVal = this.getTypedField(21, 0);
1028 return retVal;
1029 }
1030
1031
1032
1033
1034
1035
1036
1037 public DTM getEffectiveDateTimeOfChange() {
1038 DTM retVal = this.getTypedField(22, 0);
1039 return retVal;
1040 }
1041
1042
1043
1044
1045
1046 public DTM getOm122_EffectiveDateTimeOfChange() {
1047 DTM retVal = this.getTypedField(22, 0);
1048 return retVal;
1049 }
1050
1051
1052
1053
1054
1055
1056
1057 public NM getTypicalTurnAroundTime() {
1058 NM retVal = this.getTypedField(23, 0);
1059 return retVal;
1060 }
1061
1062
1063
1064
1065
1066 public NM getOm123_TypicalTurnAroundTime() {
1067 NM retVal = this.getTypedField(23, 0);
1068 return retVal;
1069 }
1070
1071
1072
1073
1074
1075
1076
1077 public NM getProcessingTime() {
1078 NM retVal = this.getTypedField(24, 0);
1079 return retVal;
1080 }
1081
1082
1083
1084
1085
1086 public NM getOm124_ProcessingTime() {
1087 NM retVal = this.getTypedField(24, 0);
1088 return retVal;
1089 }
1090
1091
1092
1093
1094
1095 public ID[] getProcessingPriority() {
1096 ID[] retVal = this.getTypedField(25, new ID[0]);
1097 return retVal;
1098 }
1099
1100
1101
1102
1103
1104 public ID[] getOm125_ProcessingPriority() {
1105 ID[] retVal = this.getTypedField(25, new ID[0]);
1106 return retVal;
1107 }
1108
1109
1110
1111
1112
1113
1114
1115 public int getProcessingPriorityReps() {
1116 return this.getReps(25);
1117 }
1118
1119
1120
1121
1122
1123
1124
1125
1126 public ID getProcessingPriority(int rep) {
1127 ID retVal = this.getTypedField(25, rep);
1128 return retVal;
1129 }
1130
1131
1132
1133
1134
1135
1136
1137 public ID getOm125_ProcessingPriority(int rep) {
1138 ID retVal = this.getTypedField(25, rep);
1139 return retVal;
1140 }
1141
1142
1143
1144
1145
1146
1147 public int getOm125_ProcessingPriorityReps() {
1148 return this.getReps(25);
1149 }
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159 public ID insertProcessingPriority(int rep) throws HL7Exception {
1160 return (ID) super.insertRepetition(25, rep);
1161 }
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171 public ID insertOm125_ProcessingPriority(int rep) throws HL7Exception {
1172 return (ID) super.insertRepetition(25, rep);
1173 }
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183 public ID removeProcessingPriority(int rep) throws HL7Exception {
1184 return (ID) super.removeRepetition(25, rep);
1185 }
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195 public ID removeOm125_ProcessingPriority(int rep) throws HL7Exception {
1196 return (ID) super.removeRepetition(25, rep);
1197 }
1198
1199
1200
1201
1202
1203
1204
1205
1206 public ID getReportingPriority() {
1207 ID retVal = this.getTypedField(26, 0);
1208 return retVal;
1209 }
1210
1211
1212
1213
1214
1215 public ID getOm126_ReportingPriority() {
1216 ID retVal = this.getTypedField(26, 0);
1217 return retVal;
1218 }
1219
1220
1221
1222
1223
1224 public CWE[] getOutsideSiteSWhereObservationMayBePerformed() {
1225 CWE[] retVal = this.getTypedField(27, new CWE[0]);
1226 return retVal;
1227 }
1228
1229
1230
1231
1232
1233 public CWE[] getOm127_OutsideSiteSWhereObservationMayBePerformed() {
1234 CWE[] retVal = this.getTypedField(27, new CWE[0]);
1235 return retVal;
1236 }
1237
1238
1239
1240
1241
1242
1243
1244 public int getOutsideSiteSWhereObservationMayBePerformedReps() {
1245 return this.getReps(27);
1246 }
1247
1248
1249
1250
1251
1252
1253
1254
1255 public CWE getOutsideSiteSWhereObservationMayBePerformed(int rep) {
1256 CWE retVal = this.getTypedField(27, rep);
1257 return retVal;
1258 }
1259
1260
1261
1262
1263
1264
1265
1266 public CWE getOm127_OutsideSiteSWhereObservationMayBePerformed(int rep) {
1267 CWE retVal = this.getTypedField(27, rep);
1268 return retVal;
1269 }
1270
1271
1272
1273
1274
1275
1276 public int getOm127_OutsideSiteSWhereObservationMayBePerformedReps() {
1277 return this.getReps(27);
1278 }
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288 public CWE insertOutsideSiteSWhereObservationMayBePerformed(int rep) throws HL7Exception {
1289 return (CWE) super.insertRepetition(27, rep);
1290 }
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300 public CWE insertOm127_OutsideSiteSWhereObservationMayBePerformed(int rep) throws HL7Exception {
1301 return (CWE) super.insertRepetition(27, rep);
1302 }
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312 public CWE removeOutsideSiteSWhereObservationMayBePerformed(int rep) throws HL7Exception {
1313 return (CWE) super.removeRepetition(27, rep);
1314 }
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324 public CWE removeOm127_OutsideSiteSWhereObservationMayBePerformed(int rep) throws HL7Exception {
1325 return (CWE) super.removeRepetition(27, rep);
1326 }
1327
1328
1329
1330
1331
1332
1333 public XAD[] getAddressOfOutsideSiteS() {
1334 XAD[] retVal = this.getTypedField(28, new XAD[0]);
1335 return retVal;
1336 }
1337
1338
1339
1340
1341
1342 public XAD[] getOm128_AddressOfOutsideSiteS() {
1343 XAD[] retVal = this.getTypedField(28, new XAD[0]);
1344 return retVal;
1345 }
1346
1347
1348
1349
1350
1351
1352
1353 public int getAddressOfOutsideSiteSReps() {
1354 return this.getReps(28);
1355 }
1356
1357
1358
1359
1360
1361
1362
1363
1364 public XAD getAddressOfOutsideSiteS(int rep) {
1365 XAD retVal = this.getTypedField(28, rep);
1366 return retVal;
1367 }
1368
1369
1370
1371
1372
1373
1374
1375 public XAD getOm128_AddressOfOutsideSiteS(int rep) {
1376 XAD retVal = this.getTypedField(28, rep);
1377 return retVal;
1378 }
1379
1380
1381
1382
1383
1384
1385 public int getOm128_AddressOfOutsideSiteSReps() {
1386 return this.getReps(28);
1387 }
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397 public XAD insertAddressOfOutsideSiteS(int rep) throws HL7Exception {
1398 return (XAD) super.insertRepetition(28, rep);
1399 }
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409 public XAD insertOm128_AddressOfOutsideSiteS(int rep) throws HL7Exception {
1410 return (XAD) super.insertRepetition(28, rep);
1411 }
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421 public XAD removeAddressOfOutsideSiteS(int rep) throws HL7Exception {
1422 return (XAD) super.removeRepetition(28, rep);
1423 }
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433 public XAD removeOm128_AddressOfOutsideSiteS(int rep) throws HL7Exception {
1434 return (XAD) super.removeRepetition(28, rep);
1435 }
1436
1437
1438
1439
1440
1441
1442
1443
1444 public XTN getPhoneNumberOfOutsideSite() {
1445 XTN retVal = this.getTypedField(29, 0);
1446 return retVal;
1447 }
1448
1449
1450
1451
1452
1453 public XTN getOm129_PhoneNumberOfOutsideSite() {
1454 XTN retVal = this.getTypedField(29, 0);
1455 return retVal;
1456 }
1457
1458
1459
1460
1461
1462
1463
1464 public CWE getConfidentialityCode() {
1465 CWE retVal = this.getTypedField(30, 0);
1466 return retVal;
1467 }
1468
1469
1470
1471
1472
1473 public CWE getOm130_ConfidentialityCode() {
1474 CWE retVal = this.getTypedField(30, 0);
1475 return retVal;
1476 }
1477
1478
1479
1480
1481
1482
1483
1484 public CWE getObservationsRequiredToInterpretThisObservation() {
1485 CWE retVal = this.getTypedField(31, 0);
1486 return retVal;
1487 }
1488
1489
1490
1491
1492
1493 public CWE getOm131_ObservationsRequiredToInterpretThisObservation() {
1494 CWE retVal = this.getTypedField(31, 0);
1495 return retVal;
1496 }
1497
1498
1499
1500
1501
1502
1503
1504 public TX getInterpretationOfObservations() {
1505 TX retVal = this.getTypedField(32, 0);
1506 return retVal;
1507 }
1508
1509
1510
1511
1512
1513 public TX getOm132_InterpretationOfObservations() {
1514 TX retVal = this.getTypedField(32, 0);
1515 return retVal;
1516 }
1517
1518
1519
1520
1521
1522
1523
1524 public CWE getContraindicationsToObservations() {
1525 CWE retVal = this.getTypedField(33, 0);
1526 return retVal;
1527 }
1528
1529
1530
1531
1532
1533 public CWE getOm133_ContraindicationsToObservations() {
1534 CWE retVal = this.getTypedField(33, 0);
1535 return retVal;
1536 }
1537
1538
1539
1540
1541
1542 public CWE[] getReflexTestsObservations() {
1543 CWE[] retVal = this.getTypedField(34, new CWE[0]);
1544 return retVal;
1545 }
1546
1547
1548
1549
1550
1551 public CWE[] getOm134_ReflexTestsObservations() {
1552 CWE[] retVal = this.getTypedField(34, new CWE[0]);
1553 return retVal;
1554 }
1555
1556
1557
1558
1559
1560
1561
1562 public int getReflexTestsObservationsReps() {
1563 return this.getReps(34);
1564 }
1565
1566
1567
1568
1569
1570
1571
1572
1573 public CWE getReflexTestsObservations(int rep) {
1574 CWE retVal = this.getTypedField(34, rep);
1575 return retVal;
1576 }
1577
1578
1579
1580
1581
1582
1583
1584 public CWE getOm134_ReflexTestsObservations(int rep) {
1585 CWE retVal = this.getTypedField(34, rep);
1586 return retVal;
1587 }
1588
1589
1590
1591
1592
1593
1594 public int getOm134_ReflexTestsObservationsReps() {
1595 return this.getReps(34);
1596 }
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606 public CWE insertReflexTestsObservations(int rep) throws HL7Exception {
1607 return (CWE) super.insertRepetition(34, rep);
1608 }
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618 public CWE insertOm134_ReflexTestsObservations(int rep) throws HL7Exception {
1619 return (CWE) super.insertRepetition(34, rep);
1620 }
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630 public CWE removeReflexTestsObservations(int rep) throws HL7Exception {
1631 return (CWE) super.removeRepetition(34, rep);
1632 }
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642 public CWE removeOm134_ReflexTestsObservations(int rep) throws HL7Exception {
1643 return (CWE) super.removeRepetition(34, rep);
1644 }
1645
1646
1647
1648
1649
1650
1651
1652
1653 public TX getRulesThatTriggerReflexTesting() {
1654 TX retVal = this.getTypedField(35, 0);
1655 return retVal;
1656 }
1657
1658
1659
1660
1661
1662 public TX getOm135_RulesThatTriggerReflexTesting() {
1663 TX retVal = this.getTypedField(35, 0);
1664 return retVal;
1665 }
1666
1667
1668
1669
1670
1671
1672
1673 public CWE getFixedCannedMessage() {
1674 CWE retVal = this.getTypedField(36, 0);
1675 return retVal;
1676 }
1677
1678
1679
1680
1681
1682 public CWE getOm136_FixedCannedMessage() {
1683 CWE retVal = this.getTypedField(36, 0);
1684 return retVal;
1685 }
1686
1687
1688
1689
1690
1691
1692
1693 public TX getPatientPreparation() {
1694 TX retVal = this.getTypedField(37, 0);
1695 return retVal;
1696 }
1697
1698
1699
1700
1701
1702 public TX getOm137_PatientPreparation() {
1703 TX retVal = this.getTypedField(37, 0);
1704 return retVal;
1705 }
1706
1707
1708
1709
1710
1711
1712
1713 public CWE getProcedureMedication() {
1714 CWE retVal = this.getTypedField(38, 0);
1715 return retVal;
1716 }
1717
1718
1719
1720
1721
1722 public CWE getOm138_ProcedureMedication() {
1723 CWE retVal = this.getTypedField(38, 0);
1724 return retVal;
1725 }
1726
1727
1728
1729
1730
1731
1732
1733 public TX getFactorsThatMayAffectTheObservation() {
1734 TX retVal = this.getTypedField(39, 0);
1735 return retVal;
1736 }
1737
1738
1739
1740
1741
1742 public TX getOm139_FactorsThatMayAffectTheObservation() {
1743 TX retVal = this.getTypedField(39, 0);
1744 return retVal;
1745 }
1746
1747
1748
1749
1750
1751 public ST[] getServiceTestObservationPerformanceSchedule() {
1752 ST[] retVal = this.getTypedField(40, new ST[0]);
1753 return retVal;
1754 }
1755
1756
1757
1758
1759
1760 public ST[] getOm140_ServiceTestObservationPerformanceSchedule() {
1761 ST[] retVal = this.getTypedField(40, new ST[0]);
1762 return retVal;
1763 }
1764
1765
1766
1767
1768
1769
1770
1771 public int getServiceTestObservationPerformanceScheduleReps() {
1772 return this.getReps(40);
1773 }
1774
1775
1776
1777
1778
1779
1780
1781
1782 public ST getServiceTestObservationPerformanceSchedule(int rep) {
1783 ST retVal = this.getTypedField(40, rep);
1784 return retVal;
1785 }
1786
1787
1788
1789
1790
1791
1792
1793 public ST getOm140_ServiceTestObservationPerformanceSchedule(int rep) {
1794 ST retVal = this.getTypedField(40, rep);
1795 return retVal;
1796 }
1797
1798
1799
1800
1801
1802
1803 public int getOm140_ServiceTestObservationPerformanceScheduleReps() {
1804 return this.getReps(40);
1805 }
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815 public ST insertServiceTestObservationPerformanceSchedule(int rep) throws HL7Exception {
1816 return (ST) super.insertRepetition(40, rep);
1817 }
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827 public ST insertOm140_ServiceTestObservationPerformanceSchedule(int rep) throws HL7Exception {
1828 return (ST) super.insertRepetition(40, rep);
1829 }
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839 public ST removeServiceTestObservationPerformanceSchedule(int rep) throws HL7Exception {
1840 return (ST) super.removeRepetition(40, rep);
1841 }
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851 public ST removeOm140_ServiceTestObservationPerformanceSchedule(int rep) throws HL7Exception {
1852 return (ST) super.removeRepetition(40, rep);
1853 }
1854
1855
1856
1857
1858
1859
1860
1861
1862 public TX getDescriptionOfTestMethods() {
1863 TX retVal = this.getTypedField(41, 0);
1864 return retVal;
1865 }
1866
1867
1868
1869
1870
1871 public TX getOm141_DescriptionOfTestMethods() {
1872 TX retVal = this.getTypedField(41, 0);
1873 return retVal;
1874 }
1875
1876
1877
1878
1879
1880
1881
1882 public CWE getKindOfQuantityObserved() {
1883 CWE retVal = this.getTypedField(42, 0);
1884 return retVal;
1885 }
1886
1887
1888
1889
1890
1891 public CWE getOm142_KindOfQuantityObserved() {
1892 CWE retVal = this.getTypedField(42, 0);
1893 return retVal;
1894 }
1895
1896
1897
1898
1899
1900
1901
1902 public CWE getPointVersusInterval() {
1903 CWE retVal = this.getTypedField(43, 0);
1904 return retVal;
1905 }
1906
1907
1908
1909
1910
1911 public CWE getOm143_PointVersusInterval() {
1912 CWE retVal = this.getTypedField(43, 0);
1913 return retVal;
1914 }
1915
1916
1917
1918
1919
1920
1921
1922 public TX getChallengeInformation() {
1923 TX retVal = this.getTypedField(44, 0);
1924 return retVal;
1925 }
1926
1927
1928
1929
1930
1931 public TX getOm144_ChallengeInformation() {
1932 TX retVal = this.getTypedField(44, 0);
1933 return retVal;
1934 }
1935
1936
1937
1938
1939
1940
1941
1942 public CWE getRelationshipModifier() {
1943 CWE retVal = this.getTypedField(45, 0);
1944 return retVal;
1945 }
1946
1947
1948
1949
1950
1951 public CWE getOm145_RelationshipModifier() {
1952 CWE retVal = this.getTypedField(45, 0);
1953 return retVal;
1954 }
1955
1956
1957
1958
1959
1960
1961
1962 public CWE getTargetAnatomicSiteOfTest() {
1963 CWE retVal = this.getTypedField(46, 0);
1964 return retVal;
1965 }
1966
1967
1968
1969
1970
1971 public CWE getOm146_TargetAnatomicSiteOfTest() {
1972 CWE retVal = this.getTypedField(46, 0);
1973 return retVal;
1974 }
1975
1976
1977
1978
1979
1980
1981
1982 public CWE getModalityOfImagingMeasurement() {
1983 CWE retVal = this.getTypedField(47, 0);
1984 return retVal;
1985 }
1986
1987
1988
1989
1990
1991 public CWE getOm147_ModalityOfImagingMeasurement() {
1992 CWE retVal = this.getTypedField(47, 0);
1993 return retVal;
1994 }
1995
1996
1997
1998
1999
2000
2001 protected Type createNewTypeWithoutReflection(int field) {
2002 switch (field) {
2003 case 0: return new NM(getMessage());
2004 case 1: return new CWE(getMessage());
2005 case 2: return new ID(getMessage(), new Integer( 125 ));
2006 case 3: return new ID(getMessage(), new Integer( 136 ));
2007 case 4: return new CWE(getMessage());
2008 case 5: return new TX(getMessage());
2009 case 6: return new CWE(getMessage());
2010 case 7: return new ST(getMessage());
2011 case 8: return new ST(getMessage());
2012 case 9: return new ST(getMessage());
2013 case 10: return new ST(getMessage());
2014 case 11: return new ID(getMessage(), new Integer( 136 ));
2015 case 12: return new CWE(getMessage());
2016 case 13: return new CWE(getMessage());
2017 case 14: return new ID(getMessage(), new Integer( 136 ));
2018 case 15: return new CWE(getMessage());
2019 case 16: return new XTN(getMessage());
2020 case 17: return new CWE(getMessage());
2021 case 18: return new CWE(getMessage());
2022 case 19: return new ST(getMessage());
2023 case 20: return new DTM(getMessage());
2024 case 21: return new DTM(getMessage());
2025 case 22: return new NM(getMessage());
2026 case 23: return new NM(getMessage());
2027 case 24: return new ID(getMessage(), new Integer( 168 ));
2028 case 25: return new ID(getMessage(), new Integer( 169 ));
2029 case 26: return new CWE(getMessage());
2030 case 27: return new XAD(getMessage());
2031 case 28: return new XTN(getMessage());
2032 case 29: return new CWE(getMessage());
2033 case 30: return new CWE(getMessage());
2034 case 31: return new TX(getMessage());
2035 case 32: return new CWE(getMessage());
2036 case 33: return new CWE(getMessage());
2037 case 34: return new TX(getMessage());
2038 case 35: return new CWE(getMessage());
2039 case 36: return new TX(getMessage());
2040 case 37: return new CWE(getMessage());
2041 case 38: return new TX(getMessage());
2042 case 39: return new ST(getMessage());
2043 case 40: return new TX(getMessage());
2044 case 41: return new CWE(getMessage());
2045 case 42: return new CWE(getMessage());
2046 case 43: return new TX(getMessage());
2047 case 44: return new CWE(getMessage());
2048 case 45: return new CWE(getMessage());
2049 case 46: return new CWE(getMessage());
2050 default: return null;
2051 }
2052 }
2053
2054
2055 }
2056