Skip to content

RedCap EM to schedule events between providers and subjects given provider availability

License

Notifications You must be signed in to change notification settings

uwctri/SchedulingCalendar

Repository files navigation

Scheduling & Availability - Redcap External Module

What does it do?

The Scheduling & Availability Calendar is a Redcap EM that tracks provider availability and allows scheduling against that availability via an interactive calendar. It is a re-write of an internal-only EM devolved for the UW Center for Tobacco Research and Intervention that went through various iterations and, based on feedback, we've arrived here. Basic workflow consists of provider selecting times of the day that they are available via a calendar, other users can then later schedule against that time for some number of configured visits. The EM prevents obvious issues like double scheduling, location conflicts, enforces visit time, and is easily searchable based on subject, provider, visit, or location of the visit.

Things to know before installing

  • This EM will create a new table in your database used to track provider availability and scheduled events for the module. The table can be easily removed by an administrator if you decide you don't want to use the EM.
  • There is a considerable amount of configuration and reading required to use this. Feel free to email the author or open a github issue if you have questions. The documentation link can be found on the External Modules page when the EM is enabled on a project.
  • System settings exist that allow for sharing availability across projects.

Local Development & Build

See this Docker Compose for starting a local Redcap instance.

If you don't have NPM already then check the node guide and use it to setup the latest npm version. After setup you can...

cd webpack
npm install
npm run build # Or 'run watch' for dev
npm run publish # Build and zip for sharing. Assumes Windows WSL is setup.