CareFlow Capabilities Guide
NHS Elective Recovery & PTL Management Platform
Platform Capabilities Guide
A comprehensive overview of T21 CareFlow — the structured PTL management and clinical validation platform built by NHS operational experts for RTT compliance, pathway integrity, and elective recovery excellence.
30+
Platform Features
5
Pathway Types Supported
7
Configurable User Roles
Document Version 3.0 — March 2026
Classification Client-Facing
Contact admin@t21services.co.uk
Platform app.t21services.co.uk

T21 CareFlow — Platform Capabilities Guide

Version: 4.0 | Last Updated: March 2026 Platform: https://app.t21services.co.uk Built by: T21 Services

Executive Summary

T21 CareFlow is an enterprise-grade NHS Patient Tracking List (PTL) management platform designed for insourcing companies and NHS trusts. It provides end-to-end management of RTT (Referral to Treatment), Cancer 2WW, Cancer 62-Day, PIFU (Patient Initiated Follow-Up), and Surveillance pathways — from data import through validation, QA review, clinical coding, and executive reporting.

CareFlow is a multi-organisation platform, meaning one secure instance serves multiple NHS trusts simultaneously, each with their own data, users, and configuration — fully isolated and independently managed.


Table of Contents

  • [Platform Overview](#1-platform-overview)
  • [My Work (Task Dashboard)](#2-my-work)
  • [Operational Dashboard](#3-operational-dashboard)
  • [Pathways (Incomplete PTL)](#4-pathways)
  • [Validation Workspace](#5-validation-workspace)
  • [QA Review](#6-qa-review)
  • [Analytics & Waiting List Intelligence](#7-analytics)
  • [Staff Performance](#8-staff-performance)
  • [Patient Contact](#9-patient-contact)
  • [Booking Support](#10-booking-support)
  • [Coding Support](#11-coding-support)
  • [Virtual Clinic](#12-virtual-clinic)
  • [Data Quality](#13-data-quality)
  • [Exception Hub](#14-exception-hub)
  • [Board Assurance Report](#15-board-report)
  • [Reports Hub](#16-reports-hub)
  • [Contract Performance](#17-contracts)
  • [Capacity & Utilisation](#18-capacity)
  • [Weekly/Monthly Pack](#19-weekly-pack)
  • [CSV Import](#20-csv-import)
  • [Automation Rules](#21-automation-rules)
  • [User Management](#22-user-management)
  • [Audit Logs](#23-audit-logs)
  • [Organisation Settings](#24-settings)
  • [Super Admin: Organisation Management](#25-org-management)
  • [Super Admin: Activity Monitoring](#26-activity-monitoring)
  • [Security & Access Controls](#27-security)
  • [Role-Based Access Control (RBAC)](#28-rbac)
  • [AI Co-Pilot](#29-ai-copilot)
  • [Why CareFlow](#30-why-careflow)

  • 1. Platform Overview

    ComponentDetail
    HostingSecure UK-hosted cloud infrastructure with global CDN for fast performance
    DatabaseEnterprise-grade database with row-level security — each organisation's data is fully isolated
    AuthenticationSecure login with email/password, magic-link invitations, and automatic session management
    Multi-TenancyEach NHS Trust has its own isolated workspace, users, and configuration
    PII ProtectionPatient names and NHS numbers are masked by default, revealed on click with full audit trail
    Email NotificationsAutomated transactional emails for invitations, work assignments, and notifications
    AI Co-PilotIntelligent validation assistant that suggests RTT status, outcomes, and next steps

    2. My Work

    Available to: All roles What it does:

    Personal task dashboard showing action items assigned to the logged-in user. Tasks are generated automatically by the system or manually by team leads.

    FeatureDetail
    Task typesValidation assignments, QA rework items, escalations, breach warnings
    Priority levelsCritical, High, Medium, Low — colour-coded
    Status trackingOpen → In Progress → Completed
    Task countsBadge counts by status for quick triage
    Problem it solves: Validators and staff know exactly what to work on each day without searching through the full PTL.

    3. Operational Dashboard

    Available to: All roles What it does:

    Real-time operational overview of the trust's incomplete pathway position.

    KPI CardWhat It Shows
    Active PathwaysTotal open pathways + unvalidated count + over-18-week count
    BreachedPathways past their target date + at-risk count (≤14 days remaining)
    Validation Rate% of pathways validated + count validated today
    ActivityPathways closed this week + total staff count
    Additional features: Problem it solves: Programme leads and client admins get an at-a-glance view of operational health without running manual reports.

    4. Pathways (Incomplete PTL)

    Available to: All roles What it does:

    The full Incomplete Pathway Tracking List — the core dataset of CareFlow.

    FeatureDetail
    Pathway typesRTT, Cancer 2WW, Cancer 62-Day, PIFU, Surveillance — each in its own tab
    IPT Tracker tabInter-Provider Transfers with status tracking (Pending → Sent → Acknowledged → Received)
    Surveillance tabNon-RTT surveillance pathways with follow-up date monitoring
    Closed Pathways tabHistorical view of all closed/removed pathways with closure reasons
    RAG statusAutomatic Red/Amber/Green colour coding based on days to breach
    Clinical Risk columnP-Code clinical risk level (P1 Critical → P4 Routine)
    Sorting & filteringSort by any column, filter by specialty, type, status, priority
    SearchInstant search across PAS number, patient name, specialty, consultant
    Column visibilityCustomisable — show/hide columns to suit the workflow
    Weeks waitAuto-calculated from referral date, colour-coded at 14w/18w thresholds
    Data per pathway: Problem it solves: Replaces Excel-based PTL tracking with a real-time, multi-user, audited system.

    5. Validation Workspace

    Available to: Validators, QA Reviewers, Programme Leads, Admins What it does:

    The core clinical validation workflow — validators review each pathway against PAS/clinic letters and update clinical fields.

    FeatureDetail
    Personal queueEach validator sees only their assigned pathways
    Team lead viewProgramme leads see all assigned + unassigned queues
    Specialty allocationShows unassigned vs assigned counts by specialty
    Bulk assignTeam leads can assign unassigned pathways to validators by specialty
    ReassignDrag work between validators for load balancing
    Claim nextOne-click to claim the next unassigned pathway
    Quick Edit SheetSide panel with all validation fields grouped logically
    Save & Close / Save & NextRapid workflow — validate one, auto-advance to the next
    Keyboard shortcutCtrl+Enter = Save & Next for power users
    Recently ValidatedShows today's completed work with QA status
    Daily targetProgress bar showing validated today vs daily target
    Quick Edit Sheet sections:
  • Patient identifiers — NHS No, PAS, DOB, weeks wait (read-only context)
  • RAG status banner — colour-coded with countdown label
  • Validation warnings — Real-time advisory checks (e.g. "breach date passed but clock Active")
  • One-click fixes — Warning badges offer "Set clock to Breached" buttons
  • AI Analysis — Validation assistant suggests RTT status, outcome, and next step
  • Referral & dates — Referral date, first seen, diagnosis, TCI
  • Clock status & validation — Clock status dropdown + "Is the clock correct?" validation
  • Clinical Outcome — Outcome from PAS letter (Add to W/L, Discharged, DNA, etc.) + date
  • Next Steps & Booking — Next step required, booking status, diagnostic type, letter status
  • Clinical Priority — Priority level + P-Code (P1–P4)
  • Letter confirmation — Checkbox: "I confirm I have seen the Clinic Letter in PAS"
  • Clinical Narrative — Cancer FDS outcome, referral source, DTT date, DPI date
  • Complex pathway flag — Checkbox for multi-comorbidity/secondary referral cases + notes
  • Validation notes — Free text clinical narrative
  • Close pathway — Removal reason, clock stop date, removal date
  • Pathway metadata — Consultant, breach date, priority badge
  • Problem it solves: Replaces manual spreadsheet validation with a structured, audited, quality-controlled workflow. Reduces validation time from ~5 minutes to ~90 seconds per pathway.

    6. QA Review

    Available to: QA Reviewers, Programme Leads, Admins What it does:

    Second-line quality assurance. QA reviewers check validated pathways for accuracy.

    FeatureDetail
    QA queueAll validated pathways pending QA review
    Pass/FailOne-click approve or return for rework
    Rework flowFailed pathways go back to the original validator with notes
    Rework badgeREWORK tag on returned pathways so validators prioritise them
    QA lockOnce passed, pathways are QA-locked and cannot be re-validated without admin override
    UndoQA reviewers can undo a pass/fail decision if needed
    Problem it solves: Ensures data quality before it reaches reports. Catches validation errors before they become reporting issues.

    7. Analytics & Waiting List Intelligence

    Available to: All roles (staff productivity table restricted to leads/admins) What it does:

    Holistic waiting list analytics combining validation metrics with waiting time intelligence.

    SectionWhat It Shows
    Daily TargetValidated today vs target with progress bar
    Unvalidated BacklogTotal pathways still needing validation
    Weekly ProgressValidated this week running total
    Staff ProductivityTable: each validator's today/this-week count, QA pass rate, rework pending
    Waiting Time DistributionVisual bar chart: 0-4w, 4-12w, 12-18w, 18-26w, 26-40w, 40-52w, 52w+
    By Pathway TypeActive/breached/validated counts per type (RTT, Cancer, PIFU, etc.)
    Top SpecialtiesHorizontal bar chart of the 10 busiest specialties
    Next Step PipelineBadge cloud showing demand by next step (Follow-up, Diagnostic, etc.)
    Problem it solves: Gives programme leads and analysts a single view of both operational demand and team performance.

    8. Staff Performance

    Available to: Programme Leads, Client Admins, Super Admins What it does:

    Detailed 30-day staff performance analysis for validators and QA reviewers.

    FeatureDetail
    Per-validator statsValidated count, QA pass rate, rework count, daily average
    Activity breakdownLogins, validations, closures per day
    Specialty coverageWhich specialties each validator has worked on
    Trend data30-day rolling performance
    Problem it solves: Enables fair workload distribution and identifies training needs.

    9. Patient Contact

    Available to: All roles What it does:

    Identifies patients who may need proactive contact — PIFU patients, long waiters approaching breach, and those with pending bookings.

    TabShows
    PIFU PatientsPatient-initiated follow-up pathways needing check-in
    Long WaitersPathways within 28 days of breach — proactive call list
    Pending BookingPatients waiting for appointment booking
    Problem it solves: Supports proactive patient communication to reduce DNAs and prevent breaches.

    10. Booking Support

    Available to: All roles What it does:

    Operational booking management dashboard showing appointment pipeline.

    TabShows
    Pending BookingPathways needing appointments, sorted by breach urgency
    BookedConfirmed appointments with dates
    DNA/CancellationsDid Not Attend cases for rebooking
    Partial BookingsPathways with incomplete booking chains
    Problem it solves: Booking teams can see exactly which patients need appointments and prioritise by breach risk.

    11. Coding Support

    Available to: Programme Leads, Analysts, Admins What it does:

    Helps clinical coders identify pathways needing RTT status code assignment or correction.

    FeatureDetail
    Missing RTT codesPathways without RTT status codes assigned
    Code validationChecks for incorrect code combinations
    Outcome codingFlags pathways needing clinical outcome codes
    Problem it solves: Reduces RTT coding errors that lead to incorrect national submissions.

    12. Virtual Clinic

    Available to: All roles What it does:

    Identifies pathways suitable for virtual (non-face-to-face) clinical review.

    FeatureDetail
    Follow-up candidatesPathways with "Follow-up" as next step
    Diagnostic reviewPathways awaiting diagnostic results review
    PIFU candidatesActive PIFU patients suitable for virtual check
    Problem it solves: Supports the NHS drive for virtual consultations by identifying suitable patients.

    13. Data Quality

    Available to: All roles What it does:

    Automated data quality scanning across all active pathways.

    CheckWhat It Detects
    Missing NHS numbersPathways without NHS number
    Missing referral datesNo referral received date
    Missing breach datesActive pathways with no breach date calculated
    Date anomaliesFirst seen before referral, diagnosis before first seen, etc.
    Duplicate PAS numbersMultiple pathways with same PAS number
    Stale pathwaysActive pathways with no recent activity
    Missing clinical fieldsNo outcome, no next step, no booking status
    Problem it solves: Proactively identifies data issues before they cause reporting problems or breach miscalculations.

    14. Exception Hub

    Available to: Analysts, Programme Leads, Admins What it does:

    Advanced exception management system — identifies, tracks, and resolves data anomalies.

    FeatureDetail
    Automatic scanningRules engine scans all pathways for exceptions
    Exception typesDate conflicts, missing mandatory data, impossible durations, coding errors
    Resolution trackingEach exception has a resolution workflow with status and notes
    Metrics dashboardOpen/resolved/in-progress counts with resolution time analytics
    Problem it solves: Provides a structured process for handling data exceptions rather than ad-hoc spreadsheet fixes.

    15. Board Assurance Report

    Available to: Programme Leads, Analysts, Admins What it does:

    Executive-level board assurance report suitable for Trust Board or ICB submissions.

    SectionContent
    Headline KPIsTotal active, breached, at-risk, validation rate, QA pass rate
    Clinical Risk SummaryHigh clinical risk count, overdue surveillance, IPT compliance %
    Trend comparisonThis week vs last week directional indicators
    Breach forecastPredicted breaches in next 7/14/28 days
    Specialty breakdownPer-specialty active/breached/validated counts
    Closed pathway analysisRemoval reasons and closure patterns
    Long waiters40w+, 52w+, 65w+, 78w+, 104w+ bands
    Problem it solves: Replaces hours of manual report compilation. Board-ready output in real time.

    16. Reports Hub

    Available to: Programme Leads, Analysts, QA Reviewers, Admins What it does:

    Comprehensive reporting suite with filterable, multi-dimensional analytics.

    ReportWhat It Shows
    Executive KPIsHeadline numbers with week-on-week comparison
    Specialty MetricsPer-specialty deep dive: volumes, breach rates, validation rates
    Pathway LeakageIdentifies pathways that may have "leaked" out of tracking
    Breach ForecastPredictive model showing upcoming breaches by timeframe
    Clinician DNA RatesDNA rates by consultant for targeted intervention
    Closed Pathway StatsClosure reason analysis and trends
    Long WaitersStratified long-waiter analysis with wait bands
    Admitted/Non-Admitted SplitIP vs OP pathway analysis
    RTT by SpecialtyRTT-specific metrics per specialty
    Validator WorkloadPer-person validation volumes and QA outcomes
    Filtering: All reports support date range, specialty, consultant, and location filters. Problem it solves: One-stop reporting that eliminates the need for separate Business Intelligence tools for PTL analysis.

    17. Contract Performance

    Available to: Programme Leads, Analysts, Admins What it does:

    Tracks insourcing contract performance — planned vs delivered activity.

    FeatureDetail
    Planned volumesTarget pathway volumes per contract period
    Delivered volumesActual validated/closed pathway counts
    Variance analysisOver/under delivery by pathway type
    Efficiency metricsCost-per-pathway, throughput rates
    Problem it solves: Insourcing companies can demonstrate contract delivery to commissioners.

    18. Capacity & Utilisation

    Available to: Programme Leads, Analysts, Admins What it does:

    Clinic slot tracking and utilisation monitoring.

    FeatureDetail
    Slot utilisationBooked vs available slots by location and specialty
    Utilisation alertsFlags under-utilised or over-booked clinics
    Location breakdownPer-site capacity analysis
    Demand vs supplyMaps pathway demand against available capacity
    Problem it solves: Identifies wasted clinic capacity and helps optimise appointment scheduling.

    19. Weekly/Monthly Pack

    Available to: All roles What it does:

    Auto-generated executive summary packs for weekly operational meetings or monthly reviews.

    FeatureDetail
    Weekly packMonday-to-date snapshot of key metrics
    Monthly packFull calendar month analysis
    Key metricsActive pathways, breached, validated, closed, by type
    Clinical riskHigh clinical risk count, overdue surveillance, IPT compliance
    Contract metricsPlanned vs delivered summary
    Capacity metricsUtilisation percentage and alerts
    PrintableClean layout designed for printing/PDF
    Email subscriptionsUsers can subscribe to receive packs automatically
    Problem it solves: Eliminates hours of weekly pack compilation — always up-to-date and consistent.

    20. CSV Import

    Available to: Client Admins, Super Admins What it does:

    Bulk pathway data import from PAS/EPR CSV extracts.

    FeatureDetail
    Column mappingAutomatic header detection + manual column mapping wizard
    Supported typesRTT, Cancer 2WW, Cancer 62-Day, PIFU, Surveillance
    ValidationPre-import validation checks for data quality
    Duplicate detectionWarns about existing PAS numbers before import
    Batch processingHandles thousands of pathways in a single upload
    Audit trailFull audit log of what was imported, by whom, when
    Problem it solves: Enables rapid data onboarding from any PAS system without API integration.

    21. Automation Rules

    Available to: Client Admins, Super Admins What it does:

    Configurable automation rules that generate tasks and escalations automatically.

    FeatureDetail
    Rule typesBreach warning, DNA escalation, stale pathway, unvalidated backlog
    TriggersTime-based (e.g. "7 days before breach"), event-based (e.g. "DNA recorded")
    ActionsCreate task, send email notification, flag for review
    Execution logFull history of when rules fired and what they produced
    Enable/disableToggle rules on/off without deleting them
    Problem it solves: Reduces reliance on manual monitoring by automating routine operational checks.

    22. User Management

    Available to: Client Admins, Super Admins What it does:

    Full user lifecycle management for the organisation.

    FeatureDetail
    Manual creationCreate user with name, email, role
    Email inviteSend magic-link invite email — user sets own password
    Role assignment7 roles with different permission levels
    Activate/DeactivateToggle user access with mandatory reason prompt
    Access expirySet date when user access auto-expires (e.g. contract end)
    Last loginShows when each user last logged in
    Deactivation reasonRecords why a user was deactivated (contract ended, role change, etc.)
    Problem it solves: Professional user onboarding and offboarding with full audit trail.

    23. Audit Logs

    Available to: QA Reviewers, Programme Leads, Admins What it does:

    Complete audit trail of every action taken in the system.

    Tracked EventsDetail
    User actionsLogin, logout, role changes, account activation/deactivation
    Pathway actionsValidated, unvalidated, closed, reopened, assigned, reassigned
    QA actionsPassed, failed, rework sent
    Import actionsCSV imports with row counts
    Admin actionsOrg created, org updated, user invited
    PII accessWhen masked patient data is revealed
    Problem it solves: Full CQC/NHSE audit compliance. Every action is traceable to a specific user at a specific time.

    24. Organisation Settings

    Available to: All roles (view), Admins (edit) What it does:

    Per-organisation configuration for targets, thresholds, and clinical rules.

    SettingDetail
    RTT target weeksDefault 18 weeks — configurable per trust
    Cancer 2WW target daysDefault 14 days
    Cancer 62-day targetDefault 62 days
    Daily validation targetPathways per day target for progress tracking
    DNA escalation thresholdNumber of DNAs before auto-escalation
    Task escalation daysDays before unactioned tasks escalate
    P2 risk threshold daysDays remaining for P2 clinical risk flag
    Surveillance amber daysDays before follow-up for amber warning
    Disabled validation rulesToggle specific validation warnings on/off
    Mandatory outcomesConfigure which outcome fields are required
    Email notificationsPer-user notification preferences
    Problem it solves: Each trust can configure CareFlow to match their specific operational policies.

    25. Super Admin: Organisation Management

    Available to: Super Admins only (T21 Services staff) What it does:

    Multi-tenant organisation management for T21 Services to manage all client trusts.

    FeatureDetail
    Create organisationName, URL slug, contact details
    Contract datesStart date + end date — system auto-blocks all users when contract expires
    Working hoursSet allowed access hours (e.g. 07:00–19:00) — users blocked outside hours
    24-hour accessLeave working hours empty for unlimited access
    Max usersSet user cap per contract
    Contact detailsClient contact name and email for reference
    Internal notesPrivate notes about the contract
    Activate/SuspendOne-click to suspend entire organisation
    Contract statusVisual badges: "45d left" (green), "12d left" (amber), "Expired" (red)
    Active sessionsShows how many users are currently online per org
    Problem it solves: T21 manages multiple NHS trusts from a single admin panel with full contract lifecycle control.

    26. Super Admin: Activity Monitoring

    Available to: Super Admins only (T21 Services staff) What it does:

    Real-time session monitoring dashboard across all organisations.

    FeatureDetail
    Currently onlineLive list: user name, org, role, session duration, IP address
    Green pulse indicatorVisual confirmation of active sessions
    Session historyLast 7 days of all login sessions
    Per-session dataUser, org, login time, duration, IP address, status (online/ended)
    Summary statsOnline now, unique users this week, average session duration, total sessions
    Problem it solves: Enables monitoring of staff activity patterns, unusual access, and system usage for billing/reporting.

    27. Security & Access Controls

    FeatureDetail
    AuthenticationSecure login with industry-standard password encryption
    Session managementAutomatic secure sessions with token refresh
    Data IsolationRow-level security — users can only access their own organisation's data
    PII maskingPatient names and NHS numbers masked by default
    Access expiryPer-user expiry dates with automatic enforcement
    Contract expiryPer-organisation contract end dates with automatic blocking
    Working hoursConfigurable access windows (e.g. 7am–7pm) enforced automatically
    DeactivationInstant user deactivation with reason logging
    Org suspensionOne-click organisation suspension
    Session trackingIP address, user agent, login time, session duration logged
    Audit trailEvery action logged with user ID, timestamp, and metadata
    Continuous enforcement: All access controls are checked on every page request — not just at login. If a contract expires mid-session, the user is signed out immediately.

    28. Role-Based Access Control (RBAC)

    CareFlow has 7 user roles with hierarchical permissions:

    RoleLevelWhat They Can Do
    Super Admin7Everything. Manages all organisations, users, and platform settings. T21 Services staff only.
    Client Admin6Manages their trust's users, imports data, configures settings. Trust IT/operational lead.
    Programme Lead5Oversees validation team, assigns work, views all reports and performance data. Team lead role.
    Validator3Validates assigned pathways in the validation workspace. Core clinical validation staff.
    QA Reviewer4Reviews validated pathways for quality assurance. Second-line quality check.
    Analyst2Views reports, analytics, data quality, and exception hubs. Read-heavy role for analysts.
    Read Only1Can view dashboards only. Observer/stakeholder role.
    Permission matrix:
    PermissionSuper AdminClient AdminProgramme LeadQA ReviewerValidatorAnalystRead Only
    View dashboard
    View reports
    Export data
    Validate pathways
    QA review
    Manage users
    Import data
    View audit logs
    Manage org settings
    Manage organisations

    29. AI Co-Pilot

    Available in: Validation Workspace quick-edit panel What it does:

    AI-powered validation assistant that analyses pathway data and suggests:

    SuggestionDetail
    RTT status codeRecommends the correct RTT status code based on pathway state
    Clinical outcomeSuggests likely outcome based on dates and pathway type
    Next stepRecommends next action (Follow-up, Diagnostic, Discharge, etc.)
    Booking statusSuggests booking status based on available data
    Controls: Problem it solves: Accelerates validation for less experienced staff. Provides a "second opinion" on complex pathways.

    30. Why CareFlow

    AdvantageDetail
    Purpose-builtDesigned specifically for NHS PTL management and RTT compliance — not a generic tool adapted for healthcare
    Proven & scalableSecure, scalable cloud platform designed for Trust-wide deployment
    Data securityRow-level data isolation, encrypted at rest and in transit, PII masking
    Rapid onboardingGo live in as little as 2 weeks using standard PAS/PTL CSV exports
    No IT overheadFully managed cloud service — no servers to maintain, no software to install
    Continuous updatesNew features and improvements delivered automatically
    UK hostedData hosted in UK-based cloud infrastructure
    NHS compliantDesigned for CQC/NHSE audit requirements with full traceability

    Pathway Types Supported

    TypeTargetWhat It Tracks
    RTT18 weeksReferral to Treatment incomplete pathways
    Cancer 2WW14 daysTwo-Week Wait cancer referrals
    Cancer 62-Day62 daysCancer treatment target from urgent referral
    PIFUConfigurablePatient Initiated Follow-Up monitoring
    SurveillanceConfigurableNon-RTT follow-up and surveillance pathways

    Clinical Fields Captured

    CategoryFields
    PatientNHS Number, PAS/MRN, Full Name, DOB, Hospital Number
    ReferralReferral date, referral source (GP, A&E, C2C, Self), referring clinician
    ClockClock start, clock status, breach date, weeks wait
    ClinicalFirst seen date, diagnosis date, TCI date, consultant, specialty
    OutcomeClinical outcome (22 options), outcome date, next step, booking status
    CancerFDS outcome, decision-to-treat date, date patient informed
    PriorityClinical priority (Routine/Urgent/2WW), P-Code (P1–P4)
    CodingRTT status code (full national dataset), letter status
    GovernanceClock validation status, letter confirmed, validation notes
    ComplexityComplex pathway flag, complexity notes
    ClosureRemoval reason, clock stop date, removal date
    TransferTarget provider, transfer date, transfer status (IPT tracker)
    SurveillanceLast seen date, planned follow-up date

    Email Notifications

    EventEmail Sent To
    User invitedNew user receives magic-link invite email
    Work assignedValidator receives email when pathways are assigned
    Work reassignedValidator notified when work is reassigned to them
    Weekly packSubscribed users receive weekly summary (configurable)


    Coding Recovery & Financial ROI Engine

    What it does: Identifies clinical coding gaps across all NHS data domains, quantifies the estimated financial and national target impact, and manages the resolution workflow through T21's managed coding service.

    How It Works

  • Automated Issue DetectionrunCodingChecks() scans every pathway and flags issues across 10+ categories
  • Activity Value Mapping — Each issue is mapped to an NHS National Tariff HRG bracket estimate
  • Recovery Pipeline — Issues flow through: Uncoded → Assigned → In Progress → Resolved / Not Applicable
  • T21 Managed Resolution — T21 qualified coders are assigned items via the "Assign to T21 Team" button
  • Resolution Audit — Every resolution is recorded with reason, notes, resolver name, and timestamp
  • Issue Categories Detected

    CategoryRisk TypeEst. Tariff Range
    Missing OutcomeFinancial Risk£150–£450
    Missing Clock StatusFinancial Risk£200–£600
    Missing Removal ReasonFinancial Risk£100–£350
    Missing Specialty/TFCFinancial Risk£150–£450
    Cancer FDS MissingNational Target RiskN/A (target impact)
    Priority Review (267-week Routine)Clinical Safety & Litigation RiskAlert only
    Status MismatchData Quality£80–£250
    Missing Next StepData Quality£80–£200
    Missing Referral SourceData Quality£50–£150
    Missing ConsultantData Quality£50–£150

    > Disclaimer: All tariff values are estimates based on national average NHS tariffs. Actual values are subject to local ICB contract variations and should not be used for financial reporting without validation by the Trust's Finance team.

    Dashboard Features

    FeatureDescription
    Estimated Uncaptured Value BannerShows total estimated £ value at risk from un-coded items
    Coding Completeness Progress BarVisual indicator of activity capture rate (replaces static % score)
    Risk Type ClassificationEach issue colour-coded: Red=Financial, Purple=National Target, Orange=Clinical Safety, Blue=Data Quality
    Assign to T21 TeamSingle-click or bulk-select to add items to the T21 recovery queue
    Coding Audit Status ColumnPer-row pipeline status: Uncoded / Assigned / In Progress / Resolved / N/A
    Resolution ModalStructured resolution with reason dropdown, notes field, and timestamp
    Enhanced CSV ExportExports financial data (low/high/mid tariff estimates) with disclaimer row
    Select All + Bulk AssignSelect multiple issues at once and assign them to T21 in one click

    Board Report Integration

    The Financial & Coding Integrity section of the Board Assurance Report shows:

    Weekly/Monthly Pack Integration

    The Financial & Coding Integrity section appears in all operational packs, showing the period's coding recovery metrics for Finance Director and Medical Director visibility.

    Database Table: coding_recovery_queue

    ColumnPurpose
    issue_idUnique identifier for the specific coding issue
    issue_categoryCategory (Missing Outcome, Missing Clock, etc.)
    risk_typefinancial_risk / national_target_risk / clinical_safety_risk / data_quality
    tariff_value_low/high/midNHS national tariff bracket estimates
    statusuncoded / assigned / in_progress / resolved / not_applicable
    assigned_to / assigned_to_nameT21 coder assigned to resolve
    resolution_reasongenuinely_uncoded / data_correction / not_applicable / awaiting_documentation / trust_action_required
    resolution_notesFree text notes with evidence reference
    week_number / year_numberISO week tracking for trend analysis
    SQL Migration: supabase/035_coding_recovery_queue.sql

    Activity Monitoring & Security Intelligence

    Location: Super Admin → Activity Monitoring

    IP Geolocation (Migration 034)

    Every login session is enriched with geolocation data via ip-api.com:

    Data PointPurpose
    Country / Country CodeDetect non-UK access
    CityMore granular location context
    ISP / OrganisationIdentify corporate vs. residential vs. cloud connections
    VPN DetectionFlag sessions connecting via VPN or hosting/datacenter IPs
    Proxy DetectionFlag sessions using web proxies
    Connection Risksafe / warning / danger classification

    Security Alerts

    ConditionRisk LevelDisplay
    Proxy detectedDanger🔴 Red badge + Security Alert panel
    VPN / Hosting IPWarning🟡 Amber badge
    Non-UK countryWarningCountry flag + ⚠ indicator
    Direct UK connectionSafe🟢 Green badge

    Session Columns (Activity Monitor Table)

    SQL Migration: supabase/034_session_geo_columns.sql

    Access Control & Contract Management

    User Access Expiry (Migration 032)

    Organisation Contract Management (Migration 033)

    FieldPurpose
    contract_start / contract_endOrg access blocked after contract end
    access_hours_start / access_hours_endRestrict logins to approved hours (e.g. 7am–7pm)
    max_usersEnforce user count limit per contract
    contact_name / contact_emailTrust contact details for T21 account managers

    SQL Migrations Reference

    All migrations are cumulative and use IF NOT EXISTS / DO $$ BEGIN ... EXCEPTION WHEN OTHERS THEN NULL; END $$ guards so they are safe to re-run.

    MigrationDescriptionStatus
    001–020Core schema, RLS, pathway types, governance, QA, automation✅ Run at setup
    021Patient & pathway identifiers (NHS number, hospital number, DOB, UBRN)✅ Run at setup
    022Clinical & operational fields (clock dates, TFC, GP code, removal reason)✅ Run at setup
    023P-Code clinical prioritisation (P1–P4, threshold configuration)✅ Run at setup
    024IPT tracker (target provider, transfer date, transfer status)✅ Run at setup
    025Non-RTT Surveillance pathway (last seen, planned follow-up)✅ Run at setup
    030–031Seed data for testing✅ Optional
    032User access expiry (access_expires_at, deactivation_reason)⚠ Must run
    033Org contracts + user_sessions table⚠ Must run
    034Session geo columns (IP geolocation, VPN/proxy detection)⚠ Must run
    035Coding recovery queue table⚠ Must run

    > supabase/RUN_ALL_SETUP.sql now contains ALL migrations in one file. For new environments, run this single file.


    Summary: What Makes CareFlow Different

  • Purpose-built for NHS PTL — not a generic project management tool adapted for healthcare
  • Multi-organisation platform — one secure instance serves multiple trusts, each fully isolated
  • Validation workflow — structured clinical validation with QA review layer
  • Real-time RAG — automatic breach risk calculation for every pathway
  • AI-assisted validation — Advisory suggestions to support clinical review decisions
  • Full audit trail — every action traceable for CQC/NHSE compliance
  • PII protection — patient data masked by default, revealed on click
  • Contract management — automatic access expiry when contracts end
  • Working hours control — restrict access to approved hours
  • Session monitoring — know who's logged in, from where, for how long
  • IP Geolocation + VPN Detection — every login enriched with country, city, ISP, VPN/proxy risk flag
  • Coding Recovery ROI Engine — identifies un-coded clinical activity, maps it to NHS tariff brackets, manages T21 recovery workflow with full audit trail
  • Financial & Coding Integrity reporting — Board Assurance Report and Weekly Pack show un-coded volume, T21 resolution rate, and estimated uncaptured tariff value
  • Professional platform — custom domain, email invites, role-based access, multi-organisation management