About
## The problem it solves
FirstDoor is an AI-assisted clinical decision-support prototype that helps users perform an early health-risk assessment, identify potentially urgent situations, receive specialty guidance, undergo psychological screening, analyze laboratory and imaging information, and find suitable hospital referrals.
The main problem FirstDoor aims to solve is the confusion people face when they first experience a health issue. They may not know whether their symptoms are serious, which specialist they should consult, or where they should go for appropriate care. Information from psychological screenings, laboratory reports, and imaging can also be difficult for a non-medical person to understand.
To address this, we developed FirstDoor as an AI-assisted clinical decision-support prototype. It performs an initial risk and safety assessment, detects potentially urgent situations, provides specialty recommendations, supports psychological screening, analyzes lab and imaging information, and helps with hospital referrals.
Our goal is not to replace doctors or provide a diagnosis, but to act as a first step that helps users understand their situation and navigate toward the appropriate healthcare service more efficiently.
## Challenges we ran into
Challenges
Scope discipline. The obvious build is a symptom checker that names a condition. We cut that on day one. Naming a disease without a clinician is both unreliable and unlicensed practice of medicine, and a confident wrong answer is worse than no answer. Repositioning as triage and referral cost us nothing functionally and made the product something we could actually put in front of real users.
Ordering the safety logic. Our red-flag check has to run before anything else, because a model failure must never be able to suppress an emergency. We implemented it as a gate that returns before any scoring code executes, so on that path no score exists in the object to leak. The same structure covers the crisis pathway. We tested it against every combination rather than asserting it — including the case where a red flag is present alongside the mildest possible answers.
Not inventing clinical content. It would have been easy to generate nine plausible-sounding depression questions and label them PHQ-9. We refused, left the item text as clearly marked placeholders, and filled them in from the official public-domain instruments once we had the source. Same discipline on severity cutoffs.
An edge case we found ourselves. A user aged under 18 could complete a mental health screen and receive a psychiatry referral with no adult involved. We added a second gate: minors halt before any instrument is administered and see support contacts instead. It fails closed on a missing or unrecognised age.
Integration under time pressure. Field-shape mismatches between frontend and backend cost us hours in an earlier sprint. Here we froze the response schema first, then added a normalisation layer so a malformed response degrades to a local fallback rather than blanking the page. The crisis screen cannot render without a helpline number under any input.
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.






