GET /api/v1/edc/studies/PHARMADEMO/variables?page=0&size=25&sort=variableId%2CASC&filter=variableId%3D%3D10299 HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Given a StudyKey, fetch the set of variables. A variable is a data point on an electronic clinical case report form (eCRF). An eCRF contains many variables. Variables are related to records in that each record will contain responses to each variable on the eCRF, within the recordData property.
A GET
request is used to access the index
GET /api/v1/edc/studies/PHARMADEMO/variables?page=0&size=25&sort=variableId%2CASC&filter=variableId%3D%3D10299 HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Path parameters are required.
Parameter | Description |
---|---|
|
StudyKey to retrieve list of variables |
Request parameters are optional. Default values are used unless specified.
Parameter | Description |
---|---|
|
Which index page to be returned. Default value is 0. |
|
Items per page to be returned. Default value is 25. Maximum items allowed per page is 500 |
|
Name of the property by which to sort the result set. To sort in a particular direction add a comma to the property name and either |
|
Optional filter search criteria. Must follow correct syntax. Refer to filter section for details. |
Below is an example response payload.
{
"metadata" : {
"status" : "OK",
"method" : "GET",
"path" : "/api/v1/edc/studies/PHARMADEMO/variables",
"timestamp" : "2024-11-04 16:03:19",
"error" : { }
},
"pagination" : {
"currentPage" : 0,
"size" : 25,
"totalPages" : 1,
"totalElements" : 1,
"sort" : [ {
"property" : "variableId",
"direction" : "ASC"
} ]
},
"data" : [ {
"studyKey" : "PHARMADEMO",
"variableId" : 1,
"variableType" : "RADIO",
"variableName" : "Pain Level",
"sequence" : 1,
"revision" : 1,
"disabled" : false,
"dateCreated" : "2024-11-04 16:03:19",
"dateModified" : "2024-11-04 16:03:20",
"formId" : 108727,
"variableOid" : "OID-1",
"deleted" : false,
"formKey" : "FORM_1",
"formName" : "Pre-procedure screening",
"label" : "Select patient pain level between 1 and 10",
"blinded" : false
} ]
}
Path | Type | Description |
---|---|---|
|
|
Http status |
|
|
Http method |
|
|
Requested URI path |
|
|
Timestamp when response was generated |
|
|
Detail error message from request if error occur |
|
|
Current index page |
|
|
Size per page |
|
|
Total pages return from search |
|
|
Total elements return from search |
|
|
Sort property |
|
|
Sort direction |
|
|
Unique study key for a given study |
|
|
Mednet Variable ID |
|
|
Variable Type |
|
|
Name of the variable on the eCRF |
|
|
User defined sequence of variable |
|
|
Number of modifications of the form metadata |
|
|
Variable disabled flag |
|
|
Date when this form was created |
|
|
Date when this form was last modified |
|
|
Mednet Form ID |
|
|
Client-assigned variable OID |
|
|
Variable deleted flag |
|
|
Form key |
|
|
Name of the eCRF |
|
|
User defined field identifier |
|
|
Blinded flag |