use of org.mitre.synthea.modules.covid.C19ImmunizationModule in project synthea by synthetichealth.
the class Module method loadModules.
private static Map<String, ModuleSupplier> loadModules() {
Map<String, ModuleSupplier> retVal = new ConcurrentHashMap<>();
int submoduleCount = 0;
retVal.put("Lifecycle", new ModuleSupplier(new LifecycleModule()));
// retVal.put("Health Insurance", new ModuleSupplier(new HealthInsuranceModule()));
retVal.put("Cardiovascular Disease", new ModuleSupplier(new CardiovascularDiseaseModule()));
retVal.put("Quality Of Life", new ModuleSupplier(new QualityOfLifeModule()));
retVal.put("Weight Loss", new ModuleSupplier(new WeightLossModule()));
retVal.put("COVID-19 Immunization Module", new ModuleSupplier(new C19ImmunizationModule()));
Properties moduleOverrides = getModuleOverrides();
try {
Path modulesPath = getModulesPath();
submoduleCount = walkModuleTree(modulesPath, retVal, moduleOverrides, false);
} catch (Exception e) {
e.printStackTrace();
}
System.out.format("Scanned %d modules and %d submodules.\n", retVal.size() - submoduleCount, submoduleCount);
return retVal;
}
Aggregations