All work

Case study · Healthcare (clinics and chronic care)

Clear Chronic Care.

This project involved building an AI-powered healthcare automation platform designed to streamline the creation of personalized healthcare plans for patients.

What we built
AI care plan generation SaaS with admin dashboard
Stack
Node.js, Express.js, TypeScript, Supabase
Services
AI report generationSaaS platformAdmin dashboardPDF generationMultilingual content
Laptop on an office desk showing a list of available patient programs

About the project

What is Clear Chronic Care?

This project involved building an AI-powered healthcare automation platform designed to streamline the creation of personalized healthcare plans for patients. Previously, clinics relied on manual processes to draft care plans, which were time-consuming and prone to inconsistencies. The new platform introduced AI-driven report generation that could automatically create structured healthcare plans in multiple languages (English & Spanish). This SaaS solution allowed clinics, hospitals, and healthcare providers to add patient and clinic information, and the AI agent would instantly generate a customized PDF healthcare report with treatment goals, medication schedules, and long-term maintenance plans.

The problem

What was slowing them down.

  1. 01

    Manual Plan Creation

    Doctors and staff were spending hours drafting care plans.

  2. 02

    Inconsistent Reports

    Mapping data from the handwritten forms to structured Excel columns was error-prone.

  3. 03

    Limited Scalability

    As patient numbers grew, clinics struggled to keep up.

  4. 04

    Lack of Multilingual Support

    Patients often needed healthcare plans in their native language.

  5. 05

    No Centralized System

    Managing multiple clinics, doctors, and devices was inefficient.

The solution

What we built.

AI-driven healthcare plan generation

Using GPT models for contextual medical reporting.

    Dynamic PDF generation

    Allowing reports to be instantly created, edited, and shared.

      Multilingual support

      English & Spanish, for broader patient accessibility.

        Clinic & user management

        Enabling the client to onboard multiple practices, doctors, and diagnostic devices.

          Custom input forms

          Staff could input patient demographics, diagnoses (e.g., hypertension, heart disease), and programs (CCM, RTM, TCM, RPM).

            Instant AI reports

            Detailed care plans with goals, medications, daily schedules, and future health recommendations.

              Results

              What changed.

              Healthcare providers

              • 80% reduction in time spent creating care plans

                80% reduction in time spent creating care plans.

              • Consistency & accuracy

                Consistency & accuracy across all generated reports.

              • Scalable SaaS product

                Client could sell to multiple clinics and hospitals.

              • Increased patient satisfaction

                Increased patient satisfaction due to personalized, multilingual care plans.

              • Revenue growth

                Revenue growth for the client through licensing and subscriptions.

              Key challenges

              The hard parts, and how we solved them.

              • Ensuring medical accuracy in AI-generated reports

                We implemented context-specific prompt engineering and role-based input validation to maintain integrity.

              • Secure patient data handling

                Built role-based access control and encrypted data storage with Supabase.

              • Multi-clinic management

                Designed a scalable admin dashboard to manage users, devices, and practices.

              • Multilingual report generation

                Integrated AI-powered translation for English-Spanish content creation.

              • Dynamic PDF editing

                Developed a real-time PDF update system for flexible report adjustments.

              Tech stack

              What it runs on.

              Backend
              Node.jsExpress.jsTypeScript
              Database & Storage
              Supabase
              Authentication & Security
              Role-based accessPasscode-based authentication
              AI & Automation
              OpenAI GPT modelsAI-powered report generation
              File Handling
              MulterSupabase StorageDynamic PDF generation
              Containerization
              DockerDocker Compose
              Optional System Dependencies
              GraphicsMagick (gm)Poppler (pdftoppm)Tesseract OCR
              Testing & Documentation
              Custom API testing suiteComprehensive endpoint documentation
              Development Tools
              ESLintPrettierTypeScript Compiler

              Process

              How we got there.

              1. 01Clinic Onboarding

                Client adds new clinics, practices, and doctors

              2. 02Patient Data Entry

                Staff enters patient demographics, diagnosis, and care programs

              3. 03AI Processing

                OpenAI integration analyzes inputs and generates personalized content

              4. 04PDF Generation

                Dynamic reports are created with health goals, medications, and maintenance plans

              5. 05Review & Edit

                Reports can be live-edited before sharing with patients

              6. 06Export & Share

                Final PDF delivered to patients in their preferred language

              Building something like Clear Chronic Care?