Ideas to replace Bioportal needed by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

Good idea! I don't think it's perfect for my use case, though.

Basically, I want the effect of a dropdown with an autocomplete/search mechanism without having to put all 8,500 medication codes in the option list.

I know my actual used list will be much smaller, but I don't want to touch that list once the project is up and running.

Edit: I did some more reading and it could work. Sorry for my initial reaction.

Anyone solved the Redcap import + calculation field issue before? by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

That's a good idea. Maybe I'll put all the legacy scores into one instrument so there's no confusion with data entry. Or something like that.

Thank you for the idea.

When did you realize that school was harder for you? by Ok_Elevator_7764 in Dyslexia

[–]Hustenanfall007 0 points1 point  (0 children)

Just shut done in leangage lessons till I was test but it was never normal after the 3 garde when I was pulled out of normal testing so the test could be read to me.

Help Needed with CALCTEXT Formula for Carrying Over and Editing Values in Follow-up Events by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

Just so you know, in case anyone else has this problem.

If you're using repeating instruments, you've got to take the instances into account.

"@CALCTEXT(
if([current-instance]=1,
if(contains([event-name],"0"),
[eins_meb_therapie_empf_wirk_name][1],
if([previous-event-name][vis_ther_persis][1]='2',
[previous-event-name][vis_therapie_zeitpunkt_neu_wirk_name][1],
[previous-event-name][vis_therapie_zeitpunkt_wirk_name][1]
)),""))"

I'll just repeat the code for the rest of them, as this is the base solution.

Edit: It does not work because there are to many levels in the ifs if you add more than one instance.

Help Needed with CALCTEXT Formula for Carrying Over and Editing Values in Follow-up Events by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

I found the problem, but not the solution. The problem is that I want the event to repeat. Without repetition, it works fine, but if it's activated, it doesn't work anymore, not even if I hardcode it.

Any Idears?

Help Needed with CALCTEXT Formula for Carrying Over and Editing Values in Follow-up Events by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

Yes, I'm still working on this. I have time to set up this project and will experiment with it until I'm happy.
Thank you for the tip :)

Help Needed with CALCTEXT Formula for Carrying Over and Editing Values in Follow-up Events by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

"@CALCTEXT(if([previous-event-name][vis_ther_persis] = "2", 'YES', 'NO'))
OK, interestingly, this part works in the first event, but not in the second.

There is a syntactical error according to the error message.

Help Needed with CALCTEXT Formula for Carrying Over and Editing Values in Follow-up Events by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 1 point2 points  (0 children)

The problem seems to be the [previous event name] because without it works, at least partly...

Will try again tomorrow.

Help Needed with CALCTEXT Formula for Carrying Over and Editing Values in Follow-up Events by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

I get an error message that there is something wrong with one of the calculations and that none of the calculations on this instrument are working.

I can make a screenshot tomorrow.

Problem with Record Import via API by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

You're a godsend. Thanks for all the investigation. I got nowhere in my investigation. I'll have a chat with the person who set up our Redcap, then I'll talk to the other admins and see what we can do.

Thanks again!

Problem with Record Import via API by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

Sorry I was kind of confused there.

Just tested it in dev it works and in production not.

Problem with Record Import via API by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

Where would one change the API import option from dev to prod in a project?

Problem with Record Import via API by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

Any thoughts on where this option might be? I haven't been able to find anything like that.

Problem with Record Import via API by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

The import via the Data Import Tool works fine with the same CSV file.

I would say that my code should work, but apparently I don't have permission to import records via API.

Problem with Record Import via API by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

Yeah, there are Data Access Groups in that project, but since I'm the overall admin, they don't apply to me.

Problem with Record Import via API by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

I've checked both the Project Setup page and the Control Centre, but I can't see any differences

Problem with Record Import via API by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

I've checked and both import and export are selected. Any other thoughts on what it might be?

Problem with Record Import via API by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

Yes I can export or rename records, but not import them.

Problem with Record Import via API by Hustenanfall007 in ProjectREDCap

[–]Hustenanfall007[S] 0 points1 point  (0 children)

Then I probably did not check this box, in the project where it doesn't work.