You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every GP in the NHS gives the same instruction: *"Come back if you're not better."* Most patients don't come back. They deteriorate at home, misread their own symptoms, or simply forget. Safety netting — the clinical process of ensuring patients know when to seek further help — is verbal, untracked, and fails silently.
10
+
Every GP in the NHS gives the same instruction: *"Come back if you're not better."* Most patients don't come back. They deteriorate at home, misread their own symptoms, or simply forget. Safety netting - the clinical process of ensuring patients know when to seek further help - is verbal, untracked, and fails silently.
11
11
12
12
SafetyNett closes that gap. GPs create condition-specific safety nets at the point of care. The system contacts patients automatically after a set interval, collects their response, and uses AI to analyse whether their symptoms indicate clinical deterioration. If the AI detects red flags, the GP is escalated immediately with the patient's own words and a severity assessment.
13
13
@@ -39,7 +39,7 @@ GP creates safety net ─→ Timer expires ─→ Patient contacted (email / voi
39
39
→ GP escalated signal)
40
40
```
41
41
42
-
The AI doesn't pattern-match keywords. It reads the patient's naturallanguage response, understands clinical context for that specific condition, and determines whether the described symptoms meet escalation criteria. A parent writing *"she won't drink anything and she's really floppy"*triggers escalation not because of string matching but because the AI recognises fluid refusal and reduced consciousness in a febrile child as clinically dangerous.
42
+
The prototype prompts the model to evaluate the patient's natural-language response against condition-specific red flags. A parent writing *"she won't drink anything and she's really floppy"*should trigger escalation because fluid refusal and reduced consciousness are clinically concerning in a febrile child. This behaviour still needs formal clinical safety validation before real deployment.
43
43
44
44
## Clinical Coverage
45
45
@@ -61,17 +61,17 @@ Each condition carries its own red flag set. Meningitis flags non-blanching rash
61
61
62
62
## Why This Matters
63
63
64
-
Safety netting is a solved clinical concept with inadequate digital infrastructure. NICE guidelines mandate it. The RCGP teaches it. Every GP does it verbally. Existing tools (EMIS templates, Ardens, SystmOne flags) are passive reminders — they don't contact the patient, collect a response, or analyse whether symptoms have progressed. There is no system that actively tracks whether the instruction was followed or whether the patient deteriorated at home.
64
+
Safety netting is an established clinical concept with weak digital infrastructure. NICE guidelines mandate it. The RCGP teaches it. Every GP does it verbally. Existing tools (EMIS templates, Ardens, SystmOne flags) are passive reminders - they don't contact the patient, collect a response, or analyse whether symptoms have progressed. The gap this prototype targets is active follow-up after the patient leaves the consultation.
65
65
66
-
This isn't a theoretical gap. NHS England stated in October 2024 that primary care should *"have information systems that automatically flag patient safety issues such as missed patient referral follow-ups, safeguarding, diagnoses and medication issues."* A [2022 JMIR framework](https://medinform.jmir.org/2022/8/e35726) for evaluating e-safety-netting tools concluded that **no tools currently available meet all the criteria**. Existing solutions (EMIS templates, Ardens, SystmOne flags) are passive reminders embedded in EHR systems — none actively contact the patient, collect a response, or analyse it.
66
+
This isn't a theoretical gap. NHS England stated in October 2024 that primary care should *"have information systems that automatically flag patient safety issues such as missed patient referral follow-ups, safeguarding, diagnoses and medication issues."* A [2022 JMIR framework](https://medinform.jmir.org/2022/8/e35726) for evaluating e-safety-netting tools concluded that **no tools currently available meet all the criteria**. Existing solutions (EMIS templates, Ardens, SystmOne flags) are passive reminders embedded in EHR systems - none actively contact the patient, collect a response, or analyse it.
67
67
68
68
SafetyNett is not a symptom checker. It doesn't diagnose. It automates the follow-up that GPs already give, makes it trackable, and escalates when patients describe symptoms that clinically warrant it.
69
69
70
70
## Post-Hackathon: In Development
71
71
72
72
### AI Verification Layer
73
73
74
-
The primary feedback from hackathon judges (NHS clinicians): automated systems contacting patients about clinical symptoms in a regulated environment carry risk. The right response is not removing AI — it's adding a verification layer.
74
+
The primary feedback from hackathon judges (NHS clinicians): automated systems contacting patients about clinical symptoms in a regulated environment carry risk. The right response is not removing AI - it's adding a verification layer.
75
75
76
76
A dedicated verification model reviews every outbound communication and every escalation decision before it reaches a patient or GP. The verifier checks:
77
77
@@ -83,7 +83,7 @@ This creates a dual-model pipeline: primary AI analyses the response, verificati
83
83
84
84
### Voice Follow-Up (ElevenLabs)
85
85
86
-
Email excludes the patients who need safety netting most — older patients, patients with visual impairments, patients with low digital literacy. These are the same patients most likely to deteriorate without seeking help.
86
+
Email excludes the patients who need safety netting most - older patients, patients with visual impairments, patients with low digital literacy. These are the same patients most likely to deteriorate without seeking help.
87
87
88
88
ElevenLabs voice synthesis delivers follow-ups as automated phone calls running simultaneously with email. The patient responds verbally; speech-to-text feeds into the same AI analysis pipeline. Same clinical logic, different channel. The GP's dashboard shows both email and voice responses in one view.
89
89
@@ -108,7 +108,7 @@ src/
108
108
├── components/ Dashboard, safety net cards, forms, navigation
109
109
├── hooks/ Auth, toast, mobile detection
110
110
├── integrations/ Supabase client and types
111
-
├── lib/ Clinical logic — conditions, red flags, timeframes
111
+
├── lib/ Clinical logic - conditions, red flags, timeframes
112
112
├── pages/ Dashboard, create safety net, login
113
113
supabase/
114
114
├── migrations/ Database schema
@@ -117,7 +117,7 @@ supabase/
117
117
118
118
## Usage
119
119
120
-
The app runs at **[safetynett.lovable.app](https://safetynett.lovable.app)**. All backend logic (auth, database, edge functions, email dispatch) runs on Supabase Cloud — there is no self-hosted mode.
120
+
The app runs at **[safetynett.lovable.app](https://safetynett.lovable.app)**. All backend logic (auth, database, edge functions, email dispatch) runs on Supabase Cloud - there is no self-hosted mode.
121
121
122
122
For local development (modifying the frontend):
123
123
@@ -126,7 +126,7 @@ npm install
126
126
npm run dev
127
127
```
128
128
129
-
Requires `.env` with Supabase and OpenMail credentials pointing to the cloud instance — see `.env.example`.
129
+
Requires `.env` with Supabase and OpenMail credentials pointing to the cloud instance - see `.env.example`.
130
130
131
131
## Verification
132
132
@@ -141,7 +141,7 @@ GitHub Actions runs the same checks on every push and pull request.
141
141
142
142
## Limitations
143
143
144
-
Hackathon prototype. Supports clinical decision-making — does not replace clinical judgement. AI verification layer and regulatory compliance work are in active development.
144
+
Hackathon prototype. Supports clinical decision-making - does not replace clinical judgement. AI verification layer and regulatory compliance work are in active development.
0 commit comments