List patient health results
Changed onGet a list of patient health results.
Request
- Base URLhttps://api.twinehealth.com/pub
- Authnone declared
Query parameters
Filter the patient health results for a specified patient
A comma-separated list of action identifiers
Filter results that occurred after the passed ISO date and time string
Filter results that occurred before the passed ISO date and time string
A comma-separated list of thread identifiers
The start (inclusive) and end (exclusive) dates are ISO date and time strings separated by ... Example for results created in November 2017 (America/New_York): filter[created_at]=2017-11-01T00:00:00-04:00..2017-12-01T00:00:00-05:00
The start (inclusive) and end (exclusive) dates are ISO date and time strings separated by ... Example for results updated in November 2017 (America/New_York): filter[updated_at]=2017-11-01T00:00:00-04:00..2017-12-01T00:00:00-05:00
Page number
Page size
Page limit
Page cursor
Response
OK
Example response
{
"data": [
{
"data": {
"type": "result",
"id": "5c0fc0d42d02421ed70cae16",
"attributes": {
"type": "medication",
"annotations": [],
"occurred_at": "2018-09-18T12:24:37.000Z",
"occurred_at_time_zone": "America/New_York",
"window": "5c0fc0d42d02421ed70cae01",
"data": {
"value": 1
},
"_thread": "569c631f4b378f51306324f2d69fd29aa0c034ac",
"source": {},
"created_at": "2018-09-18T12:24:37.000Z",
"created_by": "5c0fc0d02d02421ed70ca1d1",
"updated_at": "2018-09-18T12:24:37.000Z",
"updated_by": "5c0fc0d02d02421ed70ca1d1"
},
"relationships": {
"action": {
"data": {
"type": "action",
"id": "5ada648779672451a6c1b095"
}
},
"patient": {
"data": {
"type": "patient",
"id": "5c0fc0d02d02421ed70ca1d1"
}
},
"metric": {
"data": {
"type": "patient_health_metric",
"id": "5c0fc0d42d02421ed70cae16"
}
}
}
}
}
]
}Changes
- info
endpoint added
- info