V1.0

get

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

Returns EHR mapping options that can be assigned to form questions in a study. Use the optional type query parameter to return mappings for a supported question type, and the optional mapping query parameter to narrow the response to a selected EHR category or item.

Request

Path Parameters
Query Parameters
  • Optional EHR category or item code used to return option items and associated question mappings for that selection.
    Example:
    EHRLabs
  • Question type used to find applicable EHR mapping options. Allowed values: text, numeric, datetime, age, label, selectbox, checkbox, radioset.
    Allowed Values: [ "text", "numeric", "datetime", "age", "label", "selectbox", "checkbox", "radioset" ]
    Example:
    label

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

EHR mappings were returned successfully.
Body ()
Root Schema : RespEHRItemAdvancedPropDto
Type: object
Show Source
Nested Schema : ehrAssociatedItems
Type: object
Additional Properties Allowed
Show Source
Associated EHR items keyed by EHR item code and default question type. Each value describes the mapping item for that associated question.
Example:
{
    "LabResult_text":{
        "id":"1C0B91E62E06456FA33C8AA2E9AC19F0",
        "type":"EHRMapping",
        "name":"EHRLabsAttributes",
        "value":"LabResult",
        "label":"Lab Result"
    }
}
Nested Schema : ehrMappingItems
Type: array
EHR categories or items that can be mapped to the requested question type.
Show Source
Example:
[
    {
        "id":"6B8082BFD1E9486BA57E8BE7E1C2251B",
        "type":"EHRMapping",
        "name":"EHRCategories",
        "value":"EHRLabs",
        "label":"Labs"
    }
]
Nested Schema : ehrOptionItems
Type: array
Additional selectable EHR option items for the requested question type and selected mapping.
Show Source
Example:
[
    {
        "id":"7A4D3C2B1E8F4D56A23C9F3A0C7D4E22",
        "type":"EHRMapping",
        "name":"EHRLabsAttributes",
        "value":"LabTestName",
        "label":"Lab Test Name"
    }
]
Nested Schema : Form Item Advanced Property v18.0
Type: object
Title: Form Item Advanced Property v18.0
Advanced property item used to describe an EHR mapping option.
Show Source
  • Advanced property item ID. UUID, 32-character uppercase hexadecimal string.
  • Display label for the EHR mapping item.
    Example: Lab Result
  • Minimum Length: 1
    Maximum Length: 255
    EHR code list or attribute group name.
    Example: EHRLabsAttributes
  • rules
  • Minimum Length: 1
    Maximum Length: 30
    Advanced property type. EHR mapping responses use EHRMapping.
    Example: EHRMapping
  • Minimum Length: 1
    Maximum Length: 2048
    EHR category, item, or option code represented by this mapping item.
    Example: LabResult
Example:
{
    "id":"7A4D3C2B1E8F4D56A23C9F3A0C7D4E22",
    "type":"EHRMapping",
    "name":"EHRLabsAttributes",
    "value":"LabResult",
    "label":"Lab Result"
}
Nested Schema : rules
Type: array
Show Source
Nested Schema : Form Item Advanced Property Rule v18.0
Type: object
Title: Form Item Advanced Property Rule v18.0
Optional rule metadata for a form item advanced property.
Show Source
  • Display label for the rule value.
    Example: Yes
  • Rule name.
    Example: Answer
  • Rule value. When the value is an ID, it is a UUID, 32-character uppercase hexadecimal string.
    Example: B1B8327AFAA6412287106192AB5984EF
Example:
{
    "name":"Answer",
    "value":"B1B8327AFAA6412287106192AB5984EF",
    "label":"Yes"
}
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