First-time setup: where to start
This chapter is for the administrator who prepares OHMS before the staff start using it. Do the steps in this order: each step uses what the earlier ones set up. Plan one or two days. You can come back and change everything later.
| # | Step | Menu |
|---|---|---|
| 1 | Hospital details, timings, rules, printouts | Administration Hospital Settings |
| 2 | Departments | Administration Departments |
| 3 | Roles and staff user accounts | Administration Roles & Permissions, Users |
| 4 | Doctors and their weekly OPD schedule | Clinical masters Doctors |
| 5 | Holidays, financial year, number formats | Administration Masters |
| 6 | Medicines, investigations, prescription templates | Clinical masters |
| 7 | Wards and beds, theatres and procedures | Inpatients, Operation theatre |
| 8 | Service list and prices | Billing Service list |
| 9 | TV queue screen | Clinical masters TV queue screens |
| 10 | SMS and WhatsApp | Messages SMS & WhatsApp providers |
| 11 | Backups and the health check (IT) | Server |
1. Hospital settings

- Open Administration Hospital Settings.
- The tabs 1 group the settings. Start with General: hospital name in English and Tamil, tagline, logo (PNG/JPG, up to 1 MB) and address. These print on every receipt, prescription and report.
- Click Save 2 before you move to the next tab. Each tab is saved separately.
What to fill on each tab:
| Contact & Registration | Phone numbers, WhatsApp number, email, GSTIN (blank if not registered), clinical establishment registration number, ABDM facility ID. |
| Localization | Date and time format, default language for new users, month in which the financial year starts (April). |
| OPD & Timings | Working days, morning and evening OPD times, slot length, registration fee, free and paid follow-up periods, how names appear on the TV queue, largest document size. |
| Inpatients & OT | How bed days are counted, cleaning gap between surgeries, surgical safety checklist, surgical consent wording (English and Tamil), discharge summary footer. |
| Pharmacy & Physiotherapy | Walk-in sales, largest discount, return period, expiry warning, default GST, drug licence, pharmacist, physiotherapy session fee. |
| Billing & Tax | GST on taxable items, receipt footer, rounding. |
| Insurance & Accounts | How insurer deductions are treated, TDS, claim follow-up, automatic posting to accounts, cash difference allowed at closing. |
| Messages & Notifications | Which channels are on, quiet hours, which reminders are sent. See Patient messages: SMS and WhatsApp. |
| HR & Payroll | PF and ESI rates and limits, how unmarked days are paid, salary bank account. |
| Store & Inventory | Purchase order approval, receipt tolerance. |
| Patient Portal | Open or close the portal and choose what patients can see. See Patient portal. |
| Print Templates | Letterhead line, prescription and report footers, terms, privacy notice (DPDP Act). |
| Security | Idle sign-out time, failed sign-ins before lock, lock time, password rules, roles that must use two-factor sign-in. |

2. Departments

- Open Administration Departments and click New department.
- Enter the code, the name in English and Tamil, tick Clinical department for patient-care departments (Orthopaedics, Physiotherapy, Radiology), and the display order.
- Click Save. Departments are used for staff, doctors, store issues and reports.
3. Roles and users
A role is a set of permissions (for example Receptionist, Doctor, Nurse, Pharmacist, Cashier, Accountant). OHMS comes with ready roles. A user is one person's sign-in. Every person must have their own user: never share a sign-in.


- Open Administration Roles & Permissions. Check that each built-in role fits your hospital. Click a role to edit it, tick or untick permissions, then Save.
- Permissions marked Sensitive give access to money, clinical approval or security. Give them only to the people who need them.
- For a job that does not fit, click New role.

- Open Administration Users and click New user 1.
- Fill in Staff details (name, employee code, designation, department, mobile, email) and Sign-in details (username and an Initial password).
- Tick one or more Roles and click Save.
- Give the username and initial password to the person privately. They must change the password at the first sign-in.

4. Doctors and OPD schedule

- First create the doctor's user with the Doctor role (step 3). A doctor without a login cannot sign consultations.
- Open Clinical masters Doctors and click New doctor 1.
- Enter the Name as printed, qualification, specialisation, medical registration number and council, department, room, consultation fee and follow-up fee, and (if the doctor gets a share) the consultation share % and surgery share %. Choose the Login account. Tick Visiting doctor for consultants who come on some days only. Click Save.

- OHMS then opens the doctor's page. In Weekly OPD schedule fill one row for each session: day, from, to, slot minutes and (optional) maximum patients. A doctor with morning and evening OPD has two rows for that day.
- Click Save. Appointment slots are made from this schedule. Leave a row empty to remove it.
- When the doctor will be away, enter the dates and reason under Leave and click Add leave. OHMS warns if appointments are already booked on those days.

5. Holidays, financial year, number formats

Administration Masters Holidays: add the year's holidays (Pongal, Deepavali...). Tick OPD closed if no OPD runs that day; appointments cannot then be booked.

Administration Masters Financial Years: the current year must exist (April to March). Use Add next year before 1 April and Make current on 1 April. Close a year (Close year) only after the accountant finishes it: closed years cannot be changed.

Administration Masters Number Formats: how UHIDs, OP numbers, receipts, bills and others are numbered, for example RJP0000123 or RCT/2026-27/000045. Change the prefix or digits before go-live; the Preview shows the next number. The format must contain {SEQ}.
6. Medicines, investigations and prescription templates

Clinical masters Medicines: the list used by doctors and the pharmacy. For each medicine: brand and generic name, form (tablet, capsule...), strength, GST rate and HSN code, reorder level, and whether it is a scheduled drug. The pharmacy stock and prices come from purchases (see Pharmacy).

Diagnostics Investigations: every lab test and X-ray / scan with its price, sample type, turnaround time and, for lab tests, the parameters with normal ranges (by sex and age). Results outside the range are flagged; critical limits raise an alert.

Clinical masters Prescription templates: ready sets of medicines for common problems. OHMS comes with 8 starter templates; doctors can add their own. A template only fills the form: the doctor checks every medicine for the patient.
7. Wards, beds and theatres

- Inpatients Wards & beds: first set the Room categories and tariffs (general, semi-private, private, ICU) with bed and nursing charges per day and the admission deposit. Then add each New ward, its rooms (New room) and beds (Add beds: prefix, first number, how many).
- Operation theatre Theatres & procedures: add the operation theatres, then check the procedure list: usual duration and the fees. Fees start at ₹0, so enter your hospital's tariff.

8. Service list and prices

Billing Service list: everything you charge for that is not a medicine, test, bed or surgery (dressing, plaster, injection charge, certificates...). Enter the code, name, category and price. Reception adds them to bills.
9. TV queue screen

- Clinical masters TV queue screens → add a screen, choose which doctors it shows.
- Copy the screen's address and open it in the browser of the TV (or the computer connected to it), full screen (F11). It needs no sign-in and refreshes by itself.
10. SMS and WhatsApp
Patient reminders need an SMS or WhatsApp provider account. Set it up in Messages SMS & WhatsApp providers, send a test message, then switch the channel on in Hospital Settings Messages & Notifications. The full steps are in Patient messages: SMS and WhatsApp.
11. Backups and the health check
This is done once by IT on the server (details for IT are in docs/PHASE-8.md):
- Run
deploy\windows\install-tasks.batas Administrator. It creates the nightly backup (01:30), reminder, follow-up and clean-up jobs. - Set a backup passphrase and a second copy folder (another disk or NAS). Keep the passphrase written down outside the server, with two people.
- Run
php spark ohms:check. It lists anything still missing with the fix. Run it again after every update.
Before go-live: checklist
- Hospital name, logo and address print correctly on an OPD receipt and a prescription.
- Every staff member can sign in with their own user and sees the menus they need.
- Each doctor has a login, fees and a weekly schedule; an appointment can be booked.
- Medicines, tests, wards, procedures and services have prices.
- Number formats are final.
- A test SMS / WhatsApp has arrived (if used).
php spark ohms:checkshows no FAIL and a backup has been made.- Demo data, if it was loaded for training, has been removed by IT (
php spark demo:clear).