Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.data
Class TarmedOptifier

java.lang.Object
  extended by 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

Field Summary
static int EXKLUSION
           
static int INKLUSION
           
static int KOMBINATION
           
static int KUMULATION
           
static int LEISTUNGSTYP
           
static int NOMOREVALID
           
static int NOTYETVALID
           
static int OK
           
static int PREISAENDERUNG
           
 
Constructor Summary
TarmedOptifier()
           
 
Method Summary
 Result<IVerrechenbar> add(IVerrechenbar code, Konsultation kons)
          Eine Verrechnungsposition zufügen.
 Result<java.lang.Object> optify(Konsultation kons)
          Hier kann eine Konsultation als Ganzes nochmal überprüft werden
 Result<Verrechnet> remove(Verrechnet code, Konsultation kons)
          Eine Verrechnungsposition entfernen.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

TarmedOptifier

public TarmedOptifier()
Method Detail

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 code
kons - 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 code
kons - die KOnsultation
Returns:
Result mit der möglicherweise veränderten Liste

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis