🏥Medical Records

📖 Overview

Medical Records is a complete Medical Records system designed for FiveM roleplay servers, built to run inside the lb-tablet app. It gives medical and emergency staff a professional, hospital-grade tablet interface to manage patients, track health information, coordinate appointments, log interventions, and communicate, all in real time. Citizens can also access their own health records and book appointments directly.


✨ Key Features


🏥 Patient Records System

Full Patient Profiles Every registered patient has a complete profile containing personal details, medical background, and current health status.

  • First name, last name, date of birth, gender, weight, phone, and email

  • Blood type selection (A+, A-, B+, B-, AB+, AB-, O+, O-)

  • Marital status tracking

  • Profile photo support

  • Medical history and surgical history entries

  • Lifestyle habits (smoking and alcohol consumption)

  • Emergency contact registration

Patient Search & Registration

  • Search patients by name or identifier in real time

  • Register new patients directly from the interface, with phone and email auto-filled from lb-phone if available

  • Edit any patient profile at any time


💉 Vital Signs

Track and update patient vital signs with reference to healthy ranges:

  • Heart rate (bpm)

  • Blood oxygen saturation (%)

  • Blood pressure — systolic and diastolic (mmHg)

  • Blood sugar (mg/dL)

  • Body temperature (°C)

Normal ranges are displayed as reference guides to help staff identify abnormal values instantly.


💊 Medications

Doctor-only feature for full medication management:

  • Prescribe medications from a large preset list or enter custom ones

  • Choose dosage, frequency, and duration with quick-select options

  • Mark medications as active or inactive

  • Edit or remove existing prescriptions

  • Active medications are always visible in the patient sidebar for quick reference

  • Full prescription log with prescriber name and date


📋 Prescriptions

Doctors can issue formal prescriptions that are saved to the patient's record, separate from daily medications. Each prescription is time-stamped and linked to the issuing doctor.


🧪 Medical Exams

Log any type of medical examination performed:

  • Exam types include: Blood Test, Urine Test, X-Ray, CT Scan, MRI, Ultrasound, ECG/EKG, Biopsy, Drug Test, and many more

  • Attach results, notes, and dates to each exam entry

  • Full exam history per patient


⚠️ Allergy Registry

  • Log patient allergies from a comprehensive preset list (medications, foods, environmental, etc.)

  • Add custom allergens not on the list

  • Allergy records are permanently attached to the patient profile


📝 Clinical Notes

  • Write categorised clinical notes per patient (Admission, Discharge, Progress, Operative, Emergency, etc.)

  • Doctors can edit their own notes after creation

  • Any medical staff can add notes; only doctors can edit them

  • Full note history with author, job, and timestamp


🗂️ Visit History

Log every patient visit with structured details:

  • Visit type (Emergency, Routine Checkup, Follow-up, Surgery, Consultation, Vaccination, etc.)

  • Chief complaint, diagnosis, treatment, and additional notes

  • Each visit is linked to the attending doctor with date and time

  • Full chronological history per patient


🖼️ Medical Images

Attach and organise medical images per patient:

  • Image types: X-Ray, CT Scan, MRI, Ultrasound, Wound Photo, Surgery Photo, Burn Injury, Fracture, and more

  • Tag images by body part (Head, Chest, Left Arm, Right Leg, Full Body, etc.)

  • Images stored and viewable within the patient's profile gallery


🚑 Interventions

Log emergency or field interventions with detailed records:

  • Intervention types: Accident, Medical Emergency, Fire, Rescue, Other

  • 5-level severity system (Minor → Life-threatening), each with a colour indicator

  • Location, description, and on-scene vitals recorded

  • Full listing filterable by patient, start date, and end date

  • Both medical and firefighter/police staff can create intervention logs


📅 Appointments

Full appointment management between doctors and patients:

  • Create appointments with date, time, doctor, and patient

  • Both the doctor and the patient can see their appointments in their respective views

  • Citizens receive a real-time notification when a new appointment is booked for them

  • Appointment badges on the sidebar icon notify staff of pending appointments


🗓️ Doctor Availability Schedule

  • Medical staff can set their weekly availability per day

  • Citizens can view the doctor schedule when booking appointments

  • Configurable: allow all medical staff or restrict to doctors only


💬 Internal Messaging

Built-in messaging system between staff members and citizens:

  • Start new conversations with any online player

  • Real-time message delivery

  • Unread message badges on the sidebar icon

  • Separate inbox views for staff and for citizens accessing their health records


📊 Statistics Dashboard

Hospital management overview for administrators and senior staff:

  • Total patients registered

  • Total interventions logged

  • Total appointments created

  • Total visits recorded

  • Overview of recent activity at a glance


🛡️ Admin Panel & Audit Logs

  • Full activity audit log: every action (note added, medication prescribed, visit logged, etc.) is recorded with staff name, action type, and timestamp

  • Only staff with boss/chief grade can access the full audit log

  • Helps server administrators monitor and review all medical activity


🔐 Login & Account System

Each medical employee has their own personal account:

  • Create an account with a custom username and password

  • Secure login required to access the system (optional — can be disabled)

  • "Remember me" option for automatic login on next tablet open

  • Password is hashed and never stored in plain text

  • Accounts can be deactivated by admins without deletion


👤 Citizen Access (My Health)

Players who are not medical staff can also access the system with limited permissions:

  • View their own patient records (read-only)

  • See their active medications, visit history, vital signs, and more

  • Check doctor availability and request appointments

  • Receive appointment notifications in real time

  • Message their assigned doctors directly

Last updated