Diabetes
Last updated: November 11, 2026
How it works
The diabetes flow follows NICE guidance. It runs when an HbA1c arrives for a patient with a diabetes code in the record.
Safety checks highlight or skip patients who should not be automated.
Each HbA1c is placed in one of five categories that mirror NICE guidance.
Each category has a target range, with an upper and lower limit, set by your practice.
We compare the result with the patient's target and with the trend since the last HbA1c.
Each scenario has its own outcome.
How it decides
Diabetes code. If there is no diabetes code in the record, the report goes down a different flow.
Exclusions. We skip the report and leave it in the inbox if the patient has type 1 diabetes, is currently pregnant, is under 18, or has a very high or very low HbA1c. You can add your own exclusion criteria.
Sudden rise. If the HbA1c has risen suddenly, we add a GP note (sticky note) so you can consider other causes, such as pancreatic cancer.
Category. We place the patient in a category using coded entries, date of diagnosis and current medication:
moderate or severe frailty
newly diagnosed (within two years of diagnosis)
on hypoglycaemic medication (insulin or sulfonylureas)
diet controlled or on one medication (for example metformin)
on more than one medication
Target and trend. We check the HbA1c against that category's target range. A change of 15% from the last HbA1c marks the trend as improving or worsening.
Outcomes
Scenario | Default outcome | Message |
|---|---|---|
In target | File report | Off |
In target but worsening significantly | Add GP note, leave in inbox | Off |
Above target and improving | File report and send task | Off |
Above target, no significant change | File report and send task | Off |
Below target (may mean over-treatment) | File report and send task | Off |
You can change any outcome to suit how your practice works. For example:
Move "in target but worsening" reports to the inbox of your pharmacist or diabetes nurse.
Message "above target and improving" patients to say well done and ask them to book an HbA1c check in three months.
Send "below target" reports to your pharmacist, who can text the patient about stopping a medication and save an appointment.
What to remember
Each patient is judged against the target for their own category.
You can change the target ranges at any time in the portal.
A 15% change marks the trend as improving or worsening. You can modify this.
The sudden rise check is separate from the trend check.
All outcomes are configurable to route the report the way your practice works.