{"by":"amber_raza","descendants":41,"id":46422812,"kids":[46425781,46426162,46429485,46425886,46431438,46432920,46425456,46426013,46427205,46424462,46426641],"score":36,"text":"Hi HN,<p>I’m a solo dev building a clinical search engine to help my wife (a resident physician) and her colleagues.<p>The Problem: Current tools (UpToDate&#x2F;OpenEvidence) are expensive, slow, or increasingly heavy with pharma ads.<p>The Solution: I built Evidex to be a clean, privacy-first alternative. Search Demo (GIF): <a href=\"https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;zoUvINt\" rel=\"nofollow\">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;zoUvINt</a><p>Technical Architecture (Search-Based RAG): Instead of using a traditional pre-indexed vector database (like Pinecone) which can serve stale data, I implemented a Real-time RAG pattern:<p>Orchestrator: A Node.js backend performs &quot;Smart Routing&quot; (regex&#x2F;keyword analysis) on the query to decide which external APIs to hit (PubMed, Europe PMC, OpenAlex, or ClinicalTrials.gov).<p>Retrieval: It executes parallel fetches to these APIs at runtime to grab the top ~15 abstracts.<p>Local Data: Clinical guidelines are stored locally in SQLite and retrieved via full-text search (FTS) ensuring exact matches on medical terminology.<p>Inference: I’m using Gemini 2.5 Flash to process the concatenated abstracts. The massive context window allows me to feed it distinct search results and force strict citation mapping without latency bottlenecks.<p>Workflow Tools (The &quot;Integration&quot;): I also built a &quot;reasoning layer&quot; to handle complex patient histories (Case Mode) and draft documentation (SOAP Notes). Case Mode Demo (GIF): <a href=\"https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;h01Zgkx\" rel=\"nofollow\">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;h01Zgkx</a> Note Gen Demo (GIF): <a href=\"https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;DI1S2Y0\" rel=\"nofollow\">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;DI1S2Y0</a><p>Why no Vector DB? In medicine, &quot;freshness&quot; is critical. If a new trial drops today, a pre-indexed vector store might miss it. My real-time approach ensures the answer includes papers published today.<p>Business Model: The clinical search is free. I plan to monetize by selling billing automation tools to hospital admins later.<p>Feedback Request: I’d love feedback on the retrieval latency (fetching live APIs is slower than vector lookups) and the accuracy of the synthesized answers.","time":1767028621,"title":"Show HN: Evidex – AI Clinical Search (RAG over PubMed/OpenAlex and SOAP Notes)","type":"story","url":"https://www.getevidex.com"}