mirror of
https://github.com/pcvolkmer/onkostar-plugin-dnpm.git
synced 2025-07-04 18:12:55 +00:00
Extraktion des Mappings Prozedur zu Prozedurwerten und Auswahl des Mappers
Aktuell sind nur die beiden Formulare * OS.Systemische Therapie * OS.Systemische Therapie.VarianteUKW bekannt. Beide lassen sich über den extrahierten Mapper in eine Map mit Prozedurwerten mappen.
This commit is contained in:
@ -4,6 +4,8 @@ import DNPM.database.SettingsRepository;
|
||||
import DNPM.services.*;
|
||||
import DNPM.services.mtb.DefaultMtbService;
|
||||
import DNPM.services.mtb.MtbService;
|
||||
import DNPM.services.systemtherapie.DefaultSystemtherapieService;
|
||||
import DNPM.services.systemtherapie.SystemtherapieService;
|
||||
import de.itc.onkostar.api.IOnkostarApi;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
@ -42,6 +44,14 @@ public class PluginConfiguration {
|
||||
return new DefaultMtbService(onkostarApi);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public SystemtherapieService systemtherapieService(
|
||||
final IOnkostarApi onkostarApi,
|
||||
final SettingsService settingsService
|
||||
) {
|
||||
return new DefaultSystemtherapieService(onkostarApi, settingsService);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public TherapieplanServiceFactory therapieplanServiceFactory(
|
||||
final IOnkostarApi onkostarApi,
|
||||
|
Reference in New Issue
Block a user