Electronic Health Record EHR AI Chatbot doctor patient image

Project: AI Chatbot
Industry: Pharmaceutical & Hospitals
Business Model: B2B2C
Scale: Enterprise

An enterprise healthcare company needed an AI-driven electronic health record (EHR) chatbot with the goal of creating a system that engages with patients discharged from hospitals, collecting daily health metrics, and sending data back to the hospital for continuous monitoring. The project required building a secure, scalable, and compliant solution capable of handling complex data management and patient interactions seamlessly and confidentially.

Strategy
Our CTO worked with a leading global healthcare communications agency to develop a technology strategy focused on transitioning their client’s chatbot from a proof of concept to a fully operational tool. He prioritized creating a flexible, scalable information architecture that could support various client and patient types, aligning with the client’s long-term business goals. Ensuring compliance with HIPAA and GDPR regulations was also crucial due to the sensitive nature of the patient data involved.

Process
He began by implementing a serverless architecture using a range of AWS services, including Lambda, Lex, DynamoDB, IoT Core, API Gateway, CloudFormation, Cognito, CodePipeline, CodeDeploy, S3, Glue, Athena, CloudWatch, CloudFront, and Secrets Manager. This architecture was designed to support efficient and cost-effective scaling of the application. The chatbot was built with four main components: a headless front end developed with the Vue framework, an AWS Lex integration for natural language processing, a request broker that managed Lex requests, and an API layer responsible for data operations, managing conversation states, and executing configurable rules.

Solutions
To enhance the chatbot’s functionality, a rules engine was developed that allows non-developers to configure the chatbot’s behavior, enabling hospital staff to customize it without technical intervention. This approach promoted adaptability and empowered users. Also implemented was continuous delivery and DevOps practices using GitLab, which facilitated rapid deployment and integration of new features, reducing time-to-market and enhancing the system’s performance and reliability. AWS DynamoDB and S3 were used for secure data storage, AWS Glue and Athena for big data analytics, and a comprehensive security framework to ensure compliance with HIPAA and GDPR standards.

Results
The AI-driven EHR chatbot was successfully launched and is currently in use, monitoring patient health metrics post-discharge. This system has improved patient engagement and enabled hospitals to deliver better continuous care. The serverless architecture ensures that the chatbot can scale efficiently to accommodate increasing numbers of patients and diverse use cases. By adhering to HIPAA and GDPR standards, the chatbot maintains secure handling of sensitive patient data, building trust among users and healthcare providers. The project demonstrated capabilities in technical leadership, cloud architecture, and engineering management, culminating in a successful deployment that significantly enhances patient care and hospital efficiency.

Services Performed:

  • Developed an AI-driven EHR chatbot for patient monitoring after hospital discharge

  • Designed a serverless architecture using AWS services

  • Implemented a rules engine for chatbot behavior customization

  • Created a headless front end with the Cue framework

  • Integrated natural language processing with AWS Lex

  • Managed API and data operations for the chatbot

  • Ensured HIPAA and GDPR compliance

  • Provided technical leadership and managed a team of engineers

Results:

  • Successfully launched an AI-driven EHR chatbot for post-discharge patient monitoring

  • Increased patient engagement and data collection efficiency

  • Achieved scalability to support growing patient numbers

  • Enabled non-developers to easily customize chatbot behavior

  • Improved hospital workflow and patient care through technology integration