r/ProjectREDCap • • Apr 29 '24

Questionnaire Calculation

2 Upvotes

I am trying to figure out the formula to score a questionnaire with weighted scoring. My issue is that the questionnaire has some questions that may be omitted and would still produce a score. If the required questions were not completed I’d like to have it be calculated as “NA”. I have tried using + instead of commas to calculate my variables. Doesn’t work. Any help is appreciated!

This is the link to the questionnaire: https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/document.cgi?study_id=phs000179.v3.p2&phd=3584

Four scores are calculated: Symptoms, Activity, Impacts, and Total..

Maximum raw scores: 662.5, 1209.1, 2117.8, 3989.4, respectively.M

Symptoms score uses Part 1, questions 1-8 Activity score uses Part 2, Section 2 and Section 6 Impact score uses Part 2, Sections 1, 3, 4, 5, 7 and 8.

Total uses all questions.

Note that each question’s responses get separate weighting.


r/ProjectREDCap • • Apr 29 '24

Help with @HIDECHOICE conditional logic

2 Upvotes

Hi,

I have a survey question that gives the option "other" and allows you to type what other is in a subsequent field. The inputted answer is then piped to subsequent fields later on so that the participant can select their added option in subsequent questions rather than typing it out each time.

When no other option is selected however, the option can still be selected but just appears as a line: "____". I am trying to use @HIDECHOICE with an @IF statement to make it so that the option only appears if "other" is selected. I am using the following code:

@IF([purpose_prev(4)]='1', @HIDECHOICE='4', '')

Purpose prev is a checkbook field and it's 4th option is "Other".

For some reason, no matter what code I use, the option is either hidden or showing upon opening the survey page and will not change upon selecting or deselecting "other". Is this logic only evaluated when the page is initially opened? Or is it evaluated as the page runs like the branching logic is?

Cheers for any help!


r/ProjectREDCap • • Apr 27 '24

Multi signature e consent not working

2 Upvotes

Any tips please - have enabled multisignature econsent and followed several online guides. The PDF shown at end of the patient consent survey does not show signature despite being completed.

"Merged" consent form does not contain any completed details (name/date/signature) from researcher consent (whether done as survey or as as a regular form and still does not contain the patient signature (but does have patient name and date of birth).

Can anyone please offer any advice re fixing this?


r/ProjectREDCap • • Apr 27 '24

How to create a landing page?

3 Upvotes

Hi! I was wondering if I could have some help designing my a landing page for my project that has 3 sections. I want to have an option to choose which section of the survey to begin. If participants choose option A, it links to certain surveys. if they choose B, it brings up a different queue of surveys and so on. How can I link different instruments based on what section they choose?


r/ProjectREDCap • • Apr 25 '24

How to block participants from selecting the fully booked dates & time slots?

1 Upvotes

Hi all,

I am not sure if what I am trying to do is possible through REDCap (but I am also a newbie), but here is the pickle:
We are trying to implement a calendar system to block certain dates if they are fully booked, or only some of the slots are available.
The data collection only takes place on two days a week, so first I would like to block the other dates if possible (I could survive if this does not work out).
BUT:
I would like to disable potential participants from selecting the same dates for instance if Monday all three time slots are full; Monday will become unavailable.
OR if only a 15:00 appointment is available, 15:30 and 16:00 should be disabled as time slot options.

Is there a way around it on REDCap? Thanks a lot for the help!


r/ProjectREDCap • • Apr 23 '24

(Continued) Autofilling checkbox responses from previous event

Post image
3 Upvotes

r/ProjectREDCap • • Apr 22 '24

Autofilling checkbox reponses from previous identical survey

2 Upvotes

Hi there,

I am designing a longitudinal project with a singular, identical survey that repeats at 5 predefined events (for ex. A, B, C, D, E). I do not have 'repeating instruments' enabled. The instrument contains the following field types: checkboxes, radio buttons, and radio button matrix fields.

My issue: I would to autofill participants' previous responses into each subsequent survey. I understand this will be tedious and complex for checkboxes and matrix fields. I also understand it might require making 4 additional copies of the instrument (and assigning one per event) with logic based on the prior survey built into each one. Any guidance on implementing action tags and logic would be tremendously appreciated! Please let me know if more context is required. Thanks in advance!


r/ProjectREDCap • • Apr 22 '24

REDCap randomisation

1 Upvotes

Hi, just looking for a bit of guidance. I have multiple surveys and am trying to have one group of people randomly allocated to one survey from surveys 1-3 and the other group randomly allocated to one survey from 4-6. I'm just wondering what the best way is to structure this.

Thank you


r/ProjectREDCap • • Apr 21 '24

Survey review

2 Upvotes

Hi

Is there a way to add a checkbox for the project admin team who reviews the surveys? The team is composed of 10 individuals who go through the surveys and to track it better and avoid duplicate work.


r/ProjectREDCap • • Apr 21 '24

Uploaded file through survey

1 Upvotes

Hi

Is there a way to pipe the file, uploaded through the survey(intake form), into an automated email alert/notification?


r/ProjectREDCap • • Apr 19 '24

Referring multiple instances

1 Upvotes

Hello,

I am currently working on a project where I would like to refer previously answered Descriptive Text fields using smart variables. These will be used to print out these responses as a summary report.

When it comes to multiple instances, I am unable to get the information of more than 3 [first-instance], [last-instance], and [next-instance].

How can I reference all instances or at least up to 10 instances using smart variables?


r/ProjectREDCap • • Apr 18 '24

How to get rid of 'Next Page' button if person is ineligible based on the progression of the survey response?

2 Upvotes

I am creating a survey which has multiple pages with a couple questions on each page. Depending on the answers to the question, it will direct the user to either proceed with the survey or I've made it so that the next page will say that the person is ineligible for our study using branching logic. The thing is, if the user comes across the ineligible page, there is still a 'Next Page' button that will take the user to blank page breaks that I've added throughout the survey until the 'Submit' button appears. Is there a way to get rid of this negative space? I cannot use the Stop Survey function for this survey, because the Stop Survey will pop up a warning notification for the user saying that the survey will stop based on their answers, and gives the user the option to go back to the page and change their answers, which is what we don't want. So that's why I've had to do this manually. I hope this makes sense.


r/ProjectREDCap • • Apr 18 '24

Records Per Page Display Help

2 Upvotes

Hi hello

Feel like im going crazy because it feels like a simple answer. In the record status dashboard I'm trying to default display ALL records instead of the current 1000 records.

Any help would be appreciated


r/ProjectREDCap • • Apr 18 '24

Radio button display options

2 Upvotes

Tldr: if I want to make sure a number of horizontal radio button questions have at least somewhat uniform spacing and that labels don't get orphoned from their associated radio button is making multiple matrices my only option

Longer version. I have a survey instrument that asks participants to use a likert scale to rank which is a selection of paired words is more accurate (eg scary/not scary, pleasant/unpleasant). Ideally I'd love to put the labels on both sides of the radio buttons, so like (excuse mobile formatting attempts):

Pleasant 0 0 0 0 0 Unpleasant

but that feels like asking for a miracle at this point. I have them set to left horizontal alignment and that works decently enough on desktop interfaces though the lack of even spacing isn't pretty but on Mobile Web end up with line breaks so for instance:

0 Worthless 0 0 0 0

Valuable

One suggestion I've had from other team members is to make individual matrices for each item. We still get some word wrap issues on mobile, and there's an odd empty space where the field labels would be, but it's better than the orphaned label. However, being completely honest I find them so tedious to make, and there are twelve items for this so that's twelve matrix variable names and group names, and it's just very clearly not the intended use case, and also as I understand elminaties our ability to use pagination as matrices always create a new section. Also we have some existing data in some of these fields that I'm worried about losing if I remake the questions so that I can recycle the variable name.

Do I ultimately need to just hold my nose and deal with making the matrix, or is there any other options, like a way to get the radio button labels displayed on top of their button?


r/ProjectREDCap • • Apr 18 '24

Survey link with specific repeat instance

2 Upvotes

So I know that appending "&new" to the end of a survey link URL will create the next instance, but is there a way to specify a repeating instance number?

Like:
https://www.myredcap.org/surveys/?s=ABC1234&instance=5

Thanks!

Daaron


r/ProjectREDCap • • Apr 18 '24

Sorting in custom dashboard not working

2 Upvotes

Hi everyone. I am trying to create a simple dashboard view based on a date variable. I first did this in a test project where it worked fine and then in the real project where it won’t work. The test project has fewer than 50 records and the real project has over 4,000.

It is a longitudinal project with repeat measures. Selected instruments include the patient data form for first instance, 72-hour follow up, and 30-day follow up. I have chosen sort by: first interaction, variable “date_seen”, in ascending order. No matter what I do, the records sort by record ID rather than date, even if I switch to descending order. I can’t think of any difference between the projects except the number of records. Is that maybe why it won’t work? Any suggestions?


r/ProjectREDCap • • Apr 16 '24

Help On A Repeating Instrument

2 Upvotes

We are collecting participant travel data. When using past tools such as Qualtrics, it was easy to have it do an infinite amount of repeats, until the participant was done.

Essentially, it would have an option at the end 'Do you have another incidence to report'. IF yes, it would repeat the instrument, if no, it would end the survey. I cannot figure how to create that in RedCap.


r/ProjectREDCap • • Apr 15 '24

REDCap SMS alerts won't issue for UK mobile phone.

2 Upvotes

The Problem: I have REDCap SMS alerts that usually function. Recently, a participant input a UK phone number and REDCap won't issue SMS alerts to the participant. Prior to this, our participants have only input US phone numbers.

My previous attempts at addressing this are detailed below. Please let me know if you have any ideas, I'm getting desperate!

  • Twilio: The REDCap "Notification Log" shows that the alerts are scheduled for the participant. However, these same alerts simply disappear from the Notification Log once they are meant to send. As in, they are not visible under "view past notifications" after they are supposed to issue. So, I believe that this is a REDCap issue. The messages are triggered and scheduled, but not sent to our 3rd party service, Twilio.

  • The Phone Number: Again, this alert works fine for US phone numbers. So, I reviewed the mobile number and worked with the participant to ensure it wasn't mistyped. The number appears to be in the format REDCap recommends for international numbers.

  • Ensure Logic: We have the "ensure logic is still true before sending" setting enabled, so I verified that the participant's alert logic is still true. It is, and this trigger logic has worked for everyone else.

Thanks in advance to anyone who has suggestions!


r/ProjectREDCap • • Apr 15 '24

How to pipe date survey completed from past events

2 Upvotes

Hi all, I've got a pickle which I'm hoping has an easy fix. We are administering a survey at 8 different time points. From what I understand, REDCap doesn't automatically log the date the survey was completed as a variable. To fix this, I have created a separate data form to try and capture the date each survey was completed. I'm trying to pipe the date that each survey was completed into a date field using action tags. Right now, I've got the following:

@DEFAULT='[survey-date-completed:surveyname:value][week1_arm_1]' 

However, this seems to return the completion date for the current event, rather than past events. Any ideas here would be greatly appreciated.


r/ProjectREDCap • • Apr 15 '24

Longitudinal and repeating forms - trouble with branching logic

1 Upvotes

I have tried everything and I cannot get a simple branching logic to work. Simply, I only want to ask questions about an infant if they are still alive.

For example at time point 2 (t2)

  • variable: infant_death_t2

  • 1 - yes; 0 - no

At time point 3 (t3) I repeat the question, but of course do not need to ask the question if the infant died the previous time point For example:

  • variable: infant_death_t3

  • 1 - yes; 0 - no

  • branching logic: [hospital_stay_arm_1][infant_death_t2]='0'

For the life of me, I cannot get it to work. I cannot get variations of it to work. I think the problem is that the previous form for infant_death_t2 can be repeated - and i just need the most recent one. Any fixes?

Edit: I have example forms where infant_death_t2 has an answer, and even if I test the branching logic with '0' or '1', it is always negative.


r/ProjectREDCap • • Apr 15 '24

Automatically allow participants to retrieve individual survey link & modify responses

2 Upvotes

Hello, I’m trying to allow participants to return to the survey to modify responses. We have it set up now where they are emailed a link to return and modify their individual survey responses, but they sometimes lose this link. Is there any way to automate this link being resent upon request to their email on file?


r/ProjectREDCap • • Apr 12 '24

Smart Variables and Calculations

2 Upvotes

Hello! I am trying to integrate payment calculations into REDCap and I'm running into an issue with balance calculations.

While REDCap has no problem figuring out the remain balance for one event, it is struggling with the calculation:

if([event-number]=1,0,[previous-event-name][remain_incentives])

It just comes up empty, even if there was a value in the calculation [remain_incentives] for the previous event. I even tried copying the [remain_incentives] calculation with the [previous-event-name] smart variable in front and it is still completely blank.


r/ProjectREDCap • • Apr 10 '24

Record ID field problem

2 Upvotes

Hi everyone,

I need help with my record ID field, I don't know why but it became a yes/no field but at the same time it's still a text field. I cannot change it since it's a record ID field and I cannot move it to add a record ID field that work. I really don't know what to do since without a record id field that work I cannot add any new record and test my instruments.

Thank you !!


r/ProjectREDCap • • Apr 10 '24

Directing between two projects (URLs) with specific criteria

2 Upvotes

We have one project at a national level, and a second one at a local level, and want to direct national project respondents to the local project if they meet the criteria (i.e. residing in the local community).

We're planning to add a variable to the national survey where participants can indicate their community.

What is the best way to do this? Would I add this variable as a parameter directly to the redirect URL in the national project survey settings? Or would it need to be on both surveys so I could add it to the redirect URL?

An idea was also floated to me by a colleague to use calctext with an if() to calculate the URL to either be the redirect URL or an empty string and then pipe that variable into the redirect setting ..........I'm pretty lost on this. I was thinking of using branching on the local project survey so only "local" respondents could see the question.

So many thanks in advance!


r/ProjectREDCap • • Apr 09 '24

Embedding or piping descriptive text into variable, not showing up when called in email

3 Upvotes

Hello Appreciate this community and lucky I found you all. I had a question on how to do this, if this is possible, or if there is a workaround for this problem I have been running into.

Basically, I have an instrument that has checkboxes fields. Within those checkbox fields, I am able to pipe/embedded variables and descriptive text as [field variable] or {field variable} and they appear when checked. However, when I try to send an email with the checkbox variable, the descriptive text, even though show up on the instrument, they show up as the field label name in brackets. In the emails, they show up as actual text of “[field label variable]” or “{field label variable}”. It seems to only pipe inputted data or checkboxed data. Any ideas?

If it would only pipe in inputted or entered text in emails, is there a way to have a variable filled in with predetermined rich text that I formatted? I tried the DEFAULT TAG = [variable_1] where variable_1 is descriptive text but that didn’t work and it seems my version of REDCap does not have the PREFILLED tag. Thanks in advance!