org.domain.rhims.entity
Class PulseGuideline
java.lang.Object
org.domain.rhims.entity.DataGuideline
org.domain.rhims.entity.PulseGuideline
- All Implemented Interfaces:
- java.io.Serializable
@Name(value="pulseGuideline")
public class PulseGuideline
- extends DataGuideline
The PulseGuideline class extends the basic DataGuideline to handle pulse medical
data values. Currently it contains an upper and a lower boundary value, but in the
future will be extended to handle a more detailed range.
- Author:
- Mitch Williams
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PulseGuideline
public PulseGuideline(CaseFile caseFile,
double lowerBound,
double upperBound)
PulseGuideline
public PulseGuideline()
check
public int check(double value)
- Description copied from class:
DataGuideline
- Perform a "check" of the supplied value and return if it was
above, below, or within the set guideline values.
- Specified by:
check in class DataGuideline
- Parameters:
value - the actual medical data value to check
- Returns:
- 1 if above, -1 if below, 0 if OK
getGuidelineTypeDescription
public java.lang.String getGuidelineTypeDescription()
- Description copied from class:
DataGuideline
- Get the string description of what medical data value this guideline is for.
- Specified by:
getGuidelineTypeDescription in class DataGuideline
- Returns:
- the string description
getLowerBound
public double getLowerBound()
setLowerBound
public void setLowerBound(double lowerBound)
getUpperBound
public double getUpperBound()
setUpperBound
public void setUpperBound(double upperBound)
getGuidelineDescription
public java.lang.String getGuidelineDescription()
- Specified by:
getGuidelineDescription in class DataGuideline