Measurements
See protocols for a general description.
Get a single measurement
Sample request
GET /api/v1/measurements/1.json
Status: 200 OK
{
"id": 1,
"name": "Measurement 0",
"description": null,
"active": true,
"label": "intake",
"protocol_id": 1,
"questionnaires": [
{
"id": 1,
"key": "roqua_simple",
"quby_key": "simple",
"name": "Simpele Vragenlijst"
}
]
}
Measurement Attributes
Name | Type | Description |
---|---|---|
id | integer | Id uniquely identifying the measurement. |
protocol_id | integer | Id of protocol. |
name | string | The name of the measurement, as shown when preparing responses. |
description | string | Blob of text what the measurement is for |
active | boolean | If false, the protocol doesn't show up in the interface. |
questionnaires | array | array of hashes with basic questionnaires info (see below) |
Questionnaire attributes
Name | Type | Description |
---|---|---|
id | integer | Id uniquely identifying the questionnaire. |
key | string | key identifying the questionnaire in roqua, use this one for getting more info on questionnaire. |
quby_key | string | Key identifying the actual questionnaire definition (one quby key can be used in multiple roqua questionnaires, but will have exact same questions) |
name | string | The name of the questionnaire, as shown when preparing responses. |