<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: VivaLyn Labs</title>
    <description>The latest articles on DEV Community by VivaLyn Labs (@vivalyn_labs_c967abc7e3ed).</description>
    <link>https://dev.to/vivalyn_labs_c967abc7e3ed</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3940543%2Fcc3bcf1b-4afd-48c1-a6fe-29d5449c42df.png</url>
      <title>DEV Community: VivaLyn Labs</title>
      <link>https://dev.to/vivalyn_labs_c967abc7e3ed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vivalyn_labs_c967abc7e3ed"/>
    <language>en</language>
    <item>
      <title>Building an AI Medical Scribe That Actually Works in Clinics</title>
      <dc:creator>VivaLyn Labs</dc:creator>
      <pubDate>Tue, 19 May 2026 14:56:35 +0000</pubDate>
      <link>https://dev.to/vivalyn_labs_c967abc7e3ed/building-an-ai-medical-scribe-that-actually-works-in-indian-clinics-1ie7</link>
      <guid>https://dev.to/vivalyn_labs_c967abc7e3ed/building-an-ai-medical-scribe-that-actually-works-in-indian-clinics-1ie7</guid>
      <description>&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Doctors in India spend 2–3 hours daily on clinical documentation. Most EMR systems are glorified data entry forms that add to the burden rather than reduce it.&lt;/p&gt;

&lt;p&gt;We built MedScribe — an AI-powered ambient clinical documentation tool that listens to doctor-patient conversations and generates structured SOAP notes, ICD-10 codes, and prescriptions in real time.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; React JS&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database:&lt;/strong&gt; PostgreSQL 18 with a headless CMS layer&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Pipeline:&lt;/strong&gt; Multilingual ASR → Medical NER → LLM structured output&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployment:&lt;/strong&gt; Azure App Service (web) + on-premise GPU nodes (inference)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key Technical Challenges
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Multilingual Voice Capture
&lt;/h3&gt;

&lt;p&gt;Indian doctors code-switch between English, Hindi, and regional languages mid-sentence. Off-the-shelf ASR models fail here. We fine-tuned Whisper on 500+ hours of Indian clinical audio with domain-specific vocabulary.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Structured Output from Messy Conversations
&lt;/h3&gt;

&lt;p&gt;A 10-minute consultation produces unstructured dialogue. The LLM pipeline extracts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Chief complaint &amp;amp; history of present illness&lt;/li&gt;
&lt;li&gt;Differential diagnosis&lt;/li&gt;
&lt;li&gt;SOAP note sections&lt;/li&gt;
&lt;li&gt;ICD-10 codes&lt;/li&gt;
&lt;li&gt;Prescriptions with dosage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We use constrained decoding + JSON schema validation to ensure output is always machine-parseable.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Privacy-First Architecture
&lt;/h3&gt;

&lt;p&gt;Healthcare data can't leave the clinic network. Our inference runs on-premise with zero data retention — no patient audio or text hits external servers. The EMR syncs only anonymized metadata for analytics.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. ABDM Compliance
&lt;/h3&gt;

&lt;p&gt;India's Ayushman Bharat Digital Mission requires specific health record formats (FHIR bundles), ABHA ID linking, and consent management. We built a middleware layer that translates our internal models to ABDM-compliant payloads.&lt;/p&gt;

&lt;h2&gt;
  
  
  Results
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Documentation time reduced from 15 min → 2 min per patient&lt;/li&gt;
&lt;li&gt;95%+ accuracy on ICD-10 coding for common specialties&lt;/li&gt;
&lt;li&gt;Works offline — no internet dependency during consultations&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Healthcare AI is a regulatory problem first, ML problem second.&lt;/strong&gt; Get compliance right before optimizing accuracy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Doctors won't change workflows.&lt;/strong&gt; Build around how they already work, not how you think they should.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;On-premise isn't dead.&lt;/strong&gt; When data sensitivity is non-negotiable, cloud-only is a dealbreaker.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;We're building this at &lt;a href="https://www.vivalynlabs.com" rel="noopener noreferrer"&gt;VivaLyn Labs&lt;/a&gt;. If you're working on healthcare AI or building for the Indian market, I'd love to connect.&lt;/p&gt;

&lt;p&gt;What's the hardest compliance/privacy challenge you've faced while building AI products?&lt;/p&gt;

</description>
      <category>emr</category>
      <category>healthcare</category>
      <category>ai</category>
      <category>ehr</category>
    </item>
  </channel>
</rss>
