mirror of
https://github.com/pcvolkmer/onkostar-plugin-dnpm.git
synced 2025-07-03 17:52:53 +00:00
Zusätzliche Prüfung auf Formularname vor Consentübernahme hinzugefügt
Diese zusätzliche Prüfung ermöglicht die Erkennung, ob der aktuell ausgewählte ConsentManagerService die entsprechende Prozedur bearbeiten und Consent-Daten in das Formular "DNPM-Klinik/Anamnese" übernehmen kann. Die Standardimplementierung prüft dabei nur, ob die Prozedur nicht `null` ist.
This commit is contained in:
@ -23,6 +23,11 @@ public class UkwConsentManagerService implements ConsentManagerService {
|
||||
this.onkostarApi = onkostarApi;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canApply(Procedure procedure) {
|
||||
return null != procedure && procedure.getFormName().equals("Excel-Formular");
|
||||
}
|
||||
|
||||
/**
|
||||
* Wende Consent an, wenn dieses Consent-Formular gespeichert wird
|
||||
*
|
||||
|
Reference in New Issue
Block a user