AI-assisted healthcare prototype
SignalCare
Symptom extraction separated from deterministic safety controls.
Interface engineering, safety boundaries, and evaluation
React · TypeScript · Google Gemini · Serverless API · Deterministic evaluation
Educational prototype · not clinically validated
OVERVIEW
An educational React/TypeScript triage prototype that uses optional Gemini extraction to draft symptom fields. Deterministic rules retain authority over emergency escalation, follow-up logic, and the care-level result.
Educational prototype only. SignalCare does not diagnose, prescribe, replace emergency services, or claim clinical validation, certification, or real-world readiness.
Architecture
- 01NARRATIVE INPUT
Optional Gemini extraction or local simulation.
- 02UNTRUSTED DRAFT
Only permitted symptom fields enter the session.
- 03DETERMINISTIC RULES
Red-flag checks override lower-acuity logic.
- 04EXPLAIN / SUMMARIZE
Care-level reasoning and provider-summary exports.
BOUNDARYThe model cannot set the final urgency tier or override emergency rules. Determinism alone does not establish medical correctness.
The React client sends free text to a serverless extraction endpoint when Gemini is configured. The API key stays server-side. Without it, a local simulated extractor keeps the prototype demonstrable.
Extracted data is narrowed before merging into the session. TypeScript rules detect red flags, classify urgency, drive follow-up questions, and generate region-aware summaries and exports.
Key decisions & trade-offs
Language extraction and decision authority are separate. The rules recompute escalation after extraction and answers instead of trusting model-provided urgency.
A conservative, inspectable rule set makes local evaluation possible, but cannot cover the clinical breadth or governance needed for real patient use.
Verification / results
The committed evaluation code includes deterministic triage cases and separate checks for AI-extraction boundaries, patient context, names, and demo behavior. The local evaluation is evidence about those cases only; it is not clinical validation or a guarantee against missed emergencies.
Limitations
No clinical validation, clinician-governed rule process, EHR integration, persistent patient storage, authentication, or audit trail is included in this MVP. It must not be used to diagnose, prescribe, or replace emergency services or medical advice.