1
0
mirror of https://github.com/pcvolkmer/onkostar-plugin-dnpm.git synced 2025-07-04 18:12:55 +00:00

Issue #20: Detailimplementierungen für Consent Management

This commit is contained in:
2023-04-03 14:34:32 +02:00
parent d548c5e5a3
commit a97d76e5bb
10 changed files with 313 additions and 117 deletions

View File

@ -2,6 +2,7 @@ package DNPM.config;
import DNPM.database.SettingsRepository;
import DNPM.services.*;
import DNPM.services.consent.ConsentManagerServiceFactory;
import DNPM.services.mtb.DefaultMtbService;
import DNPM.services.mtb.MtbService;
import DNPM.services.systemtherapie.DefaultSystemtherapieService;
@ -52,6 +53,11 @@ public class PluginConfiguration {
return new DefaultSystemtherapieService(onkostarApi, settingsService);
}
@Bean
public ConsentManagerServiceFactory consentManagerServiceFactory(final IOnkostarApi onkostarApi) {
return new ConsentManagerServiceFactory(onkostarApi);
}
@Bean
public TherapieplanServiceFactory therapieplanServiceFactory(
final IOnkostarApi onkostarApi,