Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.views
Interface PatListFilterBox.IPatFilter

All Known Implementing Classes:
PatFilterImpl
Enclosing class:
PatListFilterBox

public static interface PatListFilterBox.IPatFilter


Field Summary
static int ACCEPT
          The Patient is selected with the filter objct
static int DONT_HANDLE
          We do not handle this type of filter object
static int FILTER_FAULT
          We encountered an error while trying to filter
static int REJECT
          The Patient is not selected with the filter object
 
Method Summary
 boolean aboutToStart(IPersistentObject o)
           
 int accept(Patient p, IPersistentObject o)
          Will the Patient be accepted for the Filter depending on the Object?
 boolean finished(IPersistentObject o)
           
 

Field Detail

REJECT

static final int REJECT
The Patient is not selected with the filter object

See Also:
Constant Field Values

ACCEPT

static final int ACCEPT
The Patient is selected with the filter objct

See Also:
Constant Field Values

DONT_HANDLE

static final int DONT_HANDLE
We do not handle this type of filter object

See Also:
Constant Field Values

FILTER_FAULT

static final int FILTER_FAULT
We encountered an error while trying to filter

See Also:
Constant Field Values
Method Detail

accept

int accept(Patient p,
           IPersistentObject o)
Will the Patient be accepted for the Filter depending on the Object?

Parameters:
p - The Patient to consider
o - The Object to check
Returns:
one of REJECT, ACCEPT, DONT_HANDLE
Throws:
java.lang.Exception

aboutToStart

boolean aboutToStart(IPersistentObject o)

finished

boolean finished(IPersistentObject o)

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis