ch.elexis.data
Class TarmedOptifier
java.lang.Object
ch.elexis.data.TarmedOptifier
- All Implemented Interfaces:
- IOptifier
public class TarmedOptifier
- extends java.lang.Object
- implements IOptifier
Dies ist eine Beispielimplementation des IOptifier Interfaces, welches einige einfache Checks von
Tarmed-Verrechnungen durchführt
- Author:
- gerry
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OK
public static final int OK
- See Also:
- Constant Field Values
PREISAENDERUNG
public static final int PREISAENDERUNG
- See Also:
- Constant Field Values
KUMULATION
public static final int KUMULATION
- See Also:
- Constant Field Values
KOMBINATION
public static final int KOMBINATION
- See Also:
- Constant Field Values
EXKLUSION
public static final int EXKLUSION
- See Also:
- Constant Field Values
INKLUSION
public static final int INKLUSION
- See Also:
- Constant Field Values
LEISTUNGSTYP
public static final int LEISTUNGSTYP
- See Also:
- Constant Field Values
NOTYETVALID
public static final int NOTYETVALID
- See Also:
- Constant Field Values
NOMOREVALID
public static final int NOMOREVALID
- See Also:
- Constant Field Values
TarmedOptifier
public TarmedOptifier()
optify
public Result<java.lang.Object> optify(Konsultation kons)
- Hier kann eine Konsultation als Ganzes nochmal überprüft werden
- Specified by:
optify
in interface IOptifier
add
public Result<IVerrechenbar> add(IVerrechenbar code,
Konsultation kons)
- Eine Verrechnungsposition zufügen. Der Optifier muss prüfen, ob die Verrechnungsposition im
Kontext der übergebenen Konsultation verwendet werden kann und kann sie ggf. zurückweisen
oder modifizieren.
- Specified by:
add
in interface IOptifier
- Parameters:
code
- der hinzuzufügende codekons
- die Konsultation
- Returns:
- Result mit der möglicherweise veränderten Liste
remove
public Result<Verrechnet> remove(Verrechnet code,
Konsultation kons)
- Eine Verrechnungsposition entfernen. Der Optifier sollte prüfen, ob die Konsultation nach
Entfernung dieses Codes noch konsistent verrechnet wäre und ggf. anpassen oder das Entfernen
verweigern. Diese Version macht keine Prüfungen, sondern erfüllt nur die Anfrage..
- Specified by:
remove
in interface IOptifier
- Parameters:
code
- der zu enfternende codekons
- die KOnsultation
- Returns:
- Result mit der möglicherweise veränderten Liste
Copyright 2005-2011 by Gerry Weirich, Elexis