-
- All Implemented Interfaces:
-
java.io.Serializable
public class Diabetes extends Record implements Serializable
Diabetes Measurements are comprised of a user's blood glucose and hormone levels related to diabetes treatment and management.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
Diabetes.MealRelationship
Represents when a reading was taken in relation to food consumption.
public enum
Diabetes.Event
Represents the condition the user was in when taking a reading.
public enum
Diabetes.OutOfRange
Represents whether a blood glucose reading was in the accepted range of values as indicated by the glucose meter.
-
Field Summary
Fields Modifier and Type Field Description private BigDecimal
fastingPlasmaGlucoseTest
private BigDecimal
hba1c
private BigDecimal
insulin
private BigDecimal
oralGlucoseToleranceTest
private BigDecimal
randomPlasmaGlucoseTest
private BigDecimal
triglyceride
private BigDecimal
bloodGlucose
-
Constructor Summary
Constructors Constructor Description Diabetes()
Diabetes Measurements are comprised of a user's blood glucose and hormone levels related to diabetes treatment and management. Diabetes(Peripheral peripheral)
Base class for all objects that represent health records initialized with a BluetoothPeripheral.
-
Method Summary
Modifier and Type Method Description BigDecimal
getFastingPlasmaGlucoseTest()
The value of the measured quantity in mg/dL void
setFastingPlasmaGlucoseTest(BigDecimal fastingPlasmaGlucoseTest)
The value of the measured quantity in mg/dL BigDecimal
getHba1c()
The value of the measured quantity in % void
setHba1c(BigDecimal hba1c)
The value of the measured quantity in % BigDecimal
getInsulin()
The value of the measured quantity in U void
setInsulin(BigDecimal insulin)
The value of the measured quantity in U BigDecimal
getOralGlucoseToleranceTest()
The value of the measured quantity in mg/dL void
setOralGlucoseToleranceTest(BigDecimal oralGlucoseToleranceTest)
The value of the measured quantity in mg/dL BigDecimal
getRandomPlasmaGlucoseTest()
The value of the measured quantity in mg/dL void
setRandomPlasmaGlucoseTest(BigDecimal randomPlasmaGlucoseTest)
The value of the measured quantity in mg/dL BigDecimal
getTriglyceride()
The value of the measured quantity in mg/dL void
setTriglyceride(BigDecimal triglyceride)
The value of the measured quantity in mg/dL BigDecimal
getBloodGlucose()
The value of the measured quantity in mg/dL void
setBloodGlucose(BigDecimal bloodGlucose)
The value of the measured quantity in mg/dL BigDecimal
getcPeptide()
The value of the measured quantity in ng/mL void
setcPeptide(BigDecimal cPeptide)
The value of the measured quantity in ng/mL BigDecimal
getBloodGlucoseWithUnit(Unit.Glucose unit)
The value of the measured quantity in specified com.validic.mobile.record.Unit.Glucose void
setBloodGlucoseWithUnit(BigDecimal bloodGlucose, Unit.Glucose unit)
Set the glucose value of the record after converting from the specified com.validic.mobile.record.Unit.Glucose to mg/dl Diabetes.MealRelationship
getMealRelationship()
Retrieve when the reading was taken in relation to food consumption. void
setMealRelationship(@Nullable() Diabetes.MealRelationship mealRelationship)
Set when the reading was taken in relation to food consumption. Diabetes.Event
getEvent()
Retrieve the diabetes event associated with this reading. void
setEvent(Diabetes.Event event)
Set the diabetes event associated with this reading. Diabetes.OutOfRange
getOutOfRange()
Retrieve if glucose reading reported out of range. void
setOutOfRange(Diabetes.OutOfRange outOfRange)
Sets whether the glucose reading reported out of range. -
Methods inherited from class com.validic.mobile.record.Record
createSummary, getActivityID, getComment, getExtra, getExtras, getHashedString, getIdentifier, getIntermediarySource, getLastUpdated, getMedia, getOriginalSource, getPeripheral, getQueueId, getRecordID, getRecordType, getSource, getSourceName, getSourcePeripheral, getTimestamp, getUtcOffset, getValidated, isSHealthRecord, newRecordFromPeripheral, newRecordWithType, setActivityID, setComment, setHashedActivityId, setIntermediarySource, setLastUpdated, setMedia, setOriginalSource, setPeripheral, setRecordID, setRecordType, setSource, setSourceName, setSourcePeripheral, setTimeStampToMidnight, setTimestamp, setTimestamp, setUtcOffset, setValidated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Diabetes
Diabetes()
Diabetes Measurements are comprised of a user's blood glucose and hormone levels related to diabetes treatment and management.
-
Diabetes
Diabetes(Peripheral peripheral)
Base class for all objects that represent health records initialized with a BluetoothPeripheral.
-
-
Method Detail
-
getFastingPlasmaGlucoseTest
BigDecimal getFastingPlasmaGlucoseTest()
The value of the measured quantity in mg/dL
-
setFastingPlasmaGlucoseTest
void setFastingPlasmaGlucoseTest(BigDecimal fastingPlasmaGlucoseTest)
The value of the measured quantity in mg/dL
-
getHba1c
BigDecimal getHba1c()
The value of the measured quantity in %
-
setHba1c
void setHba1c(BigDecimal hba1c)
The value of the measured quantity in %
-
getInsulin
BigDecimal getInsulin()
The value of the measured quantity in U
-
setInsulin
void setInsulin(BigDecimal insulin)
The value of the measured quantity in U
-
getOralGlucoseToleranceTest
BigDecimal getOralGlucoseToleranceTest()
The value of the measured quantity in mg/dL
-
setOralGlucoseToleranceTest
void setOralGlucoseToleranceTest(BigDecimal oralGlucoseToleranceTest)
The value of the measured quantity in mg/dL
-
getRandomPlasmaGlucoseTest
BigDecimal getRandomPlasmaGlucoseTest()
The value of the measured quantity in mg/dL
-
setRandomPlasmaGlucoseTest
void setRandomPlasmaGlucoseTest(BigDecimal randomPlasmaGlucoseTest)
The value of the measured quantity in mg/dL
-
getTriglyceride
BigDecimal getTriglyceride()
The value of the measured quantity in mg/dL
-
setTriglyceride
void setTriglyceride(BigDecimal triglyceride)
The value of the measured quantity in mg/dL
-
getBloodGlucose
BigDecimal getBloodGlucose()
The value of the measured quantity in mg/dL
-
setBloodGlucose
void setBloodGlucose(BigDecimal bloodGlucose)
The value of the measured quantity in mg/dL
-
getcPeptide
BigDecimal getcPeptide()
The value of the measured quantity in ng/mL
-
setcPeptide
void setcPeptide(BigDecimal cPeptide)
The value of the measured quantity in ng/mL
-
getBloodGlucoseWithUnit
BigDecimal getBloodGlucoseWithUnit(Unit.Glucose unit)
The value of the measured quantity in specified com.validic.mobile.record.Unit.Glucose
-
setBloodGlucoseWithUnit
void setBloodGlucoseWithUnit(BigDecimal bloodGlucose, Unit.Glucose unit)
Set the glucose value of the record after converting from the specified com.validic.mobile.record.Unit.Glucose to mg/dl
-
getMealRelationship
Diabetes.MealRelationship getMealRelationship()
Retrieve when the reading was taken in relation to food consumption.
-
setMealRelationship
void setMealRelationship(@Nullable() Diabetes.MealRelationship mealRelationship)
Set when the reading was taken in relation to food consumption.
-
getEvent
Diabetes.Event getEvent()
Retrieve the diabetes event associated with this reading.
-
setEvent
void setEvent(Diabetes.Event event)
Set the diabetes event associated with this reading.
-
getOutOfRange
Diabetes.OutOfRange getOutOfRange()
Retrieve if glucose reading reported out of range.
-
setOutOfRange
void setOutOfRange(Diabetes.OutOfRange outOfRange)
Sets whether the glucose reading reported out of range.
-
-
-
-