Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectActiveCaloriesBurned",
"doc": "Health Connect ActiveCaloriesBurnedRecord. Active energy expenditure over the time interval, excluding basal metabolic rate.",
"fields": [
{ "name": "time", "type": "double", "doc": "Start time of the interval in UTC (s)." },
{ "name": "endTime", "type": "double", "doc": "End time of the interval in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "energy", "type": "double", "doc": "Active energy burned in kilocalories." },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectBasalBodyTemperature",
"doc": "Health Connect BasalBodyTemperatureRecord. Body temperature measured at rest, typically upon waking.",
"fields": [
{ "name": "time", "type": "double", "doc": "Measurement timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "temperature", "type": "float", "doc": "Basal body temperature in degrees Celsius." },
{ "name": "measurementLocation", "type": ["null", "string"], "doc": "Where the temperature was measured (ARMPIT, FINGER, FOREHEAD, MOUTH, RECTUM, TEMPORAL_ARTERY, TOE, EAR, WRIST, VAGINA). Null if unknown.", "default": null },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectBasalMetabolicRate",
"doc": "Health Connect BasalMetabolicRateRecord. Basal metabolic rate at rest.",
"fields": [
{ "name": "time", "type": "double", "doc": "Measurement timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "basalMetabolicRate", "type": "double", "doc": "Basal metabolic rate in kilocalories per day." },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
16 changes: 16 additions & 0 deletions commons/active/healthconnect/healthconnect_blood_glucose.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectBloodGlucose",
"doc": "Health Connect BloodGlucoseRecord. A single blood glucose measurement.",
"fields": [
{ "name": "time", "type": "double", "doc": "Measurement timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "level", "type": "float", "doc": "Blood glucose level in millimoles per liter (mmol/L)." },
{ "name": "specimenSource", "type": ["null", "string"], "doc": "Specimen source (INTERSTITIAL_FLUID, CAPILLARY_BLOOD, PLASMA, SERUM, TEARS, WHOLE_BLOOD). Null if unknown.", "default": null },
{ "name": "mealType", "type": ["null", "string"], "doc": "Type of meal (BREAKFAST, LUNCH, DINNER, SNACK, UNKNOWN). Null if not set.", "default": null },
{ "name": "relationToMeal", "type": ["null", "string"], "doc": "Relation to meal (BEFORE_MEAL, AFTER_MEAL, FASTING, GENERAL). Null if unknown.", "default": null },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
16 changes: 16 additions & 0 deletions commons/active/healthconnect/healthconnect_blood_pressure.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectBloodPressure",
"doc": "Health Connect BloodPressureRecord. A single blood pressure reading.",
"fields": [
{ "name": "time", "type": "double", "doc": "Measurement timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "systolic", "type": "float", "doc": "Systolic blood pressure in mmHg." },
{ "name": "diastolic", "type": "float", "doc": "Diastolic blood pressure in mmHg." },
{ "name": "bodyPosition", "type": ["null", "string"], "doc": "Body position during measurement (STANDING_UP, SITTING_DOWN, LYING_DOWN, RECLINING). Null if unknown.", "default": null },
{ "name": "measurementLocation", "type": ["null", "string"], "doc": "Measurement location (LEFT_WRIST, RIGHT_WRIST, LEFT_UPPER_ARM, RIGHT_UPPER_ARM). Null if unknown.", "default": null },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
13 changes: 13 additions & 0 deletions commons/active/healthconnect/healthconnect_body_fat.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectBodyFat",
"doc": "Health Connect BodyFatRecord. Body fat percentage measurement.",
"fields": [
{ "name": "time", "type": "double", "doc": "Measurement timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "percentage", "type": "float", "doc": "Body fat as a percentage." },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
14 changes: 14 additions & 0 deletions commons/active/healthconnect/healthconnect_body_temperature.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectBodyTemperature",
"doc": "Health Connect BodyTemperatureRecord. A single body temperature measurement.",
"fields": [
{ "name": "time", "type": "double", "doc": "Measurement timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "temperature", "type": "float", "doc": "Body temperature in degrees Celsius." },
{ "name": "measurementLocation", "type": ["null", "string"], "doc": "Where the temperature was measured (ARMPIT, FINGER, FOREHEAD, MOUTH, RECTUM, TEMPORAL_ARTERY, TOE, EAR, WRIST, VAGINA). Null if unknown.", "default": null },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
13 changes: 13 additions & 0 deletions commons/active/healthconnect/healthconnect_body_water_mass.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectBodyWaterMass",
"doc": "Health Connect BodyWaterMassRecord. Body water mass measurement.",
"fields": [
{ "name": "time", "type": "double", "doc": "Measurement timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "mass", "type": "double", "doc": "Body water mass in kilograms." },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
13 changes: 13 additions & 0 deletions commons/active/healthconnect/healthconnect_bone_mass.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectBoneMass",
"doc": "Health Connect BoneMassRecord. Bone mass measurement.",
"fields": [
{ "name": "time", "type": "double", "doc": "Measurement timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "mass", "type": "double", "doc": "Bone mass in kilograms." },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
14 changes: 14 additions & 0 deletions commons/active/healthconnect/healthconnect_distance.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectDistance",
"doc": "Health Connect DistanceRecord. Distance covered over the time interval.",
"fields": [
{ "name": "time", "type": "double", "doc": "Start time of the interval in UTC (s)." },
{ "name": "endTime", "type": "double", "doc": "End time of the interval in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "distance", "type": "double", "doc": "Distance covered in meters." },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
16 changes: 16 additions & 0 deletions commons/active/healthconnect/healthconnect_exercise_session.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectExerciseSession",
"doc": "Health Connect ExerciseSessionRecord. One record per exercise session.",
"fields": [
{ "name": "time", "type": "double", "doc": "Start time of the exercise in UTC (s)." },
{ "name": "endTime", "type": "double", "doc": "End time of the exercise in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "exerciseType", "type": ["null", "string"], "doc": "Type of exercise (e.g. RUNNING, WALKING, BIKING, SWIMMING, YOGA). Null if unknown.", "default": null },
{ "name": "title", "type": ["null", "string"], "doc": "Title of the exercise session. Null if not set.", "default": null },
{ "name": "notes", "type": ["null", "string"], "doc": "Notes for the exercise session. Null if not set.", "default": null },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
14 changes: 14 additions & 0 deletions commons/active/healthconnect/healthconnect_floors_climbed.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectFloorsClimbed",
"doc": "Health Connect FloorsClimbedRecord. Number of floors climbed over the time interval.",
"fields": [
{ "name": "time", "type": "double", "doc": "Start time of the interval in UTC (s)." },
{ "name": "endTime", "type": "double", "doc": "End time of the interval in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "floors", "type": "double", "doc": "Number of floors climbed." },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
13 changes: 13 additions & 0 deletions commons/active/healthconnect/healthconnect_heart_rate.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectHeartRate",
"doc": "Health Connect HeartRateRecord sample. Each record is a single instantaneous heart-rate observation.",
"fields": [
{ "name": "time", "type": "double", "doc": "Sample timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "beatsPerMinute", "type": "int", "doc": "Heart rate in beats per minute." },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectHeartRateVariability",
"doc": "Health Connect HeartRateVariabilityRmssdRecord. RMSSD of heart rate variability.",
"fields": [
{ "name": "time", "type": "double", "doc": "Measurement timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "heartRateVariabilityMillis", "type": "double", "doc": "Heart rate variability (RMSSD) in milliseconds." },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
13 changes: 13 additions & 0 deletions commons/active/healthconnect/healthconnect_height.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectHeight",
"doc": "Health Connect HeightRecord. A single body height measurement.",
"fields": [
{ "name": "time", "type": "double", "doc": "Measurement timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "height", "type": "double", "doc": "Body height in meters." },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
14 changes: 14 additions & 0 deletions commons/active/healthconnect/healthconnect_hydration.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectHydration",
"doc": "Health Connect HydrationRecord. Fluid intake over the time interval.",
"fields": [
{ "name": "time", "type": "double", "doc": "Start time of the interval in UTC (s)." },
{ "name": "endTime", "type": "double", "doc": "End time of the interval in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "volume", "type": "double", "doc": "Volume of fluid intake in liters." },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectIntermenstrualBleeding",
"doc": "Health Connect IntermenstrualBleedingRecord. Bleeding between menstrual periods.",
"fields": [
{ "name": "time", "type": "double", "doc": "Timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
13 changes: 13 additions & 0 deletions commons/active/healthconnect/healthconnect_lean_body_mass.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectLeanBodyMass",
"doc": "Health Connect LeanBodyMassRecord. Lean body mass (total weight minus fat).",
"fields": [
{ "name": "time", "type": "double", "doc": "Measurement timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "mass", "type": "double", "doc": "Lean body mass in kilograms." },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
28 changes: 28 additions & 0 deletions commons/active/healthconnect/healthconnect_menstruation_flow.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectMenstruationFlow",
"doc": "Health Connect MenstruationFlowRecord. Menstrual flow observation.",
"fields": [
{ "name": "time", "type": "double", "doc": "Measurement timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{
"name": "flow",
"type": {
"name": "HealthConnectMenstruationFlowType",
"type": "enum",
"symbols": [
"LIGHT",
"MEDIUM",
"HEAVY",
"UNKNOWN"
],
"doc": "Menstrual flow intensity."
},
"doc": "Menstrual flow intensity.",
"default": "UNKNOWN"
},
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"namespace": "org.radarcns.active.healthconnect",
"type": "record",
"name": "HealthConnectMenstruationPeriod",
"doc": "Health Connect MenstruationPeriodRecord. A menstruation period.",
"fields": [
{ "name": "time", "type": "double", "doc": "Start time of the period in UTC (s)." },
{ "name": "endTime", "type": "double", "doc": "End time of the period in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time this record was collected by the app, seconds since the Unix Epoch." },
{ "name": "timeZoneOffset", "type": ["null", "int"], "doc": "Offset from UTC of the local time at measurement time (s). Null if unknown.", "default": null },
{ "name": "sourcePackageName", "type": ["null", "string"], "doc": "Package name of the app that wrote this record to Health Connect.", "default": null }
]
}
Loading
Loading