[Deprecated]:V1.0
post
/ec-dc-svc/rest/v1.0/studies/{studyId}/{mode}/labnormals
Creates lab data elements for a subject for a particular visit and particular form.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.Example:
active -
studyId(required): string(uuid)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
1BC29B36F5D64B1B95F4BDBBCEA481BE
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
eventId(required): string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
799EF3745FC545589F186D2198F3C65E -
eventInstanceNum: integer
(int32)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
1 -
formId(required): string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.Example:
899EF3745FC545589F186D2198F3C65E -
labId: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) of the lab normals record. Include for update requests; omit for new create.Example:
999EF3745FC545589F186D2198F3C65E -
siteId(required): string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.Example:
699EF3745FC545589F186D2198F3C65E -
studyVersion(required): string
String representing the version of the study configuration or protocol. Helps track changes in form or study design.Example:
1.0.0.3 -
subjectId(required): string
Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.Example:
A1B2C3D4E5F6471890ABCDEF12345678
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : LabDetailsDto
Type:
Show Source
object-
comment: string
Minimum Length:
0Maximum Length:2048 -
labId: string
(uuid)
-
labIdName: string
Minimum Length:
0Maximum Length:50 -
labName: string
-
labStatus: string
(uuid)
-
objectVersionNumber: number
-
oldSdfId: string
(uuid)
-
operationType: string
Minimum Length:
1Maximum Length:16 -
reason: string
Minimum Length:
0Maximum Length:255 -
softwareVersionNumber: number
-
studyLabId: string
(uuid)
-
userId: string
(uuid)
-
vendorId(required): string
(uuid)
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
Nested Schema : SDFAddressAssociationDetailsDto
Type:
Show Source
object-
addressCity: string
-
addressCountry: string
(uuid)
-
addressCountryName: string
-
addressPostalCode: string
-
addressStateOrProvOrCounty: string
(uuid)
-
addressStateOrProvOrCountyName: string
-
addressStreet1: string
-
addressStreet2: string
-
addressTypeId(required): string
(uuid)
-
addressTypeIdCodeValue: string
-
comment: string
Minimum Length:
0Maximum Length:2048 -
entityAddressAssociationId(required): string
(uuid)
-
entityAddressProperties: array
entityAddressProperties
-
id: string
(uuid)
-
objectVersionNumber: number
-
operationType: string
Minimum Length:
1Maximum Length:16 -
reason: string
Minimum Length:
0Maximum Length:255 -
sdfAddressProperties: array
sdfAddressProperties
-
sdfId: string
(uuid)
-
softwareVersionNumber: number
-
userId: string
(uuid)
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
Nested Schema : entityAddressProperties
Type:
Show Source
array-
Array of:
object PropertyDto
CTMS Property DTO
Nested Schema : PropertyDto
Type:
objectCTMS Property DTO
Show Source
-
comment: string
Minimum Length:
0Maximum Length:2048 -
entityId: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) of the entity for which the property applies.Example:
2A5E92F1C2D54DDA9F1C0A9E7B3C2D1A -
entityType: string
Minimum Length:
0Maximum Length:50Type of the entity for which the property applies. Type can have value Organization,Contact,Facility,Institution,Investigator,Lab or Depot -
propertyName(required): string
Minimum Length:
0Maximum Length:100Unique key name of the property.Example:LabId -
propertyValue(required): string
Minimum Length:
0Maximum Length:500Value of the property.Example:2A5E92F1C2D54DDA9F1C0A9E7B3C2D1A -
reason: string
Minimum Length:
0Maximum Length:255
Nested Schema : SDFPropertyDetailsDto
Type:
Show Source
object-
comment: string
Minimum Length:
0Maximum Length:2048 -
id: string
(uuid)
-
objectVersionNumber: number
-
operationType: string
Minimum Length:
1Maximum Length:16 -
propertyName(required): string
Minimum Length:
0Maximum Length:100 -
propertyValue(required): string
Minimum Length:
0Maximum Length:1024 -
reason: string
Minimum Length:
0Maximum Length:255 -
sdfId: string
(uuid)
-
softwareVersionNumber: number
-
userId: string
(uuid)
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
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