Check if the inclusion criteria are met in EDC/CDMS
Using calculation fields, it is possible to check if a patient fullfills certain inclusion criteria.
Below is an example that checks whether a patient has signed informed consent (variable {INCL01}), has participated in the trial before (variable {INCL02}) and whether the age requirements are met ({INCL03}):
if ({INCL01} == 1 && {INCL02} == 0 && {INCL03} == 1) {
'Yes';
}
else {
'No';
}
In the Study forms tab, the fields are structured in the following way:
![](https://static.helpjuice.com/helpjuice_production/uploads/upload/image/11257/2255177/Screenshot_2022-08-25_at_22.38.09.png)
The calculation 'Inclusion criteria met?' contains the template and the validation messages:
![](https://static.helpjuice.com/helpjuice_production/uploads/upload/image/11257/2255182/Screenshot_2022-08-25_at_22.40.47.png)
In the Participant view, if all the requirements are filled in, the calculation outputs the positive result:
![](https://static.helpjuice.com/helpjuice_production/uploads/upload/image/11257/2255193/Screenshot_2022-08-25_at_22.52.04.png)
If the participant does not fullfill the inclusion requirements, the Error message is triggered:
![](https://static.helpjuice.com/helpjuice_production/uploads/upload/image/11257/2255197/Screenshot_2022-08-25_at_22.53.29.png)