A web app to manage interractions between Redcap and RADAR platform's Management Portal
764
REDCap is a secure web application for building and managing online surveys and databases. While REDCap can be used to collect virtually any type of data (including 21 CFR Part 11, FISMA, and HIPAA-compliant environments), it is specifically geared to support online or offline data capture for research studies and operations. The REDCap Consortium, a vast support network of collaborators, is composed of thousands of active institutional partners in over one hundred countries who utilize and support REDCap in various ways.
In REDCap, it is possible to set a Data Entry Trigger. is an advanced feature. It provides a way
for REDCap to trigger a call to a remote web address (URL), in which it will send a HTTP Pos
request to the specified URL whenever any record or survey response has been created or
modified on any data collection instrument or survey in this project (it is not triggered by
data imports but only by normal data entry on surveys and data entry forms). Its main purpose is
for notifying other remote systems outside REDCap at the very moment a record/response is created
or modified, whose purpose may be to trigger some kind of action by the remote website, such as
making a call to the REDCap API.
For setting a Data Entry Trigger
Project Setup viewEnable optional modules and customisations and click to Additional customisationsData Entry TriggerSaveThis project exposed a REST endpoint located at <host>:<port>/redcap/trigger or <host>/redcap/trigger is mapped to http default 80 port.
It is highly recommended to use an encrypted connection (i.e. SSL/HTTPS) for accessing set
Data Entry Trigger.
Upon receiving a request, the service verifies whether the trigger is related to the REDCap
enrolment event. If so, it triggers a Subject creation in the
RADAR-CNS Management Portal. After creating a new
subject, the serivce update the RADAR REDCap RADAR Enrolment form adding:
RADAR-CNS Subject Identifier: unique identifier within the a RADAR-CNS Platform instanceHuman Readable Identifier: unique identifier used for visualising data
At the end of the process, the RADAR Enrolment will become COMPLETED.The RADAR Enrolment establish a relation between data stored in REDCap and data stored in the
RADAR-CNS Platform.
This service requires a configuration file named radar.yml that can be stored at:
/usr/share/tomcat8/conf//usr/local/tomcat/conf/radar/CONFIG_FOLDERThe configuration should follow this template.
For each supported project, the projects variable should contains a item like
redcap_info:
url: #URL pointing REDCap instance
project_id: #REDCap project identifier
enrolment_event: #Unique identifier for the enrolment event
integration_form: #Name of integration REDCap form
token: #REDCap API Token used to identify the REDCap user against the REDCap instance
mp_info:
project_id: #Management Portal project identifier
The service validates the configuration file during the deploy phase. If the file is invalid, the deploy is stopped.
The project has been created to be deployed on Apache Tomcat.
Application logs are redirected to standard output. In case of invalid deploy check
$CATALINA_HOME/logs/catalina.* and $CATALINA_HOME/logs/localhost.*
$ ./gradlew clean warADD ./build/libs/redcap-1.0-SNAPSHOT.war $CATALINA_HOME/webapps/redcap.war$ docker build -t redcapintegration .$ docker run --name redcapintegration -it --rm -d -p 80:8080 redcapintegration$ curl -X POST “<Host IP or URL>/redcap/trigger”$ curl -X POST “http://localhost/redcap/triggerPart of this document has been extracted from the REDCap documentation.
Content type
Image
Digest
Size
239.8 MB
Last updated
almost 9 years ago
docker pull radarcns/radar-redcapintegration