Contact us
Start a conversation
Castor EDC
Castor EDC Calculations Manual
Category description:
A comprehensive manual for creating calculation fields in your Castor study.
Introduction to calculations: the basics
Introduction to calculation fields and syntax
Using the "if-else" logic
Forcing Castor to calculate with empty fields
Using the "for loop" in calculations
See all 7 articles »
General calculation templates
Calculating with checkbox fields
Calculate with grid fields
Validation or dependency on an empty field
Calculate the score from several variables
See all 10 articles »
Calculate (medical) scores
Calculate the BMI using height and weight
Calculate the eGFR with the MDRD formula
Calculate body surface area (BSA) using height and weight
Calculations with date and time
Doing date (and time) calculations: the basics
Using if/else logic with dates
Check if a date is before another date and show an error if so
Show a message when the date is more than X days before today or in the future
See all 8 articles »
Date and time difference templates
Calculate the difference between two dates
Calculate time difference between two time fields
Calculate the age using a date variable
Calculate the age using a year (or year and month) variable
See all 6 articles »
Formatting dates
Convert date formats
Check if entered date is in US format (mm/dd/yyyy)
Convert a date to CDISC format (dd/mmm/yyyy)