mirror of
https://github.com/pcvolkmer/onkostar-plugin-dnpm.git
synced 2025-07-03 09:42:54 +00:00
Fix typo in method name
This commit is contained in:
@ -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)
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user