several redcap questions

Re: several redcap questions

by Josh Senyak -
Number of replies: 0

Hi Laura,

1. It's always helpful to know what you mean exactly by "not working," since that's can be a clue to troubleshooting. But two things stands out:

The small "m" in your equation calculates the number of minutes since date_of_first_biopsy. If you change it to "M" you'll get the number of months, not minutes.

If you've defined date_of_first_biopsy as a mdy-style date, you'll have to change your equation to format "today" accordingly. In that case, you'd use rounddown(datediff("today", [date_of_first_biopsy], "M", "mdy")). It's very annoying that REDCap will treat your equation as "valid" without that reformatting, but then when you try to enter a record it will tell you there's an error.

If it still doesn't behave as you expected, please give any error messages or the particular behavior and we can troubleshoot from there.

2. I think you & I discussed this in class, but if anyone else is curious: you can easily save your database with Project home | Other functionality | Copy the database.

3. Not sure whether you're really trying to "change the name of each follow up visit (like visit 2, visit 3)" or change the title that appears over the Visit when you're doing data entry using "Add/edit records."

If the former: there's no such thing as "the name of each visit" unless you create a field in an instrument and put a name into that field. REDCap won't do that automatically.

But if your concern is about the labeling of the Visit in "Add/Edit records": once you create "Visit" as a repeatable event, every new event will automatically appear as "#1", "#2" etc. REDCap does provide this automatically, and what's more it shows that number in the "redcap_repeat_instance" column of your data export.

If you want to format that label even more - piping will do that for you.

4. You & I have discussed this in class too, but if anyone else has the same question:

From the Online Designer, click the "Choose Action" button for the intrument you want to copy in, and select "Download Instrument ZIP." Repeat for each instrument you want to copy in.

Go to the target database, and in the Online Designer choose "Upload"; repeat for each of the instruments.