QR code field in CDMS
It is possible to add QR codes to study forms, repeating data forms and surveys. QR codes can contain information about the current logged in user, participant site, id and values for any variable in the study.
To add a qr code, click the QR code field in the Form builder:
In the QR code data field you can create a template based on information in other fields.
You can use {variable_name}, which will be replaced with that variable's value for a certain participant. The following variables can be used for additional information about the participant and user:
- {recordId} for the participant ID
- {instituteId} for the site ID of the participant
- {userId} for the ID of the current logged in user
- {castorInstituteName} for the site name of the participant
- {castorInstituteAbbreviation} for the site abbreviation of the participant
- {castorInstituteCountryNameName} for the country of the participant
- {castorInstituteCountryNameCode} for the two-letter country code of the participant
- {castorInstituteCountryNameCode3} for the three-letter country code of the participant
It is possible to use a combination of these variables