Neurology clinic software with a self-built headache & seizure diary
Avinya Plus is a generic, configurable clinic platform, not a neurology EMR. Its distinct angle: in the block-builder you build a headache & seizure diary where range() derives the swing between a patient's worst and best logged pain score, and dateBetween() derives seizure-free days.
Your seizure charts live in a notebook the patient forgets to bring
Neurology runs on longitudinal patterns: attack frequency, the gap since the last seizure, whether headache severity is trending or just noisy. Paper diaries get lost, and a generic EMR gives you a free-text box where 'how many fits this month?' becomes an un-summable sentence. You end up eyeballing dates to count seizure-free days and guessing whether the worst attack got worse. Nothing computes the spread of severity or the interval between events for you. The numbers that decide a dose change are buried in prose.
Built for how clinics actually work.
Headache & seizure diary with a derived severity-swing (the distinct artifact)
In the block-builder you assemble a diary table where each visit row carries a number_array cell of that period's daily pain scores (0-10). A formula column running range(prop("Pain scores")) returns the swing between the worst and best logged day — a single fluctuation number no free-text box can give you. range() computes max minus min over the list, so a steady patient reads low and a volatile one reads high at a glance. This is a derived value the rest of the platform does not compute anywhere else.
Seizure-free-days interval, auto-counted between two dates
Add a date column for the last seizure and one for today's visit, then a formula column dateBetween(prop("Last seizure"), today(), "days") prints the seizure-free interval automatically, with no counting on a wall calendar. The engine backs it with differenceInDays, and the same function supports weeks, months, or years if you prefer a coarser gap. Pair it with conditional formatting so a short interval flags. This event-interval derivation is distinct from any subtraction or score on other Avinya Plus pages.
A self-built exam table: NOT a scored neuro instrument (honest scope)
You can absolutely build an MRC power table (0-5 per muscle group), a reflexes row, and a cranial-nerve checklist as builder columns using number, select, and multi_select fields. But be clear: these are columns you lay out yourself, not a validated, auto-totalled neurological exam module. Avinya Plus ships no MRC sum, no NIHSS calculation, and no spasticity scale; it stores and prints exactly what you type. Treat it as a structured, reusable sheet, not a clinical scoring engine.
Diary that prints to A4 to hand back to the patient
The same diary renders to a real PDF for the patient to take home and keep filling between visits. Choose A4, A5, letter, or 58mm/80mm thermal, and merge tokens auto-fill the patient's name, age, and identity code plus today's date into the header so every printed sheet is identifiable. The PDF is the accessible record. There is no patient app or portal; this is a printable worksheet, not a sync-back mobile diary.
Visit lifecycle and the day's queue for a follow-up-heavy clinic
Neurology is mostly review visits, so the appointment lifecycle is built for flow: scheduled → in_consultation ("In visit") → completed, with cancelled and no-show as terminal states, enforced in the API. The today's-schedule dashboard shows exactly five cards: Total, Arrived, Waiting, In Consultation, and Completed. Honest limits: there is no recurring or series scheduler for fixed monthly follow-ups, and no automated SMS, email, or WhatsApp reminders, so you book each review yourself.
Prescriptions with allergy cross-check: generic, not neuro-dosing
Prescribing uses a type-ahead medicine search ranked per clinic by your own 90-day prescribing history, you can add custom medicines inline, and an allergy cross-check raises a non-blocking, actionable warning at prescribing time. What it is NOT: there is no anti-epileptic-drug level tracker, no carbamazepine-phenytoin interaction matrix, and the allergy warning is an acknowledgement, not a persisted typed override-audit log. It is the same general prescribing flow every Avinya Plus clinic gets.
At a glance
- The headache and seizure diary's severity-swing column uses range(), which returns max minus min over a number_array of logged pain scores (functions.ts line 270, math at line 280).
- Seizure-free days are derived by dateBetween(start, today(), "days"), backed by differenceInDays in the formula engine (functions.ts lines 90, 210).
- Avinya Plus ships no neurology clinical module; 'neurology' exists only as one entry in a 43-specialty config registry (feature-flags/registry.ts line 19).
- The appointment lifecycle is scheduled → in_consultation → completed with cancelled and no-show terminal, API-enforced, with no 'confirmed' state (appointments.ts lines 16-33).
- There is no recurring/series scheduler and no automated SMS, email, or WhatsApp reminders in the platform.
- Diaries print to A4, A5, letter, or 58mm/80mm thermal PDFs with merge tokens auto-filling patient name, age, identity code, and today's date (schema.ts lines 29-36; token-catalog.ts).
See how it stacks up.
| Feature | Paper / Excel | Legacy EMR | Avinya Plus |
|---|---|---|---|
| Headache/seizure diary | Notebook the patient loses | Free-text 'how many fits?' | Built diary table, reusable per visit |
| Severity swing (worst vs best) | Eyeballed by hand | Not computed | range() formula on logged scores |
| Seizure-free days | Counted on a calendar | Manual subtraction | dateBetween(...,'days') auto-counts |
| MRC / cranial-nerve sheet | Re-drawn each time | Rigid or absent | Self-built table (not auto-scored) |
| Patient take-home sheet | Photocopy | Generic printout | A4/A5/thermal PDF, merge-token header |
| Follow-up reminders | Phone calls | Often automated | No automated SMS/WhatsApp (honest) |
| Neuro scoring module | None | Sometimes bundled | None — generic configurable platform |
Questions, answered.
Is Avinya Plus a neurology-specialist EMR?
No. Avinya Plus is a generic, configurable clinic platform, not a neurology EMR. It ships no neurology clinical module: no MRC auto-sum, no NIHSS, no anti-epileptic-drug level tracker. 'Neurology' is only a label in a specialty picklist. What you get is a block-builder flexible enough to construct a headache and seizure diary yourself.
How does the diary compute attack-severity swing?
You log daily pain scores (0-10) into a number_array cell on each visit row, then add a formula column with range(prop("Pain scores")). The engine returns max minus min, the swing between the patient's worst and best logged day, as one number. Steady patients read low, volatile ones read high.
Can it count seizure-free days automatically?
Yes. With a 'last seizure' date column and today's visit, a formula column dateBetween(prop("Last seizure"), today(), "days") prints the interval automatically, backed by differenceInDays. You can switch the unit to weeks or months. It is a derived value, so you never count on a calendar.
Does it have a validated MRC power or cranial-nerve scoring tool?
No, and we won't pretend it does. You can build an MRC table, reflexes row, and cranial-nerve checklist as builder columns, but they are columns you lay out and Avinya Plus stores and prints what you type. There is no auto-total, no severity banding, and no validated neuro scale calculation.
Will patients get reminders for monthly follow-ups?
No. There is no recurring or series scheduler and no automated SMS, email, or WhatsApp reminders. You book each review appointment yourself. The visit lifecycle (scheduled → in visit → completed, with cancelled and no-show terminal) and a five-card day dashboard keep the clinic flowing once patients arrive.
Is the prescribing flow tuned for anti-epileptic drugs?
No. Prescribing is the same generic flow everywhere: per-clinic ranked medicine search, inline custom medicines, and a non-blocking allergy cross-check warning. There is no AED level tracker and no drug-interaction matrix. The allergy warning is an acknowledgement, not a persisted typed override-audit log.
Run your clinic on Avinya Plus.
Patient records, billing, and scheduling in one system your team will actually use.