|
Parkinson Disease Database | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspirals.motol.database.Visit
public class Visit
Class representing one visit at doctor for pacient.
Copyright: Copyright (c) 2005 Jan Dolezel
Company: ÈVUT FEL, Prague
Field Summary | |
---|---|
static java.lang.String |
actionLeftAttr
name of visit's left-hand rest action attribute |
static java.lang.String |
actionRightAttr
name of visit's right-hand rest action attribute |
(package private) int |
actionTremorLeft
action tremor in left hand |
(package private) int |
actionTremorRight
action tremor in right hand |
private java.util.List<Data> |
data
list of captured data |
private java.util.Date |
date
date of visit |
private java.lang.String |
diagnose
diagnose for visit |
static java.lang.String |
diagnoseTag
name of diagnose tag |
private Engine |
engine
engine |
static java.lang.String |
fileFormat
format for visit's stored file |
private java.lang.String |
memo
comment for visit |
static java.lang.String |
memoTag
name of comment tag |
(package private) int |
openingLeft
opening left hand |
(package private) int |
openingRight
opening right hand |
static java.lang.String |
openLeftAttr
name of visit's left-hand opening attribute |
static java.lang.String |
openRightAttr
name of visit's right-hand opening attribute |
private Pacient |
pacient
pacient whom visit belongs to |
static java.lang.String |
postLeftAttr
name of visit's left-hand rest postural attribute |
static java.lang.String |
postRightAttr
name of visit's right-hand rest postural attribute |
(package private) int |
posturalTremorLeft
postural tremor in left hand |
(package private) int |
posturalTremorRight
postural tremor in right hand |
static java.lang.String |
restLeftAttr
name of visit's left-hand rest tremor attribute |
static java.lang.String |
restRightAttr
name of visit's right-hand rest tremor attribute |
(package private) int |
restTremorLeft
rest tremor in left hand |
(package private) int |
restTremorRight
rest tremor in right hand |
static java.lang.String |
tapLeftAttr
name of visit's left-hand tapping attribute |
(package private) int |
tappingLeft
tapping with left hand |
(package private) int |
tappingRight
tapping with right hand |
static java.lang.String |
tapRightAttr
name of visit's right-hand tapping attribute |
private TestList |
tests
|
private boolean |
valid
validity of diagnose |
static java.lang.String |
validAttr
name of visit's valid diagnose attribute |
static java.lang.String |
visitTag
name of visit tag (root element) |
Constructor Summary | |
---|---|
private |
Visit(Engine engine,
Pacient pacient)
common inicialization |
|
Visit(Engine engine,
Pacient pacient,
java.io.File file)
loads visit for pacient from file Each visit XML file contains information about one visit at doctor and about data captured at this visit with filenames of archivess with these tablet data. |
|
Visit(Engine engine,
Pacient pacient,
Visit visit)
create new visit for pacient from last visit If last visit exists, its information are used for creating new visit. |
Method Summary | |
---|---|
void |
addData(Data data)
add captured data to list |
boolean |
equals(java.lang.Object o)
test of equality of two visits |
int |
getActionTremorLeft()
return left-hand action tremor |
int |
getActionTremorRight()
return right-hand action tremor |
java.util.List<Data> |
getData()
return list of captured data |
java.lang.String |
getDiagnose()
return diagnose |
org.jdom.Element |
getElement()
return XML representation of visit Tremor measure, comment, diagnose etc. |
java.io.File |
getFile()
return file where is visit stored on disk |
java.lang.String |
getMemo()
return comment |
int |
getOpeningLeft()
return left-hand opening |
int |
getOpeningRight()
return right-hand opening |
Pacient |
getPacient()
return parent pacient |
int |
getPosturalTremorLeft()
return left-hand postural tremor |
int |
getPosturalTremorRight()
return right-hand postural tremor |
int |
getRestTremorLeft()
return left-hand rest tremor |
int |
getRestTremorRight()
return right-hand rest tremor |
int |
getTappingLeft()
return left-hand tapping |
int |
getTappingRight()
return right-hand tapping |
TestList |
getTestList()
return histogram of captured data types |
java.util.Date |
getVisitDate()
return date of visit |
boolean |
isValid()
return validity of diagnose |
private void |
loadFromElement(org.jdom.Element root)
load information from XML element |
void |
save()
store visit to disk |
void |
setActionTremorLeft(int value)
set left-hand action tremor |
void |
setActionTremorRight(int value)
set right-hand action tremor |
void |
setDiagnose(java.lang.String diagnose)
set new diagnose |
void |
setMemo(java.lang.String memo)
set new comment |
void |
setOpeningLeft(int value)
set left-hand opening |
void |
setOpeningRight(int value)
set right-hand opening |
void |
setPosturalTremorLeft(int value)
set left-hand postural tremor |
void |
setPosturalTremorRight(int value)
set right-hand postural tremor |
void |
setRestTremorLeft(int value)
set left-hand rest tremor |
void |
setRestTremorRight(int value)
set right-hand rest tremor |
void |
setTappingLeft(int value)
set left-hand tapping |
void |
setTappingRight(int value)
set right-hand tapping |
void |
setValid(boolean valid)
set validity of diagnose |
void |
setVisitDate(java.util.Date date)
set date of visit |
java.lang.String |
toString()
return text representation of visit = date: DD. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.util.Date date
private Pacient pacient
private Engine engine
private java.util.List<Data> data
private TestList tests
private java.lang.String memo
private java.lang.String diagnose
private boolean valid
int restTremorLeft
int restTremorRight
int posturalTremorLeft
int posturalTremorRight
int actionTremorLeft
int actionTremorRight
int openingLeft
int openingRight
int tappingLeft
int tappingRight
public static final java.lang.String fileFormat
public static final java.lang.String visitTag
public static final java.lang.String memoTag
public static final java.lang.String diagnoseTag
public static final java.lang.String validAttr
public static final java.lang.String restLeftAttr
public static final java.lang.String restRightAttr
public static final java.lang.String postLeftAttr
public static final java.lang.String postRightAttr
public static final java.lang.String actionLeftAttr
public static final java.lang.String actionRightAttr
public static final java.lang.String openLeftAttr
public static final java.lang.String openRightAttr
public static final java.lang.String tapLeftAttr
public static final java.lang.String tapRightAttr
Constructor Detail |
---|
public Visit(Engine engine, Pacient pacient, Visit visit)
If last visit exists, its information are used for creating new visit.
public Visit(Engine engine, Pacient pacient, java.io.File file)
Each visit XML file contains information about one visit at doctor and about data captured at this visit with filenames of archivess with these tablet data.
private Visit(Engine engine, Pacient pacient)
Method Detail |
---|
private void loadFromElement(org.jdom.Element root)
public org.jdom.Element getElement()
Tremor measure, comment, diagnose etc. Also list of data captured at this visit.
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public Pacient getPacient()
public java.util.List<Data> getData()
public java.util.Date getVisitDate()
public java.lang.String getMemo()
public java.lang.String getDiagnose()
public boolean isValid()
public void setMemo(java.lang.String memo)
public void setDiagnose(java.lang.String diagnose)
public void setValid(boolean valid)
public void setVisitDate(java.util.Date date)
public int getRestTremorLeft()
public int getRestTremorRight()
public int getPosturalTremorLeft()
public int getPosturalTremorRight()
public int getActionTremorLeft()
public int getActionTremorRight()
public int getOpeningLeft()
public int getOpeningRight()
public int getTappingLeft()
public int getTappingRight()
public void setRestTremorLeft(int value)
public void setRestTremorRight(int value)
public void setPosturalTremorLeft(int value)
public void setPosturalTremorRight(int value)
public void setActionTremorLeft(int value)
public void setActionTremorRight(int value)
public void setOpeningLeft(int value)
public void setOpeningRight(int value)
public void setTappingLeft(int value)
public void setTappingRight(int value)
public void save()
public java.io.File getFile()
public void addData(Data data)
public TestList getTestList()
|
Parkinson Disease Database | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |