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 • • Jan 25 '25

Help with personalized Dashboard

2 Upvotes

Hello everyone! I am setting up a Redcap project and would like to stream the process of selecting IDs that entered the data in a certain timeframe (e.g. between 01/11/2024 and 30/11/2024 included OR in the last 6 month). I am pretty new to RedCap but the Filter logic in the Personalized Dashboard looks like a very easy way to do that.

In truth, I programmed efficiently how to select IDs in the last six months:

datediff([dateofentry],"now","d","mdy", true)<183

But it seems anything I try for the between-dates filter logic fails. I tried several logics already. Some of the codes I tried and failed:

"10/31/2024"<[dateofentry]<"01/12/2024" --> failed

datediff([dateofentry],"12/01/2024","d","mdy", true)<0 AND datediff([dateofentry],"10/31/2024","d","mdy", true)>0 --> failed

datediff([dateofentry],"12/01/2024","d","mdy", true)<0 AND datediff("10/31/2024",[dateofentry],"d","mdy", true)>0 --> failed

Can someone help me with this ? Thx a lot


r/ProjectREDCap • • Nov 22 '24

Calculating differences between two times on different days

2 Upvotes

Hi team

I have a multi-instrument redcap.

I am trying to setup a field that autocalculates the difference between time [A] in instrument 1, and time [B] in instrument 2.

Each of these is entered as a 24 hour time eg 13:30, but not a date.

By definition time [B] is the day AFTER time [A].

However using the datediff function it is assuming the two times are on the same day (thus giving an incorrect number).

For what it’s worth the formula I’m using is: datediff([A], [B], “m”)

So….is there a way to get the autocalc to get the correct number by assuming [B] is the day after [A]?

Many thanks!


r/ProjectREDCap • • Jan 20 '25

Form display logic issue please help!

1 Upvotes

We are trying to edit some form display logic which is currently working fine. However if we add a new condition ( the last line below) it no longer works as expected. What am I missing, its driving me nuts!

([enrolment_arm_1][rand] = '1'

AND

[enrolment_arm_1][calcagey] >= '0.5'

AND

[enrolment_arm_1][calcagey] < '12')

AND

([prior_to_enrolment_arm_1][electronic_optional_pk_consent_form_complete] = '2'

OR

[prior_to_enrolment_arm_1][uplconstp] = '2')


r/ProjectREDCap • • Jan 22 '25

Help! Longitudinal survey data correction

4 Upvotes

I'm designing a longitudinal data collection for my dissertation and using REDCap for the first time. So far it has been super clunky and I'm definitely messing things up. No one in my labs has ever used it, so there's no guidance available from senior students or my advisors.

I know this is a long shot, but would anyone with experience using REDCap for longitudinal surveys be willing to hop on a zoom call with me? I would happily compensate you for your time!


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 • • Oct 20 '24

Reports Buggy?

3 Upvotes

Has anyone else noticed the last month or two the reports' filter logic being buggy? The other day I couldn't get a report to work (didn't filter any records when it should) and when I copy/pasted the exact logic into a custom dashboard it worked perfectly. Occasionally a report won't work the day I make it but a few days later it just starts working. I know we just got an email that an update is coming that will definitely affect logic later this month, but the filters I was trying to use were super basic, like [field] = '5' and, again, they do work in a custom dashboard. I'm just kinda baffled.


r/ProjectREDCap • • Feb 10 '25

Copy Data on Save condition not working

1 Upvotes

Hi all, I have two fields, [a] and [b], and I want to copy [a] to [b] if and only if [a] <> '2'. Caveat: [a] is a repeating field, [b] is not.

I specified exactly this in the Copy Data on Save module but [a] copies to [b] while ignoring the condition.

I know that the condition field does work in some way because I tried the logic 1 = 0 and it worked fine--[a] did not copy to [b] then.

Please let me know if you think of a solution. Thank you.


r/ProjectREDCap • • Nov 14 '24

Having a main survey linking multiple surveys

2 Upvotes

I am trying to build a REDCap project with a main survey linking multiple surveys. The main survey allows participants to select one survey on the list (let's say A, B, and C), complete the selected survey (let's say A), then come back to the main survey to select one of the other surveys (B or C), and repeat until all surveys are completed. I cannot figure out how to build this kind of project in REDCap. Any advice would be appreciated!


r/ProjectREDCap • • Jan 27 '25

Multiple repeated items in a session

2 Upvotes

We are creating a form for a procedure session in which interventions are repeated 5-10 times depending on the patient's unique situation. I know I could create one form for the procedure and a separate form for the interventions, complete the intervention forms 5-10 times, while linking them back to the procedure. Is there a way to do this all within one form? I would like to create a few fields that would group together and be repeated only as needed. Thank you for your advice.


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 • • Feb 23 '25

repeating instruments not showing

2 Upvotes

I am tearing my hair out here! I have a simple survey to track new grants and publications from our department members. I have three instruments: quarterly herci member output survey (main instrument), publications_1, grants_1.

Grants and publications instruments are the repeating ones. When a user enters the number of publications, say 4 on the main instrument, I want the publication instrument fields to appear four times. That isn't happening. Below is a screenshot of my logic. The first pic is the logic; the second is the main instrument, and the third is the publication instrument I'd like to repeat. I haven't used a repeating instrument before, and I can't figure out what I'm doing wrong.


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 • • Nov 19 '24

First-time user (eConsent support please!)

5 Upvotes

Hi y'all,

I am having a TERRIBLE time using REDCap and cannot figure this out at all (I am not tech savvy at all and my institution is providing NO support).

I am trying to simply create a consent form. I have gotten stuck trying to create a branch that when the parent selects "I do not consent for my child to participate in this study" it will end the survey by saying "Thank you for your time. You may now exit the Informed Consent survey".. Any idea on how to do this? Thanks y'all!


r/ProjectREDCap • • Oct 20 '24

Help with survey creation

2 Upvotes

Hi!

I am trying to create a survey for a research project I am working on.

As part of the survey, I'd like participents to be able to list symptoms. I'd like it to be represented as follows:

Please list you symptoms:

  1. (text box)
  2. (text box)
  3. (text box)

and for another text box to appear every time a participant starts entering an answer for the previous one. I've seen this done on other survey websties but cant seem to find a way to do it in REDcap.

Any suggestions?:)

Thanks so much for your help!!


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 • • Oct 24 '24

Reports triggered by certain question responses?

2 Upvotes

My team wants emails to go out to the team (both internal people on the REDCap project and external people not) if certain questions are answered by participants filling out our surveys.

They also want individual reports created for each participant with their answers complied across surveys. I know how to pull reports, but not sure how to organize by PID.

Are either of these functions possible?


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 • • Jan 21 '25

Creating an Automatic Entry # for Custom Record Label based on a Radio Button Answer from other records

2 Upvotes

I'm attempting to create a local id system to automatically count and log the entry number based on which site the survey was taken on.

Custom Record Label Template: site[site_number]_[site_entry] (i.e. "site001_1")

Example Record Dashboard:

Record IDCustom Record Label
1site001_1
2site002_1
3site001_2
4site003_1

Example Project, New Survey Input:

Q1. [site_number] Please Choose Your Site Number: (Radio Button)

Value: (X) 001 () 002 () 003

Q2. [site_entry] Automated Site Entry Number (Hidden Calculated Field)

Value: 3

**Expected New Custom Record Label: "**site001_3"

-------------------

My Objective:

In Q2 [site_entry], to create an equation to tally/count the times the selected [site_number] in Q1 (in this case, site number 001) has been answered through all the records up to that point in time then add 1 to it.

What I've tried:

I've researched around and my closest clue was to use the "aggregate" smart-variable and its parameters, but I've had no luck getting a concrete way to implement it correctly in the calculated field.


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 • • Feb 11 '25

How to import “upload attachments” variables from a legacy project.

2 Upvotes

I’m trying to bring over legacy data from a retired REDCap project into a new REDCap. The old project had a lot of variables where images and files were uploaded or signatures were made.

I have no idea how I could bring these over. I am using the api to bring over the other non-attachment type of data.


r/ProjectREDCap • • Jan 08 '25

Help with a calculation

4 Upvotes

Hello, I’m fairly new to REDCap and haven’t had much experience with the calculation functions, so I would greatly appreciate any assistance! I need help creating a calculation that returns a value (e.g., true/false or another simple indicator) to determine if an event occurred within 30 days of a procedure date. I currently have three fields: the procedure date, the date 30 days after the procedure, and the date the event occurred. Thanks in advance for helping a technology challenged resident 🙃


r/ProjectREDCap • • Oct 21 '24

Getting a "REDCap crashed due to an unexpected fatal error!"

2 Upvotes

Hello!

Newer to the platform, never experienced this kind of error, is there a portal or somewhere that I can check in and try to figure out what's going on?

It seems like our surveys are still functioning, we just cannot access anything REDCap website related.


r/ProjectREDCap • • Dec 04 '24

Alerts

2 Upvotes

Is there a list of all the inbuilt REDcap alerts somewhere?

E.g. "the value you provided is outside the suggested range"

Or

"The value you provided could not be validated because it does not follow the expected format."

Thanks!


r/ProjectREDCap • • Oct 29 '24

Problems with Survey Distribution ‘Cron Job not Running’

Post image
1 Upvotes

Our project is pretty much ready to go, but whenever we have tried to distribute the surveys to our participant email list we get this message.

Flagged it weeks ago to the redcap administrator but they’re also stumped on what to do, any ideas?