Castor Academy · Castor EDC

Advanced features of Castor EDC: automations, calculations, encryption and API

For study builders, admins and data managers who know the basics. The course covers the automation engine, calculations written in JavaScript, encryption of sensitive fields, and the Castor EDC API. It comes with an example study structure to download.

Start the course free See the lessons

Course
Advanced features of Castor EDC-CDMS
Time
2.5 to 3 hours (Academy estimate)
Format
19 tutorials, 5 quizzes, 80% to pass a quiz, 5 attempts
For
Study builders, study admins and data managers
Price
Free on Castor Academy

What the course covers

Five sections that you can take in order or use as a reference later. Each ends with a quiz.

  • Use the automation engine to hide a form or add a query automatically
  • Write calculations in JavaScript, with the calculation helper and the AI calculation helper
  • Handle the common cases: if-else logic, empty fields, scores, checkboxes and dates
  • Encrypt a field, set who may see encrypted data, search encrypted fields, and export and import encrypted data
  • Get started with the Castor EDC API

Lessons

  1. Introduction to the course

    • Introduction to the course
    • Example study structure to download
  2. Automations

    • What is the Castor EDC-CDMS automation engine?
    • Enabling Automations and automatically hiding a form
    • Automatically adding a query

    Quiz

  3. Introduction to Calculations

    • What are the Calculations?
    • Common applications of Calculations
    • JavaScript - the programming language used in Calculations
    • Calculation with a Moment Java Script
    • Calculation helper
    • AI calculation helper

    Quiz

  4. Most common used calculations

    • The if-else statement
    • Using several if-else statements
    • Calculating with empty fields
    • Calculating scores
    • Calculating with checkbox fields
    • Calculating with dates

    Quiz

  5. Encryption

    • Encryption - what it is and how it works
    • Encrypt user rights
    • Encrypting a field
    • Searching encrypted fields
    • Exporting and importing encrypted data
    • Encryption in Castor EDC-CDMS - Take away message

    Quiz

  6. Application Programming Interface (API)

    • API

    Quiz

Start the course free

Related courses

Questions

Does Castor EDC have an API?

Yes. The course ends with a section on the Castor EDC API and a quiz. To see what teams build with it, read our article on the Castor API in clinical trials.

How do calculations work in Castor EDC?

Calculations in Castor EDC are written in JavaScript. The course has two sections on them: an introduction that includes the calculation helper and the AI calculation helper, and a section on the most common calculations, such as if-else statements, scores and dates.

How does field encryption work?

The Encryption section starts with a lesson on what encryption is and how it works in Castor EDC. It then covers user rights for encrypted data, encrypting a field, searching encrypted fields, and exporting and importing encrypted data.

How long does the course take?

The Academy estimates 2.5 to 3 hours: 19 tutorials, reading and 5 quizzes.

Reviewed by Kevin Thornton, November 2026