health question definition
Get a health question definition
Changed onGet a health question definition by id
get/health_question_definition/{id}
Request
- Base URLhttps://api.twinehealth.com/pub
- Authnone declared
Path parameters
idstring required
Health question definition identifier
Response
OK
Example response
{
"data": {
"type": "health_question_definition",
"id": "21",
"attributes": {
"category": "preventative_care",
"format": {
"data": [
{
"label": "I Don't know",
"value": "0"
},
{
"label": "I've never had a colonoscopy",
"value": "1"
}
],
"type": "last_occurrence"
},
"requirements": [
{
"property": "age",
"shouldBeGreaterThan": 49,
"shouldBeLessThan": 76
}
],
"text": "When was your last colonoscopy?"
},
"links": {
"self": "/pub/health_question_definition/21"
}
}
}Changes
- info
endpoint added
- info