ctsit / warrior_specific_features

This is a redcap modules which contains specific features for warrior project.
Other
1 stars 5 forks source link

Adding DEFAULT-DAG action tag #5

Closed tbembersimeao closed 6 years ago

tbembersimeao commented 6 years ago

Adds an action tag that sets the DAG ID as the default value.

Review steps:

Glossary:

pbchase commented 6 years ago

I think we might not need this anymore. REDCap 8.4.X adds smart variables to provide this functionality. Specifically, these variables might meet the need:

[record-name]   The record name of the current record.
[record-dag-name]   The Data Access Group (the unique group name) to which the current record belongs (blank if not in a DAG).
[record-dag-id] The group ID number of the Data Access Group to which the current record belongs (blank if not in a DAG)
[record-dag-label]  The name/label of the Data Access Group to which the current record belongs (blank if not in a DAG)

What do you think @tlstoffs ?

tlstoffs commented 6 years ago

I think you’re correct that it’s not needed anymore. I have it on my to-do list to see if these smart variables will work in regards to showing which addendum survey to pull up based on the user’s DAG, but I haven’t had a chance to test it out yet... Basically, I need to be able to skip an entire portion of the eConsent surveys in WARRIOR to only show the Addendum that this relevant, based on which DAG the user is in.

Tower Hill DAG will only see Tower Hill Addendum Spring Hill DAG will only see Spring Hill Addendum Medical Plaza DAG will only see Med Plaza Addendum UF DAG will only see UF Addendum

It looks like the new Smart Variables can be used this way…

Field notation and Smart Variables can be used for...

Taryn L. Stoffs, M.S. REDCap Support Team Lead Clinical & Translational Science Informatics & Technology University of Florida PO Box 100212 2405 SW Archer Road Gainesville, Florida 32608 tls@ufl.edumailto:tls@ufl.edu

Please anonymously rate our service. Your feedback is very important: http://j.mp/1TzYO1d

Due to the popularity of REDCap, we have moved to a ticketing system in order to better support our users. Please send any questions/consultation requests to http://j.mp/1TzYWhg instead of my personal work email address. Thank you for understanding.

From: Philip Chase notifications@github.com Reply-To: ctsit/warrior_specific_features reply@reply.github.com Date: Tuesday, May 8, 2018 at 3:52 PM To: ctsit/warrior_specific_features warrior_specific_features@noreply.github.com Cc: Taryn Stoffs tls@ufl.edu, Mention mention@noreply.github.com Subject: Re: [ctsit/warrior_specific_features] Adding DEFAULT-DAG action tag (#5)

I think we might not need this anymore. REDCap 8.4.X adds smart variables to provide this functionality. Specifically, these variables might meet the need:

[record-name] The record name of the current record.

[record-dag-name] The Data Access Group (the unique group name) to which the current record belongs (blank if not in a DAG).

[record-dag-id] The group ID number of the Data Access Group to which the current record belongs (blank if not in a DAG)

[record-dag-label] The name/label of the Data Access Group to which the current record belongs (blank if not in a DAG)

What do you think @tlstoffshttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_tlstoffs&d=DwMFaQ&c=pZJPUDQ3SB9JplYbifm4nt2lEVG5pWx2KikqINpWlZM&r=H7hwMhhphZQ604aPBDlyWA&m=m6hYcgas1H_bQjyd57Pb_lBqKjweG4-7YUf6ZOF35bY&s=EXtKxDa5Vz1P1fzB2uBKUWAZMhWLCbq4-l5mDry_ThE&e= ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ctsit_warrior-5Fspecific-5Ffeatures_pull_5-23issuecomment-2D387522111&d=DwMFaQ&c=pZJPUDQ3SB9JplYbifm4nt2lEVG5pWx2KikqINpWlZM&r=H7hwMhhphZQ604aPBDlyWA&m=m6hYcgas1H_bQjyd57Pb_lBqKjweG4-7YUf6ZOF35bY&s=oy8DZC_y0ASNuLA7y0SQMc8ahhMNXsF3MaRxGbOiGsM&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AUFh55kl9f6pQMcWTJFsHOwSvAB0H7Z8ks5twfeLgaJpZM4Ta2R3&d=DwMFaQ&c=pZJPUDQ3SB9JplYbifm4nt2lEVG5pWx2KikqINpWlZM&r=H7hwMhhphZQ604aPBDlyWA&m=m6hYcgas1H_bQjyd57Pb_lBqKjweG4-7YUf6ZOF35bY&s=UDl6LJaaf_FeWkZr3rM_vgOB7MGiyQ02CH_zwvaL1WA&e=.