Skip to main content

Getting All Risk Factors

/symptoms GET

This endpoint allows to retrieve a list of all risk factors available through the API.

Parameters

This endpoint has no parameters.

Response

The response should contain a list of risk factor nodes. For detailed information on response format for a single node see node definition.

A representative example of response is presented below. The number of risk factors should be expected in tens of hundreds and actual values depend on the API release.

[
{
"id": "N00004",
"title": "Smoking",
"outcomes": [
{
"outcome": "unknown",
"label": "Don't know"
},
{
"outcome": "smoking_in_past",
"label": "Smoked in the past"
},
{
"outcome": "active_smoking",
"label": "Yes"
},
{
"outcome": "passive_smoking",
"label": "Exposed to Secondhand Smoke"
},
{
"outcome": "no_smoking",
"label": "No"
}
],
"type": "DISCRETE",
"unitOfContinuousType": null
},
{
"id": "N00970",
"title": "Recent Major Surgery",
"outcomes": [
{
"outcome": "unknown",
"label": "Don't know"
},
{
"outcome": "present",
"label": "present"
},
{
"outcome": "absent",
"label": "absent"
}
],
"type": "DISCRETE",
"unitOfContinuousType": null
},
... continued ...
}