Description
An itemized medical billing system for ESX or QB: medics add treatment line-items to an invoice, and at discharge the server prices the cart from a fixed table and charges the total to either the patient's bank account or a shared insurance society account. Servers buy it because it wires the medical job into the economy — treatment becomes revenue, and insurance opens a whole billing-roleplay layer.
Prompt Template
You are writing a FiveM resource for esextended (stable, exports getSharedObject).
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
The reference Lua lives at content/expected-outputs/medical/27-medical-billing-insurance.lua. It implements a server-side price table, a validated total computation that ignores unknown codes, a…
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes & Corrective Prompt
- Client-sent total — Claude trusts a total from the client; compute it server-side from validated line-item codes only.
- No balance check — moving money without verifying funds creates negative accounts; gate
removeAccountMoneybehind a balance check. - One-sided net event —
bill:resulton only one side means the discharge confirmation never arrives; both sides useRegisterNetEvent+AddEventHandler.
Corrective re-prompt: "Never accept a total from the client — keep the PRICES table in server.lua, recompute the invoice from the validated line-item codes, and before charging the patient verify getAccount('bank').money is at least the total; route insurance payments through the shared society account instead."
Framework Integration
- ESX:
local ESX = exports['es_extended']:getSharedObject(); insurance viaesx_addonaccount:getSharedAccount('insurance_society', cb). - QBCore:
local QBCore = exports['qb-core']:GetCoreObject(); charge withPlayer.Functions.RemoveMoney('bank', total)and a society account throughqb-management/qb-banking. - QBox: use
exports.qbx_core:GetPlayer(src)andexports.qbx_managementfor the society/insurance account.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), sized for a rising economy-bridge niche.
Trend Signal
↗ rising — strategy: Billing/insurance wires medical into the economy category (cross-sell synergy per matrix); under-built standalone.
Sales Angle
Position as the economy bridge for any medical pack — it turns treatment into revenue and unlocks insurance roleplay, an easy cross-sell beside an EMS job. Recommended Tebex price $129.
Difficulty & Ship Time
beginner · ships in 2-4h.