V2.0
put
/ec-dc-svc/rest/v2.0/studies/{studyId}/{mode}/codingstatus/codedItems
Updates or inserts multiple coded data elements with value for a source data element and source value while also checking coding context
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.Example:
test -
studyId(required): string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
3F2504E04F8911D39A0C0305E82C3301
Supported Media Types
- application/json
Root Schema : schema
Type:
objectRequest object for inserting or updating coded derived items. Contains the source property ID, source value, coding context, and a list of code values.
Show Source
-
codeValuesList: object
codeValuesList
Represents a coded value applied to a source value. Includes coding information, item and target identifiers and the coded result.
-
coding_context(required): string
Minimum Length:
0Maximum Length:4000Context in which the coding is performed.Example:{"Route of Administration":"as","Indication":"fer"} -
source_propertyId: string
Source property Unique identifier(UUID, 32-character uppercase hexadecimal string). Must be unique per data context.Example:
C2D20B70E856463EBC6C830C693D1B40 -
source_value(required): string
Minimum Length:
0Maximum Length:4000Original value from the source that is being coded.Example:ALT
Nested Schema : codeValuesList
Type:
objectRepresents a coded value applied to a source value. Includes coding information, item and target identifiers and the coded result.
Show Source
-
code_value(required): string
Minimum Length:
0Maximum Length:4000The actual code value derived from the coding process.Example:R79.0 -
coding_info_id: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) for the coding info used to derive the code.Example:
3A1A5E8B0F894A9CA9F324D04B162F23 -
item_id: string
Unique Item identifier (UUID, 32-character uppercase hexadecimal string) from the study Designer, associated to a form.Example:
5B3B7E0ED4F24E30B5A3A44C5A896C90 -
target_id: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) for the coding result target.Example:
F843B5478028498882E3AF11FEBA3F2A
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success: Returns the coded derived items with original source and coding details.
Root Schema : CodedDerrivedItemsResponse2
Type:
objectResponse object for returning coded derived items. Includes original identifiers, context and coded result items.
Show Source
-
codeValuesList: object
codeValuesList
Represents a coded item in a data element response, including identifiers, source value, and a referenced DataElement object.
-
coding_context: string
Context in which the coding is performed.Example:
{"Route of Administration":"as","Indication":"fer"} -
source_propertyId: string
Source property Unique identifier(UUID, 32-character uppercase hexadecimal string). Must be unique per data context.Example:
C2D20B70E856463EBC6C830C693D1B40 -
source_value: string
Original value from the source that is being coded.Example:
ALT
Nested Schema : codeValuesList
Type:
objectRepresents a coded item in a data element response, including identifiers, source value, and a referenced DataElement object.
Show Source
-
coding_info_id: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) for the coding info used to derive the code.Example:
3A1A5E8B0F894A9CA9F324D04B162F23 -
dataElement: object
DataElementDto
Base data element details including identity, study and subject context, values and metadata
-
source_propertyId: string
(UUID)
Source property Unique identifier(UUID, 32-character uppercase hexadecimal string). Must be unique per data context.Example:
C2D20B70E856463EBC6C830C693D1B40 -
source_value: string
Original value from the source that is being coded.Example:
ALT
Nested Schema : DataElementDto
Type:
objectBase data element details including identity, study and subject context, values and metadata
Show Source
-
comment: string
Minimum Length:
0Maximum Length:2048Comment for the data element changeExample:Captured by device -
dateTimeValueUTC: string
(date-time)
Date-time value in UTCExample:
2025-10-16T14:30:31.892Z -
dayValue: integer
(int32)
Day part of dateExample:
16 -
eventId: string
(UUID)
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
ADF5A7800A954FA5B831E7B6B9CA39A9 -
floatValue: number
(decimal)
Numeric decimal valueExample:
12.34 -
formId: string
(UUID)
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.Example:
40DB4EF4847849CCB24EFCCB71CDA436 -
formSectionId: string
(UUID)
ID (UUID, 32-character uppercase hexadecimal string) of the form section.Example:
B6E0C7D5A1F3428C8B8B6A77C5E9D4AA -
hourValue: integer
(int32)
Hour part of timeExample:
14 -
id: string
(UUID)
Unique identifier(UUID, 32-character uppercase hexadecimal string) of the data elementExample:
1BC29B36F5D64B1B95F4BDBBCEA481BE -
itemId: string
(UUID)
Unique Item identifier (UUID, 32-character uppercase hexadecimal string) from the study Designer, associated to a form.Example:
DEADBEEFDEADBEEFDEADBEEFDEADBEEF -
measureUnit: string
Minimum Length:
0Maximum Length:64Measurement unitExample:mg/dL -
minuteValue: integer
(int32)
Minute part of timeExample:
30 -
monthValue: integer
(int32)
Month part of dateExample:
10 -
normalizedUnitId: string
Identifier of normalized unitExample:
A78AD8C31CD843CD8B847C06C0420FF5 -
normalizedValue: string
Minimum Length:
0Maximum Length:100Normalized value if applicableExample:120 -
numValue: integer
(int32)
Numeric integer valueExample:
120 -
originatorId: string
(UUID)
An identifier representing the system, or user that initiated the transaction (UUID, 32-character uppercase hexadecimal string).Example:
FEDCBA9876543210FEDCBA9876543210 -
reason: string
Minimum Length:
0Maximum Length:255Reason associated with the data element changeExample:Initial entry -
repeatSequenceNumber: integer
(int32)
Indicates the order of occurrence for a repeating form instance, used to distinguish between multiple repetitions of the same form.Example:
1 -
secondValue: integer
(int32)
Second part of timeExample:
31 -
siteId: string
(UUID)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.Example:
ABCDEF1234567890ABCDEF1234567890 -
studyId: string
(UUID)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
ABCDEF1234567890ABCDEF1234567890 -
studyName: string
Minimum Length:
0Maximum Length:100Study nameExample:STUDY-ABC -
studyVersion(required): string
Minimum Length:
0Maximum Length:100String representing the version of the study configuration or protocol. Helps track changes in form or study design.Example:3.0.0.1 -
subjectId: string
(UUID)
Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.Example:
10F75668189F422F9A461A315D211111 -
transactionEnd: string
(date-time)
The date and time at which the transaction processing completed.Example:
2025-10-16T14:30:31.892Z -
transactionStart: string
(date-time)
The date and time at which the transaction processing began.Example:
2025-10-16T14:30:31.892Z -
validationFailure: string
Minimum Length:
0Maximum Length:32767Validation failure details if anyExample:Incorrect values not allowed -
validationStatus: string
Minimum Length:
0Maximum Length:25Validation status of the data element. The validation status can be null or SUCCESS.Example:SUCCESS -
value: string
Minimum Length:
0Maximum Length:4000Raw value captured for the itemExample:120 -
variableId: string
(UUID)
Variable identifier (UUID, 32-character uppercase hexadecimal string) in uppercase hex format.Example:
0123456789ABCDEF0123456789ABCDEF -
vendorCode: string
Minimum Length:
0Maximum Length:100Vendor code if providedExample:VENDOR1 -
versionStart: string
(date-time)
The timestamp marking the beginning of the validity period for this record version within the system.Example:
2025-10-16T14:30:31.892Z -
yearValue: integer
(int32)
Year part of dateExample:
2025
Examples
400 Response
Bad Request
Root Schema : DcsResponse
Type:
Show Source
object-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: object
details
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
-
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
objectNested Schema : details
Type:
objectDetailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
Example:
User role is missing required permission REPORTING_VIEW. Field: userId