Next Article in Journal
The Prevalence and Correlates of Anxiety, Stress, Mood Disorders, and Sleep Disturbances in Poland after the Outbreak of the Russian–Ukrainian War 2022
Previous Article in Journal
The Validation of the Greulich and Pyle Atlas for Radiological Bone Age Assessments in a Pediatric Population from the Canary Islands
Previous Article in Special Issue
How Much Dialogic Coordination Practices Matter to Healthcare Professionals—A Delphi Approach towards a Tool for Identification and Measurement
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Technical Note

Visualizing Hospital Management Data in R Shiny—A Case Study

by
Benjamin Voellger
1,2,*,
Milica Malesevic-Lepir
1,
Mohamed A. Hafez Abdelrehim
1,3 and
Dalibor Bockelmann
4
1
Department of Neurosurgery, Klinikum Bad Hersfeld, Seilerweg 29, 36251 Bad Hersfeld, Germany
2
Department of Neurosurgery, University Hospital Marburg, Baldinger Str., 35043 Marburg, Germany
3
Department of Anesthesiology, Intensive Care and Pain Therapy, Klinikum Bad Hersfeld, Seilerweg 29, 36251 Bad Hersfeld, Germany
4
Stabsstelle Medizinische Strategie und Vernetzung, Universitätsklinikum Freiburg, Breisacher Str. 153, 79110 Freiburg im Breisgau, Germany
*
Author to whom correspondence should be addressed.
Healthcare 2024, 12(18), 1846; https://doi.org/10.3390/healthcare12181846
Submission received: 14 July 2024 / Revised: 23 August 2024 / Accepted: 11 September 2024 / Published: 14 September 2024
(This article belongs to the Special Issue Data Management for a Better Understanding of Health Fields)

Abstract

:
Objective: There is a demand to make hospital management information beyond basic key performance indicators (KPIs) accessible for clinicians. Methods: We developed an interactive application (IAPP) in R Shiny to visualize such information. We provided the IAPP source code online. As a use case, we recorded basic KPIs (numbers of patients (NPs), reimbursed valuation ratios (RVRs), mean length of stay (LOS)), main diagnoses (MDGNs), main procedures (MPRCs), and catchment area (CA) by district from April 2022 to March 2024 at the index department in central Germany, where a neurotrauma and spinal surgery service was resumed on 1 April 2022. Case mix indexes (CMIs) were calculated. We retrieved information about online-reported patient satisfaction (ORPS) from an online physician rating platform between January 2022 and March 2024. Information on longitudes and latitudes of the index department and neighbouring hospitals was collected. We calculated car travelling isochrones (CTIs) of the hospitals as a proxy variable for accessibility. Chi-square and Fisher’s exact served as statistical tests. Results: During the observation period, the monthly NPs increased from 26 to 43, the RVR showed a 3.96-fold increase, the CMI showed a 2.41-fold increase, and the LOS reached a steady state in the 2nd year after service resumption. CA (p = 0.03), MDGNs, and MPRCs diversified. ORPS trended towards better overall evaluation after service resumption (p = 0.09). CTI mapping identified a unique market position of the index department. Conclusions: The IAPP makes extended hospital management data accessible to clinicians, can inform other stakeholders in healthcare, and can be tailored to local conditions.

1. Introduction

Bad Hersfeld is a city of approximately 31.000 inhabitants in central Germany in the federal state of Hesse [1]. Its history dates back to the 8th century AD, when Lullus founded a Benedictine monastery there [2]. While teaching at the local grammar school, Konrad Duden published a famous dictionary that standardized German spelling in 1880, and it was thenceforth named after him [3]. From 1957, the electronic engineering pioneer Konrad Zuse and his enterprise built some of the world’s first computers in Bad Hersfeld [4].
Effective from 1 April 2022, the author B.V. was appointed as head of the neurosurgical department (“index department”) at Klinikum Bad Hersfeld, Germany (“index hospital”). Supported by one traumatology resident on rotation and two fellow neurosurgeons, he aimed to resume a neurotrauma and spinal surgery service that had initially been established by another team in 2007.
Strengths identified at the index hospital included investment-friendly management, well-established tumor boards, and a well-equipped department of neurology. Hospital controlling provided key performance indicators (KPIs) of strategic [5] value, namely the numbers of patients (NPs), reimbursed valuation ratios (RVRs), the length of stay (LOS), and case mix index (CMI) per department, in a spreadsheet on a monthly basis. We will refer to this set of indicators as “basic KPI”, and we provide a list of abbreviations and acronyms used in this work in Table A1, Appendix A.
As of April 2022, the following weaknesses were found: information on main diagnoses (MDGN), main procedures (MPRC), patient satisfaction, catchment area (CA), and accessibility of the hospital required compilation. The leadership culture had room for improvement beyond addressing a lack of neurosurgical standard operating procedures (SOPs). The index department was not authorized to provide training for residents in neurosurgery.
Similar to the current situation at many other German hospitals [6], there was an ageing workforce with a subsequently increasing shortage of skilled professionals. Technology was, in part, outdated with limited access to it. Operating room (OR) resources and bed capacities were limited.
Opportunities arose from the subsidence of the coronavirus disease 2019 (COVID-19) pandemic in 2022 [7], from demographics with an increasing proportion of elderly patients suffering from degenerative diseases of the spine, from a forthcoming reform of the German healthcare system [8], and a from projected new hospital building adjacent to the existing facilities.
Threats consisted of a highly competitive regional environment with regard to spinal procedures [9]. This is one reason why the department’s reputation had suffered in the years prior to service resumption. The strengths, weaknesses, opportunities, and threats (SWOT) of the index department are summarized in a SWOT analysis chart [10] (Table 1).
In 2024, an interest in compiling and interpreting information beyond basic KPI made us develop an interactive application (IAPP) that depicts access to a given hospital and to selected neighbouring hospitals, as well as CA, basic KPIs, MDGNs, MPRCs, and the online reported patient satisfaction (ORPS) of a given clinical department. Several other applications that provide similar information are either not freely available, do not sufficiently reflect the peculiarities of the German health system, are unable to integrate information obtained from within a given department, or do not allow for reputation monitoring (Table A2 in Appendix B). Here, we explain how to implement an application covering these aspects in R Shiny [11], with data from the index department serving as an example. The geographic information part of the IAPP was inspired by the interactive maps supplementing a recent study on socio-spatial inequities faced by children in German cities [12].

2. Materials and Methods

For patients treated at the index department between 1 April 2022 and 31 March 2024, we retrieved NPs, the postal code of main residence, RVRs, LOS, MDGNs, and MPRCs from the hospital information system (HIS) on a monthly basis. Postal codes were converted to information on districts. Data were anonymized before further processing and were collected in comma-separated values (.CSV) files. Table A3, Table A4, Table A5, Table A6 and Table A7 in Appendix C demonstrate outlines of the files. The complete .CSV files are available at the online repository Github [13] (https://github.com/benvoellger/MangoShiny (accessed on 23 August 2024)). CMI was calculated as follows:
CMI = RVR/NP
For the purpose of publication, information on LOS, RVRs and CMIs is provided relative to the respective April 2022 baseline. Districts beyond the contiguous part of the index hospital’s catchment area were excluded from the dataset (Table A3, and [13]) to ensure anonymity. When diagnoses or procedures occurred only once in a particular month, data were omitted to ensure anonymity (Table A5 and Table A6, and [13]).
The application was implemented in R Studio version 2023.12.1+402 [14], running R version 4.3.3 [15] on the Mac operating system (OS) Sonoma [16]. Figure 1 depicts the IAPP data flow diagram. The workflow of programming the application is depicted in Supplementary Figure S1. The structure of the application source code is outlined in Supplementary Figure S2. An explanation of the source code is provided as a supplement to this work.
Information on the latitude and longitude of hospital locations was retrieved with the help of Google Maps [17] and was stored in a .CSV file (Table A8 in Appendix C, and [13]). Car travelling isochrones (CTIs, i.e., polygons of locations reachable by car within a specified time limit) were considered a proxy variable for access to the hospitals. CTIs of 30 and 60 min were calculated with the help of Open Route Service [18] (https://openrouteservice.org (accessed on 14 June 2024)), and the resulting polygonal outlines were saved to R data serialization (.RDS) files, which were stored at the online repository [13]. A 3rd-party license applies to the use of these shapefiles.
District outlines were downloaded in a .ZIP container with shapefiles (.SHP) from DIVA GIS (https://diva-gis.org (accessed on 10 September 2024)) [19]. The district outline .SHP files are a necessary part of the IAPP and are therefore also deposited at the online repository [13], with another 3rd-party license applying to their use.
Polygons were rendered with the help of the R leaflet function. They were then layered (Figure 2) onto a smooth tile map, to which another 3rd-party license applies.
We recorded overall evaluations from patients treated at the index department, as reported online at the rating platform www.klinikbewertungen.de (accessed on 14 June 2024) [20] (ORPS) between January 2022 and March 2024 in a .CSV file (Table A7, and [13]).
Figure 1 was created with Microsoft Word for Mac v. 16.85.2 [21], then cropped with GIMP 2.10 [22], while Figure 2, Figure 3, Figure 4 and Figure 5 were created with the IAPP [13,23] and then cropped with GIMP 2.10 on the same machine.
Figure 2. (a) Car travelling isochrones (CTIs; 30, 60 min; green; color intensity decreases with travelling time) to the index hospital (white pin) and August 2022 catchment area of the index department by district (purple; color intensity increases with numbers of admissions); (b) overlap between index department catchment area by district (purple) and CTIs (30, 60 min; blue; color intensity decreases with travelling time) of competitors (black circles) with equal or higher numbers of beds and levels of service; (c) the unique market position (green, without blue overlay) of the index department (white pin) along the Hessian–Thuringian border, with supply gaps to the north and south (map without overlay). The application allows us to zoom, to depict district-wise data by the month, and to toggle layer visibility.
Figure 2. (a) Car travelling isochrones (CTIs; 30, 60 min; green; color intensity decreases with travelling time) to the index hospital (white pin) and August 2022 catchment area of the index department by district (purple; color intensity increases with numbers of admissions); (b) overlap between index department catchment area by district (purple) and CTIs (30, 60 min; blue; color intensity decreases with travelling time) of competitors (black circles) with equal or higher numbers of beds and levels of service; (c) the unique market position (green, without blue overlay) of the index department (white pin) along the Hessian–Thuringian border, with supply gaps to the north and south (map without overlay). The application allows us to zoom, to depict district-wise data by the month, and to toggle layer visibility.
Healthcare 12 01846 g002
Figure 3. Basic key performance indicators of the index department during the first 2 years after service resumption: (a) reimbursed valuation ratios (RVRs); (b) number of patients (NPs); (c) case mix index (CMI = RVR/NP); (d) mean length of stay (LOS). For the purpose of publication, we provide information on RVRs, CMIs and LOS relative to the respective April 2022 baseline (April 2022: 100 per cent of revenue, 0 days from baseline). The application allows us to customize the timespan on the x axis.
Figure 3. Basic key performance indicators of the index department during the first 2 years after service resumption: (a) reimbursed valuation ratios (RVRs); (b) number of patients (NPs); (c) case mix index (CMI = RVR/NP); (d) mean length of stay (LOS). For the purpose of publication, we provide information on RVRs, CMIs and LOS relative to the respective April 2022 baseline (April 2022: 100 per cent of revenue, 0 days from baseline). The application allows us to customize the timespan on the x axis.
Healthcare 12 01846 g003
Figure 4. The diversification of further performance indicators of the index department: (a) Main diagnoses (MDGNs) according to the 10th version of the German edition of the international classification of diseases and related health problems (ICD-10) at 1–6 months after service resumption; (b) MDGNs at 19–24 months after service resumption; (c) main procedures (MPRCs) according to the current German version of the international classification of procedures in medicine (ICPM), Operationen- und Prozedurenschlüssel (OPS), at 1–6 months after service resumption; (d) MPRCs at 19–24 months after service resumption. Obviously, the numbers of MDGNs and MPRCs increased between the first quarter and the last quarter of the observation period. Colors represent numbers of patients. The application allows us to customize the timespan on the x axis of the heatmaps, with the extension of the y axis changing accordingly and seamlessly.
Figure 4. The diversification of further performance indicators of the index department: (a) Main diagnoses (MDGNs) according to the 10th version of the German edition of the international classification of diseases and related health problems (ICD-10) at 1–6 months after service resumption; (b) MDGNs at 19–24 months after service resumption; (c) main procedures (MPRCs) according to the current German version of the international classification of procedures in medicine (ICPM), Operationen- und Prozedurenschlüssel (OPS), at 1–6 months after service resumption; (d) MPRCs at 19–24 months after service resumption. Obviously, the numbers of MDGNs and MPRCs increased between the first quarter and the last quarter of the observation period. Colors represent numbers of patients. The application allows us to customize the timespan on the x axis of the heatmaps, with the extension of the y axis changing accordingly and seamlessly.
Healthcare 12 01846 g004aHealthcare 12 01846 g004b
Figure 5. Online reported patient satisfaction. Dashed lines in the figure divide the contingency table cells. Circle diameters increase with evaluation count. Two sliders in the application allow to adjust the positions of the dashed lines along the x and y axes, with Fisher’s exact test p value calculated on the fly. A trend towards overall better evaluation after service resumption was observed (Table 2; Fisher’s exact test; p = 0.09).
Figure 5. Online reported patient satisfaction. Dashed lines in the figure divide the contingency table cells. Circle diameters increase with evaluation count. Two sliders in the application allow to adjust the positions of the dashed lines along the x and y axes, with Fisher’s exact test p value calculated on the fly. A trend towards overall better evaluation after service resumption was observed (Table 2; Fisher’s exact test; p = 0.09).
Healthcare 12 01846 g005
Statistical analyses were conducted with the same versions of R and R Studio as above, on the same machine. Fisher’s exact served as statistical test, with a p less than 0.05 considered significant.

3. Results

3.1. The Application

The application was deployed at the Shinyapps server [23] (Figure 2, Figure 3, Figure 4 and Figure 5, https://nc77.shinyapps.io/mangoshiny, accessed on 10 September 2024). Outlines of the .CSV datasheets used in the application are provided in Appendix C of this article. The application source code is provided under the Massachusetts Institute of Technology (MIT) license [24], while 3rd-party licenses apply to parts of the deployed geographic information. The complete source code of the application, all necessary .CSV, .RDS and .SHP files, and 3rd-party licenses, where applicable, are deposited at Github [13]. The source code and appearance of the IAPP may change over time as they are continuously improved.
At the current stage, the IAPP contains four different pages: a page with a zoomable map and the option to toggle several layers of geoinformation on a monthly base (Figure 2); a page with basic KPI graphs (RVR, NP, CMI = RVR/NP, and LOS) with a customizable timespan (1–24 months, Figure 3); a page with heatmaps of MDGN and MPRC with a customizable timespan (1–24 months, Figure 4); and a page on ORPS with customizable cutoff values for time and overall evaluation, with Fisher’s exact p value for the resulting contingency table calculated on the fly (Figure 5).

3.2. Use Case: The Index Department

3.2.1. Performance Monitoring

Between April 2022 and March 2024, the monthly NP increased from 26 to 43, monthly RVR showed a 3.96-fold increase, and CMI showed a 2.41-fold increase (Figure 3, and [13,23]). LOS was highly volatile throughout the first year and entered a steady state during the 2nd year after service resumption (Figure 3, and [13,23]).
The catchment area (p = 0.03, Figure 2a, Table 3, and [13,23]), MDGN, and MPRC (Figure 4, and [13,23]) diversified during the first two years after service resumption. The catchment area of the index department overlaps with the CTI of neighboring hospitals (Figure 2b, and [13,23]). ORPS trended towards better overall evaluation (p = 0.09) after service resumption (Figure 5, Table 2, and [13,23]).

3.2.2. Decision Support

While Figure 3 displays basic KPIs on a 2-year basis, and Figure 4 displays dynamics of MDGN and MPRC on a 6-month basis, a slider in the IAPP allows for customizing the displayed timespans. A clinician may want to use this feature, e.g., to prepare for quarterly discussions with his/her hospital management board, to modify the range of treatments offered, or to develop targeted communication strategies.
The IAPP identified a unique market position of the index hospital along the Hessian–Thuringian federal state border (Figure 2c). Thus, the IAPP facilitates selectively approaching general practitioners whose catchment area includes that particular region.

3.2.3. Beyond Shiny

In spring 2022, neurosurgical tray optimization yielded both a reduction in the number of trays and the number of different instruments. The availability of the magnetic resonance imaging (MRI) scanner outside working hours significantly improved in 2023. A new surgical microscope arrived in July 2023. In 2022 and 2023, authors B.V. and M.A.H.A. developed neurosurgical SOPs. A fixed minimum number of beds at a standard care ward was assigned to the index department in 2023. OR capacity assigned to the index department increased in 2024. These measures probably had an impact on the trends we observed in the IAPP.
The Hessian medical board granted the index department a 2-year training authorization for neurosurgery residents, effective from 1 January 2024.

4. Discussion

In Germany, patients may deliberately choose their doctors. At the beginning of the observation period, the running costs of German hospitals were primarily funded through diagnosis-related group (DRG)-based billing [25]. Different healthcare systems may require the collection and processing of other data in order to measure a given department’s performance adequately.
A reform of the German healthcare system is currently underway, with the aim of rewarding hospitals not only for the realization but also for the provision of healthcare services [8]. The reform will require the coordinated efforts of all stakeholders in healthcare to ensure the optimum allocation of patients and resources [26]. Until the reform bears fruit, and probably also afterwards, information on basic KPIs, patient satisfaction, and the careful monitoring of competitive environments will remain crucial for the successful management of a given clinical department in Germany.
Clinicians, hospital-controlling staff, and healthcare policymakers may modify the IAPP so that it informs routine quarterly discussions at a given hospital, as well as long-term decisions, e.g., in the context of the upcoming reform. For this purpose, the geographic information part of the IAPP may be extended to display any healthcare-related spatial information, such as population density, hospital bed numbers and levels of service, or access to general practitioners.
For the purpose of publication, we provide information on RVR, CMI, and LOS relative to the respective April 2022 baseline. For everyday use inside an organization, we strongly recommend storing all necessary information as absolute numbers in a .CSV file.
Due to the geographic setting of the index hospital—right in the center of Germany with 3 motorways each a 10–15 min car drive away from the emergency room—we considered CTI an appropriate proxy variable for hospital accessibility. With the help of CTI mapping, we identified a unique market position for the index department (Figure 2c), which will be addressed in the near future. Different settings may require other proxy variables for accessibility.
Patients have a variety of choices for how and where to communicate their degree of satisfaction with medical treatment. Our analysis focused on one widely accepted German commercial physician rating website [20]. Since online rating platforms are prone to reporting bias [27,28], reports on dissatisfactory experiences may prevail. On the other hand, a bias may occur when doctors deliberately encourage their most satisfied patients to post rather flattering reports online. In response to negatively biased online evaluation, reputation management, to a certain degree, is probably widespread among clinicians [29]. We do not find this reprehensible, as long as only real treatment reports are published. Although technically feasible in R [15], we do not recommend deploying software for the real-time harvesting of information from online rating platforms.
The advantages of our IAPP are as follows: The software is open-source with the complete source code and the anonymized dataset of the use case deposited at Github [13]. At the current stage, the IAPP is non-commercial while provided under the MIT license, which allows for commercial extension in the future. With a wealth of R libraries at hand, the IAPP is highly customizable. As opposed to numerous competing software bundles (Table A2), the software we developed is available for free. It allows for information from inside and outside a given organization to be available to clinicians within a single application.
The main limitations of our work are as follows: It uses a single-center retrospective approach, focusing on the lean visualization of hospital management data. We designed our IAPP primarily with the still DRG-driven German health system in mind. Underlying data were curated on highly subjective grounds. MDGNs and MPRCs, as obtained through HIS queries, cannot reflect the nuances of the respective treatment. Knowledge of R as a programming language, to a certain degree, is required to customize or extend the IAPP. A commercial extension of the software will require obtaining other, i.e., commercial, 3rd-party geoinformation licenses. External sources of information currently deployed with the IAPP, e.g., freely available geoinformation, may change over time. Nonetheless, we think that our IAPP may be helpful in other settings.

5. Conclusions

Our IAPP makes extensive hospital management data accessible to clinicians and other stakeholders in healthcare. With knowledge of R as a programming language, the IAPP allows for extensions and it can be tailored to local conditions.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/healthcare12181846/s1, Figure S1. Programming workflow. Figure S2. Structure of the application source code. * comma separated value files; ** shapefiles; *** R data serialization files.

Author Contributions

Conceptualization, B.V.; methodology, B.V.; software, B.V.; validation, B.V.; formal analysis, B.V.; investigation, B.V. and M.M.-L.; resources, B.V. and D.B.; data curation, B.V. and M.M.-L.; writing—original draft preparation, B.V. and M.M.-L.; writing—review and editing, M.A.H.A. and D.B.; visualization, B.V.; supervision, D.B.; project administration, B.V.; funding acquisition, n/a. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Ethical review and approval were waived for this study due to its retrospective, anonymized design.

Informed Consent Statement

Patient consent was waived due to the retrospective, anonymized design of the study.

Data Availability Statement

The anonymized datasets underlying this work and the complete source code of the application are available online at Github (https://github.com/benvoellger/MangoShiny (accessed on 23 August 2024)).

Conflicts of Interest

The authors declare that there is no conflict of interest between any of the authors and IAPP.

Appendix A

This appendix contains an overview of abbreviations and acronyms used in this manuscript.
Table A1. Explanation of abbreviations and acronyms used in this manuscript.
Table A1. Explanation of abbreviations and acronyms used in this manuscript.
Abbreviation or AcronymFull Text
ADAnno Domini
CACatchment area
CMICase mix index
COVID-19Coronavirus disease 2019
CSVComma-separated values file
CTICar travelling isochrone
DRGDiagnosis-related group
GISGeographic information system
HISHospital information system
IAPPInteractive application
ICDInternational classification of diseases and related health problems
ICPMInternational classification of procedures in medicine
KPIKey performance indicator
LOSLength of stay
MDGNMain diagnose
MITMassachusetts Institute of Technology
MPRCMain procedure
MRIMagnetic resonance imaging
NPNumber of patients
OPSOperationen- und Prozedurenschlüssel
OROperating room
ORPSOnline reported patient satisfaction
OSOperating system
RDSR data serialization file
RVRReimbursed valuation ratio
SHPShapefile
SOPStandard operating procedure
SWOTStrengths, weaknesses, opportunities and threats
WHOWorld Health Organization
ZIPLossless data compression file

Appendix B

This appendix contains an overview of online available software similar to our IAPP, with a comparison of features.
Table A2. The features of our app as compared to those of selected other software.
Table A2. The features of our app as compared to those of selected other software.
ServiceRef.
nr. *
Processes
German
Geoinformation
Integrates Internal and External
Information
Provides Basic KPI **Allows for Reputation MonitoringAvailable for Free
GeoCare[30]NoNoNoNoYes
Deutsches Krankenhausverzeichnis[31]YesNoNoNoYes
WHO ***
Accesmod 5
[32]YesNoNoNoYes
Domo[33]YesYesYesYesNo
Advanced MD[34]UnknownYesYesYesNo
Tableau[35]YesYesYesUnkownNo
Power BI[36]YesYesYesUnkownNo
Our App[13,23]YesYesYesYesYes
* reference number; ** key performance indicators, *** World Health Organization.

Appendix C

This appendix contains outlines of the .CSV data tables used in the application. The complete source code with all .CSV, .RDS and .SHP files can be found at Github [13].
Table A3. Catchment area of the index department by district and month. Table cell entries represent numbers of patients.
Table A3. Catchment area of the index department by district and month. Table cell entries represent numbers of patients.
Month *183 **186 ***
1181.
2212.
3283.
....
....
....
* month 1 = April 2022; ** geographic information system (GIS) district code 183 refers to Landkreis Hersfeld-Rotenburg, which is where the index hospital is located; *** GIS district code 186 refers to the neighbouring Schwalm-Eder-Kreis.
Table A4. Monthly basic key performance indicators of the index department.
Table A4. Monthly basic key performance indicators of the index department.
Month *Patients **valuationRatios **,##meanLOS #,##
1261000
2251572
3362040
....
....
....
* month 1 = April 2022; ** the monthly case mix index (CMI) does not need separate tabulation, as it is calculated, dividing monthly valuation ratios by monthly numbers of patients; # mean length of stay (LOS) in days; ## for the purpose of publication, valuation ratios and LOS are given relative to the April 2022 baseline (April 2022: 100 per cent of revenue, 0 days from baseline).
Table A5. Monthly main diagnoses of patients treated at the index department, according to the 10th version of the German edition of the international classification of diseases and related health problems (ICD-10). Table cell entries represent numbers of patients.
Table A5. Monthly main diagnoses of patients treated at the index department, according to the 10th version of the German edition of the international classification of diseases and related health problems (ICD-10). Table cell entries represent numbers of patients.
Month *M48.06 **M51.1 ***
124.
232.
373.
....
....
....
* month 1 = April 2022; ** lumbar spinal stenosis; *** lumbar disc hernia.
Table A6. Monthly main procedures of patients treated at the index department, according to the current German version of the international classification of procedures in medicine (ICPM), Operationen- und Prozedurenschlüssel (OPS). Table cell entries represent numbers of patients.
Table A6. Monthly main procedures of patients treated at the index department, according to the current German version of the international classification of procedures in medicine (ICPM), Operationen- und Prozedurenschlüssel (OPS). Table cell entries represent numbers of patients.
Month *5-032.00 **8-914.12 ***
1n/a #5.
222.
343.
....
....
....
* month 1 = April 2022; ** monosegmental dorsal approach to the lumbar spine; *** imaging-assisted lumbar periradicular infiltration; # not applicable.
Table A7. Reported patient satisfaction.
Table A7. Reported patient satisfaction.
Month *Evaluation **Frequency ***
−201
361
562
...
...
...
* month 1 = April 2022; ** 0 = worst, 6 = best possible; *** monthly number of evaluations of the same grade.
Table A8. Geographic information.
Table A8. Geographic information.
Loc *Long **Lat **Alt #Class ##
HEF9.7134550.87573Hospital Bad HersfeldIndex Hospital
GI8.6663550.57467University Hospital GiessenNeighbouring Hospital (Hesse)
EF11.0104850.99336Hospital ErfurtNeighbouring Hospital (Other)
... .
... .
... .
* district of hospital location, abbreviated with a car plate code (EF = Erfurt, GI = Giessen, HEF = Hersfeld-Rotenburg); ** longitude (long) and latitude (lat) of the emergency room driveway; # information presented when hovering over the mapped location with a mouse pointer; ## map layering class of the hospital.

References

  1. Bevölkerung in Hessen. Available online: https://statistik.hessen.de/sites/statistik.hessen.de/files/2024-06/ai2_aii_aiii_av_23-2hj.pdf (accessed on 14 June 2024).
  2. Landesgeschichtliches Informationssystem Hessen (LAGIS). Available online: https://www.lagis-hessen.de/de/subjects/gsrec/current/1/sn/ol?q=hersfeld (accessed on 18 June 2024).
  3. Landesgeschichtliches Informationssystem Hessen (LAGIS). Available online: https://www.lagis-hessen.de/de/subjects/gsrec/current/1/sn/bio?q=duden (accessed on 18 June 2024).
  4. Landesgeschichtliches Informationssystem Hessen (LAGIS). Available online: https://www.lagis-hessen.de/de/subjects/gsrec/current/1/sn/bio?q=zuse (accessed on 18 June 2024).
  5. Zapp, W. Strategischer Managementprozess. In Strategische Entwicklung im Krankenhaus, 1st ed.; Kohlhammer GmbH: Stuttgart, Germany, 2014; pp. 140–141. [Google Scholar]
  6. Haserück, A. Knappe Ressourcen effizient und nachhaltig einsetzen. Dtsch. Ärzteblatt 2024, 121, A566–A568. [Google Scholar]
  7. Coronavirus-Pandemie: Was Geschah Wann? Available online: https://www.bundesgesundheitsministerium.de/coronavirus/chronik-coronavirus.html (accessed on 18 June 2024).
  8. Krankenhausreform. Available online: https://www.bundesgesundheitsministerium.de/themen/krankenhaus/krankenhausreform (accessed on 18 June 2024).
  9. Schwenk, U. Rückenoperationen. In Spotlight Gesundheit, 1st ed.; Bertelsmann Stiftung: Gütersloh, Germany, 2017; Volume 7, pp. 1–8. [Google Scholar]
  10. Weihrich, H. The TOWS matrix—A tool for situational analysis. Long Range Plan. 1982, 15, 54–66. [Google Scholar] [CrossRef]
  11. R Shiny. Available online: https://shiny.posit.co/r/getstarted/shiny-basics/lesson1/index.html (accessed on 14 June 2024).
  12. Helbig, M.; Salomo, K. Eine Stadt—Getrennte Welten? In Schriften zu Wirtschaft und Soziales, 1st ed.; Heinrich-Böll-Stiftung: Berlin, Germany, 2021; Volume 25. [Google Scholar]
  13. Source Code of the Application. Available online: https://github.com/benvoellger/MangoShiny (accessed on 23 August 2024).
  14. R Studio. Available online: https://cran.rstudio.com (accessed on 14 June 2024).
  15. R. Available online: https://www.r-project.org (accessed on 18 June 2024).
  16. macOS. Available online: https://apple.com/de/macos/sonoma (accessed on 14 June 2024).
  17. Google Maps. Available online: https://www.google.de/maps (accessed on 10 September 2024).
  18. Openrouteservice. Available online: https://openrouteservice.org (accessed on 14 June 2024).
  19. DIVA GIS. Available online: https://diva-gis.org (accessed on 10 September 2024).
  20. Klinikbewertungen. Available online: https://www.klinikbewertungen.de (accessed on 14 June 2024).
  21. Microsoft Word for Mac. Available online: https://www.microsoft.com/de-de/microsoft-365/mac/microsoft-365-for-mac (accessed on 14 June 2024).
  22. GNU Image Manipulation Program (GIMP). Available online: https://www.gimp.org (accessed on 14 June 2024).
  23. The Application. Available online: https://nc77.shinyapps.io/mangoshiny (accessed on 23 August 2024).
  24. The Massachusetts Institute of Technology (MIT) License—Open Source Initiative. Available online: https://opensource.org/license/MIT (accessed on 17 June 2024).
  25. Quentin, W.; Stephani, V.; Berenson, R.A.; Bilde, L.; Grasic, K.; Sikkut, R.; Touré, M.; Geissler, A. How Denmark, England, Estonia, France, Germany, and the USA Pay for Variable, Specialized and Low Volume Care: A Cross-country Comparison of In-patient Payment Systems. Int. J. Health Policy Manag. 2022, 11, 2940–2950. [Google Scholar] [CrossRef] [PubMed]
  26. Spreider, V.; Fichtner-Feigl, S.; Wenz, F.; Bockelmann, D. Reformvorhaben “Gelegenheits-Onkochirurgie”. Chirurgie 2024. ahead of print. [Google Scholar] [CrossRef] [PubMed]
  27. Bharat, B.; Bríd, H. The effectiveness of online reviews in the presence of self-selection bias. Simul. Model. Pract. Theory 2017, 77, 108–123. [Google Scholar] [CrossRef]
  28. Kordzadeh, N. Investigating bias in the online physician reviews published on healthcare organizations’ websites. Decis. Support Syst. 2019, 118, 70–82. [Google Scholar] [CrossRef]
  29. Ramachandran, S.; Ring, D.; Langerhuizen, D.; Vagner, G. A Large Number of Reviews on Physician Rating Websites May Reflect Reputation Management. Iowa Orthop. J. 2022, 42, 283–286. [Google Scholar] [PubMed]
  30. GeoCare Navigator. Available online: https://data.hrsa.gov (accessed on 14 July 2024).
  31. Deutsches Krankenhausverzeichnis. Available online: https://www.deutsches-krankenhaus-verzeichnis.de/app/suche (accessed on 14 July 2024).
  32. WHO. Accesmod 5. Available online: https://www.accessmod.org (accessed on 14 July 2024).
  33. Domo. Available online: https://www.domo.com/customers/regional-one-health (accessed on 14 July 2024).
  34. AdvancedMD. Available online: https://www.advancedmd.com/emr-ehr-software/physician-dashboard (accessed on 10 September 2024).
  35. Tableau. Available online: https://www.tableau.com (accessed on 22 August 2024).
  36. Power BI. Available online: https://www.microsoft.com/de-de/power-platform/products/power-bi?market=de (accessed on 22 August 2024).
Figure 1. Data flow diagram of the interactive application.
Figure 1. Data flow diagram of the interactive application.
Healthcare 12 01846 g001
Table 1. Analysis of the index department’s strengths, weaknesses, opportunities, and threats (SWOT).
Table 1. Analysis of the index department’s strengths, weaknesses, opportunities, and threats (SWOT).
PositiveNegative
InternalStrengthsWeaknesses
monthly updates on basic KPI *,
investment-friendly management,
tumor boards,
department of neurology
need to compile other performance indicators,
missing neurosurgical SOPs **,
no neurosurgical training authorization,
ageing workforce/staff shortage,
limited resources (technology, OR #, beds)
ExternalOpportunitiesThreats
subsidence of the COVID-19 ## pandemic,
demographics,
forthcoming healthcare reform,
funding inquiry for projected new hospital building
competitive environment,
suboptimal reputation
* key performance indicators, ** standard operating procedures, # operating room, ## coronavirus disease 2019.
Table 2. Contingency table with data on reported patient satisfaction.
Table 2. Contingency table with data on reported patient satisfaction.
Overall Evaluation
Less Than 4 *
Overall Evaluation
4 * or Higher
Prior to
service resumption
10
After
service resumption
010
* 0 = worst, 6 = best possible evaluation; table cells represent numbers of evaluations; online reported patient satisfaction (ORPS) trended towards better overall evaluation after service resumption (Fisher’s exact test; p = 0.09).
Table 3. Contingency table with data on catchment.
Table 3. Contingency table with data on catchment.
District of
Hersfeld-Rotenburg *
Elsewhere **
Months 1–12 after
service resumption
34161
Months 13–24 after
service resumption
410108
Table entries represent numbers of patients. * hosts the index department; ** refers to the contiguous part of the index department catchment area (CA) beyond the district of Hersfeld-Rotenburg. The proportion of patients admitted from districts other than Hersfeld-Rotenburg was significantly higher during the 2nd year as compared to the 1st year after service resumption (Chi-square; p = 0.03).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Voellger, B.; Malesevic-Lepir, M.; Abdelrehim, M.A.H.; Bockelmann, D. Visualizing Hospital Management Data in R Shiny—A Case Study. Healthcare 2024, 12, 1846. https://doi.org/10.3390/healthcare12181846

AMA Style

Voellger B, Malesevic-Lepir M, Abdelrehim MAH, Bockelmann D. Visualizing Hospital Management Data in R Shiny—A Case Study. Healthcare. 2024; 12(18):1846. https://doi.org/10.3390/healthcare12181846

Chicago/Turabian Style

Voellger, Benjamin, Milica Malesevic-Lepir, Mohamed A. Hafez Abdelrehim, and Dalibor Bockelmann. 2024. "Visualizing Hospital Management Data in R Shiny—A Case Study" Healthcare 12, no. 18: 1846. https://doi.org/10.3390/healthcare12181846

APA Style

Voellger, B., Malesevic-Lepir, M., Abdelrehim, M. A. H., & Bockelmann, D. (2024). Visualizing Hospital Management Data in R Shiny—A Case Study. Healthcare, 12(18), 1846. https://doi.org/10.3390/healthcare12181846

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop