Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • CDMS
  • Frequently Asked Questions
  • Creating the study forms

Can I make a field dependent on multiple fields in EDC/CDMS?

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • CDMS
    Castor CDMS Manual Castor CDMS Calculations Manual Frequently Asked Questions Articles for Data Managers Castor CDMS Compliance Release Documents
  • eConsent
    Castor eConsent Manual Castor eConsent Compliance Release Documents
  • SMS
    Castor SMS Manual Castor SMS Compliance Release Documents
  • Castor Connect
    Castor Connect Compliance Release Documents Castor Connect Manual Castor Connect - Participant Quick Start Guide
  • Helpdesk
    News Other Resources Castor products knowledge resources
  • Status page
  • Completing a Study
+ More

When creating or editing a field, it is possible to make it dependent on only one field. However, using hidden calculation fields, you can also create dependencies on multiple fields. 

 

For example, I want my Field_4 to be dependent on both Field_1 and Field_2 being answered with "Yes". In this case, my fields 1 and 2 are radio button fields, with options "Yes" (option value 1) and "No" (option value 0). I create a calculation field (Field_3) between Field_2 and Field_4 and I will select the option to hide it (because I don't want it to be visible to my participants); it will only be executed in the background. 

This is the calculation template:

if ({Field_1} == 1 && {Field_2} == 1) {
 1;
} else {
 0;
};

This means that if fields 1 and 2 are answered with yes (=1), this calculation will return a 1, if not it will return a 0.

You can add as many fields as you want in your if clause and you can also change the && (meaning AND; dependency on both values) to || (meaning OR; dependency on either value).

 

You can also check for multiple values of the same variable. 

For example, if you want to make Field_4 be dependent on Field_1 being answered with "Yes" or "Maybe", then I will create the same calculation field as above, only using a slightly different template:

if ({Field_1} == 1 || {Field_1} == 2) {
 1;
} else {
 0;
};

Then, I will make my Field_4 dependent on this calculation field, Field_3, being equal to 1.

 

For example: 

Here is the calculation template to check if all of the inclusion criteria are met.

A dependency is set on the next field, named “Patient can be randomized (go to 'Randomization' section)" on the calculation result:

The structure in the ‘Study forms’ tab will look as shown in the screenshot below:

In the data entry view, the field “How many calories per day?" will appear only if 

edc/cdms field multiple dependencies

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Should I use a Grid or a Repeated measure in EDC/CDMS?
  • How can I add new sites in EDC/CDMS?
ISO 27001
FDA - 21 CFR part 11
ICH GCP compliant
HIPAA compliant
CDISC
ISO 9001
gdpr compliant

Products & Industries

  • Electronic Data Capture (EDC)
  • ePRO
  • eConsent
  • Decentralized Clinical Trials (DCT)
  • Clinical Data Management
  • Medical Device & Diagnostics
  • Biotech & Pharma
  • CROs
  • Academic Research

Resources

  • Thought Leadership
  • Blog
  • Castor Academy
  • Knowledge Base

 

Company

  • About Us
  • Careers
  • News
  • Contact Support
  • Contact Us

Legal & Compliance

  • Terms of Use
  • Privacy & Cookie Statement
  • Responsible Disclosure Policy
  • Good Clinical Practice (GCP)
  • ISO Compliance Certificates
  • GDPR & HIPAA Compliance
  • Security Statement

© 2022, Castor. All Rights Reserved.

Follow us on social media


Knowledge Base Software powered by Helpjuice

Definition by Author

0
0
Expand