blob: 865d11a1d97acf6402c56e376c58b939f8e60f97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
package dev.dnpm.services;
import dev.dnpm.dto.EcogStatusWithDate;
import de.itc.onkostar.api.Patient;
import java.util.List;
import java.util.Optional;
/**
* Schnittstelle zum Ermitteln von ECOG-Statusinformationen
*
* @since 0.6.0
*/
public interface TherapieMitEcogService {
/**
* Ermittelt den letzten bekannten ECOG-Status aus allen Therapieformularen des Patienten
* @param patient Der zu verwendende Patient
* @return Der ECOG-Status als String oder leeres Optional
*/
Optional<String> latestEcogStatus(Patient patient);
/**
* Ermittelt jeden bekannten ECOG-Status aus allen Therapieformularen des Patienten
* @param patient Der zu verwendende Patient
* @return Eine Liste mit Datum und ECOG-Status als String
*/
List<EcogStatusWithDate> ecogStatus(Patient patient);
}
|