Part 2 of Before You Buy Code.
A clinic owner asked me a fair question last month: should he pay a developer to build his patient and billing system, or buy a ready one? I build Laravel systems for clinics, and I also sell a ready hospital system, so I have a foot in both camps. This post puts both price tags on the table in full, including the cost lines that developers leave out of build quotes and sellers leave off buy pages. The figures are example rates, stated here and again at the table. They are not quotes for your clinic.
Start with what the clinic needs in week one
Both routes get priced wrong when the scope is vague, so fix the scope first. A small clinic in week one needs five things: patient registration, a doctor list, appointments that cannot double book, billing that prints a receipt, and a daily report the owner reads at closing time. Everything else, ward rounds, pharmacy stock, lab reports, comes in month two or later.
Price both routes against that same list. A build quote for five modules and a licence for a system that covers ten are not comparable until you line them up module by module.
Route one: build your own, and what it really costs
The build quote you get first covers developer time, and developer time is only the first line.
Time by module, from my own build of a hospital system in Laravel: patients, doctors, and appointments are the fast third, about 80 to 100 hours with forms, search, and the double booking check. I wrote up the appointment flow on its own here: https://dev.to/mehedirafi/build-a-clinic-appointment-page-in-laravel-step-by-step-4ohg. Billing takes longer than owners expect, because receipts, refunds, and daily totals all have to agree with each other. Roles and permissions take real time too. A receptionist, a doctor, and the owner cannot see the same screens, and getting that wrong with patient records is not a cosmetic bug. Reports and a working backup routine are the last stretch, and they are the parts most often cut when the deadline slips, which is exactly backwards. The owner opens the reports every day, and the backup is what saves the clinic the one time the disk fails.
At an example freelance rate of $20 an hour, a careful build of the week one list runs 250 to 400 hours, so $5,000 to $8,000 before the clinic sees a patient on it. A cheaper hourly rate lowers that line and usually lengthens the calendar. The system also arrives months later than a bought one, and those months have a cost in paper registers and staff time that never appears in the quote.
Then the smaller lines start. Hosting, a modest server at about $10 a month. Maintenance, because Laravel and PHP release updates, browsers change, and small faults appear: allow 3 to 5 developer hours a month. And year two, the year nobody budgets for. The original developer has other work now. The owner wants a new report, a second branch needs access, and the framework wants a major upgrade. Each of those is a fresh negotiation at then-current rates, with a developer who first has to relearn a system somebody else wrote, or that he wrote and has half forgotten.
Route two: buy a ready system, and what it really costs
The licence is the line on the sales page, and it is also not the whole bill.
Licence first. Ready systems price two ways: one time, or a yearly subscription that stops being cheap in year three. Read which one you are signing. My own system, MHMS, is $59 one time with the full source files, and this post uses that as the worked example because I know its numbers exactly. Whatever system you look at, the same lines below apply.
Setup comes next. The files go on your own server, the database is created, and the first admin account is made. A developer does that in about 3 hours, or you follow the install guide yourself in an evening. Data entry follows: your current patient list, your doctors, your price list for tests and services, typed or imported once. Training is half a day of your front desk staff working on demo data until the daily flow feels normal. That time is yours, not the seller's invoice, and it still counts.
The line buyers forget is customisation after the purchase. Your clinic prints receipts in a format the system does not use. Your owner wants the daily report grouped by doctor, not by department. Each change is developer hours at the going rate, priced one job at a time. Budget for two changes in the first year, about 10 hours each at the same example rate, and you have the honest buy figure.
One fact decides a lot for clinics: where the records live. A self-hosted system keeps patient records on your own server, under your own backup routine. The public demo of any system, mine included, runs on demo data only, so test the flow there and judge the real install by the checklist below.
The 12 month table, both routes side by side
Example rates: developer time at $20 an hour, hosting at $10 a month. Change the rates to your local ones and the totals move. The shape of the table does not.
| Cost line, first 12 months | Build your own | Buy a ready system |
|---|---|---|
| Developer time to build | 300 hours, $6,000 | none |
| Licence | none | $59 one time |
| Setup and install help | inside the build | 3 hours, $60 |
| Hosting, 12 months | $120 | $120 |
| Staff training | your time, during the build | your time, about half a day |
| Two custom changes in year one | inside the build | 20 hours, $400 |
| Maintenance and small fixes | 4 hours a month, $960 | covered by your change budget |
| Total cash in year one | about $7,080 | about $639 |
The build total buys you a system shaped exactly around your clinic, written for your workflow and owned outright. The buy total buys you a working system this month and a bill that stays small as long as your needs stay standard. The trick is knowing which lines apply to you before you choose.
Where each route wins
Build wins when your workflow is genuinely unusual: a billing model no ready system uses, several branches with rules that differ per branch, or a plan to sell the system to other clinics later. Build also wins when you already employ a developer, because the maintenance and year two lines shrink when the person who wrote the system sits in your building.
Buy wins when your needs match the standard list in the week one section, when you need the system running this month rather than this quarter, and when no developer works for you full time. Most single clinics and most small hospitals with standard billing land here, and there is no shame in it. The money saved against a build pays for a lot of training and a lot of hosting.
The middle route, where most clinics should land
Buy the core system, then pay a developer for the two or three changes your clinic actually needs. You get the standard modules at licence price, working this month, and the receipt format and the one report your owner reads become paid jobs with fixed prices agreed before work starts.
Do it in this order. Run the demo against your real daily work for a week and write down every place the flow fights your staff. Turn that list into a change list of at most three items. Get each item priced as a fixed job, in writing, before you pay for any of them. A change list written after a month of use is short and accurate. A change list written on day one is a guess, and guesses are what make custom work expensive.
Test any ready system in 30 minutes
Before money moves on the buy route, run this test on the demo or a trial install, and ask the seller the questions under it.
- Register a test patient and book an appointment, then try to book the same doctor at the same time twice
- Raise a bill, print the receipt, and check the daily report total matches
- Create a staff account with limited rights and confirm it cannot open billing settings
- Find the backup setting or the backup instructions and read them once
Questions for the seller: Is the price one time or yearly, and what do updates cost? Is the full source included? Do the records stay on my own server? What does a custom change cost, and who is allowed to make one? A seller who answers those five in plain words is a seller you can work with after the sale.
The decision rule by clinic size
A single doctor chamber: your week one list is short, and a full build is money spent on problems you do not have. Buy a small ready system or run the appointment part alone until the patient count forces the rest.
A small clinic with 5 to 20 staff: buy, or take the middle route. The standard modules cover you, and the two or three changes are where your money should go.
A hospital with wards and a lab: the ready system has to cover wards, pharmacy, and lab records before the price means anything, and the middle route still applies. Build only when a developer stays on call for you, because an unmaintained hospital system is a patient safety risk.
MHMS is the system I built and sell for $59 on Gumroad: https://mehedirafi.gumroad.com/l/mhms . A live demo runs at mhms.mehedimansurrafi.online. Test it with the checklist in this post and judge it the same way as any other system. It covers patients, doctors and appointments, with medicine and lab-test catalogues, in one Laravel system that runs on your own server, so the records stay with you. Wards and billing are not in the $59 package — they are the kind of paid custom change this post prices in the middle route above.
I am Mehedi Mansur Rafi, a freelance Laravel developer (B.Sc. in Computer Science & Engineering). I build hospital, clinic, and small business websites. CarePoint Admin is my admin template for clinic back offices: https://mehedirafi.gumroad.com/l/carepoint-admin . For custom changes to a hospital system you already run, my Upwork profile is https://www.upwork.com/freelancers/~0118ab607e0b4c599b and my site is https://mehedimansurrafi.online


