Skip to content
Medical Physics / Radiotherapy QA

Dosemetric: Linear Accelerator QA, Scheduled, Recorded And Signed Off

A web application for the Radiation Oncology Department at Labaid Cancer Hospital. It manages the daily, weekly and monthly QA checks run on the department's linear accelerators: who performs each section, when it is due, what was measured, and who verified it.

Dosemetric dashboard
Versioned QA formsChanging a form never alters past records
26 Sections
Daily, weekly and monthly department QA forms built in
Live
Tolerance check on every measurement as it is typed, in millimetres or percent
Versioned
Every assignment pinned to the form version it was issued with
Two-Person
Sign-off: the person who submits a check can never verify it
At a glance
Product
Dosemetric
Category
Medical Physics / Radiotherapy QA
Client
Labaid Cancer Hospital & Super Speciality Center
Users
Technologists, medical physicists, administrators
Platform
Web app (desktop and mobile), self-hosted
Timeline
May 2026 – October 2026
Status
In development
Developed By
Big-Matrix Solutions
Why it matters

The Problem

A radiotherapy department checks each linear accelerator every working day, week and month, from door interlocks and lasers to beam output, flatness and symmetry for every energy, MLC leaf positions and CBCT image quality. Each value must be compared against a reference and tolerance, then signed off by a physicist other than the person who measured it. Without a shared system, that work depends on individual discipline and is hard to audit.

Manual Tolerance Checks

Every reading has to be compared against its reference and limit by hand, across dozens of checks in a single session.

Unclear Ownership

Sections are split between staff, and it is hard to see who is responsible for which check on which day.

Missed Checks Surface Late

A skipped daily check tends to be noticed after the fact rather than at the moment the deadline passes.

Scattered History

Past measurements are difficult to collect into a series that shows how a machine drifts over months.

The approach

QA Forms As Versioned Data, Not Fixed Screens

The department's three standard QA documents are built in, a form builder lets administrators adapt them without code changes, and each assignment is pinned to the form version it was issued with. The application is three connected layers on top of that idea.

Form Layer

Holds the department’s built-in daily, weekly and monthly QA documents and a drag-and-drop builder for custom forms, all stored as versioned schemas.

Scheduling Layer

Turns a published form version into assignments: specific sections, given to specific staff, on specific dates, with a deadline and optional supervisors.

Workflow Layer

Takes each assignment through draft, submission, verification or rejection, sends in-app notifications at each step, and flags anything past its deadline.

Built for the whole department

One dashboard per role, and every reading kept as a time series

Technologists see their tasks, physicists a review queue, and administrators the calendar, forms, users and analytics. On submission, the server also stores every numeric reading in a time-series table keyed by form, section and variable, ready for trend analysis.

Feature group 01

Digitised QA Forms

The department's paper QA documents, turned into forms that check each value as it is entered and keep the session safe until it is submitted.

01

Department Forms Built In

The daily, weekly and monthly forms cover 26 sections, including safety interlocks, lasers, the telemeter, Winston–Lutz isocentre size, MLC picket fence and transmission, couch movements, electron and photon output, profiles and PDD, and CBCT HU constancy.

02

Live Tolerance Flags

Each measurement is checked against its reference and limit as it is typed, in millimetres or percent, and shows pass or fail with the deviation.

03

Autosaved Drafts

Work in progress saves to the server, so a session can be resumed on another device.

04

Print-Ready Export

A completed form prints as a formatted QA document or saves as a PDF from the browser.

Feature group 02

Form Builder And Versioning

Administrators adapt forms without code changes. Every change becomes a new published version, so a record always matches the form it was filled in on.

Eight Field Types

Checklist items, pass/fail, measurements with unit and tolerance, measurement tables, short text, notes, dropdowns and dates.

Drag-And-Drop Layout

Sections and fields can be reordered with a mouse or with the keyboard.

Immutable Versions

Edits happen on a single draft and are published as a numbered version with a change note. Versions in use cannot be deleted, and a form in use is archived instead of removed.

Feature group 03

Scheduling And Assignment

Ownership is set per section, not per form, and the schedule for a whole year can be generated at once.

Section-Level Assignment

A staff-by-section matrix shows which technologist covers which part of a form, with coverage shown for each row.

Yearly Plans

One action generates a year of assignments: daily QA on weekdays, weekly QA on Mondays and monthly QA on the first of the month.

Overdue Detection

The server scans every five minutes, marks late assignments overdue and notifies the assignee and administrators once.

Feature group 04

Review And Sign-Off

The rule that a physicist other than the person who measured must sign off is enforced by the system rather than left to habit.

Separation Of Duties

Only a physicist, administrator or named supervisor can verify a submission, and never the person who submitted it.

Reject With A Reason

Rejected work returns to the technologist with the reviewer’s comment shown above the form.

Role-Scoped Sign-Off

Assignee, supervisor and coordinator each add a typed signature and remarks in their own slot only.

Feature group 05

Dashboards And Notifications

Each role sees the work that is waiting for it, and administrators see the programme as a whole.

Role-Specific Dashboards

Counts for pending, overdue, awaiting verification and completed work, tailored to each role.

Programme Analytics

Completion by month, overdue trend, volume by QA type and status distribution, over week, month, year or custom ranges.

In-App Notifications

Alerts for new assignments, submissions, verifications, rejections and overdue work, with an unread badge on desktop and mobile.

How it works

From Form To Verified Record

The full QA cycle, from preparing a form to following the programme over the year.

1

Prepare The Form

An administrator uses a built-in QA form or publishes a new version from the form builder.

2

Assign The Work

In a three-step wizard, the administrator picks a form (assignments are pinned to its current default version), maps staff to sections, sets the deadline and supervisors, and issues one-off assignments or a full-year plan. Each technologist is notified.

3

Perform The Checks

The technologist opens the task from their dashboard, enters measurements and sees each value flagged against its tolerance. Drafts save automatically.

4

Submit

The submission locks the responses, stores every numeric reading as a time-series point and notifies the physicists.

5

Review

A physicist opens the review queue, inspects the form and verifies it or rejects it with a reason. The technologist is notified either way.

6

Track The Programme

Missed deadlines are flagged overdue automatically, and administrators follow completion and overdue trends on the calendar and analytics pages.

Technology

The Stack

Chosen so a single department can run the whole system on one self-hosted server.

Frontend

React 19, TanStack Start, Tailwind CSS 4, Recharts and dnd-kit. A server-rendered app with typed routes, charts and keyboard-accessible drag-and-drop.

Backend

FastAPI, Pydantic 2 and Python 3.13. Typed request validation and generated API documentation.

Data

SQLite via SQLAlchemy 2, with Alembic migrations that run on startup. A single database file that is easy to back up for one department.

Infrastructure

Docker Compose with nginx, Node SSR and FastAPI. One command deploys the whole system on a single self-hosted server.

Testing

pytest, with 18 backend tests covering sessions, user rules, form versioning and the QA workflow.

Key architectural decision

One storage model for built-in and custom forms

Built-in and custom forms share one storage model, one JSON document per assignment section, so both run through the same submission, review and time-series pipeline.

Every endpoint checks the session, and write operations check the user’s role on the server, not just in the interface.

The browser only talks to a same-origin API behind the reverse proxy.

State-changing requests must carry a custom header, which blocks cross-site form posts.

Our role

Built End To End By Big-Matrix

From the department's paper QA documents to a containerised deployment.

Digitising the department’s daily, weekly and monthly QA documents into structured form schemas.

Product design and UI for desktop and mobile.

Backend API, data model and workflow engine.

Migration of data from an earlier version of the application.

Containerised deployment setup.

What's next

Planned Work

Features on the roadmap that are not in the current build.

Password-based or single sign-on authentication and HTTPS before production use.

Trend charts driven by the time-series data captured from real submissions.

Filtering trends and reports by individual machine.

Status

In development for Labaid Cancer Hospital

Authentication hardening and HTTPS are planned before the system goes into production use in the Radiation Oncology Department.

React + FastAPI + Docker

Next step

Build without boundaries

Tell us what you are building. We come back with an architecture, a delivery plan and a realistic timeline.