This is the codebase for "dps.training", a training system for emergency medical personnel to prepare for Mass Casualty Incidents with minmal effort. It is based on the "dynamische PatientenSimulation (dPS)", a German paper-based simulation system developed by Dr. Frank Sensen and Wolfram Polheim, which is copyrighted and distributed by the German Federal Office of Civil Protection and Disaster Assistance.
The software was originally developed by a as a bachelor project at the HPI. You can find further information on the project, including videos of the software in action, on the project website. A test version of the latest release is publicly available here.
The dps.training software consists of multiple components, which are distributed accoss multiple repositories:
- Backend implemented in Python with the Django Framework.
- Player App written in Dart with the Flutter Framework.
- Trainer App written in Dart with the Flutter Framework.
- App Shared Files containing shared dependencies for both apps.
- (optional) Command Line Client implemented in Python.
- (optional) QR Code Printout Generator implemented in Python and using LaTeX to generate PDFs.
This repository contains scripts for generating QR Code Printouts that can be used for digital MCI trainings with the "dps.training" software´.
There actually are three different scripts for the different types of QR Code Printouts to be generated (patients, containers, vehicles).
The scripts compile a LaTeX .tex document using different .tex-fragments from the components folder based on the presets specified as .csv files in the input directory, and starts pdflatex to create the final PDF document.
- Make sure you have poetry installed.
- Clone this repository and run
poetry installin the root directory. - Make sure you have LaTeX installed, as the python program calls upon the
pdflatexcommand.
- Choose the script you want to use (python files in the root folder).
- Change any settings you like in the top section of the script or in the referenced
.csvfiles. - Run
python generate_<xxxx>_qr_codes.py. - After the script is finished, retrieve the generated PDF file from the
outputfolder.