summaryrefslogtreecommitdiff
path: root/src/main/java/DNPM/services/systemtherapie
diff options
context:
space:
mode:
authorPaul-Christian Volkmer2023-09-25 13:53:09 +0200
committerPaul-Christian Volkmer2023-09-25 13:53:09 +0200
commit4949bfcc64fe7323458884121f10d2fdf95b1a73 (patch)
tree7a4ed0455f9223f6db1ab522d165ddb0db40fb0b /src/main/java/DNPM/services/systemtherapie
parent8c35642283a2bc27f66dea62db452f8f3b67ece4 (diff)
Fix typo in method name
Diffstat (limited to 'src/main/java/DNPM/services/systemtherapie')
-rw-r--r--src/main/java/DNPM/services/systemtherapie/DefaultSystemtherapieService.java4
-rw-r--r--src/main/java/DNPM/services/systemtherapie/SystemtherapieService.java2
2 files changed, 3 insertions, 3 deletions
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<String> 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<EcogStatusWithDate> ecogSatus(Patient patient) {
+ public List<EcogStatusWithDate> ecogStatus(Patient patient) {
return patient.getDiseases().stream()
.flatMap(disease -> onkostarApi.getProceduresForDiseaseByForm(disease.getId(), getFormName()).stream())
.filter(procedure -> procedure.getEditState() == ProcedureEditStateType.COMPLETED)
diff --git a/src/main/java/DNPM/services/systemtherapie/SystemtherapieService.java b/src/main/java/DNPM/services/systemtherapie/SystemtherapieService.java
index a664c05..ea26c0c 100644
--- a/src/main/java/DNPM/services/systemtherapie/SystemtherapieService.java
+++ b/src/main/java/DNPM/services/systemtherapie/SystemtherapieService.java
@@ -41,7 +41,7 @@ public interface SystemtherapieService {
* @param patient Der zu verwendende Patient
* @return Eine Liste mit Datum und ECOG-Status als String
*/
- List<EcogStatusWithDate> ecogSatus(Patient patient);
+ List<EcogStatusWithDate> ecogStatus(Patient patient);
/**
* Datenklasse zum Abbilden des ECOG-Status und Datum