githubEdit

Building secure telehealth applications: implementation guide

This guide walks you through implementing essential features for your telehealth platform using Whereby's video API and SDK.

Whether you're building a new telehealth application or enhancing an existing platform, this guide covers the critical components needed to deliver secure, accessible, and user-friendly video consultations.

circle-check

The guide focuses on the four most important components identified across successful telehealth implementations: reliable video infrastructure, accessibility compliance, user experience optimization, and integration capabilities that support clinical workflows.

Prerequisites

Before implementing the features covered in this guide, ensure you have:

  • A Whereby Embedded account with API access

  • Basic knowledge of JavaScript/React development

  • Understanding of HIPAA compliance requirements for healthcare applications

  • Familiarity with web accessibility standards (WCAG 2.1 Level AA)

  • Development environment set up with Node.js and npm/yarn

Required Setup:

  • Node.js 14+ installed

  • A text editor or IDE

  • Web browser for testing

  • HTTPS-enabled development environment (required for video features)

Getting Started

This guide assumes that you’ve already created a Whereby embedded account and a meeting room to join with your web app. If you’ve not already taken these steps, you can do so by following the Whereby Embedded initial setup guide.

Implementing Core Telehealth Features

Accessibility-First Design Implementation

Improving accessibility in telehealth design enhances usability for all users. Telehealth platforms must be inclusive of patients with disabilities, and Whereby is WCAG 2.1 Level AA compliant. This section highlights the implementation of WCAG 2.1 Level AA compliance features to boost universal usability.

Core Accessibility Features:

  1. Enable live captions and transcriptions: If you want to use Live Captions or Transcriptions for all of your meetings, you can enable it globally for your account. Go to “Configure” → “Transcription” section of your Dashboard and enable accordingly. You can enable these on a per-room basis by making a POST /meetings request. Here is an example for enabling Live Captions:

  2. Implement keyboard navigation: Keyboard shortcuts can be enabled (or disabled) within the settings of a Whereby room. Enter the room, click the Settings cogwheel icon, navigate to the Advanced settings tab, and toggle on. Users can also disable our single-key shortcuts if they prefer, as these might interfere with other shortcuts users have set. You can find our list of keyboard shortcuts in our Accessibility guide.

  3. Configure highlight speaker features: The highlight active speaker feature is especially helpful for users who rely on visual cues. It visually identifies who’s speaking, making it easier to follow conversations.

circle-exclamation

Advanced UI/UX Customization for Clinical Workflows

By default, Whereby is built with patient engagement in mind because we want our partners to experience ease when it comes to managing their clients’ virtual care.

circle-check

Effective telehealth interfaces require careful attention to visual hierarchy and user experience that supports clinical decision-making rather than hindering it.

Customizing Video Layouts:

  1. Implement minimalist clinical interface:

  1. Configure video fatigue reduction:

Waiting Room and Patient Flow Management

With Whereby's virtual Waiting Room feature, you can mirror the experience of traditional medical office waiting rooms.

Setting Up Virtual Waiting Rooms:

  1. Configure waiting room: You can create a waiting room experience for your participants by making sure the room is created as locked during the API request. You do this by setting the isLocked property to true:

circle-exclamation
  1. Add meeting timers for clinical efficiency:

  1. Utilize our webhooks to create a queuing system. See more here: Tracking room events with Webhooks

Recording and Transcription

Clinical documentation is a critical but time-consuming aspect of healthcare delivery. Manual transcription of telehealth consultations is not only labor-intensive but also prone to errors that can impact patient care continuity and regulatory compliance. Healthcare organizations implementing automated clinical documentation see an improvement in provider satisfaction and significant reduction in after-hours administrative work.

  1. Set up Cloud Recording: To ensure that recording is enabled, refer to the Whereby REST API documentationarrow-up-right to specify your desired recording.type equal to cloud. If you choose cloud recording type, we recommend that you setup your Amazon S3 account and configure the provider equal to s3 as the recordings destination for the meeting room.

  2. Set up Session Transcriptions: Create the room with POST /meetingsarrow-up-right request and specify the transcription options of your choice. In the "destination.provider" option, we recommend that you choose "s3". Please refer to the POST /meetingsarrow-up-right API reference docs for further "destination" configuration options.

  3. Handle recording consent and privacy: We recommend that the person who is starting the recording (i.e the host) to get consent from all participants before starting a recording. This can be a simple verbal consent upon the meeting starting.

Security and Compliance Implementation

HIPAA Compliance Configuration

Ensure your telehealth platform meets healthcare privacy and security requirements while maintaining optimal user experience. HIPAA compliance isn't optional; it's a fundamental requirement that affects every aspect of your telehealth platform's design and operation. Security features also become competitive advantages when marketing to enterprise healthcare clients.

  1. Configure secure rooms:

    1. In the API request set isLocked: true

    2. Set the room namearrow-up-right pattern in the API request roomNamePattern = uuid

    3. Disable RTMP live streamingarrow-up-right and room integrations by including the following in your POST creation requests:

  2. Encryption: There is no action required to enable encryption in transit as it is already enabled and available for all customers, regardless of whether they are using the Whereby Embedded HIPAA compliant package or not.

  3. Audit information: Whereby Embedded customers may require to audit their suppliers based on their internal policies but also to showcase that they have ensured they are using HIPAA compliant products and services.

    To support the HIPAA compliance of our customers, we will gladly provide our ISO27001 certificate and our HIPAA compliance checklist, which documents how Whereby complies with specific HIPAA rules . For further information, reach out to your Whereby contactarrow-up-right.

  4. More HIPAA-compliancy: We have a more in-depth guide on having a HIPAA compliant setup in the next guide, HIPAA compliant setup.

Performance Optimization for Healthcare

Healthcare delivery requires consistent performance across diverse network conditions and geographic locations, ensuring that critical medical consultations aren't compromised by technical limitations. We have several features to ensure quality connections.

  1. Optimize for low-bandwidth scenarios: Whereby has an audio-only mode so users can join sessions with their videos turned off to help minimize bandwidth usage during poor network conditions. This way, the appointment can still be facilitated.

  2. Implement connection monitoring: Turning on the pre-call ceremony will conduct a live device and network connectivity test for the participant before they join the call. For example, the following component would ensure users see the pre-call review step and see the pre-call device and connectivity test:

    To better understand issues during ongoing calls, we also have an in-call diagnostics feature. With this, you get a panel that provides a detailed overview of every participant’s meeting quality during sessions. To use this feature, you can use the following component: callQualityMonitoring=on

  3. Global mesh network utilization: Whereby has a global mesh network that connects users to their closest servers to ensure reliable connections, even in low-bandwidth scenarios. This is done by setting "roomMode": "group" instead of "normal" on room creation.

See Also

Last updated

Was this helpful?