Get the patient clinical timeline
Adapts the existing patient timeline for a verified partner principal. Preserves source date precision, assertion, experiencer and provenance. Source categories and record grants apply to every event. A not_ready result does not mean the patient has no clinical history.
Path Parameters
- Type:user
Id required
Responses
- application/json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
Request Example for get/users/{userId} /timeline
curl https://api.eno.health/users/usr_01JA2Y7Q3K8V5T0N4R6M2P9XWE/timeline \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"userId": "usr_01JA2Y7Q3K8V5T0N4R6M2P9XWE",
"status": "ready",
"events": [
{
"id": "string",
"kind": "string",
"title": "string",
"reportedText": "string",
"date": {
"precision": "unknown"
},
"period": {
"start": {
"precision": "unknown"
},
"end": {
"precision": "unknown"
}
},
"assertion": "present",
"experiencer": "patient",
"temporality": "current",
"concept": {
"conceptId": "string",
"snapshotId": "string",
"mappingDecisionId": "string"
},
"value": {
"type": "quantity",
"quantity": {
"decimal": "string",
"comparator": "eq",
"unit": "string",
"originalText": "string",
"preferredUnit": "string"
}
},
"specimen": {
"conceptId": "string",
"snapshotId": "string",
"mappingDecisionId": "string"
},
"method": {
"conceptId": "string",
"snapshotId": "string",
"mappingDecisionId": "string"
},
"sources": [
{
"producer": "string",
"recordId": "string",
"revision": "string",
"location": "string",
"documentId": "string",
"interviewId": "string"
}
]
}
]
}