Codings Endpoint
The codings endpoint exposes medical coding activity for a study. Entries are created when values collected in iMednet are standardized to a dictionary term such as MedDRA.
Accessing the index
A GET request returns the coding history for a study:
GET /api/v1/edc/studies/PHARMADEMO/codings?page=0&size=25 \
&sort=recordId%2CASC&filter=dictionaryName%3DMedDRA HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Path parameters
studyKeyThe study identifier used to retrieve codings.
Request parameters
pageIndex page to return. Defaults to
0.sizeItems per page. Defaults to
25with a maximum of500.sortProperty used to sort results. Append
ascordescto specify the direction. Multiplesortparameters may be supplied. The default isformId,asc.filterOptional search criteria. See Mednet EDC REST API Reference for syntax.
Response body
Example response:
{
"metadata": {
"status": "OK",
"method": "GET",
"path": "/api/v1/edc/studies/PHARMADEMO/codings",
"timestamp": "2025-06-05 21:12:10",
"error": {}
},
"pagination": {
"currentPage": 0,
"size": 25,
"totalPages": 1,
"totalElements": 1,
"sort": [
{
"property": "recordId",
"direction": "ASC"
}
]
},
"data": [
{
"studyKey": "PHARMADEMO",
"siteName": "Chicago Hope Hospital",
"siteId": 128,
"subjectId": 247,
"subjectKey": "111-005",
"formId": 1,
"formName": "Adverse Event",
"formKey": "AE",
"revision": 2,
"recordId": 1,
"variable": "AETERM",
"value": "Angina",
"codingId": 1,
"code": "Angina agranulocytic",
"codedBy": "John Smith",
"reason": "Typo fix",
"dictionaryName": "MedDRA",
"dictionaryVersion": "24.0",
"dateCoded": "2025-06-05 21:12:10"
}
]
}
Response fields
metadata.statusHTTP status.
metadata.methodHTTP method.
metadata.pathRequested URI path.
metadata.timestampTimestamp when the response was generated.
metadata.errorDetail error message if the request failed.
pagination.currentPageCurrent index page.
pagination.sizePage size.
pagination.totalPagesTotal pages returned.
pagination.totalElementsTotal elements returned.
pagination.sort[].propertySort property.
pagination.sort[].directionSort direction.
data[].studyKeyUnique study key for a given study.
data[].siteNameSite name.
data[].siteIdUnique site identifier.
data[].subjectIdMednet subject ID.
data[].subjectKeyProtocol assigned subject identifier.
data[].formIdMednet form ID.
data[].formNameName of the eCRF.
data[].formKeyForm key.
data[].revisionNumber of modifications of the coding metadata.
data[].recordIdUnique record identifier.
data[].variableName of the variable on the eCRF.
data[].valueValue that was coded.
data[].codingIdMednet coding ID.
data[].codeAssigned code.
data[].codedByUser who recorded the code.
data[].reasonReason the code was added.
data[].dictionaryNameDictionary name.
data[].dictionaryVersionDictionary version.
data[].dateCodedDate the code was recorded.