Smart Scheduling (SMASCH) Multi-Appointment
Smart Scheduling (SMASCH) Multi-Appointment
https://doi.org/10.1093/jamiaopen/ooac038
Application Notes
Application Notes
1
e du Luxembourg, Esch-sur-Alzette, Luxembourg, 2Institute of Computing
Luxembourg Centre for Systems Biomedicine, Universit
Science, Poznan University of Technology, Poznan, Poland, 3Parkinson Research Clinic, Centre Hospitalier de Luxembourg,
Luxembourg, Luxembourg and 4Transversal Translational Medicine, Luxembourg Institute of Health, Strassen, Luxembourg
Corresponding Author: Dr. Venkata Satagopam, Luxembourg Centre for Systems Biomedicine, Universite du Luxembourg,
L-4365 Esch-sur-Alzette, Luxembourg; [email protected]
Received 6 December 2021; Revised 11 April 2022; Editorial Decision 3 May 2022; Accepted 10 May 2022
ABSTRACT
Objective: Facilitate the multi-appointment scheduling problems (MASPs) characteristic of longitudinal clinical
research studies. Additional goals include: reducing management time, optimizing clinical resources, and se-
curing personally identifiable information.
Materials and methods: Following a model view controller architecture, we developed a web-based tool written
in Python 3.
Results: Smart Scheduling (SMASCH) system facilitates clinical research and integrated care programs in Lux-
embourg, providing features to better manage MASPs and speed up management tasks. It is available both as
a Linux package and Docker image (https://smasch.pages.uni.lu).
Discussion: The long-term requirements of longitudinal clinical research studies justify the employment of flexi-
ble and well-maintained frameworks and libraries through an iterative software life-cycle suited to respond to
rapidly changing scenarios.
Conclusions: SMASCH is a free and open-source scheduling system for clinical studies able to satisfy recent
data regulations providing features for better data accountability. Better scheduling systems can help optimize
several metrics that ultimately affect the success of clinical studies.
C The Author(s) 2022. Published by Oxford University Press on behalf of the American Medical Informatics Association.
V
This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unre-
stricted reuse, distribution, and reproduction in any medium, provided the original work is properly cited. 1
2 JAMIA Open, 2022, Vol. 5, No. 2
LAY SUMMARY
Longitudinal clinical research studies require conducting various assessments over long periods of time. Such assess-
ments comprise numerous stages, requiring different resources defined by multidisciplinary research staff and aligned
with available infrastructure and equipment, altogether constrained by time. While it is possible to manage the alloca-
tion of resources manually, it is complex and error-prone. Efficient multi-appointment scheduling is essential to assist
clinical teams, ensuring high participant retention and producing successful clinical studies, directly impacting patient
throughput and satisfaction. This application note presents Smart Scheduling (SMASCH) system, a web application for
multi-appointment scheduling management aiming to reduce times, optimize resources and secure personal identifiable
information. SMASCH is present in multiple clinical research and integrated care programs in Luxembourg since 2017,
including Dementia Prevention Program, the study for Mild Cognitive Impairment and gut microbiome, and the National
Centre of Excellence in Research on Parkinson’s disease which encompasses the study for REM sleep behavior disorder
and the Luxembourg Parkinson’s Study.
is further discussed in the Supplementary Material. Besides, institu- tion, it ensures restricted access to sensitive information and
tional regulations (especially public institutions) often prohibit the destructive operations. Closely related to the previous feature, prov-
transfer of personal data outside their infrastructure without special enance allows audit trail of critical modifications (eg, marking a par-
agreements. ticipant as deceased) or PII export.
Section 2 of the Supplementary Material provides further infor-
mation on SMASCH alternatives. However, all of them are closed Information export
source cloud-based solutions, with the grand majority of them only Whenever the authorized clinical team exports the list of subjects or
offering paid plans. the appointments to an Excel file, SMASCH records the user and
date of the action in the system log. Of course, such an option can
be disabled or limited to certain members of the clinical team with
MATERIALS AND METHODS authorization to use this feature. This feature enables a user-friendly
SMASCH follows a model view controller (MVC) architecture, a approach to export information for further use such as importing it
popular software design pattern that divides the program logic to other medical systems or statistical tools for data analysis. The
into 3 interconnected elements. MVC is often enforced by several clinical team can select which fields to export, deciding whether to
web frameworks. In SMASCH, the model is an abstraction of the export PII or not. Very often, strict regulations call for different
database model and manages the application state and data- approaches involving manually supervised import/export of
related logic between the program and the relational database information between systems to prevent unnecessary access to
management system (RDBMS). The view comprises the presenta- sensitive patient/participant data in electronic health record (EHR)
tion layer that shows the application state to the user, managing databases.
the user interface logic of SMASCH. Finally, the controllers inter-
face the model and view components to handle the user actions, Notifications
retrieving data from the model and rendering the response A notification menu (see Figure 2B) warns the users about incom-
through the views. plete tasks (eg, missing appointments, unfinished visits) and reminds
SMASCH is written in Python 3, using Django web framework them about approaching appointments and visits in advance.
for the back-end (ie, model and controllers). For the front-end
functionalities comprising the views, SMASCH employs Jinja2, a Redcap consistency checks
web template engine providing evaluation of Python-like expres- To ensure record consistency between separated systems, SMASCH
sions to enrich the rendered views. Additionally, several JavaScript implements a series of checks on demographic data (eg, birth date,
libraries (eg, jQuery) drive the user interface. SMASCH can be vital status) using a restricted REDCap token with limited access,
accessed with browsers supporting ECMAScript 2015 (see Table 1) thus unable to access medical or clinical information. Should a mis-
and is licensed under the open-source license AGPLv3. SMASCH match occur between systems, a warning would be issued in the no-
code is openly available in the GitLab server from the Luxem- tification menu.
bourg Centre for Systems Biomedicine at https://doi.org/10.17881/
8wvb-mt36.
Sample collection summary
Paginated views and application programming interfaces
Different appointment types (eg, sample collection) can be registered
(APIs) allow managing very large cohorts with scant machine
with their corresponding items (eg, saliva kits). With this informa-
resources. The minimum requirements (see ”Deployment” section)
tion SMASCH sends regular e-mails to biobanks and relevant pro-
allow SMASCH to handle cohort sizes up to 100K participants
viders to help forecasting stock requirements for sample collection
without issues. Bigger cohorts can be easily handled with increased
kits or organizing pickup of collected samples.
resources.
Support since January 2017 August 2016 March 2017 July 2016 August 2018
4 JAMIA Open, 2022, Vol. 5, No. 2
Figure 2. SMASCH interface and functionalities. Image (A) displays the appointment calendar with the initials indicating workers availability. Appointment colors
indicate different appointment types. (B) Notification menu showing different warnings and reminders. (C) List of the study subjects (ie, participants) showing in-
formation and visit status. (D) Daily planning with the participant assessments on top which can be dragged and dropped to the calendar. Workers are sorted
from left to right based on their availability. On mouse-over, the workers and participant names show a tool-tip box indicating the spoken languages to help
choosing a suitable worker. Sidebar menu seen in A has been cropped out from C and D for the sake of clarity and space.
needs of the respective clinical research facility teams, who im- ACKNOWLEDGMENTS
proved their response time and throughput thanks to a well-defined
We thank the clinical teams for their help and support. Special
set of features coupled with a user-friendly interface. We hope
thanks to: Claire Pauly (PRC), Anne Kaysen (PDP), Valerie
SMASCH features help to sustain high participant retention and as-
Schröeder (PDP), Guilherme Ramos Meyers (CON-VINCE), Clar-
sist clinical teams in the successful development of longitudinal clini-
issa Gomes (NCER-PD and CON-VINCE), Geraldine Hipp
cal studies.
(NCER-PD), Lars Geffers (NCER), and Lukas Pavelka (Centre Hos-
Finally, recent regulations such as the EU’s GDPR call for strict
pitalier de Luxembourg, NCER-PD), Wei GU, Christophe Trefois,
data accountability, which together with national and institutional
Pinar Alper. The Reproducible Research Results (R3) team of the
regulations requires further measures to ensure data privacy, espe-
LCSB is acknowledged for supporting the project.
cially in health-related settings. These regulations rule out the possi-
bility of cloud-based solutions and hinder outsourcing such
responsibilities. To date, we believe SMASCH is the only free and
open-source scheduling system for clinical studies able to satisfy the
above needs. CONFLICT OF INTEREST STATEMENT
None declared.
FUNDING
REFERENCES
This work was supported by the Luxembourg National Research
1. Marynissen J, Demeulemeester E. Literature review on multi-appointment
Fund (FNR) within the National Centre of Excellence in Research
scheduling problems in hospitals. Eur J Oper Res 2019; 272 (2): 407–19.
on Parkinsons disease with grant number: (NCER-PD [FNR/
2. Hipp G, Vaillant M, Diederich NJ, et al. The Luxembourg Parkinson’s
NCER13/BM/11264123]). Study: a comprehensive approach for stratification and early diagnosis.
Front Aging Neurosci 2018; 10: 326.
3. Snoeck CJ, Vaillant M, Abdelrahman T, et al. Prevalence of SARS-COV-2
infection in the Luxembourgish population: the Con-Vince Study. medRxiv
AUTHOR CONTRIBUTIONS 2020. doi:10.1101/2020.05.11.20092916.
VS, RS, and RK conceived the idea, and collected the functional and 4. Harris PA, Taylor R, Thielke R, Payne J, Gonzalez N, Conde JG. Research
technical requirements. PG, JL, CV, VG, and PM developed electronic data capture (REDCap)—a metadata-driven methodology and
SMASCH and ES conducted software testing. VS supervised the workflow process for providing translational research informatics support.
J Biomed Inform 2009; 42 (2): 377–81.
project. CV, PG, CP, VS, RS, and RK wrote and edited the manu-
5. C-311/18, data protection commr v. facebook ire. ltd. & schrems; 2020.
script. All authors reviewed the manuscript.
[schrems ii], paras. 105, 162, at 31, 40. https://curia.europa.eu/juris/docu-
ment/document.jsf?docid=228677&text=&doclang=EN&pageIndex=0&
cid=1175857. Accessed May 13, 2022.
6. Hulshof PJ, Kortbeek N, Boucherie RJ, Hans EW, Bakker PJ. Taxonomic
SUPPLEMENTARY MATERIAL
classification of planning decisions in health care: a structured review of the
Supplementary material is available at JAMIA Open online. state of the art in OR/MS. Health Syst 2012; 1 (2): 129–75.