Bladeren bron

添加 妇幼事件类型 初始化

huangzhiyong 6 jaren geleden
bovenliggende
commit
ce9b376bb6
1 gewijzigde bestanden met toevoegingen van 6 en 1 verwijderingen
  1. 6 1
      src/main/java/com/yihu/ehr/analyze/config/RequireDatasetsConfig.java

+ 6 - 1
src/main/java/com/yihu/ehr/analyze/config/RequireDatasetsConfig.java

@ -19,7 +19,7 @@ public class RequireDatasetsConfig {
    private List<String> clinic = new ArrayList<>();
    private List<String> resident = new ArrayList<>();
    private List<String> medicalExam = new ArrayList<>();
    private List<String> maternalAndChild = new ArrayList<>();
    public List<String> getRequireDataset(EventType eventType) {
        switch (eventType) {
            case Clinic:
@ -28,6 +28,8 @@ public class RequireDatasetsConfig {
                return resident;
            case MedicalExam:
                return medicalExam;
            case MaternalAndChild:
                return maternalAndChild;
            default:
                throw new AnalyzerException("Unknown event type " + eventType);
        }
@ -45,4 +47,7 @@ public class RequireDatasetsConfig {
        return medicalExam;
    }
    public List<String> getMaternalAndChild() {
        return maternalAndChild;
    }
}