From 4949bfcc64fe7323458884121f10d2fdf95b1a73 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Mon, 25 Sep 2023 13:53:09 +0200 Subject: Fix typo in method name --- .../DNPM/services/systemtherapie/DefaultSystemtherapieService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/DNPM/services/systemtherapie/DefaultSystemtherapieService.java') diff --git a/src/main/java/DNPM/services/systemtherapie/DefaultSystemtherapieService.java b/src/main/java/DNPM/services/systemtherapie/DefaultSystemtherapieService.java index 377e3d9..58b2b78 100644 --- a/src/main/java/DNPM/services/systemtherapie/DefaultSystemtherapieService.java +++ b/src/main/java/DNPM/services/systemtherapie/DefaultSystemtherapieService.java @@ -62,7 +62,7 @@ public class DefaultSystemtherapieService implements SystemtherapieService { */ @Override public Optional latestEcogStatus(Patient patient) { - return ecogSatus(patient).stream() + return ecogStatus(patient).stream() .max(Comparator.comparing(EcogStatusWithDate::getDate)) .map(EcogStatusWithDate::getStatus); } @@ -74,7 +74,7 @@ public class DefaultSystemtherapieService implements SystemtherapieService { * @return Eine Liste mit Datum und ECOG-Status als String */ @Override - public List ecogSatus(Patient patient) { + public List ecogStatus(Patient patient) { return patient.getDiseases().stream() .flatMap(disease -> onkostarApi.getProceduresForDiseaseByForm(disease.getId(), getFormName()).stream()) .filter(procedure -> procedure.getEditState() == ProcedureEditStateType.COMPLETED) -- cgit v1.2.3