CQC-Guard is a working prototype of CQC inspection readiness software for care providers in England, built on fictional demo data: no provider has used it or paid for it. It replaces readiness that lives in shared folders with one tool: a self-assessment across the five key questions (safe, effective, caring, responsive, well-led), an evidence register, a predicted rating calculated by visible rules, a risk register and an action plan generated from the riskiest gaps, with separate views for staff, registered managers and providers. Built with Next.js, React and TypeScript.
Prototype · demo data · UK health and social careAbout this page: CQC-Guard is a prototype we built to prove an approach, not a project for a paying client. The care homes, managers and scores in every screenshot are fictional demo data. Nothing here is a result from a real service.
Most care providers prepare for a CQC inspection with a shared drive: folders named after the five key questions, a spreadsheet of policies, and a registered manager who knows where everything is until they go on leave. Readiness peaks before an inspection and fades afterwards.
CQC asks five key questions of every service: is it safe, effective, caring, responsive and well-led? Under the current single assessment framework those questions are broken into 34 quality statements.
Three things make this hard to manage by hand:
CQC-Guard asks: what is the smallest tool that keeps a self-assessment, its evidence and its action plan joined up, and is honest about what its predicted rating means?
CQC-Guard is a Next.js app exported as static files. It ships with one fictional provider (Harbour Care Group), three fictional care homes, seven fictional people, nine completed assessments, one half-finished draft, seven seeded actions and 96 evidence records. A banner on every screen says the tool is unofficial, not affiliated with the CQC, and that the demo data is fictional.
The registered manager lands on a dashboard for their service. It shows the predicted readiness percentage and rating from the latest completed self-assessment, the count of gaps (statements answered Partially met or Not met), open actions, days since the last assessment, a bar per key question, and the three highest-priority open actions. Priority is severity first, then due date.
The assessment walks through every statement, grouped under the five key questions, with completion shown per key question. Each statement shows its code (S4), a familiar KLOE-style label ("Medicines management"), the statement itself, a short description and a "why it matters" note on what inspectors look for. The manager picks Met, Partially met, Not met or Not applicable, and can add notes and an evidence reference.
Progress saves as you go, so a draft can be left and resumed. A live score updates with each answer. The submit button stays disabled until all 32 statements are answered, because a rating built on half the answers would mislead.
The results screen shows the overall predicted rating, each key question's percentage and band, and the methodology in six plain sentences, printed straight from the scoring code so the explanation can never drift from the calculation. Below that, a list of the statements that pulled the rating down, and a full risk register of all 32 statements sorted by weighted risk.
Each service has one evidence record per statement: a title, where the evidence physically lives, a reference, a status (Available, Partial, Missing or Not reviewed), notes and the date it was last reviewed. Records can be searched and filtered by key question and status. Editing a record stamps a new review date. The prototype records where evidence is; it does not store documents. The screen says so.
When an assessment is submitted, the riskiest gaps become actions automatically, each with a severity, an owner and a due date. Actions can be filtered and moved to In progress, Complete or back to open.
The history screen charts each key question across completed assessments. A provider (the responsible individual) gets a read-only table of every service with its rating, gaps, open actions and days since assessment. A staff member sees only "My actions": the actions assigned to them, which they can update and nothing else.
The five key questions are a fixed TypeScript type: safe, effective, caring, responsive and well-led. Each statement is a record with an id, its key question, a short code (S1 to S8, E1 to E6, C1 to C5, R1 to R5, W1 to W8), a title, a KLOE-style label, a description, a "why it matters" note and a risk weight between 0.8 and 1.4. Safe and Well-led statements carry the heaviest weights: safeguarding, medicines and governance are 1.4, activities is 0.8.
One honest detail: the prototype has 32 statements written for the demo, not CQC's 34 published quality statements in CQC's own wording. Responsive has 5 here where CQC has 7. That was fine for proving the workflow. A real build would load CQC's published statements as data.
An assessment belongs to one service. It has a status (draft or completed), start and completion dates, who completed it, and one answer per statement. Actions and evidence records both point back to a statement id, which is what keeps the gap, the evidence and the fix joined up.
All of it lives in one file, src/lib/scoring.ts, as pure functions with no side effects:
A worked example from the fictional data: at Ashford Lodge, Safe scores 13 of 24 points (54%) and Well-led 14 of 24 (58%), so both are Requires improvement. Effective, Caring and Responsive are Outstanding. The average of the five percentages is 80%, which on its own would read as Good. The rule for two Requires improvement key questions caps the overall rating at Requires improvement. That is the point of rating by rules: a strong Caring score cannot hide a weak Safe one.
When a manager submits a completed assessment, the reducer scores it, takes every statement answered Partially met or Not met, sorts them by risk score and keeps the top eight. Each becomes an action titled "Address gap" plus the statement's label, owned by the service's registered manager. Severity follows a fixed rule: Not met on a statement weighted 1.3 or more is Critical, any other Not met is High, Partially met on a statement weighted 1.2 or more is High, and everything else is Medium. Critical actions are due in 14 days, High in 30 and Medium in 45. If the assessment already has actions, no new ones are created, so submitting twice cannot flood the plan.
The problem: a predicted rating will be shown to managers and providers who may act on it. If it changes when nothing else has, nobody will trust it. The options: ask a language model to judge readiness from notes, or use fixed rules. What we chose: fixed rules. There is no AI model anywhere in the prototype. The same answers always give the same rating, and the methodology on the results screen is the same text the code exports, so a manager can check the arithmetic by hand. AI could help later with drafting action wording or reading evidence documents, but not with the number.
The problem: an average lets a strong key question cancel a weak one. The options: average the five percentages, or apply aggregation rules to the five bands. What we chose: both, for different jobs. The percentage is shown as a readiness figure; the rating comes only from the rules. The Ashford example above is the case this exists for: 80% on average, Requires improvement in reality.
The problem: if ticking "Complete" improved the rating, a service could look better without anything changing on the floor. What we chose: the score is calculated only from assessment answers. Actions are a separate record. The rating moves only when the manager runs a new assessment and answers differently, which is also what builds the history chart. It keeps the trail honest.
The problem: a provider should see everything but change nothing; a staff member should see only their own work. What we chose: a single permission map for the three roles, checked by a route guard before any screen renders and by the navigation. The state reducer also refuses to switch a registered manager to a service they are not assigned to. In the prototype these checks run in the browser, which is fine for a demo and not enough for production (see below).
The problem: uploading documents brings storage, retention, virus scanning and access control on day one. What we chose: record where each piece of evidence lives, its status and when it was last reviewed. That answers the inspector's question ("can you show me?") and proves the data model, leaving file storage for a build with a real provider's rules.
The prototype answers each statement on a 3-point scale (Met, Partially met, Not met) so a manager can complete a full self-assessment in one sitting. CQC itself scores each quality statement from 1 to 4, and a production version should use that scale, treat a key question with no applicable statements as "not rated", and let missing evidence lower the confidence of a rating.
Our free CQC mock inspection tool already works that way: it scores all 34 quality statements on CQC's 1 to 4 scale, rounds percentages down to stay cautious, caps a key question at Requires improvement if any statement scores 1, and lets you tick the evidence you could show today.
Plainly: the prototype has no automated test files. What it does have:
A production build would start with unit tests for the band thresholds at their edges (38, 39, 62, 63, 87, 88), every branch of the aggregation rules, the severity rules, and the "no duplicate actions" guard, plus permission tests run against the server.
What it proves: the data model holds. One statement id ties together an answer, an evidence record, a risk score and an action, across several services and three roles, and the rating can be explained in six sentences a manager can check. The flow works end to end on demo data: draft, submit, results, actions, history and oversight.
What a real provider would need before using it:
For a client build, we would start with one location: the statements, the evidence the service already holds, and the action plan. The provider roll-up across locations comes once that is stable. Read more on CQC inspection readiness software, compare approaches in CQC mock inspection: DIY vs consultant vs software, or run the free CQC mock inspection now.
No. It is a working prototype that shows our approach to CQC compliance software. We adapt the approach into a build for a provider's own locations, roles and evidence rather than selling it as an off-the-shelf subscription.
No. It was built with fictional services, people and assessments to prove the approach. Every number in the screenshots on this page comes from that fictional demo data, not from a real service.
No. It gives an internal predicted rating with its working shown, to point at where a service is strong and weak. Only the CQC gives ratings, and every screen in the prototype says the tool is unofficial and indicative.
Each statement scores 3 for Met, 2 for Partially met and 1 for Not met, and Not applicable is left out. Each key question becomes a percentage of its maximum and is banded at 88, 63 and 39 percent. The overall rating then comes from fixed rules about how many key questions sit in each band, not from the average.
No. There is no AI model anywhere in the prototype. The rating, the risk register and the generated actions are plain rules in code, so the same answers always give the same result and a manager can check the arithmetic.
In the prototype the statements are a fixed list in code. A production version would store each framework as a versioned record, pin every assessment to the version it was made against, and map evidence across, so old scores are never reinterpreted.
Yes. Our free CQC mock inspection tool scores all 34 quality statements on CQC's 1 to 4 scale in your browser, with no sign-up.
That is the right slice. We will scope it with you on a free call.
→ Book a strategy call