Commit 8c1a728de11882869c906e55893425a3046acbea
1 parent
09059223b0
Exists in
master
and in
6 other branches
高危匹配
Showing 1 changed file with 0 additions and 1110 deletions
platform-common/src/main/java/com/lyms/platform/common/enums/DiagnoseEnums.java
View file @
8c1a728
Diff suppressed. Click to show
... | ... | @@ -446,9 +446,6 @@ |
446 | 446 | C(44, "++",50), |
447 | 447 | D(45, "+++",50); |
448 | 448 | |
449 | - | |
450 | - | |
451 | - | |
452 | 449 | private JwsChildEnums(int id, String title,Integer parentId) { |
453 | 450 | this.id = id; |
454 | 451 | this.title = title; |
... | ... | @@ -511,1112 +508,5 @@ |
511 | 508 | return parentId; |
512 | 509 | } |
513 | 510 | } |
514 | - | |
515 | - | |
516 | - | |
517 | - | |
518 | - | |
519 | -// /** | |
520 | -// * 一般检查 isRepeat 0 重复 1不可重复 | |
521 | -// */ | |
522 | -// public enum YbjcEnums{ | |
523 | -// | |
524 | -// A(1, "心脏",4,TypeEnums.WZ.getId(),0,""), | |
525 | -// B(2, "肺部",4,TypeEnums.WZ.getId(),0,""); | |
526 | -// | |
527 | -// private YbjcEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
528 | -// this.id = id; | |
529 | -// this.title = title; | |
530 | -// this.parentId = parentId; | |
531 | -// this.type = type; | |
532 | -// this.isRepeat = isRepeat; | |
533 | -// this.unit = unit; | |
534 | -// } | |
535 | -// private int id; | |
536 | -// private String title; | |
537 | -// private Integer parentId; | |
538 | -// private Integer type; | |
539 | -// private Integer isRepeat; | |
540 | -// private String unit; | |
541 | -// | |
542 | -// public static String getTitleById(Integer id) | |
543 | -// { | |
544 | -// for(YbjcEnums s : YbjcEnums.values()) { | |
545 | -// if (s.getId() == id) | |
546 | -// { | |
547 | -// return s.getTitle(); | |
548 | -// } | |
549 | -// | |
550 | -// } | |
551 | -// return ""; | |
552 | -// } | |
553 | -// | |
554 | -// public int getId() { | |
555 | -// return id; | |
556 | -// } | |
557 | -// | |
558 | -// public String getTitle() { | |
559 | -// return title; | |
560 | -// } | |
561 | -// | |
562 | -// public Integer getParentId() { | |
563 | -// return parentId; | |
564 | -// } | |
565 | -// | |
566 | -// public void setParentId(Integer parentId) { | |
567 | -// this.parentId = parentId; | |
568 | -// } | |
569 | -// | |
570 | -// public Integer getType() { | |
571 | -// return type; | |
572 | -// } | |
573 | -// | |
574 | -// public void setType(Integer type) { | |
575 | -// this.type = type; | |
576 | -// } | |
577 | -// | |
578 | -// public Integer getIsRepeat() { | |
579 | -// return isRepeat; | |
580 | -// } | |
581 | -// | |
582 | -// public void setIsRepeat(Integer isRepeat) { | |
583 | -// this.isRepeat = isRepeat; | |
584 | -// } | |
585 | -// | |
586 | -// public String getUnit() { | |
587 | -// return unit; | |
588 | -// } | |
589 | -// | |
590 | -// public void setUnit(String unit) { | |
591 | -// this.unit = unit; | |
592 | -// } | |
593 | -// } | |
594 | -// | |
595 | -// | |
596 | -// /** | |
597 | -// * 辅助检查——血常规 | |
598 | -// */ | |
599 | -// public enum XcgEnums{ | |
600 | -// | |
601 | -// A(1, "血红蛋白",5,TypeEnums.SZ.getId(),0,"g/L"), | |
602 | -// B(2, "白细胞计数",5,TypeEnums.SZ.getId(),0,"×10<sup>9</sup>/L"), | |
603 | -// C(3, "血小板计数",5,TypeEnums.SZ.getId(),0,"×10<sup>9</sup>/L"), | |
604 | -// D(4, "其他",5,TypeEnums.WZ.getId(),0,""); | |
605 | -// | |
606 | -// private XcgEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
607 | -// this.id = id; | |
608 | -// this.title = title; | |
609 | -// this.parentId = parentId; | |
610 | -// this.type = type; | |
611 | -// this.isRepeat = isRepeat; | |
612 | -// this.unit = unit; | |
613 | -// } | |
614 | -// private int id; | |
615 | -// private String title; | |
616 | -// private Integer parentId; | |
617 | -// private Integer type; | |
618 | -// private Integer isRepeat; | |
619 | -// private String unit; | |
620 | -// | |
621 | -// public static String getTitleById(Integer id) | |
622 | -// { | |
623 | -// for(XcgEnums s : XcgEnums.values()) { | |
624 | -// if (s.getId() == id) | |
625 | -// { | |
626 | -// return s.getTitle(); | |
627 | -// } | |
628 | -// | |
629 | -// } | |
630 | -// return ""; | |
631 | -// } | |
632 | -// | |
633 | -// public int getId() { | |
634 | -// return id; | |
635 | -// } | |
636 | -// | |
637 | -// public String getTitle() { | |
638 | -// return title; | |
639 | -// } | |
640 | -// | |
641 | -// public Integer getParentId() { | |
642 | -// return parentId; | |
643 | -// } | |
644 | -// | |
645 | -// public void setParentId(Integer parentId) { | |
646 | -// this.parentId = parentId; | |
647 | -// } | |
648 | -// | |
649 | -// public Integer getType() { | |
650 | -// return type; | |
651 | -// } | |
652 | -// | |
653 | -// public void setType(Integer type) { | |
654 | -// this.type = type; | |
655 | -// } | |
656 | -// | |
657 | -// public Integer getIsRepeat() { | |
658 | -// return isRepeat; | |
659 | -// } | |
660 | -// | |
661 | -// public void setIsRepeat(Integer isRepeat) { | |
662 | -// this.isRepeat = isRepeat; | |
663 | -// } | |
664 | -// } | |
665 | -// | |
666 | -// | |
667 | -// /** | |
668 | -// * 辅助检查——血型 | |
669 | -// */ | |
670 | -// public enum XxEnums{ | |
671 | -// | |
672 | -// A(1, "RH血型",6,TypeEnums.SF.getId(),0,""), | |
673 | -// B(2, "血糖",6,TypeEnums.SZ.getId(),0,"mmol/L"); | |
674 | -// | |
675 | -// private XxEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
676 | -// this.id = id; | |
677 | -// this.title = title; | |
678 | -// this.parentId = parentId; | |
679 | -// this.type = type; | |
680 | -// this.isRepeat = isRepeat; | |
681 | -// this.unit = unit; | |
682 | -// } | |
683 | -// private int id; | |
684 | -// private String title; | |
685 | -// private Integer parentId; | |
686 | -// private Integer type; | |
687 | -// private Integer isRepeat; | |
688 | -// private String unit; | |
689 | -// | |
690 | -// public static String getTitleById(Integer id) | |
691 | -// { | |
692 | -// for(XxEnums s : XxEnums.values()) { | |
693 | -// if (s.getId() == id) | |
694 | -// { | |
695 | -// return s.getTitle(); | |
696 | -// } | |
697 | -// | |
698 | -// } | |
699 | -// return ""; | |
700 | -// } | |
701 | -// | |
702 | -// public int getId() { | |
703 | -// return id; | |
704 | -// } | |
705 | -// | |
706 | -// public String getTitle() { | |
707 | -// return title; | |
708 | -// } | |
709 | -// | |
710 | -// public Integer getParentId() { | |
711 | -// return parentId; | |
712 | -// } | |
713 | -// | |
714 | -// public void setParentId(Integer parentId) { | |
715 | -// this.parentId = parentId; | |
716 | -// } | |
717 | -// | |
718 | -// public Integer getType() { | |
719 | -// return type; | |
720 | -// } | |
721 | -// | |
722 | -// public void setType(Integer type) { | |
723 | -// this.type = type; | |
724 | -// } | |
725 | -// | |
726 | -// public Integer getIsRepeat() { | |
727 | -// return isRepeat; | |
728 | -// } | |
729 | -// | |
730 | -// public void setIsRepeat(Integer isRepeat) { | |
731 | -// this.isRepeat = isRepeat; | |
732 | -// } | |
733 | -// | |
734 | -// public String getUnit() { | |
735 | -// return unit; | |
736 | -// } | |
737 | -// | |
738 | -// public void setUnit(String unit) { | |
739 | -// this.unit = unit; | |
740 | -// } | |
741 | -// } | |
742 | -// | |
743 | -// | |
744 | -// | |
745 | -// /** | |
746 | -// * 辅助检查——肝功能 | |
747 | -// */ | |
748 | -// public enum GgnEnums{ | |
749 | -// | |
750 | -// A(1, "血清谷丙转氨酶",7,TypeEnums.SF.getId(),0,"U/L"), | |
751 | -// B(2, "血清谷草转氨酶",7,TypeEnums.SZ.getId(),0,"U/L"), | |
752 | -// C(3, "白蛋白",7,TypeEnums.SZ.getId(),0,"g/L"), | |
753 | -// D(4, "总胆红素",7,TypeEnums.SZ.getId(),0,"umol/L"), | |
754 | -// E(5, "结合胆红素",7,TypeEnums.SZ.getId(),0,"umol/L"), | |
755 | -// F(6, "丙肝",7,TypeEnums.SF.getId(),1,""); | |
756 | -// | |
757 | -// private GgnEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
758 | -// this.id = id; | |
759 | -// this.title = title; | |
760 | -// this.parentId = parentId; | |
761 | -// this.type = type; | |
762 | -// this.isRepeat = isRepeat; | |
763 | -// this.unit = unit; | |
764 | -// } | |
765 | -// private int id; | |
766 | -// private String title; | |
767 | -// private String unit; | |
768 | -// private Integer parentId; | |
769 | -// private Integer type; | |
770 | -// private Integer isRepeat; | |
771 | -// | |
772 | -// public static String getTitleById(Integer id) | |
773 | -// { | |
774 | -// for(XxEnums s : XxEnums.values()) { | |
775 | -// if (s.getId() == id) | |
776 | -// { | |
777 | -// return s.getTitle(); | |
778 | -// } | |
779 | -// | |
780 | -// } | |
781 | -// return ""; | |
782 | -// } | |
783 | -// | |
784 | -// public int getId() { | |
785 | -// return id; | |
786 | -// } | |
787 | -// | |
788 | -// public String getTitle() { | |
789 | -// return title; | |
790 | -// } | |
791 | -// | |
792 | -// public Integer getParentId() { | |
793 | -// return parentId; | |
794 | -// } | |
795 | -// | |
796 | -// public void setParentId(Integer parentId) { | |
797 | -// this.parentId = parentId; | |
798 | -// } | |
799 | -// | |
800 | -// public Integer getType() { | |
801 | -// return type; | |
802 | -// } | |
803 | -// | |
804 | -// public void setType(Integer type) { | |
805 | -// this.type = type; | |
806 | -// } | |
807 | -// | |
808 | -// public Integer getIsRepeat() { | |
809 | -// return isRepeat; | |
810 | -// } | |
811 | -// | |
812 | -// public void setIsRepeat(Integer isRepeat) { | |
813 | -// this.isRepeat = isRepeat; | |
814 | -// } | |
815 | -// | |
816 | -// public String getUnit() { | |
817 | -// return unit; | |
818 | -// } | |
819 | -// | |
820 | -// public void setUnit(String unit) { | |
821 | -// this.unit = unit; | |
822 | -// } | |
823 | -// } | |
824 | -// | |
825 | -// | |
826 | -// | |
827 | -// /** | |
828 | -// * 辅助检查——乙肝五项 | |
829 | -// */ | |
830 | -// public enum YgwxEnums{ | |
831 | -// | |
832 | -// A(1, "乙肝表面抗原",8,TypeEnums.SF.getId(),0,""), | |
833 | -// B(2, "乙肝表面抗体",8,TypeEnums.SZ.getId(),0,""), | |
834 | -// C(3, "乙肝e抗原",8,TypeEnums.SZ.getId(),0,""), | |
835 | -// D(4, "乙肝e抗体",8,TypeEnums.SZ.getId(),0,""), | |
836 | -// E(5, "乙肝核心抗体",8,TypeEnums.SZ.getId(),0,""); | |
837 | -// | |
838 | -// private YgwxEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
839 | -// this.id = id; | |
840 | -// this.title = title; | |
841 | -// this.parentId = parentId; | |
842 | -// this.type = type; | |
843 | -// this.isRepeat = isRepeat; | |
844 | -// this.unit = unit; | |
845 | -// } | |
846 | -// private int id; | |
847 | -// private String title; | |
848 | -// private String unit; | |
849 | -// private Integer parentId; | |
850 | -// private Integer type; | |
851 | -// private Integer isRepeat; | |
852 | -// | |
853 | -// public static String getTitleById(Integer id) | |
854 | -// { | |
855 | -// for(YgwxEnums s : YgwxEnums.values()) { | |
856 | -// if (s.getId() == id) | |
857 | -// { | |
858 | -// return s.getTitle(); | |
859 | -// } | |
860 | -// | |
861 | -// } | |
862 | -// return ""; | |
863 | -// } | |
864 | -// | |
865 | -// public int getId() { | |
866 | -// return id; | |
867 | -// } | |
868 | -// | |
869 | -// public String getTitle() { | |
870 | -// return title; | |
871 | -// } | |
872 | -// | |
873 | -// public Integer getParentId() { | |
874 | -// return parentId; | |
875 | -// } | |
876 | -// | |
877 | -// public void setParentId(Integer parentId) { | |
878 | -// this.parentId = parentId; | |
879 | -// } | |
880 | -// | |
881 | -// public Integer getType() { | |
882 | -// return type; | |
883 | -// } | |
884 | -// | |
885 | -// public void setType(Integer type) { | |
886 | -// this.type = type; | |
887 | -// } | |
888 | -// | |
889 | -// public Integer getIsRepeat() { | |
890 | -// return isRepeat; | |
891 | -// } | |
892 | -// | |
893 | -// public void setIsRepeat(Integer isRepeat) { | |
894 | -// this.isRepeat = isRepeat; | |
895 | -// } | |
896 | -// | |
897 | -// public String getUnit() { | |
898 | -// return unit; | |
899 | -// } | |
900 | -// | |
901 | -// public void setUnit(String unit) { | |
902 | -// this.unit = unit; | |
903 | -// } | |
904 | -// } | |
905 | -// | |
906 | -// | |
907 | -// | |
908 | -// /** | |
909 | -// * 辅助检查——肾功能 | |
910 | -// */ | |
911 | -// public enum SgnEnums{ | |
912 | -// | |
913 | -// A(1, "血清肌酐",9,TypeEnums.SZ.getId(),0,"μmol/L"), | |
914 | -// B(2, "血尿素氮",9,TypeEnums.SZ.getId(),0,"mmol/L"); | |
915 | -// | |
916 | -// private SgnEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
917 | -// this.id = id; | |
918 | -// this.title = title; | |
919 | -// this.parentId = parentId; | |
920 | -// this.type = type; | |
921 | -// this.isRepeat = isRepeat; | |
922 | -// this.unit = unit; | |
923 | -// } | |
924 | -// private int id; | |
925 | -// private String title; | |
926 | -// private String unit; | |
927 | -// private Integer parentId; | |
928 | -// private Integer type; | |
929 | -// private Integer isRepeat; | |
930 | -// | |
931 | -// public static String getTitleById(Integer id) | |
932 | -// { | |
933 | -// for(SgnEnums s : SgnEnums.values()) { | |
934 | -// if (s.getId() == id) | |
935 | -// { | |
936 | -// return s.getTitle(); | |
937 | -// } | |
938 | -// | |
939 | -// } | |
940 | -// return ""; | |
941 | -// } | |
942 | -// | |
943 | -// public int getId() { | |
944 | -// return id; | |
945 | -// } | |
946 | -// | |
947 | -// public String getTitle() { | |
948 | -// return title; | |
949 | -// } | |
950 | -// | |
951 | -// public Integer getParentId() { | |
952 | -// return parentId; | |
953 | -// } | |
954 | -// | |
955 | -// public void setParentId(Integer parentId) { | |
956 | -// this.parentId = parentId; | |
957 | -// } | |
958 | -// | |
959 | -// public Integer getType() { | |
960 | -// return type; | |
961 | -// } | |
962 | -// | |
963 | -// public void setType(Integer type) { | |
964 | -// this.type = type; | |
965 | -// } | |
966 | -// | |
967 | -// public Integer getIsRepeat() { | |
968 | -// return isRepeat; | |
969 | -// } | |
970 | -// | |
971 | -// public void setIsRepeat(Integer isRepeat) { | |
972 | -// this.isRepeat = isRepeat; | |
973 | -// } | |
974 | -// | |
975 | -// public String getUnit() { | |
976 | -// return unit; | |
977 | -// } | |
978 | -// | |
979 | -// public void setUnit(String unit) { | |
980 | -// this.unit = unit; | |
981 | -// } | |
982 | -// } | |
983 | -// | |
984 | -// | |
985 | -// | |
986 | -// /** | |
987 | -// * 辅助检查——梅毒血清实验 | |
988 | -// */ | |
989 | -// public enum MdxEnums{ | |
990 | -// | |
991 | -// A(1, "实验结果",10,TypeEnums.SF.getId(),1,""), | |
992 | -// B(2, "HIV抗体检测",10,TypeEnums.SF.getId(),1,""); | |
993 | -// | |
994 | -// private MdxEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
995 | -// this.id = id; | |
996 | -// this.title = title; | |
997 | -// this.parentId = parentId; | |
998 | -// this.type = type; | |
999 | -// this.isRepeat = isRepeat; | |
1000 | -// this.unit = unit; | |
1001 | -// } | |
1002 | -// private int id; | |
1003 | -// private String title; | |
1004 | -// private String unit; | |
1005 | -// private Integer parentId; | |
1006 | -// private Integer type; | |
1007 | -// private Integer isRepeat; | |
1008 | -// | |
1009 | -// public static String getTitleById(Integer id) | |
1010 | -// { | |
1011 | -// for(MdxEnums s : MdxEnums.values()) { | |
1012 | -// if (s.getId() == id) | |
1013 | -// { | |
1014 | -// return s.getTitle(); | |
1015 | -// } | |
1016 | -// | |
1017 | -// } | |
1018 | -// return ""; | |
1019 | -// } | |
1020 | -// | |
1021 | -// public int getId() { | |
1022 | -// return id; | |
1023 | -// } | |
1024 | -// | |
1025 | -// public String getTitle() { | |
1026 | -// return title; | |
1027 | -// } | |
1028 | -// | |
1029 | -// public Integer getParentId() { | |
1030 | -// return parentId; | |
1031 | -// } | |
1032 | -// | |
1033 | -// public void setParentId(Integer parentId) { | |
1034 | -// this.parentId = parentId; | |
1035 | -// } | |
1036 | -// | |
1037 | -// public Integer getType() { | |
1038 | -// return type; | |
1039 | -// } | |
1040 | -// | |
1041 | -// public void setType(Integer type) { | |
1042 | -// this.type = type; | |
1043 | -// } | |
1044 | -// | |
1045 | -// public Integer getIsRepeat() { | |
1046 | -// return isRepeat; | |
1047 | -// } | |
1048 | -// | |
1049 | -// public void setIsRepeat(Integer isRepeat) { | |
1050 | -// this.isRepeat = isRepeat; | |
1051 | -// } | |
1052 | -// | |
1053 | -// public String getUnit() { | |
1054 | -// return unit; | |
1055 | -// } | |
1056 | -// | |
1057 | -// public void setUnit(String unit) { | |
1058 | -// this.unit = unit; | |
1059 | -// } | |
1060 | -// } | |
1061 | -// | |
1062 | -// | |
1063 | -// /** | |
1064 | -// * 妇科手术史(盆腔手术史) | |
1065 | -// */ | |
1066 | -// public enum PqsssEnums{ | |
1067 | -// | |
1068 | -// A(1, "异位妊娠手术",11,TypeEnums.SF.getId(),1,""), | |
1069 | -// B(2, "子宫肌瘤剥除",11,TypeEnums.SF.getId(),1,""), | |
1070 | -// C(3, "剖宫产",11,TypeEnums.SF.getId(),1,""), | |
1071 | -// D(4, "其他",11,TypeEnums.WZ.getId(),0,""); | |
1072 | -// | |
1073 | -// private PqsssEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
1074 | -// this.id = id; | |
1075 | -// this.title = title; | |
1076 | -// this.parentId = parentId; | |
1077 | -// this.type = type; | |
1078 | -// this.isRepeat = isRepeat; | |
1079 | -// this.unit = unit; | |
1080 | -// } | |
1081 | -// private int id; | |
1082 | -// private String title; | |
1083 | -// private String unit; | |
1084 | -// private Integer parentId; | |
1085 | -// private Integer type; | |
1086 | -// private Integer isRepeat; | |
1087 | -// | |
1088 | -// public static String getTitleById(Integer id) | |
1089 | -// { | |
1090 | -// for(PqsssEnums s : PqsssEnums.values()) { | |
1091 | -// if (s.getId() == id) | |
1092 | -// { | |
1093 | -// return s.getTitle(); | |
1094 | -// } | |
1095 | -// | |
1096 | -// } | |
1097 | -// return ""; | |
1098 | -// } | |
1099 | -// | |
1100 | -// public int getId() { | |
1101 | -// return id; | |
1102 | -// } | |
1103 | -// | |
1104 | -// public String getTitle() { | |
1105 | -// return title; | |
1106 | -// } | |
1107 | -// | |
1108 | -// public Integer getParentId() { | |
1109 | -// return parentId; | |
1110 | -// } | |
1111 | -// | |
1112 | -// public void setParentId(Integer parentId) { | |
1113 | -// this.parentId = parentId; | |
1114 | -// } | |
1115 | -// | |
1116 | -// public Integer getType() { | |
1117 | -// return type; | |
1118 | -// } | |
1119 | -// | |
1120 | -// public void setType(Integer type) { | |
1121 | -// this.type = type; | |
1122 | -// } | |
1123 | -// | |
1124 | -// public Integer getIsRepeat() { | |
1125 | -// return isRepeat; | |
1126 | -// } | |
1127 | -// | |
1128 | -// public void setIsRepeat(Integer isRepeat) { | |
1129 | -// this.isRepeat = isRepeat; | |
1130 | -// } | |
1131 | -// | |
1132 | -// public String getUnit() { | |
1133 | -// return unit; | |
1134 | -// } | |
1135 | -// | |
1136 | -// public void setUnit(String unit) { | |
1137 | -// this.unit = unit; | |
1138 | -// } | |
1139 | -// } | |
1140 | -// | |
1141 | -// | |
1142 | -// /** | |
1143 | -// * 孕产史 | |
1144 | -// */ | |
1145 | -// public enum YcsEnums{ | |
1146 | -// | |
1147 | -// A(1, "流产次",12,TypeEnums.SZ.getId(),0,""), | |
1148 | -// B(2, "产次",12,TypeEnums.SZ.getId(),0,""), | |
1149 | -// C(3, "引产次",12,TypeEnums.SZ.getId(),0,""), | |
1150 | -// D(4, "剖宫产次",12,TypeEnums.SZ.getId(),0,""); | |
1151 | -// | |
1152 | -// private YcsEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
1153 | -// this.id = id; | |
1154 | -// this.title = title; | |
1155 | -// this.parentId = parentId; | |
1156 | -// this.type = type; | |
1157 | -// this.isRepeat = isRepeat; | |
1158 | -// this.unit = unit; | |
1159 | -// } | |
1160 | -// private int id; | |
1161 | -// private String title; | |
1162 | -// private String unit; | |
1163 | -// private Integer parentId; | |
1164 | -// private Integer type; | |
1165 | -// private Integer isRepeat; | |
1166 | -// | |
1167 | -// public static String getTitleById(Integer id) | |
1168 | -// { | |
1169 | -// for(YcsEnums s : YcsEnums.values()) { | |
1170 | -// if (s.getId() == id) | |
1171 | -// { | |
1172 | -// return s.getTitle(); | |
1173 | -// } | |
1174 | -// | |
1175 | -// } | |
1176 | -// return ""; | |
1177 | -// } | |
1178 | -// | |
1179 | -// public int getId() { | |
1180 | -// return id; | |
1181 | -// } | |
1182 | -// | |
1183 | -// public String getTitle() { | |
1184 | -// return title; | |
1185 | -// } | |
1186 | -// | |
1187 | -// public Integer getParentId() { | |
1188 | -// return parentId; | |
1189 | -// } | |
1190 | -// | |
1191 | -// public void setParentId(Integer parentId) { | |
1192 | -// this.parentId = parentId; | |
1193 | -// } | |
1194 | -// | |
1195 | -// public Integer getType() { | |
1196 | -// return type; | |
1197 | -// } | |
1198 | -// | |
1199 | -// public void setType(Integer type) { | |
1200 | -// this.type = type; | |
1201 | -// } | |
1202 | -// | |
1203 | -// public Integer getIsRepeat() { | |
1204 | -// return isRepeat; | |
1205 | -// } | |
1206 | -// | |
1207 | -// public void setIsRepeat(Integer isRepeat) { | |
1208 | -// this.isRepeat = isRepeat; | |
1209 | -// } | |
1210 | -// | |
1211 | -// public String getUnit() { | |
1212 | -// return unit; | |
1213 | -// } | |
1214 | -// | |
1215 | -// public void setUnit(String unit) { | |
1216 | -// this.unit = unit; | |
1217 | -// } | |
1218 | -// } | |
1219 | -// | |
1220 | -// | |
1221 | -// | |
1222 | -// /** | |
1223 | -// * 妇科检查 | |
1224 | -// */ | |
1225 | -// public enum FkjcEnums{ | |
1226 | -// | |
1227 | -// A(1, "子宫",13,TypeEnums.WZ.getId(),0,""), | |
1228 | -// B(2, "宫颈",13,TypeEnums.WZ.getId(),0,""), | |
1229 | -// C(3, "附件",13,TypeEnums.WZ.getId(),0,""); | |
1230 | -// | |
1231 | -// private FkjcEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
1232 | -// this.id = id; | |
1233 | -// this.title = title; | |
1234 | -// this.parentId = parentId; | |
1235 | -// this.type = type; | |
1236 | -// this.isRepeat = isRepeat; | |
1237 | -// this.unit = unit; | |
1238 | -// } | |
1239 | -// private int id; | |
1240 | -// private String title; | |
1241 | -// private String unit; | |
1242 | -// private Integer parentId; | |
1243 | -// private Integer type; | |
1244 | -// private Integer isRepeat; | |
1245 | -// | |
1246 | -// public static String getTitleById(Integer id) | |
1247 | -// { | |
1248 | -// for(FkjcEnums s : FkjcEnums.values()) { | |
1249 | -// if (s.getId() == id) | |
1250 | -// { | |
1251 | -// return s.getTitle(); | |
1252 | -// } | |
1253 | -// | |
1254 | -// } | |
1255 | -// return ""; | |
1256 | -// } | |
1257 | -// | |
1258 | -// public int getId() { | |
1259 | -// return id; | |
1260 | -// } | |
1261 | -// | |
1262 | -// public String getTitle() { | |
1263 | -// return title; | |
1264 | -// } | |
1265 | -// | |
1266 | -// public Integer getParentId() { | |
1267 | -// return parentId; | |
1268 | -// } | |
1269 | -// | |
1270 | -// public void setParentId(Integer parentId) { | |
1271 | -// this.parentId = parentId; | |
1272 | -// } | |
1273 | -// | |
1274 | -// public Integer getType() { | |
1275 | -// return type; | |
1276 | -// } | |
1277 | -// | |
1278 | -// public void setType(Integer type) { | |
1279 | -// this.type = type; | |
1280 | -// } | |
1281 | -// | |
1282 | -// public Integer getIsRepeat() { | |
1283 | -// return isRepeat; | |
1284 | -// } | |
1285 | -// | |
1286 | -// public void setIsRepeat(Integer isRepeat) { | |
1287 | -// this.isRepeat = isRepeat; | |
1288 | -// } | |
1289 | -// | |
1290 | -// public String getUnit() { | |
1291 | -// return unit; | |
1292 | -// } | |
1293 | -// | |
1294 | -// public void setUnit(String unit) { | |
1295 | -// this.unit = unit; | |
1296 | -// } | |
1297 | -// } | |
1298 | -// | |
1299 | -// | |
1300 | -// | |
1301 | -// /** | |
1302 | -// * 既往史 | |
1303 | -// */ | |
1304 | -// public enum JwsEnums{ | |
1305 | -// | |
1306 | -// A(1, "循环系统类",14,TypeEnums.XL.getId(),0,""), | |
1307 | -// B(2, "呼吸系统类",14,TypeEnums.XL.getId(),0,""), | |
1308 | -// C(3, "泌尿系统类",14,TypeEnums.XL.getId(),0,""), | |
1309 | -// D(4, "消化系统类",14,TypeEnums.XL.getId(),0,""), | |
1310 | -// E(5, "血液系统类",14,TypeEnums.XL.getId(),0,""), | |
1311 | -// F(6, "内分泌系统类",14,TypeEnums.XL.getId(),0,""), | |
1312 | -// G(7, "代谢营养类",14,TypeEnums.XL.getId(),0,""), | |
1313 | -// H(8, "其他",14,TypeEnums.WZ.getId(),0,""); | |
1314 | -// | |
1315 | -// private JwsEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
1316 | -// this.id = id; | |
1317 | -// this.title = title; | |
1318 | -// this.parentId = parentId; | |
1319 | -// this.type = type; | |
1320 | -// this.isRepeat = isRepeat; | |
1321 | -// this.unit = unit; | |
1322 | -// } | |
1323 | -// private int id; | |
1324 | -// private String title; | |
1325 | -// private String unit; | |
1326 | -// private Integer parentId; | |
1327 | -// private Integer type; | |
1328 | -// private Integer isRepeat; | |
1329 | -// | |
1330 | -// public static String getTitleById(Integer id) | |
1331 | -// { | |
1332 | -// for(JwsEnums s : JwsEnums.values()) { | |
1333 | -// if (s.getId() == id) | |
1334 | -// { | |
1335 | -// return s.getTitle(); | |
1336 | -// } | |
1337 | -// | |
1338 | -// } | |
1339 | -// return ""; | |
1340 | -// } | |
1341 | -// | |
1342 | -// public int getId() { | |
1343 | -// return id; | |
1344 | -// } | |
1345 | -// | |
1346 | -// public String getTitle() { | |
1347 | -// return title; | |
1348 | -// } | |
1349 | -// | |
1350 | -// public Integer getParentId() { | |
1351 | -// return parentId; | |
1352 | -// } | |
1353 | -// | |
1354 | -// public void setParentId(Integer parentId) { | |
1355 | -// this.parentId = parentId; | |
1356 | -// } | |
1357 | -// | |
1358 | -// public Integer getType() { | |
1359 | -// return type; | |
1360 | -// } | |
1361 | -// | |
1362 | -// public void setType(Integer type) { | |
1363 | -// this.type = type; | |
1364 | -// } | |
1365 | -// | |
1366 | -// public Integer getIsRepeat() { | |
1367 | -// return isRepeat; | |
1368 | -// } | |
1369 | -// | |
1370 | -// public void setIsRepeat(Integer isRepeat) { | |
1371 | -// this.isRepeat = isRepeat; | |
1372 | -// } | |
1373 | -// | |
1374 | -// public String getUnit() { | |
1375 | -// return unit; | |
1376 | -// } | |
1377 | -// | |
1378 | -// public void setUnit(String unit) { | |
1379 | -// this.unit = unit; | |
1380 | -// } | |
1381 | -// } | |
1382 | -// | |
1383 | -// | |
1384 | -// | |
1385 | -// /** | |
1386 | -// * 传染病史 | |
1387 | -// */ | |
1388 | -// public enum CrbsEnums{ | |
1389 | -// | |
1390 | -// A(1, "乙肝",15,TypeEnums.SF.getId(),0,""), | |
1391 | -// B(2, "丙肝",15,TypeEnums.SF.getId(),0,""), | |
1392 | -// C(3, "艾滋",15,TypeEnums.SF.getId(),0,""), | |
1393 | -// D(4, "梅毒",15,TypeEnums.SF.getId(),0,""), | |
1394 | -// H(8, "其他",15,TypeEnums.WZ.getId(),0,""); | |
1395 | -// | |
1396 | -// private CrbsEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
1397 | -// this.id = id; | |
1398 | -// this.title = title; | |
1399 | -// this.parentId = parentId; | |
1400 | -// this.type = type; | |
1401 | -// this.isRepeat = isRepeat; | |
1402 | -// this.unit = unit; | |
1403 | -// } | |
1404 | -// private int id; | |
1405 | -// private String title; | |
1406 | -// private String unit; | |
1407 | -// private Integer parentId; | |
1408 | -// private Integer type; | |
1409 | -// private Integer isRepeat; | |
1410 | -// | |
1411 | -// public static String getTitleById(Integer id) | |
1412 | -// { | |
1413 | -// for(CrbsEnums s : CrbsEnums.values()) { | |
1414 | -// if (s.getId() == id) | |
1415 | -// { | |
1416 | -// return s.getTitle(); | |
1417 | -// } | |
1418 | -// | |
1419 | -// } | |
1420 | -// return ""; | |
1421 | -// } | |
1422 | -// | |
1423 | -// public int getId() { | |
1424 | -// return id; | |
1425 | -// } | |
1426 | -// | |
1427 | -// public String getTitle() { | |
1428 | -// return title; | |
1429 | -// } | |
1430 | -// | |
1431 | -// public Integer getParentId() { | |
1432 | -// return parentId; | |
1433 | -// } | |
1434 | -// | |
1435 | -// public void setParentId(Integer parentId) { | |
1436 | -// this.parentId = parentId; | |
1437 | -// } | |
1438 | -// | |
1439 | -// public Integer getType() { | |
1440 | -// return type; | |
1441 | -// } | |
1442 | -// | |
1443 | -// public void setType(Integer type) { | |
1444 | -// this.type = type; | |
1445 | -// } | |
1446 | -// | |
1447 | -// public Integer getIsRepeat() { | |
1448 | -// return isRepeat; | |
1449 | -// } | |
1450 | -// | |
1451 | -// public void setIsRepeat(Integer isRepeat) { | |
1452 | -// this.isRepeat = isRepeat; | |
1453 | -// } | |
1454 | -// | |
1455 | -// public String getUnit() { | |
1456 | -// return unit; | |
1457 | -// } | |
1458 | -// | |
1459 | -// public void setUnit(String unit) { | |
1460 | -// this.unit = unit; | |
1461 | -// } | |
1462 | -// } | |
1463 | -// | |
1464 | -// | |
1465 | -// | |
1466 | -// /** | |
1467 | -// * 产科检查 | |
1468 | -// */ | |
1469 | -// public enum CkjcEnums{ | |
1470 | -// | |
1471 | -// A(1, "宫高",16,TypeEnums.SZ.getId(),0,"cm"), | |
1472 | -// B(2, "腹围",16,TypeEnums.SZ.getId(),0,"cm"), | |
1473 | -// C(3, "浮肿",16,TypeEnums.XL.getId(),0,""), | |
1474 | -// D(4, "胎数=双胎",16,TypeEnums.WZ.getId(),0,""), | |
1475 | -// H(5, "胎数>双胎",16,TypeEnums.WZ.getId(),0,""); | |
1476 | -// | |
1477 | -// private CkjcEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
1478 | -// this.id = id; | |
1479 | -// this.title = title; | |
1480 | -// this.parentId = parentId; | |
1481 | -// this.type = type; | |
1482 | -// this.isRepeat = isRepeat; | |
1483 | -// this.unit = unit; | |
1484 | -// } | |
1485 | -// private int id; | |
1486 | -// private String title; | |
1487 | -// private String unit; | |
1488 | -// private Integer parentId; | |
1489 | -// private Integer type; | |
1490 | -// private Integer isRepeat; | |
1491 | -// | |
1492 | -// public static String getTitleById(Integer id) | |
1493 | -// { | |
1494 | -// for(CkjcEnums s : CkjcEnums.values()) { | |
1495 | -// if (s.getId() == id) | |
1496 | -// { | |
1497 | -// return s.getTitle(); | |
1498 | -// } | |
1499 | -// | |
1500 | -// } | |
1501 | -// return ""; | |
1502 | -// } | |
1503 | -// | |
1504 | -// public int getId() { | |
1505 | -// return id; | |
1506 | -// } | |
1507 | -// | |
1508 | -// public String getTitle() { | |
1509 | -// return title; | |
1510 | -// } | |
1511 | -// | |
1512 | -// public Integer getParentId() { | |
1513 | -// return parentId; | |
1514 | -// } | |
1515 | -// | |
1516 | -// public void setParentId(Integer parentId) { | |
1517 | -// this.parentId = parentId; | |
1518 | -// } | |
1519 | -// | |
1520 | -// public Integer getType() { | |
1521 | -// return type; | |
1522 | -// } | |
1523 | -// | |
1524 | -// public void setType(Integer type) { | |
1525 | -// this.type = type; | |
1526 | -// } | |
1527 | -// | |
1528 | -// public Integer getIsRepeat() { | |
1529 | -// return isRepeat; | |
1530 | -// } | |
1531 | -// | |
1532 | -// public void setIsRepeat(Integer isRepeat) { | |
1533 | -// this.isRepeat = isRepeat; | |
1534 | -// } | |
1535 | -// | |
1536 | -// public String getUnit() { | |
1537 | -// return unit; | |
1538 | -// } | |
1539 | -// | |
1540 | -// public void setUnit(String unit) { | |
1541 | -// this.unit = unit; | |
1542 | -// } | |
1543 | -// } | |
1544 | -// | |
1545 | -// | |
1546 | -// /** | |
1547 | -// * B超 | |
1548 | -// */ | |
1549 | -// public enum BcEnums{ | |
1550 | -// | |
1551 | -// A(1, "B超",16,TypeEnums.WZ.getId(),0,""); | |
1552 | -// | |
1553 | -// private BcEnums(int id, String title,Integer parentId,Integer type,Integer isRepeat,String unit) { | |
1554 | -// this.id = id; | |
1555 | -// this.title = title; | |
1556 | -// this.parentId = parentId; | |
1557 | -// this.type = type; | |
1558 | -// this.isRepeat = isRepeat; | |
1559 | -// this.unit = unit; | |
1560 | -// } | |
1561 | -// private int id; | |
1562 | -// private String title; | |
1563 | -// private String unit; | |
1564 | -// private Integer parentId; | |
1565 | -// private Integer type; | |
1566 | -// private Integer isRepeat; | |
1567 | -// | |
1568 | -// public static String getTitleById(Integer id) | |
1569 | -// { | |
1570 | -// for(BcEnums s : BcEnums.values()) { | |
1571 | -// if (s.getId() == id) | |
1572 | -// { | |
1573 | -// return s.getTitle(); | |
1574 | -// } | |
1575 | -// | |
1576 | -// } | |
1577 | -// return ""; | |
1578 | -// } | |
1579 | -// | |
1580 | -// public int getId() { | |
1581 | -// return id; | |
1582 | -// } | |
1583 | -// | |
1584 | -// public String getTitle() { | |
1585 | -// return title; | |
1586 | -// } | |
1587 | -// | |
1588 | -// public Integer getParentId() { | |
1589 | -// return parentId; | |
1590 | -// } | |
1591 | -// | |
1592 | -// public void setParentId(Integer parentId) { | |
1593 | -// this.parentId = parentId; | |
1594 | -// } | |
1595 | -// | |
1596 | -// public Integer getType() { | |
1597 | -// return type; | |
1598 | -// } | |
1599 | -// | |
1600 | -// public void setType(Integer type) { | |
1601 | -// this.type = type; | |
1602 | -// } | |
1603 | -// | |
1604 | -// public Integer getIsRepeat() { | |
1605 | -// return isRepeat; | |
1606 | -// } | |
1607 | -// | |
1608 | -// public void setIsRepeat(Integer isRepeat) { | |
1609 | -// this.isRepeat = isRepeat; | |
1610 | -// } | |
1611 | -// | |
1612 | -// public String getUnit() { | |
1613 | -// return unit; | |
1614 | -// } | |
1615 | -// | |
1616 | -// public void setUnit(String unit) { | |
1617 | -// this.unit = unit; | |
1618 | -// } | |
1619 | -// } | |
1620 | - | |
1621 | 511 | } |