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