Skip to content

Commit

Permalink
Merge pull request #288 from RENCI/490-add-2-fields-to-study-profile-…
Browse files Browse the repository at this point in the history
…csv-and-study-profile-report-on-screen

490 add 2 fields to study profile csv and study profile report on screen
  • Loading branch information
hyi authored Nov 2, 2022
2 parents b90e7f0 + 910fc5e commit 9bd0c13
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ REDCAP_URL_BASE=https://redcap.vanderbilt.edu/api/
REDCAP_APPLICATION_TOKEN=faketoken
DATA_DICTIONARY_INPUT_FILE_PATH=./redcap_data_dictionary_export.json
DOWNLOAD_REDCAP_DATA_DICTIONARY=0
CREATE_TABLES=1
LOCAL_ENV=true
4 changes: 2 additions & 2 deletions api/templates/study-profiles-template.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Proposal ID,Network,Proposal Type,Does this proposal have any linked studies?,Study Design,Randomized?,Randomization Unit,Randomization Feature,Ascertainment,Observations,Is this a pilot study?,isRegistry,EHR Data Transfer?,EHR Data Transfer Option,Is consent required?,EFIC?,IRB Type,Regulatory Classification,ClinicalTrials.gov ID,Is DSMB/DMC Required?,Number of Initial Participating Sites,Enrollment Goal,Initial Projected Enrollment Duration,Lead PIs,Awardee Site Acronym,Primary funding type,Is this study funded primarily by infrastructure?,Was this study previously funded?
ProposalID,network,type,linkedStudies,design,isRandomized,randomizationUnit,randomizationFeature,ascertainment,observations,isPilot,isRegistry,ehrDataTransfer,ehrDatatransferOption,isConsentRequired,isEfic,irbType,regulatoryClassification,clinicalTrialsGovId,isDsmbDmcRequired,initialParticipatingSiteCount,enrollmentGoal,initialProjectedEnrollmentDuration,leadPIs,awardeeSiteAcronym,primaryFundingType,isFundedPrimarilyByInfrastructure,isPreviouslyFunded
Proposal ID,Network,Proposal Type,Does this proposal have any linked studies?,Study Design,Randomized?,Randomization Unit,Randomization Feature,Ascertainment,Observations,Is this a pilot study?,isRegistry,EHR Data Transfer?,EHR Data Transfer Option,Is consent required?,EFIC?,IRB Type,Regulatory Classification,ClinicalTrials.gov ID,Is DSMB/DMC Required?,Number of Initial Participating Sites,Enrollment Goal,Initial Projected Enrollment Duration,Lead PIs,Awardee Site Acronym,Primary funding type,Is this study funded primarily by infrastructure?,Was this study previously funded?, Contract Type,Number of Fields per Casebook
ProposalID,network,type,linkedStudies,design,isRandomized,randomizationUnit,randomizationFeature,ascertainment,observations,isPilot,isRegistry,ehrDataTransfer,ehrDatatransferOption,isConsentRequired,isEfic,irbType,regulatoryClassification,clinicalTrialsGovId,isDsmbDmcRequired,initialParticipatingSiteCount,enrollmentGoal,initialProjectedEnrollmentDuration,leadPIs,awardeeSiteAcronym,primaryFundingType,isFundedPrimarilyByInfrastructure,isPreviouslyFunded,contractType,fieldsPerCasebook
,,,,,,,,,,,,,,,,,,,,,,,,,,,
1 change: 1 addition & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ services:
PAUSE: $PAUSE
DATA_INPUT_FILE_PATH: $DATA_INPUT_FILE_PATH
DOWNLOAD_REDCAP_DATA: $DOWNLOAD_REDCAP_DATA
CREATE_TABLES: $CREATE_TABLES
GLOBAL_WRITE_PERMISSIONS: $GLOBAL_WRITE_PERMISSIONS
volumes:
- $POSTGRES_DUMP_PATH:/backup
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ services:
PAUSE: $PAUSE
DATA_INPUT_FILE_PATH: $DATA_INPUT_FILE_PATH
DOWNLOAD_REDCAP_DATA: $DOWNLOAD_REDCAP_DATA
CREATE_TABLES: $CREATE_TABLES
GLOBAL_WRITE_PERMISSIONS: $GLOBAL_WRITE_PERMISSIONS
LOCAL_ENV: 'true'
volumes:
Expand Down
48 changes: 48 additions & 0 deletions mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -7847,6 +7847,54 @@
"Comments": "",
"InitializeField": "no"
},
{
"Fieldname_CTMD": "contractType",
"Fieldname_redcap": "n/a",
"Data Type": "text",
"Randomization_feature": "",
"Dropdown Options": "",
"Lookup Needed": "",
"Lookup Information": "",
"Algorithm": "",
"Key": "",
"Primary": "",
"Foreign": "",
"FK_tablename": "",
"Cardinality (Table_CTMD--FK_tablename)": "",
"Table_CTMD": "StudyProfile",
"Table_phase1": "n/a",
"NOT NULL": "FALSE",
"Default Value": "",
"Field Status": "New",
"Instrument": "n/a",
"Description": "The contract type for the study",
"Comments": "",
"InitializeField": "no"
},
{
"Fieldname_CTMD": "fieldsPerCasebook",
"Fieldname_redcap": "n/a",
"Data Type": "int",
"Randomization_feature": "",
"Dropdown Options": "",
"Lookup Needed": "",
"Lookup Information": "",
"Algorithm": "",
"Key": "",
"Primary": "",
"Foreign": "",
"FK_tablename": "",
"Cardinality (Table_CTMD--FK_tablename)": "",
"Table_CTMD": "StudyProfile",
"Table_phase1": "n/a",
"NOT NULL": "FALSE",
"Default Value": "",
"Field Status": "New",
"Instrument": "n/a",
"Description": "Number of fields per casebook",
"Comments": "",
"InitializeField": "no"
},
{
"Fieldname_CTMD": "ProposalID",
"Fieldname_redcap": "proposal_id",
Expand Down

0 comments on commit 9bd0c13

Please sign in to comment.