Skip to content

hpi-sam/dps.training_qrcode_generator

Repository files navigation

dps.training_qrcode_generator

dps.training Project Overview

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.

dps.training_qrcode_generator - QR Code Generator

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.

Usage and Installation

Installation

  1. Make sure you have poetry installed.
  2. Clone this repository and run poetry install in the root directory.
  3. Make sure you have LaTeX installed, as the python program calls upon the pdflatex command.

Usage

  1. Choose the script you want to use (python files in the root folder).
  2. Change any settings you like in the top section of the script or in the referenced .csv files.
  3. Run python generate_<xxxx>_qr_codes.py.
  4. After the script is finished, retrieve the generated PDF file from the output folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors