|
@ -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;
|
|
|
}
|
|
|
}
|