Kartik Scripts

Medical Records

Every encounter a patient has ever had, stored permanently and searchable from the tablet.

EMS Tablet โ†’ Medical records


๐Ÿ” Finding a patient

Search by name or citizen ID. The list can be filtered to Citizens or Callout patients.


๐Ÿ“„ A patient's profile

Section
Blood typeOnce a blood test has revealed it
Record countHow many times they have been treated
Active prescriptionsWhat they are currently on
HistoryEvery past encounter, newest first
PrescriptionsEverything ever prescribed, active and expired
Medical informationChronic conditions, allergies, notes
NotesFree-text notes added by staff

๐Ÿ“‘ What one record contains

Every treatment session saves a full record automatically:

SummaryA ready-to-paste plain text write-up
InjuriesEvery injury found, with body part and severity
TreatmentsEverything applied
MedicationsEvery drug given, with dose
ProceduresCPR, defibrillation, surgery, transfusions
TestsEvery scan and lab result
DiagnosesConfirmed illnesses
PrescriptionsAnything written at discharge
Vitals, initialHow they arrived
Vitals, finalHow they left
DispositionFit, rest, crutches, wheelchair
NotesWhatever the medic wrote

You never have to write any of this by hand. The record builds itself as you work, the report at discharge is just the moment it gets signed.


๐Ÿ“ Notes

Any medic with Edit records permission can add a note to a patient's profile. Use it for allergies, chronic conditions, repeat behaviour, or anything the next medic should know.


๐Ÿ” Permissions

ActionDefault rank
Add notes, edit profiles0
Write reports0
Prescribe2
Revoke anyone's prescription3
Delete records4

๐Ÿ”— MDT integration

Records are pushed to your MDT automatically, kartik-mdt, lb-tablet or ps-mdt.

They are always stored inside this resource as well. If you change MDT later, nothing is lost.

Your MDT or CAD can also pull them directly:

exports['kartik-ambulancejob']:GetLatestMedicalReport(citizenid)
exports['kartik-ambulancejob']:GetMedicalHistory(citizenid, limit)
exports['kartik-ambulancejob']:GetPrescriptions(citizenid, activeOnly)
exports['kartik-ambulancejob']:GetMedicalProfile(citizenid)

See Server Exports.


๐Ÿ—‘๏ธ Retention

Records are kept forever by default. Server owners can set ServerConfig.RecordRetentionDays to prune them automatically.


๐Ÿ“„ Pagination

Long lists are paged, 15 rows per page by default (Config.UI.tabletPageSize, 5โ€“50).

On this page