Commit 6ee7ee14 authored by Marco Descher's avatar Marco Descher

Update productive target, fix Context

parent 968c0a99
Pipeline #9929 passed with stages
in 2 minutes and 22 seconds
......@@ -4,6 +4,7 @@ import java.util.Optional;
import java.util.concurrent.ConcurrentHashMap;
import ch.elexis.core.model.IContact;
import ch.elexis.core.model.ICoverage;
import ch.elexis.core.model.IMandator;
import ch.elexis.core.model.IPatient;
import ch.elexis.core.model.IUser;
......@@ -51,6 +52,18 @@ public class Context implements IContext {
public Optional<ICoverage> getActiveCoverage(){
// TODO Auto-generated method stub
return null;
public void setActiveCoverage(ICoverage coverage){
// TODO Auto-generated method stub
public Optional<IPatient> getActivePatient(){
return Optional.ofNullable((IPatient) context.get(ACTIVE_PATIENT));
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment