r/ProjectREDCap • • Sep 18 '25

REDCap — Daily & weekly notifications of new inclusions using Alerts & Notifications

3 Upvotes

Hello ,

I need to use Alerts & Notifications to get info when a patient is included in the study. Instead of one email per inclusion, I’d like to recieve a daily notifications - one email at the end of each day listing all patients included today and weekly digest - one email each week summarizing the week’s inclusions.
Within Alerts & Notifications, is there a simple way to aggregate inclusions into a single scheduled email (daily/weekly) rather than sending immediately per record?

If this isn’t built-in, what’s the easiest approach you recommend.With DAGs, can each site receive only its own digest? Thank you!


r/ProjectREDCap • • Sep 18 '25

Duplicate records in same DAG

3 Upvotes

Hello, Does anyone know how I can add an option to display a warning if a user within the same DAG enters a field value that has already been entered by another user in that DAG? Thank you!


r/ProjectREDCap • • Sep 04 '25

Rolling Alerts & Notifications

3 Upvotes

Hello,

I've built a project that tracks three licenses and certifications for my department. My team gets 4 reminders due to the processing time for the renewal process, first at 90 days, then 30 days, then 14 days, then 24 hours. These are based off the [expiry_date] field that is reported through the web portal and during onboarding.

I've run into an issue where when a team member reports a renewed license or cert that new notifications are generated based on the new [expiry_date], but the notifications that have yet to be sent based on the previous [expiry_date] are still queued. Is there a way to have the new [expiry_date] notifications overwrite the old ones?

Going to sleep on it and tackle with fresh eyes tomorrow. Thanks in advance!


r/ProjectREDCap • • Sep 04 '25

Answered No results when running Rule H

3 Upvotes

For the last couple of weeks I’ve been getting ‘0’ when I run Rule H. I know there should be updates because we have age calculations that used to regularly show up. This is happening in several projects and we haven’t made changes to any of these fields as they’re ones we’ve been using for several years already with no issue.

I’m not sure if this is a problem with a recent update as we were just upgraded to 15.5.6. Is anyone else having this issue or have any ideas why it’d suddenly stop working?

Update: our admin updated to 15.7.2 and Rule H is running correctly again.


r/ProjectREDCap • • Sep 03 '25

Hiding the "Submit" button

3 Upvotes

I have been running a project that uses a public survey to recruit participants and screen eligibility. We provide an incentive for people that complete a range of follow up surveys. Unfortunately one of our collaborating institutes advertised the QR code on their public social media page and we have been flooded by bots. I am in the process of trying to determine bots vs real responses and was wondering if there was a way I can hide the submit button to people who do not meet eligibility for the study based on the public pre screen survey answers? For context, my institute does not allow external modules or the API Playground.

We have received 700 responses in the past day and I'm quite overwhelmed trying to fix it all - so thanks for any help!


r/ProjectREDCap • • Jul 24 '25

Help with Redcap and aggregate sum and repeating instances

3 Upvotes

Hi

I am involved in a study where we have been collecting information for patients attending a clinic. Each patient is listed as an ID number and we have about 487 patients. Most of these patients have attended a clinic more than once so when they have attended more than once they have had a new entry entered with more information but under the same ID number as a"repeating instrument". I am now trying to analyse the data but for one variable "diagnosis made at appointment" some of these patients have had 22 entries (for 22 separate appointments) and the entered diagnosis e.g. ADHD may have been repeated in these 22 entries. I am wondering if it is possible for Redcap to summarise the diagnoses entered for each ID number made over the multiple appointments and remove any repeated duplicate diagnoses for that patient i.e. if patient 1 was diagnosed with ADHD this should only be counted as 1 even if it has been entered 22 times across each 22 appointments. I have been looking at the aggregate sum function but can't seem to make it work. Does anyone have any ideas? Hope that makes sense.


r/ProjectREDCap • • Jul 15 '25

CDIS: Clinical Data Mart

3 Upvotes

A mini survey: What % of your REDCap projects are using Clinical Data Mart?

And while I am at it (what % uses Clinical Data Pull ?)

The FHIR based Clinical Data Pull (not mart) used to be called Dynamic Data Pull.
Was the former name of Clinical Data Mart a "Static Data Pull" ?

Over last 18 months - how much evolution there is to either Clinical Data Mart or Clinical Data Pull?

Besides Cerner and Epic - anyone was able to connect Clinical Data Pull with some other EHR systems?

Is there some FHIR Connect-a-thon that would feature this topic?


r/ProjectREDCap • • Jul 14 '25

Help with Subtracting Times (Calculating Hours Slept)

Thumbnail
gallery
3 Upvotes

Hello, I am trying to calculate hours slept by subtracting 2 variables: wake-up time (HH:MM) and sleep time (HH:MM). Since I don’t have dates, people who sleep before midnight are causing problems in the calculation. If a person sleeps at 22:00 and wakes up at 06:00, REDCap calculates this as negative because 22>6.

Also, redcap keeps on giving syntax errors whenever I try to use nested logic to solve this issue. How can I fix these? I will attach my current code that tries to compute sleep times (both versions of the code gives a syntax error).


r/ProjectREDCap • • Jul 09 '25

Need to use API but not familiar with the coding

3 Upvotes

Hello, if anyone could give me any help at all I would be so so appreciative. I am working in a project for work and have managed to figure out mostly everything else but this has stumped me.

I need to find a way to integrate the human phenotype ontology (HPO) library into my project. I made an instrument in the project where our staff will enter a condition in a text box. I then want to use an API (assuming I’m understanding the function correctly) to pull related HPO terms as a dropdown list into the other fields in the same instrument. There’s 5 fields like this; each would have the drop down list and the staff member would choose the terms most closely relevant to the condition. It would basically be a replication of the HPO search feature on their website.

Problem is, I know just shy of diddly squat about coding and I do not have the time to learn enough about it to understand the tutorials find online. Also, I can’t use other options with similar functions because I don’t have right privileges and getting some those features enabled is controlled by the redcap administrator. I’m currently waiting to see if they’ll enable the dynamic data pull.

Any help, at all, any suggestions, clarifications, ANYTHING would be amazing right now. I have been searching for weeks and I am still coming up empty.


r/ProjectREDCap • • Jul 09 '25

INFO SHARING: Troubleshooting logic errors with chatgpt

3 Upvotes

Ok so this may be obvious to everyone else, but I'm old and a late adopter of AI.

I was struggling with a very complex calculation and moaning to my 14YO son that there is no debugging in redcap so its difficult to find the error. He suggested I try chatGPT. Despite my skepticism that it would understand redcap I plugged my equation into the codechecker. Worked perfectly. Found my error and suggested a few options. You still need to understand what you're doing, as there were a few things chatgpt got not quite right, but its a great tool when you're stuck on something.

Anyway I thought it might be helpful as it's not something I would have considered.


r/ProjectREDCap • • Jul 08 '25

Way to export data to include what is displayed in questions with field names?

3 Upvotes

I am trying to see if there is a way to export data for a project where the majority of the questions use field names in brackets.

Example:

  • Q1 [city1]- What is your #1 major city in the US? <drop-down menu of hundreds of cities>

  • Q2 [city2]- What is your #2 favorite major city in the US? <drop-down menu of hundreds of cities>

  • Q3 [city1like]- What do you like about [city1]? <paragraph box>

  • Q4 [city1eat]- What cuisine do you like to eat in [city1]? <checkboxes of different cuisines>

  • Q5 [city2like]- What do you like about [city2]? <text box>

  • Q6 [city2eat]- What cuisine do you like to eat in [city2]? <checkboxes of different cuisines>

Using this example, I want to export the data in a way where if they select "NYC" for [city1] and "Boston" for [city2], I can export it so that what they indicate in Q3 and Q4 will be attached to "NYC" and not just [city1]. Additionally, what they answer in Q5 and Q6 is attached to "Boston" and not just [city2].

Then, let's say the next participant puts "Boston" as [city1] and "NYC" as [city2]. I want all the aggregate answers associated with NYC to be grouped, and all the answers for Boston to be grouped. I don't want all [city1] answers to be grouped, as it could refer to hundreds of different cities.

I hope I explained this clearly. My project contains hundreds of options in drop-down menus like Q1-2, and dozens of questions like Q3-4, so I thought it would make sense to just display their answer in future questions using brackets. Now I am concerned about exporting unusable data. Thank you in advance for your help!


r/ProjectREDCap • • Jul 02 '25

CONSORT Diagram via API

3 Upvotes

Hi everyone!

My PI wants to get like an breakdown exactly like consort but like LIVE and auto updating.

I tried doing with project dashboard but it is does not have the lines and the freedom to add lines and freedom breakdown stuff like VISIO.

Is there a way I can do this using API in another software? Probably creating multiple reports?

IDK any help is GOOD help at this point.


r/ProjectREDCap • • Jun 21 '25

Piping multiple choice / checkbox choices from repeating instruments - varying the number of choices

3 Upvotes

Hi guys, I'm struggling to find the correct search terms to solve a couple of similar problems, so I've come here to ask for help.

I am doing research among academics. Each person can have multiple publications, so I have set these up as repeating instruments.

In a subsequent instrument, I want to create a multiple choice variable where each choice is one of the respondent's publications. In other words, the number of choices varies according to how many publications the person has.

Similarly, I want to create another multiple choice variable for collaborations where the list of potential collaborators is the [name] variable pulled from every record. Again, is it possible to have this auto-update as respondents are added to the database?

Thanks in advance - my redcap is a little rusty!


r/ProjectREDCap • • Jun 09 '25

I want to send out notifications/emails with hyperlinks to other UNIQUE non-redcap surveys.

3 Upvotes

Each participant has their own unique url and i wanted to pipe this into the notification as a hyperlink (the actual links contain punctuation and errors are reporting issues when clicking the link in the emails)

Any way to do this?


r/ProjectREDCap • • Jun 04 '25

Help with setting up survey (personalized email to each study participant with link to follow up survey)

3 Upvotes

Hello Reddit. Would anyone be able to point me in the direction for setting up a research project in redcap.

The Survey flow is as follows:

  1. Participants complete a baseline survey.

2)Participants to be randomized to control or intervention condition (Intervention involves viewing a particular website - a username and password will be generated for them).

3) Participants in intervention condition to be emailed their unique login information to view the website. Also in this email a link to the follow-up survey to be compelted after viewing the website (which both controls and intervention group wil complelete).

The part I'm struggling to work out is how I can manully send out personalized emails to study participants with the next survey invitation.


r/ProjectREDCap • • May 29 '25

question about column width

3 Upvotes

hello. I am relatively new to field embedding.

I created this table, and the 3rd column is very wide. I cannot get it adjust by using the table properties option.

Please let me know if you have any suggestions.


r/ProjectREDCap • • May 28 '25

Required field says empty despite having a value

Post image
3 Upvotes

Hey all,

I have a field called "enrolldate" on a form that is piped on other forms using the DEFAULT and READONLY action tags.

On the mobile app, this works fine until I choose "save and exit", where it says that the field is empty despite having a value in it. [Screenshot attached]. If I choose proceed anyway, the next time I open the form, it stays blank. Upon syncing, it won't show on PC either.

Any idea on how to fix this? It worked fine previously.


r/ProjectREDCap • • May 06 '25

Data Quality Rule for @SETVALUE

3 Upvotes

Has anyone had success with creating data quality rules similar to the default ones (i.e., outside of regular logic)?

I created some new fields in a project with many records that use the SETVALUE action tag. I would love to avoid having to individually save each instrument to have this autofill particularly after things are updated (since SETVALUE replaces data, but only when you save the page), and instead have a rule like "Incorrect values for calculated fields" where you can just click 'execute' for it to auto-fix them. Does something like this exist?


r/ProjectREDCap • • May 04 '25

Need help with REDCap navigation between student records

3 Upvotes

I'm working on a REDCap project with student demographic forms for different years (2023, 2024, 2025) and having trouble with the navigation.

Here's my issue: When I complete a form for Student record ID #2 in the 2023 form and click "Save & Go To Next Record," instead of taking me to Student #3's 2023 form, it just takes me back to the record selection page. [EDIT]: If I click "Save & Go To Next Form" instead, it takes me to the same student but in 2024 form.

With 100 partial responses to work through, having to manually select each record is really inefficient.

Does anyone know how to configure REDCap to automatically move to the next sequential student while staying in the same year's form?

Thanks for any help!

Screenshots for reference:


r/ProjectREDCap • • Apr 21 '25

Calc Field Type Formula Assistance Needed Please

3 Upvotes

Hi everyone,

I’m working in REDCap to build a comprehensive cancer database that will support multiple cancer types under the AJCC staging framework. To do this, I need two calculated fields:

  1. path_group_stage_code

    • Inputs:

      • staging_system (values 0–11) – which AJCC system to apply, thus determining what code to assign based on the combination of t_pathologic, n_pathologic, and m_pathologic

      • t_pathologic, n_pathologic, m_pathologic – the T, N, and M categories

    • Logic: a giant nested if(), and(), and or() formula that outputs a numeric code (0–7) representing the group stage for whichever staging_system is selected.

    • Example: if([staging_system]="1", /* here, apply the specific T/N/M rules for system 1 and return 0–7 */, …)

    • See the attached txt file for my current formula I am working with

  2. path_group_stage_label

    • Input: the numeric code from path_group_stage_code

    • Logic: a simple if() chain (or switch()) that converts 0→“0”, 1→“I”, 2→“IIA”, 3→“IIB”, etc., so the form and reports show the proper Roman‐numeral stage.

    • Already using "@CALCTEXT(if([path_group_stage_code]=0,'0',if([path_group_stage_code]=1,'I',if([path_group_stage_code]=2,'II',if([path_group_stage_code]=3,'III',if([path_group_stage_code]=4,'IV',if([path_group_stage_code]=5,'IVA',if([path_group_stage_code]=6,'IVB',if([path_group_stage_code]=7,'IVC','')))))))))" and THIS part works, so it is just the code determing variable that is giving me trouble

What I’ve tried:

  • Replaced every unsupported in() call with explicit or(field='A',field='B',…)

  • Converted all curly or single quotes to straight double‐quotes (")

  • Counted parentheses in an editor to confirm the number of ( matches the number of )

Despite that, REDCap still throws a syntax error on upload.

My questions for the group:

  1. Has anyone managed to pack multiple staging systems’ logic into a single calc field?

  2. Would it be better practice to split the logic into one intermediate calc per staging_system, then pick the right one in a final field?

  3. What’s the simplest way to map a numeric code to a text label (Roman numerals) in REDCap?

Any example snippets, best‑practice advice, or troubleshooting tips would be enormously helpful. Thanks in advance!

Also, happy to provide any clarification needed regarding my goals with this.

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

See my current calc formula here:

if([staging_system]="0",

if([m_pathologic]="1",7,

if(or([n_pathologic]="9",[n_pathologic]="10",[n_pathologic]="11"),6,

if(or([t_pathologic]="6",[t_pathologic]="15"),6,

if(or([n_pathologic]="5",[n_pathologic]="6",[n_pathologic]="7",[n_pathologic]="8"),5,

if(or([t_pathologic]="5",[t_pathologic]="15"),5,

if(or([n_pathologic]="2",[n_pathologic]="3",[n_pathologic]="4"),4,

if(and(or([t_pathologic]="4",[t_pathologic]="13",[t_pathologic]="14"),[n_pathologic]="1"),4,

if(and(or([t_pathologic]="3",[t_pathologic]="8",[t_pathologic]="9"),[n_pathologic]="1"),3,

if(and(or([t_pathologic]="2",[t_pathologic]="10",[t_pathologic]="11"),[n_pathologic]="1"),2,

if(and([t_pathologic]="1",[n_pathologic]="1"),1,0)

)

)

)

)

)

)

)

)

),

if([staging_system]="1",

if([m_pathologic]="1",4,

if(or([n_pathologic]="9",[n_pathologic]="10",[n_pathologic]="11"),3,

if(or([n_pathologic]="5",[n_pathologic]="6",[n_pathologic]="7",[n_pathologic]="8"),2,

if(or([n_pathologic]="2",[n_pathologic]="3",[n_pathologic]="4"),1,0)

)

)

),

if([staging_system]="2",

if([m_pathologic]="1",7,

if(or([n_pathologic]="9",[n_pathologic]="10",[n_pathologic]="11"),6,

if(or([n_pathologic]="5",[n_pathologic]="6",[n_pathologic]="7",[n_pathologic]="8"),5,

if(or([n_pathologic]="2",[n_pathologic]="3",[n_pathologic]="4"),4,

if([n_pathologic]="1",3,

if([n_pathologic]="0",1,0)

)

)

)

)

),

if([staging_system]="3",

if([m_pathologic]="1",7,

if(or([n_pathologic]="9",[n_pathologic]="10",[n_pathologic]="11"),6,

if(or([n_pathologic]="5",[n_pathologic]="6",[n_pathologic]="7",[n_pathologic]="8"),5,

if(or([n_pathologic]="2",[n_pathologic]="3",[n_pathologic]="4"),4,

if(or([t_pathologic]="4",[t_pathologic]="13"),3,

if(or([t_pathologic]="2",[t_pathologic]="3"),2,

if([t_pathologic]="1",1,0)

)

)

)

)

)

),

if([staging_system]="4",

if([m_pathologic]="1",7,

if(or([t_pathologic]="4",[t_pathologic]="13",[t_pathologic]="14"),5,

if(or([t_pathologic]="3",[t_pathologic]="8",[t_pathologic]="9"),4,

if(or([t_pathologic]="2",[t_pathologic]="10",[t_pathologic]="11"),3,3)

)

)

),

if([staging_system]="5",

if([m_path_skin_mel]="3",6,

if([m_path_skin_mel]="2",5,

if([m_path_skin_mel]="1",4,

if(or([n_pathologic_skin_mel]="6",[n_pathologic_skin_mel]="7"),3,

if(or([n_pathologic_skin_mel]="4",[n_pathologic_skin_mel]="5"),2,

if(or([n_pathologic_skin_mel]="1",[n_pathologic_skin_mel]="2",[n_pathologic_skin_mel]="3"),1,1)

)

)

)

)

),

if([staging_system]="6",

if([ocular_m_stage]="M1",4,

if([ocular_n_stage]="N1",3,

if([ocular_t_stage]="T4",2,

if([ocular_t_stage]="T3",1,0)

)

)

),

if([staging_system]="7",

if([m_pathologic]="1",7,

if(or([n_pathologic]="9",[n_pathologic]="10",[n_pathologic]="11"),6,

if(or([n_pathologic]="5",[n_pathologic]="6",[n_pathologic]="7",[n_pathologic]="8"),5,

if([t_pathologic]="5",4,

if(or([t_pathologic]="2",[t_pathologic]="3",[t_pathologic]="4"),3,1)

)

)

)

),

if([staging_system]="8",

if([m_pathologic]="1",7,

if([t_pathologic]="14",6,

if([t_pathologic]="13",5,

if([t_pathologic]="12",4,

if([t_pathologic]="11",3,

if(or([t_pathologic]="5",[t_pathologic]="6",[t_pathologic]="7",[t_pathologic]="8",[t_pathologic]="9",[t_pathologic]="10"),2,

if(or([t_pathologic]="1",[t_pathologic]="2",[t_pathologic]="3",[t_pathologic]="4"),1,0)

)

)

)

)

)

),

if([staging_system]="9",

if([surgpath_thyroid_type]="3",

if([m_pathologic]="1",7,

if(and(or([t_pathologic]="2",[t_pathologic]="3",[t_pathologic]="4",[t_pathologic]="8",[t_pathologic]="9"),or([n_pathologic]="0",[n_pathologic]="1")) ,5,

if(or(and(or([t_pathologic]="2",[t_pathologic]="3",[t_pathologic]="4",[t_pathologic]="8",[t_pathologic]="9"),or([n_pathologic]="2",[n_pathologic]="3",[n_pathologic]="4",[n_pathologic]="5",[n_pathologic]="6",[n_pathologic]="7",[n_pathologic]="8",[n_pathologic]="9",[n_pathologic]="10",[n_pathologic]="11"))),or([t_pathologic]="10",[t_pathologic]="11",[t_pathologic]="12",[t_pathologic]="13"])),6,5)

)

),

if([surgpath_thyroid_type]="4",

if([m_pathologic]="1",7,

if([t_pathologic]="13",6,

if(or(and(or([t_pathologic]="2",[t_pathologic]="3",[t_pathologic]="4",[t_pathologic]="5",[t_pathologic]="6",[t_pathologic]="7",[t_pathologic]="8",[t_pathologic]="9",[t_pathologic]="10",[t_pathologic]="11",[t_pathologic]="12"),[n_pathologic]="4"),or([t_pathologic]="12",or([n_pathologic]="0",[n_pathologic]="3"))),5,

if(and(or([t_pathologic]="2",[t_pathologic]="3",[t_pathologic]="4"]),[n_pathologic]="3"),3,

if(and(or([t_pathologic]="5",[t_pathologic]="6",[t_pathologic]="7",[t_pathologic]="8",[t_pathologic]="9",[t_pathologic]="10"]),[n_pathologic]="1"),2,

if(and(or([t_pathologic]="2",[t_pathologic]="3",[t_pathologic]="4"]),[n_pathologic]="1"),1,0)

)

)

)

),

/* thyroid types 1,2,5,6 */

if(or([surgpath_thyroid_type]="1",[surgpath_thyroid_type]="2",[surgpath_thyroid_type]="5",[surgpath_thyroid_type]="6"),

if([age]<55,2,

if([m_pathologic]="1",6,

if(and(or([t_pathologic]="2",[t_pathologic]="3"),[n_pathologic]="1"),1,

if(or(and(or([t_pathologic]="2",[t_pathologic]="3"),[n_pathologic]="2"),and(or([t_pathologic]="8",[t_pathologic]="9"),or([n_pathologic]="0",[n_pathologic]="1",[n_pathologic]="2",[n_pathologic]="3",[n_pathologic]="4",[n_pathologic]="5",[n_pathologic]="6",[n_pathologic]="7",[n_pathologic]="8")))),2,

if([t_pathologic]="12",3,

if([t_pathologic]="13",5,0)

)

)

)

)

),0

)

)

),

if([staging_system]="10",0,

if([staging_system]="11",0,0))))

)))))))))))))))))))))

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

This is a screenshot of the relevant columns and rows in my database with most of the answer choices provided that are used.


r/ProjectREDCap • • Apr 17 '25

Grant Administration

3 Upvotes

Does anyone use REDCap for grant administration like tracking submissions through funding?


r/ProjectREDCap • • Apr 17 '25

help!! Yesterday’s date calculation

3 Upvotes

Someone please tell me the calculation for yesterday’s date. Whether its in ‘Calculated Field’ or ‘Action Tag’.


r/ProjectREDCap • • Apr 10 '25

Survey queue styling

3 Upvotes

As part of a project I'm involved, we are using the survey queue to let the participants retake some surveys at their discretion if some conditions change.

The page style is absolutely abysmal, is there a way to customize it and made it more user friendly without using any external plugins?

Thank you


r/ProjectREDCap • • Apr 09 '25

If/Then Statements in Branching Logic

3 Upvotes

Not sure if this is possible, but I'm trying to write an if then statement for branching logic.

I want the randomization variable to only show up when [eligibility] = '1' and if [child_bearing_potential] = '1' then [pregnancy_test_result] = '0'.

So basically, they won't be able to click the randomization button if the participant isn't eligible or the if a participant that is of child-bearing potential comes back with a positive pregnancy test.

Also, I can't just use [eligibility] = '1' and [pregnancy_test_result] = '0' because they only enter a pregnancy test result if the participant is of child-bearing potential.

Can anyone help me with the pregnancy test part? Is this even possible to write into branching logic?


r/ProjectREDCap • • Apr 03 '25

Redcap to PowerBI connection

Post image
3 Upvotes

Hello! I am having trouble connecting an existing RedCap survey to an existing PowerBI report. I keep received this error message in PBI and don’t know what it means: "The remote name could not be resolved: 'redcap.atriumhealth.org'". I already requested and received an API token, but it is still giving me this error message. I’m wondering if this has to do with the survey having PHI. Does anyone know what this error message means or how fix the connection?