Get a list of assessments
Retrieve a list of assessments associated with a specific wound, with optional sorting, pagination, and filtering.
Query parameters
-
Number of items per page.
-
Comma-separated list of fields to be returned in the response. Only 'id', 'date', 'created_at', and 'values' columns are allowed.
-
Filter criteria to narrow down the list of assessments. The filter parameter is an object with key-value pairs where the key is the field to filter by and the value is '{operator}{value}'. The operator is optional and defaults to '='. (e.g. '/assessments?wound_id=3089&filter[date]=>=2021-01-01')
-
Field to sort the results by. Only 'id' and 'created_at' columns are allowed, prefixed with a minus sign (-) for descending order and without for ascending order.
Values are
id,-id,created_at, or-created_at.
curl \
--request GET 'https://publicapi.ekareinc.com/api/v1/assessments' \
--header "X-API-KEY: $API_KEY"
{
"data": [
{
"id": 1168,
"date": "2021-01-01",
"created_at": "2021-01-01 00:00:00",
"values": {
"wound_edge": [
"ATTACHED",
"ROLLED",
"The wound edge is attached and rolled"
],
"peri_wound_skin": [
"ABNORMAL",
"BLISTERING_ERUPTION",
"BRUISING",
"The peri-wound skin is bruised"
],
"pain": {
"at_rest_scale": 3,
"with_movement_scale": 5,
"at_night_scale": 2
},
"exudate": {
"amount": "MINIMUM",
"comment": "Exudate is minimal and serous",
"type": "SEROUS"
},
"odor": "MALODOROUS",
"infection": {
"infected": "YES",
"signs_of_local_infection": [
"BLEEDING__FRIABLE_GRANULATION_TISSUE"
],
"wound_swab": "YES",
"wound_swab_date": "2021-01-01"
},
"tunneling": {
"direction": [
12,
3
],
"length": 2
},
"undermining": {
"direction": [
2,
3
],
"length": 2
},
"miscellaneous": {
"unable_to_capture": "YES",
"unable_to_capture_reason": "Patient refused to have image taken",
"qol_assessment_performed": "YES",
"qol_details": "Patient reported a QoL of 5"
},
"notes": "Patient reported increased pain and exudate"
}
}
],
"metadata": {
"current_page": 1,
"last_page": 55,
"per_page": 2,
"total": 110,
"next_page_url": "https://publicapi.ekareinc.com/api/v1/assessments?wound_id=3089&page=2",
"prev_page_url": "string"
}
}
{
"error": "Invalid API token",
"message": "Unauthorized. Please provide a valid API token.",
"error_code": "100"
}
{
"error": "Wound Not Found",
"message": "The wound with the specified ID was not found.",
"error_code": "111"
}
{
"error": "Access denied",
"message": "Forbidden. You do not have permission to access this resource.",
"error_code": "101"
}
{
"error": "Bad Request",
"message": "The given data was invalid.",
"error_code": "102"
}