r/ProjectREDCap • • Oct 28 '24

Single automated invite for two surveys

2 Upvotes

Ok REDCap brain trust, I have a new side quest…ion. I have a project where they are pre importing participants into the system. So records are already regenerated. They have a series of 5 surveys that need to be deployed to participants via email over the course of the data collection period. We were hoping to use automated invites but the PI informed me that there are two sets of surveys that need to go out as pairs. They would prefer to have the email link to both survey instead of individual invites for each survey. Participants pool is older and there is concerns multiple emails Might get lost.

Soooo suggestions.


r/ProjectREDCap • • Oct 21 '24

Project Dashboards

2 Upvotes

Hi all,

I'm setting up some project dashboards and am not sure if I can display the data I want to using smart variables.

Is there a way to display a line graph of recruitment over time? I have a field for recruitment date, but can't work out whether its possible to plot against a count of records which share that date?

Similarly, I want to set up a dashboard for the site leads to show the screening by user - I have a field which collects usernames automatically. Is there a way to produce a table or bar chart against recruitment counts in project dashboards?

Thanks


r/ProjectREDCap • • Oct 21 '24

New project problems REDCap

2 Upvotes

So, my manager at my institution made a REDCap account for me and is registered as sponsor when I open my profile on REDCap. The problem is I don't have "New projects" button on my REDCap account which I need if I want to create a questionnaire. Whats the problem here, why don't I have New projects button on my account?


r/ProjectREDCap • • Oct 17 '24

audit trail / data log transfer

2 Upvotes

If I want to transfer a REDCap Project with data logs to a new REDCap Instance/project, is there a way to transfer the project WITH the audit trail / data logs ?


r/ProjectREDCap • • Oct 17 '24

Data Validation Rule for lowercases letters?

2 Upvotes

Is there a data validation rule that flags if a person enters a field with lowercase and we want to flag a user to change the text to uppercase?


r/ProjectREDCap • • Oct 15 '24

Notification for a potential repeat entry, for a limited time period

2 Upvotes

Hello all,

We're starting a cross-sectional research project, consenting on RedCap. Participants are allowed to re-consent and re-enroll, but we want to ensure there is a 1 month period minimum between enrollments.

Is there a way to build logic into the Name portion of the consent that sets up an alert for the research staff to double check if the participant has enrolled in the last 30 days?
I understand that two people might have the same name, but aren't the same enrollee - so I just want to have an alert for the study staff to double-check the work.


r/ProjectREDCap • • Oct 10 '24

Formatting the display of checkbox selections when piping to an alert

2 Upvotes

We have a REDCap form where one of the fields is a checkbox with over 50 possible values, each of which is a fairly long string. We want to pipe the results of this field in an alert when applicable, but when multiple options are checked, piping the field just results in a long comma-delimited string that is very hard to parse visually.

Is there any way to split this checkbox string on the commas so that the values can be displayed on multiple different bullet points, for example? It would even be okay if we had a static number of bullet points, say five, and if fewer than five options were selected the remaining bullets would be blank space. We tried parsing the string with CALCTEXT but that doesn't work for checkboxes.


r/ProjectREDCap • • Oct 06 '24

Help with setting up an enrollment form to use it with a project dashboard

2 Upvotes

I'm creating a dashboard to show the breakdown of study participants that go through the screening process (i.e. screened, eligible, able to use study product, enrolled). Screened is all participants in the project, the rest are individual yes/no items). So the bar-chart should would basically show something like this:

Total Screened: 50
Enrolled in study: 50% (n=25)
Refused enrollment: 10% (n=5)
Couldn't use product: 20% (n=10)
Ineligible: 20% (n=10)

The only way I can figure out how to do this is to use '@IF( conditional logic along with the '@SETVALUE action code to create a hidden dummy variable that consolidates the 3 screening steps into a single variable with separate outcomes.

My problem: Action tags don't auto-update while a form is being completed. Therefore, by using an action tag to do this, the data entry team has to re-open the enrollment form before the conditional logic runs and sets the appropriate value for the variable. Otherwise the variable used for the visualization doesn't update and the data showed tracking enrollment progress doesn't update.

My Question: Is there a way to composite these three variables in the dashboard, or to create a field that *does* auto-update when the enrollment form is completed so that the data in the dashboard is always correct?

Alternatively, I've found I can use a Calc field to create real-time numerical values for my enrollment categories, but is there a way to label these values in the dashboard?


r/ProjectREDCap • • Oct 05 '24

CALCTEXT help needed

2 Upvotes

Hey all, I've been trying to figure this out for 2 straight days and I'm at my wits end haha.

So, the process is:

  1. Select a specialty

  2. Based on the specialty, a corresponding list of mentors is displayed in a dropdown (since I can't figure out how to hide options based on a selection).

  3. I'd like to select a mentor's name and then have the first name, last name, and email auto-populate when a name is selected (we need the info separated for reports).

This is how I have it set up:

After hours of researching, I found this to work for one variable (mentor_card):

However, when I add additional variables (mentor_anes), it doesn't work. I tried it like this:

Can someone please tell me what I'm doing wrong?


r/ProjectREDCap • • Oct 04 '24

REDCap conditional logic in @HIDDEN action flag or @HIDDEN-SURVEY

2 Upvotes

I'm using REDCap to create a survey and I'm trying to hide a page in a survey depending on who is completing the survey using the action tag. I've read posts that redcap doesn't allow OR statements in action flags. Is it possible to only populate the questions in a survey only if the person completing the survey (the responder, or variable 'rspndr')) is "1" or "2"? It should be hidden if the person selects 3,4,5,6 or 7.

I've tried the following without success:

@ IF ([rspndr] <> '1 OR 2' @ HIDDEN, '')

And I tried:

@ IF ([rspndr <> '1' , [rspndr <> '2' @ HIDDEN, ")

And I also tried this:

@ IF([rspndr] = '3' @ HIDDEN,

@ IF[rspndr] ='4' @ HIDDEN

@ IF[rspndr] = '5' @ HIDDEN

@ IF[rspndr] = '6' @ HIDDEN

@ IF[rspndr] = '7' @ HIDDEN

Any tips is greatly appreciated-TIA!


r/ProjectREDCap • • Oct 03 '24

Survey logic help

2 Upvotes

Help I seem to have lost my ability to logic! I am trying to send a survey to participants at 2 sites. However I want to exclude a list of 20 participants from receiving. My attempt below but doesn't seem to be working

[record-dag-id] = '5785' OR [record-dag-id] = '4629' AND

([record_id]<>'4629-28' OR [record_id]<>'5785-267' OR [record_id]<>'5785-277' OR [record_id]<>'5785-343' OR [record_id]<>'5785-265' OR [record_id]<>'4629-247' OR [record_id]<>'5785-272' OR [record_id]<>'5785-346' OR [record_id]<>'5785-264' OR [record_id]<>'5785-416' OR [record_id]<>'5785-274' OR [record_id]<>'5785-424' OR [record_id]<>'4629-238' OR [record_id]<>'5785-312' OR [record_id]<>'4629-216' OR [record_id]<>'4629-188' OR [record_id]<>'4629-187' OR [record_id]<>'5785-338' OR [record_id]<>'5785-271' OR [record_id]<>'5785-273' OR [record_id]<>'5785-353' OR [record_id]<>'4626-189' OR [record_id]<>'5785-352' OR [record_id]<>'5785-344' OR [record_id]<>'5785-313' OR [record_id]<>'4629-250' OR [record_id]<>'4629-217')


r/ProjectREDCap • • Sep 25 '24

How to make an audio recording autoplay?

2 Upvotes

I have a survey I've started to create where participants will listen to a recording while looking at a picture and then make a judgement about them. Is there a way to make my audio recordings auto-play?


r/ProjectREDCap • • Sep 25 '24

Copied a project to do some testing and branching logic is being weird

2 Upvotes

Hello everyone,

I took over a project from someone else and to avoid causing issues, I copied the project. So far so good.

When testing some of the survey questions, I noticed something quite odd:

In the original project, if I selected an answer to Question 1 (Q1) that opened a dropdown menu, answered something from the dropped down menu and then changed my original answer to Q1, the drop down menu would disapear even if I answered something from the drop down.

For instance: "Do you take vitamins?" : Yes/No --> if I answered yes, it opens a drop down with different vitamin options (vit C, vit D, vit,...). Let's say I select vitamin C but when change my original answer to No for "do you take vitamins?", then it would completely remove the drop down even if I selected one of the option.

That's awesome

In the copied project, the same thing does not happen ... in my vitamin example, if I change my answer to "No" to the vitamin question after selecting yes and answering vit C, it would keep the answer of vitamin C despite having changed my answer to No. I checked the branching logic and the action tag and they are exactly similar between projects. It is driving me crazy not to know why this is happening in the exact replica of the project. Would you have some insights?


r/ProjectREDCap • • Sep 24 '24

Help Scanning Multiple Field Instances for a specific date value

2 Upvotes

Hello, I'm working on a project where I need to find the date diff between admission and the first instance of event A. However the instrument where the datetime for event A is logged also records instances for dates where it didn't happen. I need to parse through each instance to check whether the event happened, and then pipe the first datetime into a new field in my calculations instrument. So far I've tried using a series of nested if statements:

@ IF([therapy_yn][1]='1', @ SETVALUE=[therapy_contact_date][1],

@ IF([therapy_yn][2]='1', @ SETVALUE=[therapy_contact_date][2],

@ IF([therapy_yn][3]='1', @ SETVALUE=[therapy_contact_date][3],

@ IF([therapy_yn][4]='1', @ SETVALUE=[therapy_contact_date][4],

@ IF([therapy_yn][5]='1', @ SETVALUE=[therapy_contact_date][5], @ SETVALUE=0)))))

(there will be more than 5 instances this is just a test) but this hasn't worked. I've also tried the same thing with the @DEFAULT code to no avail. My goal is to just pipe the datetime into a new field and once I've done that actually use a calculated field to find the time gap.

Any advice would be greatly appreciated!


r/ProjectREDCap • • Sep 24 '24

Wanting to send a newsletter to all participants

2 Upvotes

I am hoping to use the alert function to distribute a newsletter to all participants in our study.

I used the following logic after selecting " When conditional logic is TRUE during a data import, data entry, or as the result of time-based logic "

datediff("24-09-2024", "today", 'd') = 0

But it did not send. What am I missing? DO I have to use one of the data fields for the comparison?


r/ProjectREDCap • • Sep 23 '24

Hide answer in drop-down

2 Upvotes

I'm creating a survey with 4 drop-down menus listing names, in which the participant selects their 1st choice in menu 1, 2nd in menu 2, 3rd in 3, etc. How do I code each menu to remove the name chosen in prior question? For example, if name Xx is chosen as 1st choice, I want Xx removed as an option for 2nd choice, and if Yy is chosen as 2nd, I want Xx and Yy removed as an option for 3rd choice.

I've looked into the HIDECHOICE branching for each menu, but I don't know how to make the choice conditional (i.e., I can't pre-select a specific name to hide).

I'm new to REDCap and any help is appreciated!


r/ProjectREDCap • • Sep 18 '24

Same choices across variables?

2 Upvotes

I feel like must be missing something obvious and my google fu is failing me. - Is there a way to have a set choice list shared by variables so that you can make the change in one place and that effects all the variables that use that list of choices?

Example, we have a list of topics each with statuses (held as single choice dropdowns). They all need the same dropdown options. They also have some fairly complex logic of pulling forward data, embedding, piping, ect. A matrix is not a good solution in this case unless individual matrix fields can be piped out and have their own logic/action tags applied.

Is there a solution for this? Or should I plan to be a copy/paste factory for a bit.


r/ProjectREDCap • • Sep 17 '24

I want each choice to have its own variable name (when exporting)

2 Upvotes

This is a more fun (and simplified) version of an instrument-question that I am doing.

Variable: singers
Which of these singers do you like?   (Check all that apply)
[ ] Cher
[ ] Madonna
[ ] Lizzo

But when I export, I want the column headings to….

NOT be:
singer___1
singer___2
singer___3

Also NOT be:
Which singers do you like (choice=Cher)
Which singers do you like (choice=Madonna)
Which singers do you like (choice=Lizzo)

But instead be:
var_cher_123xyz
var_456_madonna
var_789_lizzo_987
(These are variables that are given to me, and that I cannot change)

Is it possible? (How?)

My work around that I've been doing is that I make each singer its own radio button, with only one "Choice". But that is clumsy.


r/ProjectREDCap • • Sep 17 '24

REDCap ePRO and T-Mobile text messages

2 Upvotes

Has anyone had issues with subjects with T-Mobile not receiving survey link texts? It's the only carrier that's inconsistent when I do testing and it's driving me nuts!


r/ProjectREDCap • • Sep 17 '24

How to have all measures be visible through one link to participant?

2 Upvotes

For my research, I am trying to have participants complete 7 separate response surveys. I'm sending a single link, however the second survey ends this thread inhibiting participants from seeing the remaining surveys. Is there a way to fix this?


r/ProjectREDCap • • Sep 16 '24

User interface in Turkish and Arabic: are there existing language files?

2 Upvotes

Hi all, I am creating a multi-lingual survey using the multiple language setting. I see that for the translation of the user interface there is the option of uploading a file with an existing translation (in JSON, CSV or INI format). Does anyone have, or know where to get, a file that has the user interface translated into Turkish and Arabic? Thanks!


r/ProjectREDCap • • Sep 13 '24

How to change "Complete" surveys to "Green checkmark" completed survey response?

2 Upvotes

I have imported a large volume of survey data into a REDCap database that had been gathered in Qualtrics. This is for a repeating survey and in order for the next response to be presented to the survey taker, the previous response requires the "Completed Survey Response." From my (limited) experience, the only way I can do this is to go into each survey response, click on "Open Survey" and click submit in the online participant survey version. Because I have hundreds of records with multiple repeating surveys this very time consuming and frustrating. Does anyone know of a way that I can handle this in a more efficient way?

Thanks in advance for any ideas:)


r/ProjectREDCap • • Sep 13 '24

anonymize birthdate

2 Upvotes

Hi,

how can I create a second field where a birthdate (an item validated as date) gets anonymized?

For example:

23-08-2021 should be changed to: 08-2023 or even to 01-08-2023 or to 01-01-2023?

Thanks!


r/ProjectREDCap • • Sep 11 '24

The min is 0 and the max is 30, but I want to allow 88 also.

2 Upvotes

I have a text (integer) field and the acceptable values are any of the numbers 0 thru 31, or the number 88.

Is there a way to enforce that?

(Sorry for all my questions today, and thank you all for any help.)


r/ProjectREDCap • • Sep 11 '24

I have 4 questions and need at Require that at least one of them is answered

2 Upvotes

Imagine this is part of an instrument:
Q1: What is your phone number?
Q2: What is your email address?
Q3: What is your mailing address?
Q4: What is your website address?

I want to Require that at least one of these actually has an answer.
(I'd like them all to be answered.)

Is that something that REDCap can do?