Case Study: Scalable, Serverless Telehealth Software Solution with Amazon Chime

Discover how Optimal Business Systems (OBS) delivered a scalable, serverless telehealth software for mental health through its custom-built platform, Theracuity. This case study explores how OBS leveraged AWS technologies to power secure video sessions, seamless EHR integration, and AI-driven insights—helping therapists and behavioral health providers streamline care and documentation while staying compliant and efficient.
telehealth software solution

Executive Summary

Optimal Business Systems (OBS) has successfully implemented a secure, scalable, and serverless telehealth software solution capability within Theracuity, its next-generation behavioral health EHR platform. This groundbreaking achievement, spearheaded by Akinsola Oluwole, the visionary Lead Developer for this module solution, leverages the Amazon Web Services (AWS) Chime SDK to deliver a HIPAA-aligned video session system. This system supports real-time therapy, robust recording, and comprehensive appointment lifecycle management—all without the burden of traditional server infrastructure. This innovation significantly reduces operational overhead, enhances reliability, and provides seamless user experiences for therapists and patients. The solution also lays the groundwork for advanced AI-powered session support, automating documentation and reducing clinician burnout. This case study demonstrates OBS’s unparalleled expertise in crafting bespoke, cloud-native solutions that transform complex challenges into strategic advantages for our clients.

Client and Product Background

Optimal Business Systems (OBS) is a leading custom software development and AI solutions company with deep roots in healthcare, fintech, and enterprise transformation. From vision to deployment, OBS helps organizations build intelligent, scalable systems that solve real business problems. At OBS, we don’t just write code—we build momentum for those reshaping industries, empowering them with cutting-edge technology and strategic innovation.

Theracuity is OBS’s flagship electronic health record (EHR) platform, tailored to the unique needs of behavioral health providers. Designed with flexibility, user-friendliness, and compliance in mind, Theracuity offers robust patient management, appointment scheduling, and documentation. As a cloud-native, AI-ready platform, Theracuity is built specifically for behavioral health providers who demand efficiency, compliance, and smarter workflows. It empowers users with:

  • Integrated telehealth using AWS Chime for seamless, secure virtual care.
  • AI-powered session support to automate documentation and reduce burnout.
  • Real-time progress notes, assessments, and treatment plans.
  • Role-based access and HIPAA-compliant security across every feature.
  • Serverless architecture that scales on demand, reduces cost, and eliminates infrastructure maintenance.

The demand for virtual therapy sessions has surged in recent years, prompting OBS to architect a native, scalable video solution to enhance Theracuity’s capabilities and solidify its market leadership.

The Challenge

OBS was tasked with embedding real-time video therapy within the Theracuity platform, a critical enhancement that came with a stringent set of requirements:

  • Unwavering HIPAA Compliance: Handling sensitive patient data necessitated an architecture that not only met but exceeded healthcare regulatory standards.
  • Minimal Operational Overhead: The goal was to eliminate the burden and prohibitive costs associated with provisioning and managing traditional video conferencing servers.
  • Robust Session Control: The system demanded sophisticated mechanisms for securely creating, joining, monitoring, and concluding sessions.
  • Comprehensive Data Capture: The ability to record sessions and meticulously capture metadata (attendance, join/leave times, duration) was crucial for clinical documentation and future analytical insights.
  • Elastic Cost-Effective Scaling: The solution had to scale seamlessly and efficiently to accommodate unpredictable demand fluctuations without escalating operational expenditures.

Existing third-party telehealth vendors presented significant limitations, including restrictive customization options, inflexible licensing models, and integration complexities that fundamentally clashed with OBS’s vision for a deeply integrated, intelligent EHR. This necessitated OBS’s deep expertise to engineer a bespoke, fully serverless, and AWS-native solution, aligning perfectly with our commitment to innovation and client-centric development.

The Solution

OBS engineered and implemented a fully serverless video session framework, leveraging the power of the Amazon Chime SDK. This innovative core solution combines Amazon Chime for real-time communication with a robust, custom-built backend utilizing AWS Lambda, SQS, and S3 for comprehensive session management, recording, and intelligent post-processing.

The architecture ensures that upon every appointment creation within Theracuity, a serverless function dynamically provisions a dedicated Chime meeting instance. This sophisticated backend orchestration enables therapists and patients to seamlessly join secure video sessions directly through Theracuity’s intuitive user interface, delivering a truly integrated experience.

The OBS development team, renowned for its expertise and led by Akinsola Oluwole, the visionary Lead Developer who spearheaded this groundbreaking module solution, meticulously ensured that this solution adhered to the most robust cloud-native patterns. His leadership and technical prowess were instrumental in seamlessly integrating this complex system into Theracuity’s existing backend microservices and frontend components, a testament to our commitment to architectural excellence and comprehensive integration.

Architecture Overview: The Seamless Flow of Theracuity’s Telehealth Solution

To illustrate the intricate yet highly efficient operation of Theracuity’s telehealth and transcription module, the following flow highlights the seamless interaction between various components.

Article content
Architecture Overview: The Seamless Flow of Theracuity’s Telehealth Solution

This comprehensive and interconnected flow, meticulously engineered by OBS, ensures that Theracuity delivers a robust, secure, and intelligent telehealth and transcription experience, from initial appointment scheduling to advanced post-session analytics.

Security and Compliance

At OBS, security and HIPAA compliance were not merely requirements but fundamental pillars guiding every design and implementation decision. Our approach ensures the highest standards of data protection:

  • End-to-End Encrypted Communication: All video, audio, and metadata transfers within Amazon Chime are rigorously encrypted in transit using industry-standard protocols like TLS/SSL, safeguarding sensitive patient interactions.
  • Precisely Scoped Credentials: Attendees are authenticated via dynamically generated tokens, meticulously scoped to each specific session. This ensures that access is strictly limited and temporary, minimizing potential vulnerabilities.
  • HIPAA-Ready Infrastructure: The entire infrastructure and all data handling processes are meticulously aligned with HIPAA best practices. Recording storage leverages encrypted S3 buckets, and access policies are stringently enforced through fine-grained AWS IAM controls, providing an uncompromised secure environment.
  • Robust Role-Based Access Control: Theracuity’s inherent role-based access control extends seamlessly to all telehealth features, guaranteeing that only authorized users can access specific functionalities and sensitive patient data, upholding the principles of least privilege.

Results & Impact

The implementation of this serverless AWS Chime solution has yielded transformative results for OBS and Theracuity users, showcasing OBS’s capability to deliver high-impact, innovative solutions:

  • Infrastructure-Free Scalability & Cost Optimization: OBS achieved a monumental feat by eliminating the need for provisioning, managing, and scaling persistent video servers. This drastically reduced operational overhead and complexity, translating directly into substantial cost efficiencies through a usage-based billing model. This demonstrates OBS’s ability to architect solutions that are both powerful and fiscally intelligent.
  • Unparalleled Seamless User Experience: Clinicians and patients now engage in secure video sessions directly through the intuitive Theracuity EHR interface with virtually imperceptible latency. This fosters a smooth, professional, and deeply integrated virtual care environment, a testament to OBS’s user-centric design philosophy.
  • Revolutionized Clinical Documentation: The solution provides comprehensive session metadata and high-quality recordings, readily accessible within the EHR. This supports meticulous quality reviews, streamlined charting, and significantly more accurate clinical documentation. Therapists now experience a profound reduction in administrative burden, allowing them to dedicate more time to patient care.
  • Strategic Foundation for AI Integration: Recorded sessions are automatically tagged, categorized, and processed, creating an exceptionally rich and structured dataset. This serves as a robust foundation for integration with advanced Natural Language Processing (NLP) and computer vision models, profoundly enhancing Theracuity’s AI-powered capabilities and demonstrating OBS’s foresight in building future-proof solutions.
  • Exceptional Reliability: The meticulously designed asynchronous processing pipeline, leveraging AWS SQS and Lambda, ensures that recording compilation is robust, resilient to transient errors, and highly reliable. This guarantees that invaluable session data is always processed, stored, and available, safeguarding critical information.

Lessons Learned

OBS gained invaluable insights during the development and deployment of this complex, cutting-edge solution, further solidifying our expertise in cloud-native development:

  • Mastering Distributed Session State: Effectively managing session state across distributed microservices demands unparalleled discipline, meticulous architectural design, and robust observability tools. This ensures absolute consistency and proactively prevents issues such as “ghost attendees,” a challenge OBS expertly navigated.
  • Leveraging AWS Chime SDK for Granular Control: The AWS Chime SDK offers sophisticated, fine-grained control, which proved indispensable for implementing complex workflows. This included intricate multi-party sessions, precise media capture, and seamless handoffs between various stages of the session lifecycle, showcasing OBS’s ability to harness powerful SDKs to their full potential.
  • The Power of SQS + Lambda for Asynchronous Processing: The combination of AWS SQS and Lambda emerged as a profoundly powerful and indispensable pattern for handling time-intensive, asynchronous tasks like recording compilation. This approach effectively mitigates API Gateway timeouts and significantly enhances overall system resilience, a core competency OBS brings to complex projects.

About OBS

Optimal Business Systems (OBS) is a custom software development and AI solutions provider specializing in healthcare, fintech, and enterprise automation. Theracuity is OBS’s flagship SaaS platform reimagining behavioral health EHR with intelligence, flexibility, and ease of use. OBS is dedicated to building intelligent, scalable systems that solve real business problems and drive momentum for industries.

Interested in transforming your health platform with cloud-native innovation?

Reach out at obs.software or schedule a discovery session. OBS is your partner in building the future of digital healthcare.