Assisted Breathing
Assisted breathing represents a respiratory condition.
Overview
Property | Type | Description |
---|---|---|
code | String | The Code of the resource |
user_code | String | The global Id of the user |
threshold | Number | Assisted Breathing is considered in effect if the number of respirations per minute drops under this value |
tolerance | Number | Optionally, the Assisted Breathing condition may be considered in effect if the number of respirations per minute drops under the (threshold + tolerance) value |
created_at | Datetime with Timezone | The time the activity was created on the ZivaCare API server |
updated_at | Datetime with Timezone | The time the activity was updated on the ZivaCare API server |
Example
GET https://api.zivacare.com/api/v2/threshold/assisted_breathings?access_token=demo
{
"code": "ebcbee0a-dd9f-4678-8dc7-8e3eee76b4d2",
"user_code": "e231e984-2209-4a10-b634-2257b89c200f",
"threshold": 6,
"tolerance": 12.33,
"created_at": "2015-07-03T11:51:45+0000",
"updated_at": "2016-05-20T12:39:32+0000"
}
curl -X POST -H 'Content-Type: application/json' https://api.zivacare.com/api/v2/threshold/assisted_breathings?access_token=demo -d '{
"threshold": 6,
"tolerance": 12.33
}'
curl -X PUT -H 'Content-Type: application/json' https://api.zivacare.com/api/v2/threshold/assisted_breathings?access_token=demo -d '{
"threshold": 11,
"tolerance": 13
}'