This repo is no longer maintained or updated.
This repo contains a collection of scripts and mappings used to create .json output ready to be ingested by CanDIG scripts. The script connects to UCalgary RedCapCloud instance and pulls Profyle patient-related metadata. A Profyle study access token is required.
Requirements: Python3+
Usage:
- Clone this repo
- Executing the shellscript by passing your province/token should install the necessary python virtual environment and pull the data to the output directory.
./rcc_candig.sh province_code your_token
Example:
./rcc_candig.sh BC abc123
This script will only download records with valid consents. Records that do not have valid consents will be skipped and displayed as {Patient_id} does not have acceptable consents, skipping...
. This validation process cannot be skipped.