ch.elexis.impfplan.model
Class VaccinationType
java.lang.Object
ch.elexis.data.PersistentObject
ch.elexis.impfplan.model.VaccinationType
- All Implemented Interfaces:
- IPersistentObject, ISelectable
public class VaccinationType
- extends PersistentObject
Fields inherited from class ch.elexis.data.PersistentObject |
CACHE_DEFAULT_LIFETIME, CACHE_MIN_LIFETIME, CFG_CONNECTSTRING, CFG_DRIVER, CFG_PWD, CFG_TYPE, CFG_USER, DELETED, EXISTS, INEXISTENT, INVALID_ID, MATCH_AUTO, MATCH_CONTAINS, MATCH_EXACT, MATCH_REGEXP, MATCH_START |
Constructor Summary |
VaccinationType(java.lang.String name,
java.lang.String subst)
|
Methods inherited from class ch.elexis.data.PersistentObject |
addChangeListener, addSticker, addToList, addXid, begin, checkNull, checkZero, checkZeroDouble, clearCache, connect, connect, delete, deleteList, disconnect, equals, executeSQLScript, exists, exportData, fireChangeEvent, flatten, fold, get, get, getCacheTime, getConnection, getDefaultCacheLifetime, getFieldType, getId, getInt, getLastUpdate, getList, getList, getMap, getSticker, getStickers, getWrappedId, getXid, getXid, getXids, hashCode, isAvailable, isDeleted, isDragOK, isMatching, isMatching, isMatching, isMatching, isShowDeleted, isValid, lock, map, relock, removeChangeListener, removeFromList, removeFromList, removeSticker, resetCache, set, set, setDefaultCacheLifetime, setInt, setMap, setShowDeleted, setTrace, state, storeToString, tableExists, ts, undelete, unlock |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
RECOMMENDED_AGE
public static final java.lang.String RECOMMENDED_AGE
- See Also:
- Constant Field Values
REMARKS
public static final java.lang.String REMARKS
- See Also:
- Constant Field Values
DELAY_REP
public static final java.lang.String DELAY_REP
- See Also:
- Constant Field Values
DELAY3TO4
public static final java.lang.String DELAY3TO4
- See Also:
- Constant Field Values
DELAY2TO3
public static final java.lang.String DELAY2TO3
- See Also:
- Constant Field Values
DELAY1TO2
public static final java.lang.String DELAY1TO2
- See Also:
- Constant Field Values
PRODUCT
public static final java.lang.String PRODUCT
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
VaccinationType
public VaccinationType(java.lang.String name,
java.lang.String subst)
load
public static VaccinationType load(java.lang.String id)
getLabel
public java.lang.String getLabel()
- Description copied from class:
PersistentObject
- Einen menschenlesbaren Identifikationsstring für dieses Objet liefern
- Specified by:
getLabel
in interface IPersistentObject
- Specified by:
getLabel
in class PersistentObject
calcDays
public static Tuple calcDays(java.lang.String inputDef)
throws ElexisException
- An input definition can be such as 12y- or 3m-2y or -20y and so on possible suffixes are:
y,a,j: years, m: months, w,s: weeks. If suffix is omitted, y is assumed -x will be
interpreted as 0-x, x- will be interpreted as x-150y
- Parameters:
inputDef
-
- Returns:
-
- Throws:
ElexisException
findDueFor
public static java.util.List<VaccinationType> findDueFor(Patient pat)
throws ElexisException
- Throws:
ElexisException
isInRange
public static boolean isInRange(Patient p,
TimeTool base,
Tuple t)
Copyright 2005-2011 by Gerry Weirich, Elexis