We enable medical practitioners to place the right services, at the right location. Some regions will need more attention from Cardiologists. Other, from Gynecologists. Knowing which diseases affect the population enables you to place the right medical cabinet at the right place. In this project, we will model the disease distribution for any region in Switzerland. We will also show which hospitals are qualified at treating it and which places require further medical staff and equipment.
- Inferential Statistics
- Machine Learning
- Data Visualization
- Data cleaning and processing
- Python
- geojson
- plotly, seaborn, matplotlib
- Pandas, numpy, google colab
- Regular Expressions
- DeepL api for translations
- streamlit
The objective of this project was to create an application which can analyze patient distribution in specific cantons to help Swiss hospitals improve their treatment options. Moreover, we provide further information concerning the number of patients in various disease groups in these hospitals and the service they provide. The project was carried out in collaboration with NXGEN Medical Services, a startup company that specializes in data collection, machine learning, and predictive analysis. Our workflow included three vital steps: collecting real-world data from various sources, processing them, and uploading them to the company database. The cleaning process was the most challenging and important one for many reasons. The data we acquired contained information in German, French, and Italian, so the first step was to use deep learning to translate them to English. The next step was to extract information from a source which contained multiple types of inputs in one column without a distinct pattern. All these steps were implemented in a pipeline with the aim to allow an easy insertion of future data into the company database. This way, the app can remain up to date with the latest datasets provided. Furthermore, we analyzed the data at hand using statistical tools, visualization, and machine learning. These tools were the essential components of the interactive app we created on Streamlit to make the data we extracted accessible and easy for the hospitals to use.
Streamlit link Streamlit Repository
For example, the graph below contains the following information: the number of patients per hospital according to the disease category, the city and canton where the hospital is located, and the population number. In our app, you can hover over cities to display more information:
Additional information about the most prevalent diseases per region, birth rates, specialized medical equipment, and staff members was added as well. In the future, we are hoping that this data will help build an app designated for patients to help them find the best and nearest medical facility to treat their illness. Furthermore, it could help in creating an algorithm to analyze and rate the quality of hospitals based on many features of the data provided, i.e., mortality, transferring patients to a different hospital due to lack of specialized doctors or equipment, length of stay at the hospital, and so on and so forth. This app will improve the quality of medical treatment, especially in the peripheral areas, and hopefully increase the availability of medical equipment.
- Medical Statistics of swiss hospitals
- Ouality indicators, contains metadata as well
- Swiss Hospitals
- Medical data according to age group
- Birth rates in Switzerland
- C section rates in Switzerland
- Hospitalization according to canton
- AZ_birth_rates: Birth numbers in 2019 and 2020 as well as rates of births and c-sections analysis
- AZ_Hospitals_data_analysis: Hospital rates, staff, services according to region
- AZ_Medico_reading_the_data1: Diagnosis in all of Switzerland according to age and SEX
- AZ_read_txt_files: Merging, cleaning and wrangling 650 text files into a dataframe
- AZ_Diseases_and_birth_prediction_in_Switzerland: Linear regression to predict the number of patients in each disease group
- AZ_maps_and_plots: Plots and choropleth map plots
- Quality_indicator_exploratory_data_analysis: Number of patients across Swiss hospitals and cantons between 2014 and 2019,