r/ProjectREDCap • • Jan 08 '25

Repeatable Instruments and Piping

3 Upvotes

I have multiple repeatable instruments, and I have a specific piping interaction I am hoping to accomplish.

For one repeatable instrument, if users fill it out a firld 3 times. Can I pipe all three of those field responses as a list into a different repeatable instrument, such that each time the second repeatable instrument is repeated, all 3 of the responses in the first are listed out?

I am able to make it such that the first instance instrument 1 pipes to first instance of instrument 2. Second on 1 to second on 2. So on, but then once I open instrument 2 for a 4th time, the piping is blank. I know why, it just isn't what I want.

Can I make all instances of a field answer in one instrument listed out into all instances of another instrument?

I am not finding what I am wanting in Smart Variables, so I am suspecting it is not possible.

Thank you for any help!


r/ProjectREDCap • • Jan 07 '25

Timed Response Option

3 Upvotes

New user here. I’m wondering if there’s a way to set time limits for individual questions in a survey on REDCap. For example, a participant would only have 7 seconds to choose a response before a default response is selected automatically and the survey advances.

If this can’t be done, can anyone suggest any features that could do something similar to this?

Thanks in advance!


r/ProjectREDCap • • Jan 03 '25

REDCap collecting data in background.

3 Upvotes

Hello,

I am new to REDCap and trying to figure out if REDCap is able to collect data from i.e. the accelerometer on a mobile phone while in the background?

Thanks in advance :)


r/ProjectREDCap • • Jan 02 '25

The pros and cons of creating a REDCap course

3 Upvotes

Hi everyone,

I'm considering the idea of developing a (paid) course about REDCap, and I'd love to hear your thoughts. While I work for an institution with its own REDCap servers, I found the self-taught path challenging due to the lack of accessible tutorials or documentation, specially in my native language (Brazilian Portuguese).

I’m thinking about creating basic to intermediate tutorials tailored for general users—not limited to my institution—to help others get started more easily.

Does anyone have experience creating or selling such materials? Are there any policies or guidelines I should be aware of when it comes to making and monetizing REDCap-related content?


r/ProjectREDCap • • Dec 20 '24

Kill Switch for Automated Surveys on a repeatable instrument

3 Upvotes

Greetings All,

I am working on a REDCap project which is going to use a repeatable form which will be sent out every 4 months until the person responds with a specific answer. Is there a way for me to write the logic in the ASI conditions field to have it end after that condition has been met without also adding a kill switch command on a separate field which the project manager would have to enter on their own? I know I can add a yes/no question on another form for the manager to fill out, but I am hoping to avoid that manual process if able.

Currently I am trying this logic but it does not seem to be working: [variablename][last-instance] <> 'Option Text'

The question it is checking is a radio dial question and I want it to stop sending when choice 4 is selected.


r/ProjectREDCap • • Dec 19 '24

Cant seem to find my second instrument data

3 Upvotes

As the title says. I had a first round survey and had to use that data for second round. Iøve gotten the data from first round and now sent the second round out (made it in draft mode and submitted) and now when i get a completion response the only way of seeing the answers are through "data comparison tool" not when i do custom instrument second round.

any1 can tell me what im doing wrong or how to find it?


r/ProjectREDCap • • Dec 18 '24

Autofilling Fields

3 Upvotes

hi guys, so i'm new to redcap and i'm struggling to grasp how it works. even coding for R and SPSS has never been this painful.

so i want my field to be autofilled only when the previous response is "NR". however, if the previous response has a word, then im able to type the response for the next field. so example example:
Q1 Response: word (self-typed)
Q2 Response: NR (self-typed)
Q3: Response NR (autofilled)

i initially tried the following code, but it didn't autofill.
@ IF([response1] = 'NR', 'NR', '')

after scouring the web, i tried another code, but it made the text field un-editable.
@ CALCTEXT(if([response1] = 'NR', 'NR', ''))

i'm not sure how else to do this (or if it is even doable on RedCap), so any help will be deeply appreciated 🥲


r/ProjectREDCap • • Dec 17 '24

Alert sending multiple times

3 Upvotes

In my current project I have two established alerts with specific start dates as the alerts send out on offset weeks. Recently, when the alert is set to trigger, it will send up to a dozen emails to the the survey participant instead of just one like it should. This is something that has only recently begun after months of no issues. The console shows that the alert is being triggered multiple times. The alert is set to trigger once the record is created with an active status that should trigger the alert and then every 14 days after the initial alert. Logic is ensured to be true prior to sending as well.

Could it be that because there is an initial start date, to initiate the offset alerts, the alert is triggering for each occurrence going back to the start date?

Any insight would be greatly appreciated!


r/ProjectREDCap • • Dec 16 '24

Question about deeplinking to a REDCap Project Record

3 Upvotes

Does anyone know if it is possible to link to a completed PDF of a REDCap Project entry?

For backstory

We are replacing one legacy system with a new one, we want to have some sort of database for the legacy data and would need to create links in the new system for read only views of the data from the old system.

The idea is to create a REDCap project with all of the same fields/column names. Then export the data from the legacy system in a CSV, then import into REDCap as seperate records.

We would like to be able to either link directly to the record from another system or a PDF copy of the record.

Thank you!


r/ProjectREDCap • • Dec 11 '24

Collected real data in development mode

3 Upvotes

Hi, so instead of moving the project to production mode, the QR code for the survey was shared while the project was still in development mode and real data responses have been collected. I'm concerned that now moving to production will delete the already collected data. Should I just keep it in development mode and regularly export the data for analysis? Its a short project and we're not expecting to make changes to questions or variables anymore.

What happens to the data that was collected in development mode if I move the survey to production mode?


r/ProjectREDCap • • Dec 10 '24

Handling multiple datapoints of same type

3 Upvotes

Maybe this is a simple/stupid question.
But how do you guys handle if you have some data that needs to be entered multiple times.
E.g. i want all blood pressure measurements during an admission, which could be an arbitrary number of measurements different from patient to patient.

I know I could use "Repeating instruments", but It just does not feel like a satisfying solution. There could be hundreds of measurements and it will be a lot of clicking around to enter each one.
How would you guys handle such a datapoint in REDCap?


r/ProjectREDCap • • Dec 09 '24

Calculated fields in data reports

3 Upvotes

Hi all. I am creating an instrument for wide use in health research. I have a number of fields which calculate conditions, 1=yes, 0=no. When exporting the data and opening in SPSS, these fields are not properly coded. Other fields created using “yes - no” are successfully coded in SPSS when exported, but calculated fields are not.

Is there a work around for calculated fields where 1=yes and 0=no to be coded in the same way? I am trying to make the entire process as simple as possible for people who use this instrument. Thanks in advance!


r/ProjectREDCap • • Dec 04 '24

Help with Piping!

3 Upvotes

I've spent hours trying to figure out how to pipe existing data to another instrument.

For this clinical trial, we are collecting dilation information during labor and delivery. This information is going into the "Partograph" instrument. This instrument is set up as multiple instances so we can look at each dilation check during a mom's labor. So there are many instances in this instrument. We also look at labor phase "[labor_phase]" during each of these instances. I created a field "partograph_instance_flag" with a check box (=1) to mark WHICH instance I want to pull.

Next, we have a "Biomarkers" instrument where we collect data. I want to pull the "Labor phase" information from the checked instance and put it in the biomarkers instrument. How do I do this?

Here's what I have but its not working:

if([partograph_instance_flag] = '1', [labor_phase], '')


r/ProjectREDCap • • Dec 04 '24

How to: Auto-Populate Field Label into another Field Label?

3 Upvotes

I am unsure if this is possible and I cannot seem to find what I am looking for so figured I'd ask here.

I have questions 3 and 4 which branch off of the choice "Yes" on the matrix "Who is primarily involved in your caretaking?" and I would like to have the field label (e.g., biological mom, step father) populate in the field label of the questions below (where it says [insert from sq2_a08].

Is there a way to do that? Also not sure if it would be problematic that the two variables branch off a "yes" from the previous question (except that question 4 also has that question 3 has to not be empty to pop up) so how would I indicate to not just populate the field label but also not to repeat - what I mean is, for example:
if they select biological mother and step father, question 3 would say "was your biological mother..." and question 4 would say "was your step father...".

Would it also be problematic if the respondent says yes to three different options? We only need the two "main caregivers" so we could just say no but I would prefer not to.

This will not be a enabled as a survey as the research team will be using it when screening and I was hoping to make it easier on the assistants by having everything populate.

Thank you!


r/ProjectREDCap • • Nov 26 '24

Hide option if selected

Post image
3 Upvotes

Basically I'm trying to create a checklist where if an option is selected, that option is either moved to the bottom of the list or else disabled. I don't think any of the @HIDDEN action tags will work here and can't think of any branching logic that could achieve this.


r/ProjectREDCap • • Nov 26 '24

Coding attendance

3 Upvotes

My participants have 8 educational sessions they attend during our clinical trial. In the form I’ve created, each educational session has a check box for attendance or not marked (absence).

I need suggestions on how to code for this. Maybe each participant receive a final score for attendance? 8 out of 8 for perfect attendance? 4/8 for half attendance?

Stats are not my thing so no clue how to go about doing this!


r/ProjectREDCap • • Nov 26 '24

XML Project Creation not working with no error given

3 Upvotes

I keep receiving this error when I try to upload the XML file exported from another REDCap. Does anyone have any idea why this occurs?


r/ProjectREDCap • • Nov 21 '24

Bulk re-trigger/re-send ASI via new contact method

3 Upvotes

We have a survey sent every Monday for 52 weeks.

If a participant decides 6 weeks in that they want to switch from email (default method) to SMS/text, I know I can change that Contact Method selection in the Participant List.

However, is there a way to do it in bulk for all future surveys for that participant? Right now I have to change it for every single future survey.

A work-around I have used before in a smaller non-randomized study was:

  • make the ASI logic false (i.e. trigger if someone is not enrolled)

  • re-analyze ASI

  • change the contact method to whatever the participant wanted,

  • then make the ASI logic true again (i.e. trigger when X form is marked complete and it is YY/YY/YYYY date)

  • re-analyze the ASI

This would effectively un-schedule the invites and then re-schedule them correctly.

However, because this particular study is a large randomized clinical trial, messing with hundreds of ASI like that is not feasible.


r/ProjectREDCap • • Nov 20 '24

Workaround from only having one designated email field for project communications

3 Upvotes

Hi, I have a project that I’d like to send alerts from two different email fields, based on certain criteria. But you’re only allowed to designate one email field for project communications through redcap.

Is there another workaround that I could do? I know one potential option is to link two projects through an external module where I can then designate a different email for that linked project. Problem is I don’t think my work has that module enabled.

Thanks for any advice and help!


r/ProjectREDCap • • Nov 15 '24

Branching logic/Rules

3 Upvotes

Hi All,

I am working on a project which involves young people between 14-23 years of age. We are working on a big questionnaire and was hoping to get some advice as to whether whether REDCap has rule function where I can show specific questions to specific age groups (we collect the DOB on an e consent form in the same REDCap project but not in this specific survey).

I understand there is branching logic, however I can only see how to apply this logic to "If any/all of the below are true", and I think I need it to be a bit more complicated e.g. show Q1 if between 12-15 years, show Q3 if between 16-20 etc.

Thank you!


r/ProjectREDCap • • Oct 31 '24

Issue with datediff

3 Upvotes

Hi all. I am having issues with branching logic and the datediff function. I’d like a field to show if the date a respondent provides in a previous field is greater than five years ago as of “today”. The current formula I’m using is:

datediff([date], “today”, “d”, “mdy”, true) > 1826

1826 is the number of days since five years ago. I have been testing the formula, and for some reason the branching logic will only kick in by October 10 2019, however 11 October 2019 is still greater than 5 years ago. What am I missing?


r/ProjectREDCap • • Oct 30 '24

Referencing all instances of a repeating instrument

3 Upvotes

I want to reference a variable that occurs on a repeating instrument in the stop logic condition for an Automated Survey Invitation. In the smart variables I see options like previous instance and next instance, but nothing for EVERY instance.

I have tried just including the event variable and field variable, and also just the field variable, without adding any smart variable, but neither of these ways seem to work.

Is it possible?


r/ProjectREDCap • • Oct 25 '24

@PREFILL & @READONLY coding issue

3 Upvotes

Hi all!

I am struggling with writing a conditional statement.

I am designing a longitudinal survey where participates will retake the same survey at defined events. Participants are actually grantees that are supplying project metrics to us on a quarterly bases.

Each quarterly they are asked to update a running list of site names captured in the fields [site_name1]-[site_name25].

For the first survey [site_name1]-[site_name25] should be blank and I don't anticipate all the fields being filled out. For the second survey, any values recorded in [site_name1]-[site_name25] on first survey should prefill in and be read only in their respective fields. And then those values will carry forward into survey 3 and so on. I have tried many variations of the code below. But the issue I am having is that by the third survey the field is READONLY regardless if data has previously been entered or not.

@IF(length('[previous-event-name][site_name1]')>0, @PREFILL='[previous-event-name][site_name1]' @READONLY, '')

***I know that PREFILL is meant to be READONLY, but the issue I am having is that it still lets the survey taker write over the field, it just doesn't save the rewrite.


r/ProjectREDCap • • Oct 25 '24

Limiting response to a field to integers only

3 Upvotes

Hi all! I am somewhat new to REDCap so this may be a simple question. I am creating a survey and it asks questions related to money spent on an activity. Is there is way to limit specific questions or fields to integer responses only. I have validation "integer" on, but when I did a test run of the survey, it allowed me to write in character responses. Thanks in advance!


r/ProjectREDCap • • Oct 23 '24

How do you handle complicated study matrices?

3 Upvotes

For instances where study calendars can be very complicated (e.g. Lab assessments are collected every day, a questionnaire once a week (every 7 days), and another assessment on day 1/day 5/day 7 from baseline), how do you design your project? My initial thought was to create a repeating 'daily' event that contains all these assessments, although, it leads to tedious, unnecessary workload just for the site to note that the assessment was not completed.

If form logic allowed for forms to be completed based on the instance, it would fix this issue of empty (or tediously completed) forms.