V13.0
get
/ec-designer-ors-svc/rest/v13.0/studies/{studyId}/versions/{version}/forms/randomizationfactors
Retrieves all questions used in stratified randomization designs in a specific study version.
Request
Path Parameters
-
studyId(required): string(uuid)
Study unique identifier.
-
version(required): string
Study version identifier.
Query Parameters
-
excludeLabFormItems: boolean
Optional. When true, excludes laboratory form items from the response.Default Value:
falseExample:false -
excludeRepeatFormItems: boolean
Optional. When true, excludes repeat form items from the response.Default Value:
falseExample:false -
excludeTwoSectFormItems: boolean
Optional. When true, excludes form items from two-section forms from the response.Default Value:
falseExample:false -
formCategory: string
Minimum Length:
3Maximum Length:3Optional. Form category filter. Allowed values: DCS for Data Collection Study forms, NSF for Clinical Supplies Data forms, and ALL for all supported form categories. Defaults to DCS when omitted.Default Value:DCSAllowed Values:[ "DCS", "NSF", "ALL" ]Example:DCS -
includeAllNumberItems: boolean
Optional. When true, includes all number items that are eligible for stratification.Default Value:
falseExample:false
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Randomization factor form items were retrieved successfully for the requested study version.
Root Schema : schema
Type:
Show Source
array-
Array of:
object FormsRandomizationFactorItemV13
Randomization factor form item details returned by the v13 forms randomization factors endpoint.
Nested Schema : FormsRandomizationFactorItemV13
Type:
objectRandomization factor form item details returned by the v13 forms randomization factors endpoint.
Show Source
-
advancedProps: array
advancedProps
Advanced property mappings configured for the form item.
-
allowAdditionalRows: boolean
Indicates whether additional rows can be added to a table item.Example:
false -
allowFutureDate: integer
(int32)
Minimum Value:
0Maximum Value:1Indicates whether future dates are allowed. Allowed values are 0 and 1.Example:1 -
allowPartialDate: integer
(int32)
Minimum Value:
0Maximum Value:1Indicates whether partial dates are allowed. Allowed values are 0 and 1.Example:1 -
applyChangeToVersion: string
Minimum Length:
1Maximum Length:32Study version that should also receive the item change when apply-to-version is used.Example:1.0.0.1 -
clDescription: string
Minimum Length:
1Maximum Length:4000Linked code list description for choice items.Example:Standard gender codelist -
clLabNormalsTag: string
Minimum Length:
1Maximum Length:255Lab normals tag assigned through the linked code list.Example:LabGender -
clTitle: string
Minimum Length:
1Maximum Length:255Linked code list title for choice items.Example:Gender -
columnLayout: string
Minimum Length:
32Maximum Length:32Choice column layout identifier.Example:EBCF17C5F8D4460AA4A9673485C79CF0 -
columnLayoutLabel: string
Minimum Length:
1Maximum Length:255Choice column layout label.Example:Single -
dataClassificationIds: array
dataClassificationIds
Data classification mappings associated with the item.
-
dataClassificationLevel: string
Minimum Length:
1Maximum Length:255Assigned data classification level when present.Example:edit -
display: string
Minimum Length:
1Maximum Length:32Choice display mode.Example:selectbox -
dynamic: integer
(int32)
Minimum Value:
0Number of leading questions that must be satisfied before this item is shown. Negative values are not allowed.Example:0 -
e2br3Mapping: array
e2br3Mapping
E2B(R3) mappings associated with the item.
-
existingDataCodeName: string
Minimum Length:
1Maximum Length:255Existing-data code list name.Example:EDLSite -
existingDataCodeValue: string
Minimum Length:
1Maximum Length:255Existing-data code list value.Example:SiteName -
format: string
Minimum Length:
1Maximum Length:32Date or date-time format.Example:yyyy-MM-dd -
formCategory: string
Minimum Length:
3Maximum Length:3Form category for the item.Example:DCS -
formId: string
(uuid)
Minimum Length:
32Maximum Length:32Parent form unique identifier. -
formSubcategory: string
Minimum Length:
1Maximum Length:255Form subcategory for the item when present.Example:Baseline -
formTitle: string
Minimum Length:
1Maximum Length:4000Parent form title.Example:Demography -
formula: string
Minimum Length:
1Maximum Length:4000Smart item formula definition.Example:[{"ruleName":"AGE","ruleExpression":"AgeInYears(AGE_DOB_01, visitDate)"}] -
groupSequence: integer
(int32)
Minimum Value:
0Group display order for grouped items. Negative values are not allowed.Example:0 - hidden: boolean
-
id: string
(uuid)
Minimum Length:
32Maximum Length:32Form item unique identifier. -
isCodeListReplaced: boolean
Indicates whether the linked code list has been replaced.Example:
false -
isCohortFactor: boolean
Indicates whether the item is tagged as a cohort factor.Example:
false -
isStrataFactor: boolean
Indicates whether the item is tagged as a strata factor.Example:
true -
items: array
items
Child items contained in a question group, table, or section item.
-
labNormalsTag: string
Minimum Length:
1Maximum Length:255Lab normals tag assigned to the item.Example:LabTest -
maxlength: integer
(int32)
Minimum Value:
0Maximum Value:4000Maximum text length for text items. Negative values are not allowed.Example:4000 -
multiline: boolean
Indicates whether the text item supports multiple lines.Example:
false -
options: array
options
Choice options available for choice and label items.
-
partialDate: string
Minimum Length:
1Maximum Length:32Partial date format used when partial dates are allowed.Example:MMM-yyyy -
precision: integer
(int32)
Minimum Value:
0Numeric precision for numeric items. Negative values are not allowed.Example:0 -
questionHint: string
Minimum Length:
1Maximum Length:4000Question hint shown in the UI when configured.Example:Enter the subject age in years. -
questionLabel: string
Minimum Length:
1Maximum Length:4000Question label displayed to study designers.Example:Age -
questionType: string
Minimum Length:
4Maximum Length:17Allowed Values:[ "text", "instructionalText", "numeric", "datetime", "choice", "questionGroup", "table", "label", "section", "existingData", "fileUpload" ]Question type. Allowed values: text = free-text question, instructionalText = read-only instructional content, numeric = numeric question, datetime = date or date-time question, choice = coded selection question, questionGroup = grouped child questions, table = tabular child question group, label = non-editable label-style choice item, section = section container for grouped questions, existingData = value sourced from existing study data, fileUpload = file attachment question.Example:numeric -
randomizationTag: boolean
Indicates whether the item is tagged for randomization.Example:
true -
readOnly: boolean
Indicates whether the item is read-only.Example:
false -
refname: string
Minimum Length:
1Maximum Length:64Stable form item reference name.Example:AGE_01 -
required: boolean
Indicates whether a response is required for the item.Example:
true -
requiredDispensation: boolean
Indicates whether the item is required for dispensation.Example:
false -
requiredForCaseCreate: boolean
Indicates whether the item is required for safety case creation.Example:
false -
requiredRandomization: boolean
Indicates whether the item is required for randomization.Example:
true -
requiredScreening: boolean
Indicates whether the item is required for screening.Example:
false -
ruleSet: string
Minimum Length:
1Maximum Length:4000JSON-formatted rule set used to validate answers.Example:{"logicalOperator":"NONE","rules":[],"numberIndex":1} -
sasLabel: string
Minimum Length:
1Maximum Length:4000SAS label used for downstream extracts.Example:Subject Age -
sasVariable: string
Minimum Length:
1Maximum Length:255SAS variable name used for downstream extracts.Example:AGE -
sdvRequired: string
Minimum Length:
6Maximum Length:8Allowed Values:[ "NOTSET", "NEVER", "ALWAYS", "CRITICAL" ]Source Data Verification requirement. Allowed values: NOTSET = no explicit SDV setting is configured, NEVER = SDV is not required, ALWAYS = SDV is always required, CRITICAL = SDV is required only for critical data.Example:NEVER -
sequence: integer
(int32)
Minimum Value:
0Item display order within the form. Negative values are not allowed.Example:1 -
smartItemId: string
(uuid)
Minimum Length:
32Maximum Length:32Linked smart item unique identifier. -
smartObject: string
Minimum Length:
1Maximum Length:255Smart object identifier used by the formula.Example:AGE -
triggerFollowupCase: boolean
Indicates whether the item can trigger a follow-up case.Example:
false -
units: string
Minimum Length:
1Maximum Length:255Measurement units for numeric items.Example:years -
visitId: string
(uuid)
Minimum Length:
32Maximum Length:32Assigned visit unique identifier when the item is scoped to a single visit. -
visitIds: array
visitIds
Assigned visit identifiers when the item is scoped to multiple visits.
Nested Schema : advancedProps
Type:
arrayAdvanced property mappings configured for the form item.
Show Source
-
Array of:
object FormsRandomizationFactorAdvancedPropV13
Advanced property mapping details for a randomization factor form item.
Example:
[
{
"id":"2E2D8A4E3F5C4C2F96A43B9F0BEF5142",
"type":"RolloverQuestion",
"name":"RolloverQuestionStudyId",
"value":"B1B8327AFAA6412287106192AB5984EF",
"label":"Rollover Study BT-31",
"rules":[
{
"name":"RolloverQuestionAnswer",
"value":"91A0C3E0D0B5445A95BA3AB2D84D6755",
"label":"Yes"
}
],
"parentObjectId":"7F6C4D52A1D04CF9A75D06B2F454A172",
"parentObjectLevel":"FORM",
"parentObjectLabel":"Demography"
}
]Nested Schema : dataClassificationIds
Type:
arrayData classification mappings associated with the item.
Show Source
-
Array of:
object FormsRandomizationFactorAdvancedPropV13
Advanced property mapping details for a randomization factor form item.
Example:
[
{
"id":"F5BBE9E730234785A64C593C3EE4F8AA",
"type":"DataClassification",
"name":"ClassificationId",
"value":"SUBJECT",
"label":"Subject Data",
"rules":[
{
"name":"Access",
"value":"EDIT",
"label":"Edit"
}
],
"parentObjectId":"7F6C4D52A1D04CF9A75D06B2F454A172",
"parentObjectLevel":"FORM",
"parentObjectLabel":"Demography"
}
]Nested Schema : e2br3Mapping
Type:
arrayE2B(R3) mappings associated with the item.
Show Source
-
Array of:
object FormsRandomizationFactorAdvancedPropV13
Advanced property mapping details for a randomization factor form item.
Example:
[
{
"id":"5FDFAB0EEAE34950B0DEBFC2DD0B8D20",
"type":"E2BR3Mapping",
"name":"E2BR3Field",
"value":"patient.agegroup",
"label":"Patient Age Group",
"rules":[
{
"name":"Profile",
"value":"DEFAULT",
"label":"Default"
}
],
"parentObjectId":"7F6C4D52A1D04CF9A75D06B2F454A172",
"parentObjectLevel":"FORM",
"parentObjectLabel":"Demography"
}
]Nested Schema : items
Type:
arrayChild items contained in a question group, table, or section item.
Show Source
-
Array of:
object FormsRandomizationFactorItemV13
Randomization factor form item details returned by the v13 forms randomization factors endpoint.
Example:
[
{
"questionType":"text",
"id":"D4F7297E3E2C4D8A91C09938F31A7AC1",
"questionLabel":"Weight comment",
"refname":"WEIGHT_COMMENT",
"required":false,
"sdvRequired":"NOTSET",
"maxlength":4000,
"multiline":true
}
]Nested Schema : options
Type:
arrayChoice options available for choice and label items.
Show Source
-
Array of:
object FormsRandomizationFactorOptionV13
Choice option details for a randomization factor form item.
Example:
[
{
"label":"Yes",
"value":"1",
"clCode":"Y",
"clDescription":"Yes",
"clValue":"Yes",
"clItemId":"91A0C3E0D0B5445A95BA3AB2D84D6755",
"hidden":false,
"optionSeq":"1"
}
]Nested Schema : visitIds
Type:
arrayAssigned visit identifiers when the item is scoped to multiple visits.
Show Source
-
Array of:
string
Assigned visit identifiers when the item is scoped to multiple visits.Example:
["E1D7C7D4D8444D60A5304F0E0A9967D1"]
Example:
[
"E1D7C7D4D8444D60A5304F0E0A9967D1"
]Nested Schema : FormsRandomizationFactorAdvancedPropV13
Type:
objectAdvanced property mapping details for a randomization factor form item.
Show Source
-
id: string
(uuid)
Minimum Length:
32Maximum Length:32Advanced property unique identifier. -
label: string
Minimum Length:
1Maximum Length:4000Advanced property label shown in the UI.Example:Rollover Study BT-31 -
name: string
Minimum Length:
1Maximum Length:255Advanced property name.Example:RolloverQuestionStudyId -
parentObjectId: string
(uuid)
Minimum Length:
32Maximum Length:32Parent object identifier when the property is inherited from a parent object. -
parentObjectLabel: string
Minimum Length:
1Maximum Length:4000Parent object label when present.Example:Demography -
parentObjectLevel: string
Minimum Length:
1Maximum Length:255Parent object hierarchy level when present.Example:FORM -
rules: array
rules
Rules attached to the advanced property.
-
type: string
Minimum Length:
1Maximum Length:30Allowed Values:[ "RolloverQuestion", "CodeQuestion", "ShowQuestion", "ShowForm", "ShowVisit", "ShowSection", "StatusRule", "DataClassification", "VISITBRANCH", "LinkForm", "AssignedVisits", "TriggerSafetyCase", "EHRMapping", "E2BR3Mapping" ]Advanced property type. Allowed values: RolloverQuestion = rollover-study question mapping, CodeQuestion = coded-question mapping, ShowQuestion = conditional show rule for a question, ShowForm = conditional show rule for a form, ShowVisit = conditional show rule for a visit, ShowSection = conditional show rule for a section, StatusRule = status-driven rule, DataClassification = data classification mapping, VISITBRANCH = assigned visit-branch mapping, LinkForm = linked form action, AssignedVisits = assigned visit mapping, TriggerSafetyCase = safety case trigger mapping, EHRMapping = EHR field mapping, E2BR3Mapping = E2B(R3) field mapping.Example:RolloverQuestion -
value: string
Minimum Length:
1Maximum Length:2048Advanced property value.Example:B1B8327AFAA6412287106192AB5984EF
Nested Schema : rules
Type:
arrayRules attached to the advanced property.
Show Source
-
Array of:
object FormsRandomizationFactorAdvancedPropRuleV13
Advanced property rule details for a randomization factor form item.
Example:
[
{
"name":"RolloverQuestionAnswer",
"value":"91A0C3E0D0B5445A95BA3AB2D84D6755",
"label":"Yes"
}
]Nested Schema : FormsRandomizationFactorAdvancedPropRuleV13
Type:
objectAdvanced property rule details for a randomization factor form item.
Show Source
-
label: string
Minimum Length:
1Maximum Length:4000Advanced property rule label shown in the UI.Example:Yes -
name: string
Minimum Length:
1Maximum Length:255Advanced property rule name.Example:RolloverQuestionAnswer -
value: string
Minimum Length:
1Maximum Length:2048Advanced property rule value.Example:91A0C3E0D0B5445A95BA3AB2D84D6755
Nested Schema : FormsRandomizationFactorOptionV13
Type:
objectChoice option details for a randomization factor form item.
Show Source
-
clCode: string
Minimum Length:
1Maximum Length:255Linked code list code.Example:Y -
clDescription: string
Minimum Length:
1Maximum Length:4000Linked code list description.Example:Yes -
clItemId: string
(uuid)
Minimum Length:
32Maximum Length:32Choice option code list item unique identifier. -
clValue: string
Minimum Length:
1Maximum Length:255Linked code list display value.Example:Yes -
formCategory: string
Minimum Length:
3Maximum Length:3Form category for the option when present.Example:DCS -
formSubcategory: string
Minimum Length:
1Maximum Length:255Form subcategory for the option when present.Example:Baseline - hidden: boolean
-
instructionalText: string
Minimum Length:
1Maximum Length:4000Instructional text associated with the option.Example:Choose the option that applies. -
label: string
Minimum Length:
1Maximum Length:4000Choice option label.Example:Yes -
optionSeq: string
Minimum Length:
1Maximum Length:4000Choice option sequence value.Example:1 -
value: string
Minimum Length:
1Maximum Length:4000Choice option stored value.Example:1
Examples
500 Response
Returned when the service cannot load the randomization factor form items for the supplied study version because of an unexpected server-side failure.
Nested Schema : details
Type:
objectExamples