getBpgDataTrend(dataType: Object)
Requires:
@ray-js/ray≥1.5.40
Description
Get blood pressure data statistics
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
dataType | "year" | "month" | "week" | Yes | Data type |
devId | string | Yes | Device ID |
userId | string | Yes | User ID |
startTime | number | Yes | Start timestamp |
endTime | number | Yes | End timestamp |
Return Value
Type: Promise<Object↓>
| Property | Type | Description |
|---|---|---|
avgTotalDia | string | Average diastolic blood pressure |
avgTotalPulse | string | Average pulse |
avgTotalSys | string | Average systolic blood pressure |
| Trend data |
Valid Values
dataType
| Value | Description | Since |
|---|---|---|
year | - | - |
month | - | - |
week | - | - |