惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
Comments on: Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
李成银的技术随笔
美团技术团队
博客园 - 三生石上(FineUI控件)
爱范儿
爱范儿
Simon Willison's Weblog
Simon Willison's Weblog
Cisco Talos Blog
Cisco Talos Blog
博客园 - 司徒正美
Jina AI
Jina AI
S
SegmentFault 最新的问题
Recorded Future
Recorded Future
大猫的无限游戏
大猫的无限游戏
月光博客
月光博客
E
Exploit-DB.com RSS Feed
J
Java Code Geeks
腾讯CDC
V
V2EX
NISL@THU
NISL@THU
M
MIT News - Artificial intelligence
量子位
T
Tor Project blog
T
Threatpost
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
博客园 - Franky
Scott Helme
Scott Helme
U
Unit 42
博客园 - 聂微东
Hacker News - Newest:
Hacker News - Newest: "LLM"
雷峰网
雷峰网
Vercel News
Vercel News
GbyAI
GbyAI
MyScale Blog
MyScale Blog
Microsoft Security Blog
Microsoft Security Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
aimingoo的专栏
aimingoo的专栏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
有赞技术团队
有赞技术团队
W
WeLiveSecurity
T
Tailwind CSS Blog
S
Schneier on Security
Hugging Face - Blog
Hugging Face - Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Y
Y Combinator Blog
I
Intezer
Last Week in AI
Last Week in AI
D
Darknet – Hacking Tools, Hacker News & Cyber Security

DEV Community

Hermes Agent vs LangChain vs CrewAI: When to Reach for Each SparshAI: I Built an Offline AI Tutor for Students Using Gemma 4 — Here's What Happened Building NeuroSense AI: A Human-Centered Stress Insight Assistant Powered by Gemma Why I Built a Privacy-First Dev Toolkit GAS Input Tags: Ability Activation Without Hardcoded Bindings AI Legal Document Advisor Supported By Gemm 4 Model Building Convertify in Public Week 10: PDF Cluster + Blog Launch When Open-Weights AI Meets a Broken Healthcare System: Deploying Gemma 4 in Rural India V.A.L.I.D. Google I/O 2026: The Year Google Stopped Building AI Assistants and Started Shipping AI Engineers Bondmap: AI-Powered Relationship Network That Maps How You're Connected to Everyone Using Gemma 4 Gemma 4 challenge inspired me to build my first app! 96. LoRA: Fine-Tune a Billion-Parameter Model on a Laptop From a Student Who Used CircuitVerse to a GSoC Contributor — My Community Bonding Story How Bf-Tree Keeps Mini-Pages Small, Hot, and Cheap to Evict I asked Claude to explain the chip war and ended up understanding modern geopolitics differently Stop Manually Checking for Server Updates: Automate With Email Notifications Nostalgia Meets Cybersecurity: Spotting Modern Scams in a Retro OS Simulator - Forward or Fraud CRACKING CODING INTERVIEW From Python to Production Pipeline :A Practical guide to Apache Airflow Antigravity 2.0: Google Just Changed What It Means to Be an Engineer I Built a Free Sticker Maker Because Every Other One Hid the Export How I bypassed Blazor WebAssembly's Virtual DOM using raw WASM pointers Distributed Tracing for LLM Agents: When MCP Makes Tool Calls Observable The Zero-Budget Memory Setup Behind My AI Agent Workflow No database. No framework. Just files, startup order, correction logs, and discipline. I Built an AI Second Brain with Gemma 4 The Most Exciting Google I/O 2026 Announcement for Me: HTML-in-Canvas CrisisLens: Compressing Disaster Scenes into 200-Byte Emergency Payloads with Gemma 4 I'm 15 and I built a todo app with Telegram Stars payments — only legal way for me to monetize before turning 18 Crypto Branding After the Token Launch Building an on-chain alerts bot in Python without any blockchain library FinePrint — An AI Pocket Lawyer That Decodes Predatory Contracts Using Gemma 4 How to Connect OpenAI with Supabase in 10 Minutes for a Lightning-Fast AI MVP One AI Gateway for AWS Bedrock, Google Vertex AI, Gemini, and Anthropic Reading Log #9 — Aoashi The Tacit Dimension Thinking, Fast and Slow Web3 Onboarding Is Not a Wallet Problem. It Is a Trust Problem. FHE Prompt Privacy: The Metadata Leak Your Demo Still Has Software Might Be Becoming Agent-Aware: What if software starts coordinating itself? The Silent Killers of Go Concurrency: Mutexes, Semaphores, and Goroutine Leaks Lynx framework first look Building Aries AI: A Solo-Built AI Abacus Tutor on OpenAI + Supabase + Render + Razorpay I built a paid Telegram bot. Here's what Telegram Stars actually pay. Transfer Fees, Metadata, and Soulbound Tokens: A Tour of Solana Token Extensions Improving AI resume matching with prompt iteration — 7.37 to 8.37/10 7 things you can do with Rogue Studio that no other AI IDE will let you do Why I Think WordPress Still Matters Reading Log #7 — Aoashi Guns, Germs, and Steel Distinction Open Models and the Sub-Saharan Region What 12 Months of AI-Generated Pull Requests Taught My Engineering Team Feature Flags in .NET 8: ASP.NET Core, Minimal APIs, Blazor The Quiet Architecture of Systems That Refuse to Die From OOP to SOLID: Everything You Need to Know in One Article I Scanned 5 Common LangChain Agent Patterns. Every Single One Was Over-Permissioned. Production-Ready MCP Servers in 60 Seconds (Auth, Rate Limits, Audit Logs Included) Dari OOP ke SOLID: Semua yang Perlu Kamu Tahu dalam Satu Artikel The Most Important Part of Google I/O 2026 Wasn’t a Model — It Was the Infrastructure When SafetyCo Goes to War: Anthropic, the DOD, and the Limits of Ideals-Based Frameworks Why AI Memory Resolves Too Much — And What to Preserve Instead What Gemma 4 Means for the Future of Local AI (And Why It Matters More Than GPT-5) The Classroom Gap: Why Applied AI Has Yet to Transform How the World Learns Cell-to-Sentence (C2S): LLM-Powered scRNA-seq Annotation with Gemma 4 GitHub rust-2026-template — my Rust starter in 2026 Stop Editing JSON by Hand How I Turned an Old Movie Recommendation Project Into a Cinematic AI Platform Linux Command Line: The 25 Commands I Use Every Day (2026) The Multilingual SEO Trap: When Your Meta Description Speaks the Wrong Language young-colleague-job-worries What I Learned About Token Design on Solana as a Web2 Developer 19/30 Days System Design Questions! My first Android App - NightLock Tabula vs Camelot vs pdfplumber in 2026: Which Python Library Actually Wins? AI Agent Failure Loops: When Persistence Becomes a Quality Bug Experienced devs are slower with AI and they don't even know it Building a No-KYC Poker Bot: What I Learned Automating Crypto Tables React.lazy + chunk errors: how to recover users stuck after a deploy How I Built Clinical Trials API - From Public Data to RapidAPI in 2 Weeks Where is the Code Editor?! - Reception for Antigravity 2.0 I built a tool to catch AI coding agents misbehaving — and put zero AI in it Reading Log #5 — Aoashi Seeing Like a State Distinction [Boost] How to Build a Clinical Trial Search App in 5 Minutes - Clinical Trials API Tutorial Gemma For Dummies: I Knew Nothing. Now I'm Running AI on My Laptop. I gave an AI a Kill Switch. Here's what I learned about trust in local-first tooling. Notification System Technical Specification What ElumKit v0.1 already does (and the one primitive I missed) Why Every Student Developer Should Know About Microsoft Imagine Cup 🚀 Mikplanu: Empowering Education through Edge AI Sovereignty 터미널 AI 에이전트 구축 (v9) What If Your Portfolio Verifier Could Actually See Your UI? Node.js Event Loop Architecture — How a Single-Threaded Runtime Handles Massive Concurrency From Concept to Code: Bringing Your Vision to Life with Michael K. Laweh Caching Layers in 2026: CDN, App, DB, Query: What Goes Where Stop Wasting Tokens on Android Automation Building a GamepadTester: A Developer’s Perspective on Reading Controller Input in the Browser Your Inbox Knows Too Much: Parsli for the Privacy Paranoid I Ran Every Gemma 4 Model on My Home Lab. E4B Crushes E2B. Here's the Data. How I Use an Online TI-84 Calculator for Quick Math While Coding Building a Blog Platform with Docker #5: Add a Dockerfile + Deploy to Clouderized I Scanned 10 Popular F-Droid Apps With My Security Scanner — Open Source Secure How Microsoft Azure Ensures Reliability, Scalability, and Business Continuity
CureNet AI: Decentralized Health Intelligence for India, Powered by Gemma 4 and ABHA Standardization
Labish Bardi · 2026-05-25 · via DEV Community

This is a submission for the Gemma 4 Challenge: Build with Gemma 4

What I Built

CureNet AI is an ABDM-native, offline-first Health Intelligence platform built to unify fragmented medical records securely under the Ayushman Bharat Digital Mission (ABDM) and FHIR R4 standards.

In rural India, reliable internet is a luxury. Prescriptions are handwritten. Lab reports fade on thermal paper. Patient histories exist as loose sheets in plastic folders. The consequences are measurable:

  • ₹26,037 crore in health insurance claims denied in a single year — ₹15,100 crore disallowed and ₹10,937 crore repudiated — largely due to incomplete documentation (IRDAI Annual Report, FY24)
  • 32% of patients transferred between facilities with incompatible records undergo duplicate diagnostic testing within 12 hours (NIH peer-reviewed study)
  • 47% of India's total health expenditure is paid out-of-pocket by patients — among the highest globally — inflated by repeated tests and fragmented care
  • ~2 minute consultations — overloaded OPDs force doctors to see 100+ patients in hours, leaving no time to reconstruct history from paper records (BMJ Open)
  • Less than 15% of Indian hospitals have fully digitized medical record systems

CureNet AI solves this by deploying Gemma 4 edge intelligence directly into the local clinic ecosystem — no internet required.

Core Features Shipped

Intelligent Local Ingestion: Camera-based document scanning powered by Gemma 4 31B Dense vision. Prescriptions and lab reports are analyzed directly by Gemma 4's multimodal capabilities — extracting medications, dosages, lab values, vitals, and diagnosis without any cloud dependency.

Structured Medical Parsing: A custom FHIR R4 bundle builder generates ABDM-compliant Document Bundles containing Patient, Practitioner, MedicationRequest, Observation, and DiagnosticReport resources — with SNOMED CT medication codes and LOINC lab test codes. Doctors can instantly verify whether a test was already performed — directly eliminating redundant diagnostics.

Privacy-First Architecture: AES-256-GCM encrypted local database with keys stored in the device's hardware keystore. Custom ABDM crypto module for RSA-OAEP, ECDH X25519, and AES-GCM encrypted data exchange. Full DPDP Act 2023 compliance — when Gemma 4 runs locally, zero patient data leaves the device.

Complete ABDM Integration: Full M1 + M2 + M3 milestone compliance — ABHA creation via Aadhaar and Mobile OTP, care context linking, consent management, and encrypted health data exchange using V3 sandbox APIs.

Offline-First Architecture: Three-tier connectivity probing (Ollama → Backend → Cloud) with automatic fallback. When fully offline, the AI serves responses from locally stored encrypted records. When online, cloud models act purely as fallback.

ABHAy AI Assistant: RAG-augmented health chat running intent classification, web search, clinical atom retrieval, and semantic search all simultaneously — cutting response latency from ~12s to ~4s.

Accessible by Design: High-contrast UI with large tap targets designed for senior citizens and low-literacy users. Full multilingual support across all 22 scheduled languages of India via the Bhashini API, with built-in Text-to-Speech so patients who cannot read can hear their medical information in their own language.

Demo Video

Code

👉 GitHub Repository: https://github.com/labishbardiya/CureNet-AI

How I Used Gemma 4

Medical records demand zero leakages and low latency. Gemma 4 acts as the core, private intelligence engine — running entirely locally via Ollama with no patient data ever leaving the device.

We split reasoning between edge and workstation environments using two models:

Gemma 4 E4B (Effective 4B) — On-Device Edge Intelligence

We run Gemma 4 E4B (gemma4:e4b) via Ollama for low-latency tasks on the local machine.

🤔 Why E4B? With its Per-Layer Embeddings (PLE), E4B packs frontier-level logic into a ~3 GB memory footprint. Its 128K context window handles large clinical data logs while running natively offline.

🤔 How it's used? It acts as our first-tier intent classifier — categorizing every user query into MEDICAL_QUERY, GENERAL_CHAT, or APP_HELP in under 2 seconds. This determines whether the full RAG pipeline activates. It also handles chat title generation and serves as an automatic failover when the 31B model is overloaded — ensuring the experience never breaks.

Gemma 4 31B Dense — Medical Extraction & FHIR R4 Conversion

On the clinic workstation backend, we deploy Gemma 4 31B Dense (gemma4:31b) via Ollama for complex clinical intelligence.

🤔 Why 31B Dense? Medical records cannot tolerate routing gaps or hallucination. The Dense architecture processes every token through all 31 billion parameters with a 256K context window — unlike MoE variants that risk dropping clinical context. When a missed medication has patient safety implications, Dense is the correct choice.

🤔 How it's used? Two critical paths. First, it processes prescription and lab report images directly using multimodal vision via a zero-shot structure prompt — extracting patient info, medications with dosage/frequency/duration/route, lab results with values/units/reference ranges, vitals, diagnosis, and follow-up instructions. Indian patterns like 1+0+1 (morning/afternoon/night) are parsed correctly. Brand names like "Crocin" map to their SNOMED CT active ingredient codes. Second, it powers the ABHAy RAG assistant for medical reasoning with full clinical context from the patient's encrypted local records. All outputs feed into our FHIR R4 builder, generating strict ABDM-compliant bundles with SNOMED CT and LOINC coding.