Configurable clinical templates and forms, in a block editor you actually control
Avinya Plus ships a Notion-style template engine, enabled by default, that lets clinics build and edit prescriptions, lab reports, invoices, and clinical forms from 21 block types and 23 field types, with a formula engine, conditional cell formatting, merge tokens for clinic and patient data, and printing from A4 to 58/80mm thermal. India-first, configurable, in early access.
Your forms live in Word. Your formulas live in your head.
Most clinics rebuild the same OPD note, prescription, and lab report in Word or on a paper pad, then re-type totals and dates by hand every time. Legacy EMRs lock you into one rigid form per screen that nobody can change without raising a support ticket. You want forms that match your clinic's header and workflow, fill in the patient name and clinic GSTIN themselves, and do the arithmetic so the front desk doesn't.
Built for how clinics actually work.
A real block document builder, on by default
Templates are built from a Notion-style tree of 21 block types: paragraphs, rich text, three heading levels, quotes, callouts, KPIs, bulleted/numbered lists, images, signatures, tables, embedded and linked databases, multi-column layouts, running headers and footers, dividers, and page breaks. The unified template engine ships enabled by default, not a paid add-on you have to switch on.
Custom fields with 23 column types, including money, formulas, and rollups
Every template can own a block database whose columns you define from 23 field types: text, rich text, number, a distinct money type, date, date range, time, checkbox, select, multi-select, email, phone, URL, file, person, relation, rollup, formula, and number array, plus automatic created/updated fields. Add a column and it becomes both a fillable field and a merge token you can drop anywhere on the page.
A formula engine that does the clinic arithmetic for you
Formula and rollup fields run a roughly 30-function engine: round/ceil/floor/mod, if/and/or/not, date math (dateAdd, dateBetween, today), and India-aware money helpers. formatCurrency renders ₹1,20,000.00, amountInWords prints 'One Lakh Twenty Thousand Rupees Only' (en-IN), and sumColumn auto-totals a linked line-items table. Money arithmetic is currency-checked: adding two different currencies throws an error rather than silently producing a wrong total.
Conditional formatting that flags abnormal results automatically
Any database column can carry conditional formatting rules: a boolean formula like prop("Flag") == "High" colours the cell with one of 9 semantic styles, and the first matching rule wins. The committed CBC lab panel ships rules that turn High values red and Low values amber, so an out-of-range result jumps out on the printed report without anyone styling it by hand.
Merge tokens that pull in clinic, patient, and date data
Drop tokens into any text block from a catalog grouped by Organization, Clinic, Patient, User, and Date. The shipped templates use the clinic name and GSTIN tokens alongside the patient name and today's date, which resolve at print time so one template fills in the right values on every document. The catalog also exposes the clinic logo and the patient's ID code for letterhead-style headers.
Editable, portable templates you can clone and carry between clinics
A new clinic is auto-seeded with a working set of print templates: a Default Rx, GST tax invoices (A4 classic plus compact, letterhead, and ledger variants), and an 80mm POS receipt, all of which you edit to match your header and print profile. A wider committed library (OPD Note, Discharge Summary, CBC lab panel, follicular monitoring chart) ships as importable JSON. Export a template and re-import it into another clinic in one atomic transaction, with every id freshly minted, so a head office can hand a standard form to every branch.
At a glance
- The block editor offers 21 block types and 23 field types (including a distinct money type, formula, rollup, and number array), plus automatic created/updated fields.
- The formula engine ships ~30 functions across math, logic, text, dates, India-aware money (formatCurrency renders ₹1,20,000.00; amountInWords writes 'One Lakh Twenty Thousand Rupees Only'), and aggregation.
- Money arithmetic is currency-checked: adding two different currencies raises an error instead of producing a wrong total.
- Conditional formatting applies one of 9 semantic styles per cell by boolean formula (first match wins); the seeded CBC panel turns High results red and Low results amber automatically.
- Templates render to 6 page profiles (A4 portrait/landscape, A5, Letter, and 58mm/80mm thermal) from the same document.
- The template engine is on by default; templates export to versioned JSON and re-import into another clinic atomically, with all ids freshly minted, and every engine table is isolated per clinic with RLS.
See how it stacks up.
| Feature | Paper / Excel | Legacy EMR | Avinya Plus |
|---|---|---|---|
| Edit your own forms without a support ticket | Retype in Word | No | Yes |
| Custom fields (23 types incl. money, formula, rollup) | No | Partial | Yes |
| Formula engine (totals, dates, amount-in-words) | By hand | No | Yes |
| Conditional formatting on abnormal values | No | No | Yes |
| Merge tokens for clinic, patient, GSTIN, date | No | Partial | Yes |
| Print A4 / A5 / Letter / 58 / 80mm from one template | No | Partial | Yes |
| Export a template and import it into another branch | No | No | Yes |
Questions, answered.
Can I edit the clinical templates to match my own header?
Yes. Templates are built in a block editor you control, and you drop merge tokens into any heading or paragraph. The shipped templates use the clinic name and GSTIN tokens; the catalog also offers the clinic logo and the patient's ID code. They resolve at print time, so each prescription, report, or invoice carries the right values automatically.
Do I need to enable the template engine, or is it extra?
It's on by default. The template engine ships enabled, so a new clinic can build and edit templates from day one, with no add-on to buy and no flag to flip. It's in early access like the rest of the platform.
What kinds of fields can I add to a form?
23 field types: text, rich text, number, a distinct money type, date, date range, time, checkbox, single- and multi-select, email, phone, URL, file, person, relation, rollup, formula, and number array, plus automatic created/updated fields. Add a column and it becomes both a fillable field and a reusable merge token on the page.
Can templates do calculations, like invoice totals or due dates?
Yes. Formula and rollup fields run a roughly 30-function engine: rounding, if/and/or logic, date math, and India-aware money helpers. sumColumn auto-totals a linked line-items table, formatCurrency renders ₹1,20,000.00, and amountInWords writes 'One Lakh Twenty Thousand Rupees Only'. Money arithmetic is currency-checked, so two different currencies can't be added by mistake.
Will an abnormal lab value stand out on the printed report?
Yes, if you want it to. Any database column can carry conditional formatting: a boolean formula such as a 'High' flag colours the cell with one of 9 semantic styles, first match wins. The committed CBC panel already turns High values red and Low values amber, so out-of-range results are obvious without manual styling.
Which templates does a new clinic start with, and can I add more?
A new clinic is auto-seeded with a Default Rx, GST tax invoices (A4 classic plus compact, letterhead, and ledger layouts), and an 80mm POS receipt. A wider committed library (OPD Note, Discharge Summary, a CBC lab panel, and a follicular monitoring chart) ships as importable JSON, and you can build anything else from blocks. It's a generic, configurable engine: IVF was simply the first clinic on the platform, one of 40+ configurable specialties, not the focus.
Run your clinic on Avinya Plus.
Patient records, billing, and scheduling in one system your team will actually use.