V1.0

post

/ec-designer-edc-svc/rest/v1.0/studies/{studyId}/visitsforms/ehrmapping

Returns EHR mapping details for forms associated with the requested study-version visits. The request body is an array where each object identifies a study version and visit. The response is an EDC envelope whose result contains visits, forms, items, and the EHR mappings configured for those items.

Request

Path Parameters
Query Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: array
Show Source
Nested Schema : RqstStudyVersionVisitDto
Type: object
Show Source
Examples

Back to Top

Response

Supported Media Types

200 Response

Visits/forms EHR mappings were returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : ResponseVisitsFormsEhrMappingDto
Type: object
Show Source
Nested Schema : VisitFormsEhrMappingDto v1.0
Type: object
Title: VisitFormsEhrMappingDto v1.0
Information about EhrMappings of items of the forms associated with a visit
Show Source
Nested Schema : FormsEhrMappingDto v1.0
Type: object
Title: FormsEhrMappingDto v1.0
Information about EhrMappings of items of the form
Show Source
Nested Schema : ItemsEhrMappingDto v1.0
Type: object
Title: ItemsEhrMappingDto v1.0
Information about EhrMappings of form item
Show Source
Nested Schema : From Item Advanced Property v17.0
Type: object
Title: From Item Advanced Property v17.0
Form Item Advanced Property
Show Source
Nested Schema : rules
Type: array
Show Source
Nested Schema : From Item Advanced Property Rule v17.0
Type: object
Title: From Item Advanced Property Rule v17.0
Form Item Advanced Property Rule
Show Source
  • For RolloverQuestion property it is an ECDV_CODELISTITEM.VALUE
    Example: Yes
  • name
    Example: RolloverQuestionAnswer
  • For RolloverQuestion property it is an ECDV_CODELISTITEM.CODELISTITEM_ID
    Example: B1B8327AFAA6412287106192AB5984EF
Examples

400 Response

The request payload is missing studyVersion or visitId, or contains invalid values.
Body ()
Root Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Example:
{
    "field":"studyId",
    "reason":"Invalid value"
}
Examples

500 Response

Error
Body ()
Root Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Example:
{
    "field":"studyId",
    "reason":"Invalid value"
}
Examples

Back to Top