Skip to content

MDT Medic

lo_mdtmedic is a VORP resource for RedM that gives medical staff a true mobile data terminal (MDT). Doctors open a clipboard-style interface to manage patients, write prescriptions and certificates, keep registries, perform autopsies, schedule appointments, set their pricing and bill their work.

Overview

The MDT opens through a usable item (mdt_medic) or a command (/mdtmedic), provided the player holds an allowed medical job. The interface is a Vue 3 application rendered as NUI: a side panel exposes the various tabs (records, prescriptions, certificates, registries, epidemics, autopsies, appointments, pricing, billing), each wired to the server through VORP callbacks and an oxmysql database.

The documents produced (prescriptions, certificates, medical assessments, autopsy and injury reports) can be "torn" into inventory items: using one opens a NUI viewer that renders the paper template with the metadata baked in.

Features

  • Patient records — Full per-patient file (dossier number, civil status, medical history, allergies, distinctive signs, notes…), linked to the character identifier.
  • Prescriptions — Write prescriptions as a tearable medic_prescription item, rendered on the official paper template.
  • Certificates — Issue medical certificates (medic_certificate) and medical assessments (medic_assessment), gated by per-job permission.
  • Registries — A registry tab to keep the practice's medical entries.
  • Epidemics — A dedicated tab to track epidemics.
  • Autopsies — Autopsy (autopsy_report) and injury (injury_report) reports using a specific paper template with legend and body diagram, gated by per-job permission.
  • Appointments — Schedule patient appointments.
  • Pricing — Price list of medical acts, editable by authorized jobs.
  • Billing — Optional billing integration to an external resource (lo_billing by default); can be disabled for standalone use.

Compatibility & dependencies

ItemDetail
PlatformRedM (game 'rdr3')
FrameworkVORP
Dependenciesvorp_core, vorp_inventory, oxmysql
DatabaseRequired (auto-installed on boot)
Configurationconfig/config.lua
InterfaceVue 3 NUI (build shipped in web/dist/)

NOTE

lo_mdtmedic requires a database: the schema is installed automatically on boot. Billing relies on an external resource and can be disabled (Config.UseCustomBilling).

Technical overview

  • NUI interface — A Vue 3 application built with Vite. Sources live in web/src/, but only the web/dist/ build is shipped; no compilation is required server-side.
  • Languages5 languages included: French (fr), English (en), Brazilian Portuguese (pt-br), European Portuguese (pt) and Russian (ru).
  • Databaseoxmysql; the sql/install.sql schema is executed automatically when the resource starts.
  • Access — Controlled per job via Config.AllowedJobs and Config.JobConfig (minimum grade and per-feature permissions).

Next steps

  • Installation — Add the resource, the database and the start order.
  • Configuration — Allowed jobs, per-job permissions, DevMode and languages.