# EMS MDT

### 🏥 Welcome to drz\_emsmdt

**Precision medicine meets modern technology.**

Welcome to the documentation for **drz\_emsmdt**. This Mobile Data Terminal is designed to be the central nervous system of your Emergency Medical Services. We have moved beyond basic text-based menus to create a **modern, responsive, and fully customizable** interface that serves as both a medical database and a personal employee dashboard.

From tracking your own duty hours to managing staff rosters and logging detailed patient history, this tool provides everything a Hospital Chief or Paramedic needs to operate efficiently.

***

### 🔥 Key Features

* **🖥️ Modern & Responsive UI** A clean, card-based interface designed for ease of use. Features include quick actions, tables, and a **fully customizable branding system**—change colors, logos, and texts to match your server's identity.
* **👤 Personal File Dashboard** Your personal command center. Upon logging in, view your **Name, Current Rank, and Duty Status** at a glance. Features a one-click **Start/End Shift button** to seamlessly toggle your availability.
* **⏱️ Duty Tracking & Shift History** Every second counts. The MDT automatically tracks your **Total Time On Duty** (displayed in hours/minutes) and saves it to the database.
  * **Shift History:** View a complete timeline of your work, including Start Time, End Time, and Duration for every shift you've pulled.
* **🧾 My Latest Entries** Never lose track of your paperwork. The dashboard provides a quick overview of your **most recently created records**, displaying the Case ID, Citizen Name, Date of Birth, and a preview of your notes.
* **🔍 Advanced Person Search** Information is power. Search citizens by Name, DOB, Phone Number, or Identifier. The system pulls detailed profiles, allowing you to view medical history and insurance status before treatment.
* **👥 Employees & Staff Management** Commanders have full control. View the complete **Staff List** with ranks, filter by status, and see who is currently Online or Offline to better manage dispatching.
* **🩸 Blood Test System** A dedicated module for pathology. Store and view blood test results, specifically tracking **Blood Type** and other critical indicators for accurate transfusions.
* **📝 Personal Notes & Codes**
  * **Notes:** Keep private notes per user with tagging, pinning, fast editing, and full-text search.
  * **EMS Codes:** A categorized system for medical codes with descriptions and priority levels (JSON-ready for easy import/export).
* **⚙️ Total Configuration Control** Tailor the script to your needs. Toggle specific modules on/off, adjust search limits, configure UI options, and manage **Granular Rank Permissions** (control who can edit, delete, share, or view logs).
* **🛡️ Logs & Audit Trail** Accountability is built-in. Every major action—notes, file creation, blood tests, searches, and settings changes—is logged to the database for administrative review.
* **🌍 Global Localization** Ready for international servers. Built-in locale support for **8 languages**: CZ, SK, EN, PL, RU, ES, FR, DE.

***

### ⚡ Performance

The MDT is optimized to handle complex data queries without impacting client performance.

| State      | Usage                             |
| ---------- | --------------------------------- |
| **Idle**   | 0.00ms                            |
| **Active** | 0.02ms - 0.05ms (When UI is open) |

***

### 🔗 Useful Links

| Platform        | Link                                                         |
| --------------- | ------------------------------------------------------------ |
| 🛒 **Webstore** | Get drz\_emsmdt                                              |
| 📹 **Preview**  | [Watch on YouTube](https://youtu.be/4KCxbcUn8UI)             |
| 💬 **Discord**  | [Join Support Server](https://discord.com/invite/nJBpRUQWGb) |

***

### ⚠️ Requirements

Before installing, ensure you have the following dependencies installed and updated:

* **ESX Framework**
* [ox\_lib](https://github.com/overextended/ox_lib)
* [ox\_mysql](https://github.com/overextended/ox_mysql)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://drz-scripts.gitbook.io/drz-scripts/paid/ems-mdt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
