From f94eb93b3131948edcccfb51e5fbbd85875b7286 Mon Sep 17 00:00:00 2001 From: Will Beasley Date: Mon, 4 Nov 2024 09:23:59 -0600 Subject: [PATCH] survey project ref #552 --- inst/misc/coph.credentials | 2 +- inst/misc/project-redirection.yml | 2 +- inst/test-data/projects/survey/README.md | 2 ++ inst/test-data/projects/survey/project.xml | 12 +++++++----- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/inst/misc/coph.credentials b/inst/misc/coph.credentials index 78457996..df44563d 100644 --- a/inst/misc/coph.credentials +++ b/inst/misc/coph.credentials @@ -11,7 +11,7 @@ redcap_uri,username,project_id,token,comment "https://redcap.ouhsc.edu/redcap/api/","myusername","2302","D143A44FAD05FBEF5C35C797CE227D1E","empty-rows" "https://redcap.ouhsc.edu/redcap/api/","myusername","2303","3F5E579FA2B611341D4A395C1A560EAA","single-column" "https://redcap.ouhsc.edu/redcap/api/","myusername","2304","F783A553504660F85D532B75556575C0","super-wide-1" -"https://redcap.ouhsc.edu/redcap/api/","myusername","0","","survey" +"https://redcap.ouhsc.edu/redcap/api/","myusername","2305","14F771B245565F68CE312B3A7C1DFA74","survey" "https://redcap.ouhsc.edu/redcap/api/","myusername","0","","clinical-trial-1" "https://redcap.ouhsc.edu/redcap/api/","myusername","","---","Clinical Trial (Fake) --read & write, contributed by @higgi13425" "https://redcap.ouhsc.edu/redcap/api/","myusername","0","","nonnumeric-record-id" diff --git a/inst/misc/project-redirection.yml b/inst/misc/project-redirection.yml index 40ebbe8a..3a05871e 100644 --- a/inst/misc/project-redirection.yml +++ b/inst/misc/project-redirection.yml @@ -78,7 +78,7 @@ - empty-rows: 2302 - single-column: 2303 - super-wide-1: 2304 - - survey: 0 + - survey: 2305 - clinical-trial-1: 0 - nonnumeric-record-id: 0 - dag: 0 diff --git a/inst/test-data/projects/survey/README.md b/inst/test-data/projects/survey/README.md index 195209a4..6a7e44af 100644 --- a/inst/test-data/projects/survey/README.md +++ b/inst/test-data/projects/survey/README.md @@ -9,6 +9,7 @@ I don't know how to preserve these states/values in the xml file. 1. For both records, click the "Open Survey" button (in the "Survey Options" dropdown) and submit. + 1. Save the record (eg, blue "Save & Stay" button) 1. For record 1 only: 1. Delete the entry for the "Participant Morale Questionnaire" @@ -16,4 +17,5 @@ I don't know how to preserve these states/values in the xml file. 1. Set it to "Incomplete" 1. In the survey options dropdown box, select "Open survey" 1. Click "Save & Return Later" + 1. Save the record (eg, blue "Save & Stay" button) 1. In the Record Status Dashboard, verify the "Participant Morale Questionnaire" status is orange diff --git a/inst/test-data/projects/survey/project.xml b/inst/test-data/projects/survey/project.xml index 1ad2a818..01ba3eb3 100644 --- a/inst/test-data/projects/survey/project.xml +++ b/inst/test-data/projects/survey/project.xml @@ -1,5 +1,5 @@ - + REDCapR: survey @@ -13,11 +13,13 @@ 0 1 email + 0 1 0 0 1 + 0 0 4 @@ -54,7 +56,7 @@ - + @@ -365,7 +367,7 @@ - + @@ -386,10 +388,10 @@ - + - +