Get data on stroke patients of a German stroke unit as csv-files, generate a customizable statistical report.
Get data on stroke patients of a German stroke unit as csv-files, generate a customizable statistical report.
Get data on stroke patients of a stroke unit as IT-generated csv-files, add three manually filled csv-files, run code in Python, Pandas, Powershell, Pandoc Markdown, Latex and generate a customizable statistical report.
I am a physician and an amateur programmer. I wished to share the code and the way I did it. It may encourage others, whether programming physicians or professional programmers, to do similar - and much better - projects.
In Germany there is a quality assurance program for stroke patients. Data for that program are gathered through a special module of the hospital IT-system. There is a fixed set of questions. The data are sent four times a year to an overseeing authority and the results are discussed. Of course we are encouraged to deliver a high level of care.
As an attending neurologist at a stroke unit I wanted to answer additional quantitative questions about our patients and the care they receive. I was kindly granted access to the raw data of the quality assurance program as csv-files.
My workflow:
The files in that project are:
To understand my code fully you should speak English and German and know a lot about care of stroke patients in German hospitals. If you do not speak German you can still inspect the structure of the code. The comments are in English. I am sorry I cannot share the patient data, so I cannot upload a report as a pdf-file.
I assume now you are a programming stroke physician or a programmer in a German hospital with a stroke unit.
The structure of the csv-files you may receive from your IT-department may be different from that of my hospital. Examine closely these files. You can use a text editor with csv-preview. I currently use Visual Studio Code for programming and all my writing. Understand all the column headings, their meaning may not be obvious, there are abbreviated expressions like ‘abstAufnIABild’.
Ask your colleagues and your head of the department, what questions they might have. Ask yourself what you would like to know.