Skip to content

Enotf print view - #112

Merged
itshypax merged 5 commits into
mainfrom
enotf-print-view
Oct 11, 2025
Merged

Enotf print view#112
itshypax merged 5 commits into
mainfrom
enotf-print-view

Conversation

@itshypax

Copy link
Copy Markdown
Collaborator

No description provided.

Implements a dedicated print view for eNOTF (electronic Notfallprotokoll) entries.

This commit introduces a new print stylesheet (print.css) and a dedicated print view (index.php) to allow users to generate a printer-friendly version of the emergency medical service reports.

The print view includes patient data, details about the emergency event, initial findings, and other relevant information. Styles are optimized for A4 paper format.
Implements a dedicated print view for eNOTF protocols, enabling users to generate printer-friendly versions of emergency and physician protocols.

This includes:
- A new topbar to return to the protokoll view
- Restructuring the protocol data into a print-optimized layout.
- Adding vital parameter graphs to the print view.
- Integrating dedicated print stylesheets for enhanced readability.

The print view aims to improve protocol accessibility and facilitate offline documentation.
Ensures the date and time are correctly formatted on the print view.

Hides the print button when the print view is embedded in an iframe to prevent conflicts with the parent page's printing functionality.
Improves the readability of the anamnesis textarea by increasing its height.
This provides a better overview of the contained information.
@itshypax itshypax linked an issue Oct 11, 2025 that may be closed by this pull request
Implements the display of driver and co-driver information in the print view.

Conditionally renders fields based on the value of 'prot_by',
allowing to differentiate between different data sources for driver
and co-driver names.
@itshypax
itshypax merged commit 68457bf into main Oct 11, 2025
1 check passed
@itshypax
itshypax deleted the enotf-print-view branch October 11, 2025 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Protokoll-/Druckansicht für eNOTF

1 participant