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  @SuppressWarnings("unused")
80  public class IN3 extends AbstractSegment {
81  
82      
83  
84  
85      public IN3(Group parent, ModelClassFactory factory) {
86         super(parent, factory);
87         init(factory);
88      }
89  
90      private void init(ModelClassFactory factory) {
91         try {
92                                    this.add(SI.class, true, 1, 4, new Object[]{ getMessage() }, "Set ID - IN3");
93                                    this.add(CX.class, false, 1, 0, new Object[]{ getMessage() }, "Certification Number");
94                                    this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Certified By");
95                                                this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Certification Required");
96                                    this.add(MOP.class, false, 1, 0, new Object[]{ getMessage() }, "Penalty");
97                                    this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Certification Date/Time");
98                                    this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Certification Modify Date/Time");
99                                    this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Operator");
100                                   this.add(DT.class, false, 1, 0, new Object[]{ getMessage() }, "Certification Begin Date");
101                                   this.add(DT.class, false, 1, 0, new Object[]{ getMessage() }, "Certification End Date");
102                                   this.add(DTN.class, false, 1, 0, new Object[]{ getMessage() }, "Days");
103                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Non-Concur Code/Description");
104                                   this.add(DTM.class, false, 1, 0, new Object[]{ getMessage() }, "Non-Concur Effective Date/Time");
105                                   this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Physician Reviewer");
106                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Certification Contact");
107                                   this.add(XTN.class, false, 0, 0, new Object[]{ getMessage() }, "Certification Contact Phone Number");
108                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Appeal Reason");
109                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Certification Agency");
110                                   this.add(XTN.class, false, 0, 0, new Object[]{ getMessage() }, "Certification Agency Phone Number");
111                                   this.add(ICD.class, false, 0, 0, new Object[]{ getMessage() }, "Pre-Certification Requirement");
112                                   this.add(ST.class, false, 1, 0, new Object[]{ getMessage() }, "Case Manager");
113                                   this.add(DT.class, false, 1, 0, new Object[]{ getMessage() }, "Second Opinion Date");
114                                   this.add(CWE.class, false, 1, 0, new Object[]{ getMessage() }, "Second Opinion Status");
115                                   this.add(CWE.class, false, 0, 0, new Object[]{ getMessage() }, "Second Opinion Documentation Received");
116                                   this.add(XCN.class, false, 0, 0, new Object[]{ getMessage() }, "Second Opinion Physician");
117        } catch(HL7Exception e) {
118           log.error("Unexpected error creating IN3 - this is probably a bug in the source code generator.", e);
119        }
120     }
121 
122 
123 
124     
125 
126 
127 
128     public SI getSetIDIN3() { 
129 		SI retVal = this.getTypedField(1, 0);
130 		return retVal;
131     }
132     
133     
134 
135 
136 
137     public SI getIn31_SetIDIN3() { 
138 		SI retVal = this.getTypedField(1, 0);
139 		return retVal;
140     }
141 
142 
143 
144     
145 
146 
147 
148     public CX getCertificationNumber() { 
149 		CX retVal = this.getTypedField(2, 0);
150 		return retVal;
151     }
152     
153     
154 
155 
156 
157     public CX getIn32_CertificationNumber() { 
158 		CX retVal = this.getTypedField(2, 0);
159 		return retVal;
160     }
161 
162 
163     
164 
165 
166     public XCN[] getCertifiedBy() {
167     	XCN[] retVal = this.getTypedField(3, new XCN[0]);
168     	return retVal;
169     }
170 
171 
172     
173 
174 
175     public XCN[] getIn33_CertifiedBy() {
176     	XCN[] retVal = this.getTypedField(3, new XCN[0]);
177     	return retVal;
178     }
179 
180 
181     
182 
183 
184 
185 
186     public int getCertifiedByReps() {
187     	return this.getReps(3);
188     }
189 
190 
191     
192 
193 
194 
195 
196 
197     public XCN getCertifiedBy(int rep) { 
198 		XCN retVal = this.getTypedField(3, rep);
199 		return retVal;
200     }
201 
202     
203 
204 
205 
206 
207 
208     public XCN getIn33_CertifiedBy(int rep) { 
209 		XCN retVal = this.getTypedField(3, rep);
210 		return retVal;
211     }
212 
213     
214 
215 
216 
217 
218     public int getIn33_CertifiedByReps() {
219     	return this.getReps(3);
220     }
221 
222 
223     
224 
225 
226 
227 
228 
229 
230     public XCN insertCertifiedBy(int rep) throws HL7Exception { 
231         return (XCN) super.insertRepetition(3, rep);
232     }
233 
234 
235     
236 
237 
238 
239 
240 
241 
242     public XCN insertIn33_CertifiedBy(int rep) throws HL7Exception { 
243         return (XCN) super.insertRepetition(3, rep);
244     }
245 
246 
247     
248 
249 
250 
251 
252 
253 
254     public XCN removeCertifiedBy(int rep) throws HL7Exception { 
255         return (XCN) super.removeRepetition(3, rep);
256     }
257 
258 
259     
260 
261 
262 
263 
264 
265 
266     public XCN removeIn33_CertifiedBy(int rep) throws HL7Exception { 
267         return (XCN) super.removeRepetition(3, rep);
268     }
269 
270 
271 
272 
273     
274 
275 
276 
277     public ID getCertificationRequired() { 
278 		ID retVal = this.getTypedField(4, 0);
279 		return retVal;
280     }
281     
282     
283 
284 
285 
286     public ID getIn34_CertificationRequired() { 
287 		ID retVal = this.getTypedField(4, 0);
288 		return retVal;
289     }
290 
291 
292 
293     
294 
295 
296 
297     public MOP getPenalty() { 
298 		MOP retVal = this.getTypedField(5, 0);
299 		return retVal;
300     }
301     
302     
303 
304 
305 
306     public MOP getIn35_Penalty() { 
307 		MOP retVal = this.getTypedField(5, 0);
308 		return retVal;
309     }
310 
311 
312 
313     
314 
315 
316 
317     public DTM getCertificationDateTime() { 
318 		DTM retVal = this.getTypedField(6, 0);
319 		return retVal;
320     }
321     
322     
323 
324 
325 
326     public DTM getIn36_CertificationDateTime() { 
327 		DTM retVal = this.getTypedField(6, 0);
328 		return retVal;
329     }
330 
331 
332 
333     
334 
335 
336 
337     public DTM getCertificationModifyDateTime() { 
338 		DTM retVal = this.getTypedField(7, 0);
339 		return retVal;
340     }
341     
342     
343 
344 
345 
346     public DTM getIn37_CertificationModifyDateTime() { 
347 		DTM retVal = this.getTypedField(7, 0);
348 		return retVal;
349     }
350 
351 
352     
353 
354 
355     public XCN[] getOperator() {
356     	XCN[] retVal = this.getTypedField(8, new XCN[0]);
357     	return retVal;
358     }
359 
360 
361     
362 
363 
364     public XCN[] getIn38_Operator() {
365     	XCN[] retVal = this.getTypedField(8, new XCN[0]);
366     	return retVal;
367     }
368 
369 
370     
371 
372 
373 
374 
375     public int getOperatorReps() {
376     	return this.getReps(8);
377     }
378 
379 
380     
381 
382 
383 
384 
385 
386     public XCN getOperator(int rep) { 
387 		XCN retVal = this.getTypedField(8, rep);
388 		return retVal;
389     }
390 
391     
392 
393 
394 
395 
396 
397     public XCN getIn38_Operator(int rep) { 
398 		XCN retVal = this.getTypedField(8, rep);
399 		return retVal;
400     }
401 
402     
403 
404 
405 
406 
407     public int getIn38_OperatorReps() {
408     	return this.getReps(8);
409     }
410 
411 
412     
413 
414 
415 
416 
417 
418 
419     public XCN insertOperator(int rep) throws HL7Exception { 
420         return (XCN) super.insertRepetition(8, rep);
421     }
422 
423 
424     
425 
426 
427 
428 
429 
430 
431     public XCN insertIn38_Operator(int rep) throws HL7Exception { 
432         return (XCN) super.insertRepetition(8, rep);
433     }
434 
435 
436     
437 
438 
439 
440 
441 
442 
443     public XCN removeOperator(int rep) throws HL7Exception { 
444         return (XCN) super.removeRepetition(8, rep);
445     }
446 
447 
448     
449 
450 
451 
452 
453 
454 
455     public XCN removeIn38_Operator(int rep) throws HL7Exception { 
456         return (XCN) super.removeRepetition(8, rep);
457     }
458 
459 
460 
461 
462     
463 
464 
465 
466     public DT getCertificationBeginDate() { 
467 		DT retVal = this.getTypedField(9, 0);
468 		return retVal;
469     }
470     
471     
472 
473 
474 
475     public DT getIn39_CertificationBeginDate() { 
476 		DT retVal = this.getTypedField(9, 0);
477 		return retVal;
478     }
479 
480 
481 
482     
483 
484 
485 
486     public DT getCertificationEndDate() { 
487 		DT retVal = this.getTypedField(10, 0);
488 		return retVal;
489     }
490     
491     
492 
493 
494 
495     public DT getIn310_CertificationEndDate() { 
496 		DT retVal = this.getTypedField(10, 0);
497 		return retVal;
498     }
499 
500 
501 
502     
503 
504 
505 
506     public DTN getDays() { 
507 		DTN retVal = this.getTypedField(11, 0);
508 		return retVal;
509     }
510     
511     
512 
513 
514 
515     public DTN getIn311_Days() { 
516 		DTN retVal = this.getTypedField(11, 0);
517 		return retVal;
518     }
519 
520 
521 
522     
523 
524 
525 
526     public CWE getNonConcurCodeDescription() { 
527 		CWE retVal = this.getTypedField(12, 0);
528 		return retVal;
529     }
530     
531     
532 
533 
534 
535     public CWE getIn312_NonConcurCodeDescription() { 
536 		CWE retVal = this.getTypedField(12, 0);
537 		return retVal;
538     }
539 
540 
541 
542     
543 
544 
545 
546     public DTM getNonConcurEffectiveDateTime() { 
547 		DTM retVal = this.getTypedField(13, 0);
548 		return retVal;
549     }
550     
551     
552 
553 
554 
555     public DTM getIn313_NonConcurEffectiveDateTime() { 
556 		DTM retVal = this.getTypedField(13, 0);
557 		return retVal;
558     }
559 
560 
561     
562 
563 
564     public XCN[] getPhysicianReviewer() {
565     	XCN[] retVal = this.getTypedField(14, new XCN[0]);
566     	return retVal;
567     }
568 
569 
570     
571 
572 
573     public XCN[] getIn314_PhysicianReviewer() {
574     	XCN[] retVal = this.getTypedField(14, new XCN[0]);
575     	return retVal;
576     }
577 
578 
579     
580 
581 
582 
583 
584     public int getPhysicianReviewerReps() {
585     	return this.getReps(14);
586     }
587 
588 
589     
590 
591 
592 
593 
594 
595     public XCN getPhysicianReviewer(int rep) { 
596 		XCN retVal = this.getTypedField(14, rep);
597 		return retVal;
598     }
599 
600     
601 
602 
603 
604 
605 
606     public XCN getIn314_PhysicianReviewer(int rep) { 
607 		XCN retVal = this.getTypedField(14, rep);
608 		return retVal;
609     }
610 
611     
612 
613 
614 
615 
616     public int getIn314_PhysicianReviewerReps() {
617     	return this.getReps(14);
618     }
619 
620 
621     
622 
623 
624 
625 
626 
627 
628     public XCN insertPhysicianReviewer(int rep) throws HL7Exception { 
629         return (XCN) super.insertRepetition(14, rep);
630     }
631 
632 
633     
634 
635 
636 
637 
638 
639 
640     public XCN insertIn314_PhysicianReviewer(int rep) throws HL7Exception { 
641         return (XCN) super.insertRepetition(14, rep);
642     }
643 
644 
645     
646 
647 
648 
649 
650 
651 
652     public XCN removePhysicianReviewer(int rep) throws HL7Exception { 
653         return (XCN) super.removeRepetition(14, rep);
654     }
655 
656 
657     
658 
659 
660 
661 
662 
663 
664     public XCN removeIn314_PhysicianReviewer(int rep) throws HL7Exception { 
665         return (XCN) super.removeRepetition(14, rep);
666     }
667 
668 
669 
670 
671     
672 
673 
674 
675     public ST getCertificationContact() { 
676 		ST retVal = this.getTypedField(15, 0);
677 		return retVal;
678     }
679     
680     
681 
682 
683 
684     public ST getIn315_CertificationContact() { 
685 		ST retVal = this.getTypedField(15, 0);
686 		return retVal;
687     }
688 
689 
690     
691 
692 
693     public XTN[] getCertificationContactPhoneNumber() {
694     	XTN[] retVal = this.getTypedField(16, new XTN[0]);
695     	return retVal;
696     }
697 
698 
699     
700 
701 
702     public XTN[] getIn316_CertificationContactPhoneNumber() {
703     	XTN[] retVal = this.getTypedField(16, new XTN[0]);
704     	return retVal;
705     }
706 
707 
708     
709 
710 
711 
712 
713     public int getCertificationContactPhoneNumberReps() {
714     	return this.getReps(16);
715     }
716 
717 
718     
719 
720 
721 
722 
723 
724     public XTN getCertificationContactPhoneNumber(int rep) { 
725 		XTN retVal = this.getTypedField(16, rep);
726 		return retVal;
727     }
728 
729     
730 
731 
732 
733 
734 
735     public XTN getIn316_CertificationContactPhoneNumber(int rep) { 
736 		XTN retVal = this.getTypedField(16, rep);
737 		return retVal;
738     }
739 
740     
741 
742 
743 
744 
745     public int getIn316_CertificationContactPhoneNumberReps() {
746     	return this.getReps(16);
747     }
748 
749 
750     
751 
752 
753 
754 
755 
756 
757     public XTN insertCertificationContactPhoneNumber(int rep) throws HL7Exception { 
758         return (XTN) super.insertRepetition(16, rep);
759     }
760 
761 
762     
763 
764 
765 
766 
767 
768 
769     public XTN insertIn316_CertificationContactPhoneNumber(int rep) throws HL7Exception { 
770         return (XTN) super.insertRepetition(16, rep);
771     }
772 
773 
774     
775 
776 
777 
778 
779 
780 
781     public XTN removeCertificationContactPhoneNumber(int rep) throws HL7Exception { 
782         return (XTN) super.removeRepetition(16, rep);
783     }
784 
785 
786     
787 
788 
789 
790 
791 
792 
793     public XTN removeIn316_CertificationContactPhoneNumber(int rep) throws HL7Exception { 
794         return (XTN) super.removeRepetition(16, rep);
795     }
796 
797 
798 
799 
800     
801 
802 
803 
804     public CWE getAppealReason() { 
805 		CWE retVal = this.getTypedField(17, 0);
806 		return retVal;
807     }
808     
809     
810 
811 
812 
813     public CWE getIn317_AppealReason() { 
814 		CWE retVal = this.getTypedField(17, 0);
815 		return retVal;
816     }
817 
818 
819 
820     
821 
822 
823 
824     public CWE getCertificationAgency() { 
825 		CWE retVal = this.getTypedField(18, 0);
826 		return retVal;
827     }
828     
829     
830 
831 
832 
833     public CWE getIn318_CertificationAgency() { 
834 		CWE retVal = this.getTypedField(18, 0);
835 		return retVal;
836     }
837 
838 
839     
840 
841 
842     public XTN[] getCertificationAgencyPhoneNumber() {
843     	XTN[] retVal = this.getTypedField(19, new XTN[0]);
844     	return retVal;
845     }
846 
847 
848     
849 
850 
851     public XTN[] getIn319_CertificationAgencyPhoneNumber() {
852     	XTN[] retVal = this.getTypedField(19, new XTN[0]);
853     	return retVal;
854     }
855 
856 
857     
858 
859 
860 
861 
862     public int getCertificationAgencyPhoneNumberReps() {
863     	return this.getReps(19);
864     }
865 
866 
867     
868 
869 
870 
871 
872 
873     public XTN getCertificationAgencyPhoneNumber(int rep) { 
874 		XTN retVal = this.getTypedField(19, rep);
875 		return retVal;
876     }
877 
878     
879 
880 
881 
882 
883 
884     public XTN getIn319_CertificationAgencyPhoneNumber(int rep) { 
885 		XTN retVal = this.getTypedField(19, rep);
886 		return retVal;
887     }
888 
889     
890 
891 
892 
893 
894     public int getIn319_CertificationAgencyPhoneNumberReps() {
895     	return this.getReps(19);
896     }
897 
898 
899     
900 
901 
902 
903 
904 
905 
906     public XTN insertCertificationAgencyPhoneNumber(int rep) throws HL7Exception { 
907         return (XTN) super.insertRepetition(19, rep);
908     }
909 
910 
911     
912 
913 
914 
915 
916 
917 
918     public XTN insertIn319_CertificationAgencyPhoneNumber(int rep) throws HL7Exception { 
919         return (XTN) super.insertRepetition(19, rep);
920     }
921 
922 
923     
924 
925 
926 
927 
928 
929 
930     public XTN removeCertificationAgencyPhoneNumber(int rep) throws HL7Exception { 
931         return (XTN) super.removeRepetition(19, rep);
932     }
933 
934 
935     
936 
937 
938 
939 
940 
941 
942     public XTN removeIn319_CertificationAgencyPhoneNumber(int rep) throws HL7Exception { 
943         return (XTN) super.removeRepetition(19, rep);
944     }
945 
946 
947 
948     
949 
950 
951     public ICD[] getPreCertificationRequirement() {
952     	ICD[] retVal = this.getTypedField(20, new ICD[0]);
953     	return retVal;
954     }
955 
956 
957     
958 
959 
960     public ICD[] getIn320_PreCertificationRequirement() {
961     	ICD[] retVal = this.getTypedField(20, new ICD[0]);
962     	return retVal;
963     }
964 
965 
966     
967 
968 
969 
970 
971     public int getPreCertificationRequirementReps() {
972     	return this.getReps(20);
973     }
974 
975 
976     
977 
978 
979 
980 
981 
982     public ICD getPreCertificationRequirement(int rep) { 
983 		ICD retVal = this.getTypedField(20, rep);
984 		return retVal;
985     }
986 
987     
988 
989 
990 
991 
992 
993     public ICD getIn320_PreCertificationRequirement(int rep) { 
994 		ICD retVal = this.getTypedField(20, rep);
995 		return retVal;
996     }
997 
998     
999 
1000 
1001 
1002 
1003     public int getIn320_PreCertificationRequirementReps() {
1004     	return this.getReps(20);
1005     }
1006 
1007 
1008     
1009 
1010 
1011 
1012 
1013 
1014 
1015     public ICD insertPreCertificationRequirement(int rep) throws HL7Exception { 
1016         return (ICD) super.insertRepetition(20, rep);
1017     }
1018 
1019 
1020     
1021 
1022 
1023 
1024 
1025 
1026 
1027     public ICD insertIn320_PreCertificationRequirement(int rep) throws HL7Exception { 
1028         return (ICD) super.insertRepetition(20, rep);
1029     }
1030 
1031 
1032     
1033 
1034 
1035 
1036 
1037 
1038 
1039     public ICD removePreCertificationRequirement(int rep) throws HL7Exception { 
1040         return (ICD) super.removeRepetition(20, rep);
1041     }
1042 
1043 
1044     
1045 
1046 
1047 
1048 
1049 
1050 
1051     public ICD removeIn320_PreCertificationRequirement(int rep) throws HL7Exception { 
1052         return (ICD) super.removeRepetition(20, rep);
1053     }
1054 
1055 
1056 
1057 
1058     
1059 
1060 
1061 
1062     public ST getCaseManager() { 
1063 		ST retVal = this.getTypedField(21, 0);
1064 		return retVal;
1065     }
1066     
1067     
1068 
1069 
1070 
1071     public ST getIn321_CaseManager() { 
1072 		ST retVal = this.getTypedField(21, 0);
1073 		return retVal;
1074     }
1075 
1076 
1077 
1078     
1079 
1080 
1081 
1082     public DT getSecondOpinionDate() { 
1083 		DT retVal = this.getTypedField(22, 0);
1084 		return retVal;
1085     }
1086     
1087     
1088 
1089 
1090 
1091     public DT getIn322_SecondOpinionDate() { 
1092 		DT retVal = this.getTypedField(22, 0);
1093 		return retVal;
1094     }
1095 
1096 
1097 
1098     
1099 
1100 
1101 
1102     public CWE getSecondOpinionStatus() { 
1103 		CWE retVal = this.getTypedField(23, 0);
1104 		return retVal;
1105     }
1106     
1107     
1108 
1109 
1110 
1111     public CWE getIn323_SecondOpinionStatus() { 
1112 		CWE retVal = this.getTypedField(23, 0);
1113 		return retVal;
1114     }
1115 
1116 
1117     
1118 
1119 
1120     public CWE[] getSecondOpinionDocumentationReceived() {
1121     	CWE[] retVal = this.getTypedField(24, new CWE[0]);
1122     	return retVal;
1123     }
1124 
1125 
1126     
1127 
1128 
1129     public CWE[] getIn324_SecondOpinionDocumentationReceived() {
1130     	CWE[] retVal = this.getTypedField(24, new CWE[0]);
1131     	return retVal;
1132     }
1133 
1134 
1135     
1136 
1137 
1138 
1139 
1140     public int getSecondOpinionDocumentationReceivedReps() {
1141     	return this.getReps(24);
1142     }
1143 
1144 
1145     
1146 
1147 
1148 
1149 
1150 
1151     public CWE getSecondOpinionDocumentationReceived(int rep) { 
1152 		CWE retVal = this.getTypedField(24, rep);
1153 		return retVal;
1154     }
1155 
1156     
1157 
1158 
1159 
1160 
1161 
1162     public CWE getIn324_SecondOpinionDocumentationReceived(int rep) { 
1163 		CWE retVal = this.getTypedField(24, rep);
1164 		return retVal;
1165     }
1166 
1167     
1168 
1169 
1170 
1171 
1172     public int getIn324_SecondOpinionDocumentationReceivedReps() {
1173     	return this.getReps(24);
1174     }
1175 
1176 
1177     
1178 
1179 
1180 
1181 
1182 
1183 
1184     public CWE insertSecondOpinionDocumentationReceived(int rep) throws HL7Exception { 
1185         return (CWE) super.insertRepetition(24, rep);
1186     }
1187 
1188 
1189     
1190 
1191 
1192 
1193 
1194 
1195 
1196     public CWE insertIn324_SecondOpinionDocumentationReceived(int rep) throws HL7Exception { 
1197         return (CWE) super.insertRepetition(24, rep);
1198     }
1199 
1200 
1201     
1202 
1203 
1204 
1205 
1206 
1207 
1208     public CWE removeSecondOpinionDocumentationReceived(int rep) throws HL7Exception { 
1209         return (CWE) super.removeRepetition(24, rep);
1210     }
1211 
1212 
1213     
1214 
1215 
1216 
1217 
1218 
1219 
1220     public CWE removeIn324_SecondOpinionDocumentationReceived(int rep) throws HL7Exception { 
1221         return (CWE) super.removeRepetition(24, rep);
1222     }
1223 
1224 
1225 
1226     
1227 
1228 
1229     public XCN[] getSecondOpinionPhysician() {
1230     	XCN[] retVal = this.getTypedField(25, new XCN[0]);
1231     	return retVal;
1232     }
1233 
1234 
1235     
1236 
1237 
1238     public XCN[] getIn325_SecondOpinionPhysician() {
1239     	XCN[] retVal = this.getTypedField(25, new XCN[0]);
1240     	return retVal;
1241     }
1242 
1243 
1244     
1245 
1246 
1247 
1248 
1249     public int getSecondOpinionPhysicianReps() {
1250     	return this.getReps(25);
1251     }
1252 
1253 
1254     
1255 
1256 
1257 
1258 
1259 
1260     public XCN getSecondOpinionPhysician(int rep) { 
1261 		XCN retVal = this.getTypedField(25, rep);
1262 		return retVal;
1263     }
1264 
1265     
1266 
1267 
1268 
1269 
1270 
1271     public XCN getIn325_SecondOpinionPhysician(int rep) { 
1272 		XCN retVal = this.getTypedField(25, rep);
1273 		return retVal;
1274     }
1275 
1276     
1277 
1278 
1279 
1280 
1281     public int getIn325_SecondOpinionPhysicianReps() {
1282     	return this.getReps(25);
1283     }
1284 
1285 
1286     
1287 
1288 
1289 
1290 
1291 
1292 
1293     public XCN insertSecondOpinionPhysician(int rep) throws HL7Exception { 
1294         return (XCN) super.insertRepetition(25, rep);
1295     }
1296 
1297 
1298     
1299 
1300 
1301 
1302 
1303 
1304 
1305     public XCN insertIn325_SecondOpinionPhysician(int rep) throws HL7Exception { 
1306         return (XCN) super.insertRepetition(25, rep);
1307     }
1308 
1309 
1310     
1311 
1312 
1313 
1314 
1315 
1316 
1317     public XCN removeSecondOpinionPhysician(int rep) throws HL7Exception { 
1318         return (XCN) super.removeRepetition(25, rep);
1319     }
1320 
1321 
1322     
1323 
1324 
1325 
1326 
1327 
1328 
1329     public XCN removeIn325_SecondOpinionPhysician(int rep) throws HL7Exception { 
1330         return (XCN) super.removeRepetition(25, rep);
1331     }
1332 
1333 
1334 
1335 
1336 
1337 
1338        
1339     protected Type createNewTypeWithoutReflection(int field) {
1340        switch (field) {
1341           case 0: return new SI(getMessage());
1342           case 1: return new CX(getMessage());
1343           case 2: return new XCN(getMessage());
1344           case 3: return new ID(getMessage(), new Integer( 136 ));
1345           case 4: return new MOP(getMessage());
1346           case 5: return new DTM(getMessage());
1347           case 6: return new DTM(getMessage());
1348           case 7: return new XCN(getMessage());
1349           case 8: return new DT(getMessage());
1350           case 9: return new DT(getMessage());
1351           case 10: return new DTN(getMessage());
1352           case 11: return new CWE(getMessage());
1353           case 12: return new DTM(getMessage());
1354           case 13: return new XCN(getMessage());
1355           case 14: return new ST(getMessage());
1356           case 15: return new XTN(getMessage());
1357           case 16: return new CWE(getMessage());
1358           case 17: return new CWE(getMessage());
1359           case 18: return new XTN(getMessage());
1360           case 19: return new ICD(getMessage());
1361           case 20: return new ST(getMessage());
1362           case 21: return new DT(getMessage());
1363           case 22: return new CWE(getMessage());
1364           case 23: return new CWE(getMessage());
1365           case 24: return new XCN(getMessage());
1366           default: return null;
1367        }
1368    }
1369 
1370 
1371 }
1372