Maxscripts symbol

CASE STUDY · HEALTHCARE & LIFE SCIENCES

AI clinical decision support for integrative medicine

We built an AI-powered platform that helps Ayurvedic doctors analyse cases, check safety and explore research, with every answer traced back to verified sources, alongside the portals clinics and hospitals need to run day to day.

50+verified classical texts in the knowledge base
4AI research and safety tools
~140documented API endpoints
3organisation types: doctors, clinics and hospitals

THE CHALLENGE

What needed to happen

Practitioners of traditional medicine rely on a vast body of classical literature that is slow to search and hard to apply consistently. The client wanted AI that could genuinely support clinical reasoning, but in healthcare an unsupported or unsafe answer is worse than no answer. Every recommendation had to cite its sources, flag interactions with modern medicines, and keep patient data private, all inside a platform that doctors, clinics and hospitals could adopt on their own.

WHAT WE DELIVERED

Evidence-first AI,
built for clinicians.

01Reasoning & retrieval

Clinical AI engine

  • Retrieval-augmented reasoning over a curated library of classical texts
  • A clinical knowledge graph linking conditions, herbs, actions and formulations
  • A multi-step plan, retrieve, reason, validate and reflect loop
  • Citation verification so every claim maps to an exact source
  • Model routing across AI providers with cost caps and caching
  • Golden-dataset evaluation and model drift detection
02Web application

Doctor portal

  • Patient records and case management
  • AI case analysis with references the doctor can inspect
  • Private case chat grounded in each patient’s record
  • Review queue for AI-generated assessments
  • Appointments, availability and schedule blocks
  • Team management with granular permissions
03AI tools for doctors

Research & safety workspace

  • Herb–drug interaction checker that runs without AI or patient data
  • Repurposing evaluator for existing botanicals, with exact citations
  • Formulation hypothesis generator with automatic safety re-checks
  • Causality explainer that maps evidence pathways, gaps and conflicts
  • Clear labelling of hypotheses versus established evidence
  • Local export of results without storing patient records
04Adaptive interviews

Patient self-assessment

  • An adaptive interview that chooses each next question from previous answers
  • A probability engine that builds a structured health report
  • Live progress based on real work completed, not timers
  • Downloadable PDF reports
  • Stateless design: the engine stores no patient data
  • Paid assessments with secure payment links and QR codes
05Multi-organisation SaaS

Platform & administration

  • Self-service onboarding for doctors, clinics and hospitals
  • Credential checks, email verification and admin approval
  • Subscriptions, pricing, coupons and payment tracking
  • Question bank and AI skill registry management
  • Per-organisation feature controls and system statistics
  • Secure support access through audited impersonation

ENGINEERING & OPERATIONS

  • Strict validation of every AI response against a schema before it reaches a doctor
  • No fabricated fallbacks: if evidence or safety checks fail, the system says so
  • Role- and organisation-scoped access control with rate limiting on AI tools
  • An OpenAPI contract covering the full backend
  • Streaming responses for long-running AI generation
  • Separate development, staging and production knowledge bases with promotion tooling
  • Automated test suites across the API and AI services
  • Containerised services ready for cloud deployment

WHAT IT MADE POSSIBLE

  • Faster, evidence-backed answers from a body of literature that once took hours to search
  • Every AI suggestion traceable to its source text
  • Safety screening for interactions with modern medicines built into every tool
  • Privacy by design, with patient data kept to the minimum needed
  • A platform clinics and hospitals can join and run without engineering help
  • New revenue through subscriptions and paid patient assessments

TECHNOLOGY

Tools we used

PythonFastAPIGeminiClaudeRAGKnowledge graphsQdrantNext.jsReactTypeScriptNode.jsExpressPostgreSQLPrismaZodOpenAPIRazorpayDockerVitestpytest
All case studies ↗
Client name and confidential details withheld.

MORE WORK

Other case studies

Travel & hospitality · Case studyA members-only social travel platformAn end-to-end ecosystem that helps verified members discover, host and join trips, events and dining experiences, chat in real time, and book premium yachts, villas and restaurants.5connected productsiOS · Android · Webplatforms~150API endpointsRead the case study ↗HR & payroll · Case studyPayroll operations & workforce management suiteA payroll operations console and an employee self-service app that bring time tracking, scheduling, time off, payments and payroll documents together for employers and their teams.3connected appsWeb · iOS · Androidplatforms3languagesRead the case study ↗Telecom & messaging · Case studyWhite-label email marketing & delivery platformA white-label email platform for a business messaging provider: campaigns, templates, contact lists, transactional APIs and SMTP relay, sold to clients through a three-level reseller hierarchy.3role-based portals4servicesAPI · SMTPsending channelsRead the case study ↗Media & publishing · Case studyAd-free news reading with micropaymentsA consumer news app where readers unlock premium articles without ads or paywalls using a micropayment wallet, and can earn credit through brand offers, surveys and data sharing.iOS · Androidplatforms4environments2+ yearsof continuous releasesRead the case study ↗Real estate & proptech · Case studyProperty intelligence for real-estate investorsA mobile property intelligence app that lets real-estate investors explore parcels on a map, see ownership, tax and sales data, and manage deals from the field.iOS · Androidplatforms5property data views2.5 yearsof releasesRead the case study ↗Education & edtech · Case studyAI-powered exam preparation platform for dental studentsAn AI-powered learning platform that prepares dental students for their national board exam with case-based courses, timed mock exams, a searchable e-library and an AI study assistant.37screens~130API endpoints20+subject librariesRead the case study ↗Customer engagement · Case studyEmbeddable live chat for business websitesAn embeddable live-chat product that lets businesses add a branded chat widget to their website with one snippet, and answer visitors in real time from a shared web inbox.1snippet to embedReal-timemessaging18 monthsof developmentRead the case study ↗Retail · Case studyPaint store point of sale on ERPNextA custom point-of-sale system for a paint retailer, built on ERPNext with a fast React front end, a synced colour and tint catalogue, contractor job sites and integrated card payments.8POS screensReact · ERPNextstack3 monthsof developmentRead the case study ↗Events & exhibitions · Case studyTrade-show lead capture for exhibitorsA mobile CRM that helps exhibitors capture and qualify leads on the trade-show floor with voice notes that turn into text, photos, documents and a simple pipeline from pre-lead to converted.iOS · Androidplatforms20+screens5 monthsof developmentRead the case study ↗Energy & utilities research · Case studyMember research portal with AI-assisted searchAn enterprise Drupal platform for a research and advisory firm: a gated member research portal with personalised dashboards, single sign-on, Salesforce and events integrations, and AI-assisted research search.29custom modules3+ yearsof developmentDrupal · ReactstackRead the case study ↗

YOUR NEXT CHAPTER STARTS HERE

Have an idea?
Let’s make it happen.

Tell us what you’re thinking. We’ll start from there.

LET’S EXPLORE YOUR IDEA

A good place
to start.

Preview form: save your enquiry as a file. No message is sent, and no information is stored on a server.