Skip to content

Commit 232d53e

Browse files
committed
Add CI, real clinical logic tests, table of contents, fix condition count
- GitHub Actions CI: build + lint + test on push/PR - 7 tests on conditions.ts: specialty coverage, red flag completeness, no duplicates, no empty strings, timeframe ordering - Delete placeholder test that tested nothing - Table of Contents in README - Fix condition count: 39 not 40 (honest, verified by test) - Fix package.json name from lovable boilerplate to safetynett
1 parent c546736 commit 232d53e

6 files changed

Lines changed: 1807 additions & 43 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: 20
17+
cache: npm
18+
- run: npm ci
19+
- run: npm run lint
20+
- run: npm run build
21+
- run: npm test

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
[![Live Demo](https://img.shields.io/badge/demo-live-brightgreen)](https://safetynett.lovable.app)
55
[![Built at](https://img.shields.io/badge/built%20at-OpenClaw%20Hackathon-orange)](https://clinicalhackathon.com)
66

7+
**[Architecture](#architecture) | [Clinical Coverage](#clinical-coverage) | [Why This Matters](#why-this-matters) | [Roadmap](#post-hackathon-in-development) | [Tech Stack](#tech-stack) | [Team](#team)**
8+
79
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.
810

911
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.
@@ -38,7 +40,7 @@ The AI doesn't pattern-match keywords. It reads the patient's natural language r
3840

3941
## Clinical Coverage
4042

41-
40+ conditions across 9 specialties. Red flag definitions sourced from NICE Clinical Knowledge Summaries and NHS 111 pathway documentation.
43+
39 conditions across 9 specialties. Red flag definitions sourced from NICE Clinical Knowledge Summaries and NHS 111 pathway documentation.
4244

4345
| Specialty | Conditions |
4446
|---|---|

0 commit comments

Comments
 (0)