1
0
mirror of https://github.com/pcvolkmer/onkostar-plugin-dnpm.git synced 2025-07-03 01:32:55 +00:00

Fix typo in method name

This commit is contained in:
2023-09-25 13:53:09 +02:00
parent 8c35642283
commit 4949bfcc64
7 changed files with 10 additions and 10 deletions

View File

@ -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)