<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=490755098261949&amp;ev=PageView&amp;noscript=1">

:tada:2024 WEBBY WINNER: The Crate & Barrel mobile app won a Webby Award!

Maya

Frame 296

Heady created a polished mobile app and powerful research tool for a top medical school, giving doctors the ability to provide tailored treatment for patients’ mental health concerns, right through their phone screens.

Group 1308-1

Group 1296

screen
DEPARTMENTS
  • Strategy
  • Product Management
  • Development
  • Design
PLATFORMS
  • iOS App
DURATION
  • Initial Development: 10 months
  • Maintenance: Ongoing

Partner

As one of the nation’s leading medical schools, Weill Cornell Medicine is on the cutting edge of psychiatric research — and their technology needed to be, too.

Group 1286 (1)-1

Founded in New York City in 1898, the institution has been at the forefront of numerous medical breakthroughs such as the development of the Pap smear and the first successful human heart transplant in the U.S. 

Today, Weill Cornell Medicine remains committed to advancing medical knowledge and improving patient outcomes by pairing its robust research programs with a forward-looking approach to adopting new tech — including putting people’s increased reliance on smartphones to good use.

Partner

Problem Statement

Weill Cornell Medicine needed a mobile app that used tried-and-true therapeutic modalities to simulate the in-person therapy room experience.

Group 1282 (1)

By making cognitive behavioral therapy (CBT) accessible to patients within an easy-to-use mobile app, they’d be able to treat more people and advance their research to treat depression, anxiety, and other mental health struggles in new ways. We weren’t starting from scratch, though:

An app that aimed to do just that had already been built by Weill Cornell’s IT department. Before the Maya app was built, Weill Cornell Medicine had to bring people in for face-to-face sessions to conduct their research; the app enabled them to provide treatment and conduct research via mobile rather than IRL. 

Group 1282

But as the psychiatry department put it into use in their research programs, they realized it was falling short in a few key areas:

It lacked flexibility and the ability to customize its programs for different groups of people. Mental health is hardly a one-size-fits-all issue, and Weill Cornell needed a dedicated partner to build a more dynamic mobile app that could provide uniquely tailored treatments. That’s where Heady came in.

Problem Statement 2
Strategy

Strategy

Delivering a mobile app that would fulfill Weill Cornell’s wishlist meant beginning with a robust discovery phase. To understand the client’s needs and ensure our build would provide them with all the desired features and capabilities, we first had to understand the nuances of CBT and how they could best be applied to a mobile app.

What is CBT?

Cognitive behavioral therapy is a psychological treatment method that has been proven to be effective for a variety of mental health issues including anxiety and depression.

It involves identifying and changing negative thought patterns and behaviors, leading to improvements in functioning and quality of life.

What is CBT_

Opportunities

There were two key areas of opportunity for Heady to make an impact by redesigning the Maya app.

The first was the more immediate challenge ahead of us: building a custom platform that would allow Weill Cornell’s psychiatric department to create an infinite number of customizable therapeutic programs in order to conduct effective research studies and serve their patients. The second was broader and even more ambitious: building an app that would ultimately make CBT more accessible to a larger population, and improving their lives by giving them a new way to manage anxiety, depression, and other mental health challenges — one that fit in their pocket. 

Opportunities

Strategic Challenges

To provide effective treatment for patients and facilitate the best mental health research, the client needed to be able to tailor the app to its users. 

The old Maya app had a one-size-fits-all program featuring 12 static CBT sessions to be completed in order, which wasn’t ideal: Humans all have their own unique challenges, and Weill Cornell needed to design various programs to suit them, as well as to determine what kind of exercises would be the most effective.

Strategic Challenges 1

The previous app was also hard-coded, meaning if they wanted to change something as simple as text or an image, they were required to push out a new build.

They needed a flexible solution that allowed them to make changes within programs and update in real time, instead of spending time to go through the entire update process in the App Store (and forcing patients to constantly update to the latest app version). So while an earlier version of the Maya app already existed, we didn’t build off of it: Instead, we used it as a jumping-off point to create something more dynamic and flexible.

Strategic Challenges 2

The Heady Difference

Weill Cornell Medicine’s psychiatry department needed an expert tech partner who could build a native mobile app from scratch — and one who could also grasp the unique nuances of working with the healthcare industry (more broadly) and a medical school that is largely funded by donors
(more specifically). 

The Heady Difference screen

At Heady, our ability to deeply understand the intricacies of industries other than our own and solution-engineer alongside their experts allows us to create the best digital products that solve our clients’ biggest challenges.

Product Management

Product Management

Collaboration

The Heady team worked hand-in-hand with Weill Cornell’s psychiatry department in order to bring the new Maya app to life. We also collaborated with their IT department to work out the technicalities of hosting certain services on their own servers, such as the storing of users’ sensitive information.

As psychiatrists at a busy medical school without its own product department, the clients needed us to be able to self-manage the project without a lot of handholding. We communicated via daily email check-ins and weekly meetings to share designs and mockups, receive feedback, and align on the product roadmap.

Collaboration

Feature Requirements

For the new Maya iOS app, Weill Cornell aimed to provide patients with a unique and powerful therapeutic tool that would use CBT techniques to help them address mental health challenges from anywhere using their mobile device.

They needed the ability to create new programs on their own, without having to involve a technology partner on a day-to-day basis. To conduct effective research, they needed to be able to segment users into cohorts, or groups of users that were taking the same program. They also wanted to implement a notification system that would encourage users to keep returning to the app, as well as a reporting feature so they could measure the app’s effectiveness as part of their research studies.

Feature Requirements

How Does the Maya App Work?

After downloading the app, the onboarding flow prompts the user to enter an invitation code, which they obtain as research study participants or by completing a self-assessment quiz. Then they gain access to a series of sessions designed to help them manage their mental health concerns. These sessions are composed of three key components:

Group 1285-1 Learn

An educational section offers valuable insights and techniques for mitigating stress and anxiety.

Group 1285-1-1 Practice

Users are then prompted with a practical exercise that allows them to apply what they've learned.

Group 1285-2 Review

A brief multiple-choice quiz helps to reinforce the concepts covered in each session.

Through a methodology that’s constantly being adjusted and updated, users are able to take control over their mental health and start their journey to feeling better with the guidance of Weill Cornell Medicine’s psychiatrists.

Design

Design

Before moving into the design phase, it was essential that we deeply understood the needs of Weill Cornell’s psychiatric department as well as the needs of their patients and 
research subjects.

While the client had a previous app for us to draw inspiration from, it lacked the customizability that was so central to the new version of Maya. 

Heady’s design team had to rethink the UX of the app from the ground up to ensure a seamless experience for the app’s current as well as future state. The resulting Maya app has a clean, polished, and simple look that prioritizes user experience above all else.

Screenshot 2023-03-20 at 10.53-2

Design Approach

A crucial overall goal of the Maya app was flexibility; specifically, giving Weill Cornell’s therapists the ability to modify and evolve their exercises and programs according to user needs. 

We accommodated this from a design perspective by using a modular approach, creating key screens (such as an introductory screen, multiple choice answer screens, and exercise complete screen) that can be customized and combined in numerous ways in order to enhance the therapy experience.

Design Approach

Another major area of design focus was on beautiful animations and transitions to gamify the in-app CBT experience, including microinteractions to highlight users’ success when they complete an exercise, and colorful badges and graphs that show users’ progress at a glance. Strategically using these elements together with our modular designs created a pixel-perfect, motivating user interface to keep users engaged and moving forward with their program.

Development

Development

Frontend & Backend POV

When it came to the frontend of the Maya app, our primary goals were to build a framework that would be easy to maintain and make it simple for the client to add new programs and/or cohorts.

Each program had to be unique, and building a framework that gave the client the ability to swap out individual cartridges and lessons would create infinite program options. At the same time, the user interface needed to provide user-friendly interactions for a wide audience.

Development 1

Besides HIPAA compliance, it was also important to ensure the highest level of security to safeguard user data and third-party library keys through measures like foolproofing the app for jailbroken iPhones, SSL pinning, and end-to-end encryption.

On the backend, we focused on building the necessary APIs to serve the frontend as well as creating microservices for important functions (namely, notifications and gamification) that worked independently from the rest of the app, allowing us to make any needed updates without disrupting the entire architecture. Behind the scenes, we also had to create automated reporting capabilities to track user and overall program performance. Reports needed to be generated for all programs and users and delivered to administrators for daily download via email and secure directory.

Development 2

Technical Challenges

Customizable Therapy Programs

In order to run effective research studies, Weill Cornell’s psychiatric department needed to be able to quickly and easily adjust programs within the app and add new ones on the fly. 

Technical Challenges

In its previous form, the Maya app was hard-coded, meaning the programs were not customizable and making any changes required the help of their IT department.

We had to devise a solution that would allow someone with minimal technical know-how to make changes to the app’s therapeutic programs while also keeping the other biggest technical hurdle in mind...

Technical Challenges

HIPAA Compliance

Another major technical hurdle was ensuring HIPAA compliance for user data while allowing seamless integration with frequently updated content that didn't need to be compliant.

HIPAA Compliance

The Health Insurance Portability and Accountability Act sets federal standards for protecting certain health information. It’s a critical consideration for healthcare-related mobile apps that collect, store, and transmit protected health information about patients or users. 

Apps must implement safeguards to secure personal health information. HIPAA compliance is essential to maintain trust with users as well as to avoid legal penalties, and it was key to building a successful app for Weill Cornell.

HIPAA Compliance

Technical Solutions

We Built a Custom CMS to Provide the Ultimate Flexibility

Heady’s proprietary application management system, AMS, played a vital role in giving Weill Cornell the flexibility they needed with the Maya app. AMS allowed us to create templates for exercises that the Weill Cornell team could use to create an infinite number of new programs. Within each template, the client could add, remove, or rearrange exercises before publishing them to the users.

Technical Solutions 1

AMS provided the flexibility of creating dynamic codes for each program on the run, which was previously a completely manual process. This was a game-changer for Weill Cornell, as they could now create as many programs as they wanted with minimal manual effort. Adding media content like audio and video to exercises also became much easier for them since it was no longer hard-coded into the app.

Technical Solutions 1

We Built a HIPAA-Compliant App That Utilizes Existing Infrastructure

The solution involved using the HIPAA compliant infrastructure already in place at Weill Cornell to store user data, while the program content was served from separate servers. Anonymizing certain data points and matching up personally identifiable information during report generation allowed for compliance while keeping Weill Cornell’s identity provider on-premise. The login/registration/forgot password flow was implemented using AWS Cognito to avoid managing external authentication services, with user IDs stored in the backend to map data back in the reporting tool.

The solution involved using the HIPAA compliant infrastructure already in place at Weill Cornell to store user data, while the program content was served from separate servers.

Technical Solutions 2

Anonymizing certain data points and matching up personally identifiable information during report generation allowed for compliance while keeping Weill Cornell’s identity provider on-premise.

The login/registration/forgot password flow was implemented using AWS Cognito to avoid managing external authentication services, with user IDs stored in the backend to map data back in the reporting tool.

This efficient approach meant we utilized Weill Cornell’s existing infrastructure and they didn’t have to switch to an unfamiliar cloud platform to manage their user base. We could’ve built a HIPAA complaint system from the ground up for them with AMS, but instead we devised a solution to get the two systems to work together. The Heady approach is to solution-engineer by keeping what’s good and then building the rest, instead of throwing everything out and starting from scratch.

Technical Solutions 2

Technologies & Partners

screen

AMS

Heady’s proprietary content and feature management platform, AMS, played a vital role in the Maya app project. AMS serves as a single hub for managing and personalizing applications, and it was perfectly suited to give Weill Cornell the ability to easily add new programs to their app without having to rewrite them  every time.

Technologies & Partners

Solutions & Features

Heady built a powerful custom platform for Weill Cornell Medicine’s psychiatry department, including an iOS app and a robust CMS, that leverages their existing infrastructure and crucially, maintains HIPAA compliance.

Here are a few of the key features we built for the Maya app:

Cohorts

We gave Weill Cornell the ability to segment users into cohorts, or groups of users enrolled into the same program — an essential function for conducting effective research studies. When a user first opens the app, they enter a code they’ve been assigned by the psychiatric department, then the platform adds the user to the appropriate cohort.

Within AMS, we also created a mechanism for the client to identify which cohort a particular user should be mapped to. This is based on whether they’re a clinical study participant using a code they were given, or a patient who has completed an in-app self-assessment and needs to be placed into the appropriate program.

Cohorts

Reporting

A robust reporting feature was essential in order for Weill Cornell’s psychiatric department to track users’ progress and measure the effectiveness of specific programs as well as the app’s overall impact on users. 

Reports contain information such as how much time an individual user has spent in the app and how many exercises they’ve completed, and user data is grouped by cohort so programs can be measured effectively. Being able to see individual users’ progress is important for research, so in order to maintain HIPAA compliance we built a microservice that mapped users’ personal identifiable information (PII) with their user IDs stored in the database. Reports are first generated from our Amazon Web Services (AWS) account and pushed to the client’s cloud storage. Then, we set up an AWS Lambda function that mapped the user IDs back with the PII data and exported it as a CSV file to the client, ensuring that users’ sensitive data is kept confidential.

375_iOS_MyProgress Details 1

Gamification

In order to keep users engaged and returning to the app, we needed to gamify the programs. In addition to badges that awarded to users as they progress through their program, we also created two different versions of scoring to see which one would better incentivize users:

One deducts points from users who don’t complete exercises on time, while the other only awards points each time a user successfully completes an exercise  on time.

Gamification

Results & KPIs

Weill Cornell Medicine got exactly what they needed: a dynamic new mobile app that elevates the capabilities of their psychiatric department by giving them a ton of flexibility in providing CBT-based therapeutic programs.

 A built-in reporting feature enables them to measure the effectiveness of their programs, further aiding in their research efforts, and it’s all done in full HIPAA compliance — a crucial component for any healthcare platform.

The Maya app is currently being used both internally by Weill Cornell Medicine and in partnership with other healthcare facilities and universities.

Measuring individuals’ levels of anxiety and depression before and after using the app has indicated a positive impact on users’ mental health. For now, the Maya app is a tool to aid with clinical research, but eventually it will be available to the general public, democratizing access to CBT like   never before.

Results & KPI 1-1

At Heady, long-term client relationships are everything to us, and our partnership with Weill Cornell Medicine is no different.

At Heady, long-term client relationships are everything to us, and our partnership with Weill Cornell Medicine is no different. We’re currently in maintenance mode, but a digital product is never truly finished: Once sufficient data has been gathered from the current studies that are underway, we’ll learn from the feedback and identify improvements to be made, ensuring that the Maya app continues to best serve the needs of its users.

Results & KPI 2-1

You might also like

Hibbett City Gear

Heady built a proprietary raffle system for athletic retailer Hibbett Sports, democratizing hyped sneaker launches while supporting an award-winning omnichannel shopping experience.

Heyday

Heady created bespoke digital applications for modern skincare experts Heyday, building a fresh-faced, omnichannel solution that stands out in the beauty space.

LET'S TALK IT OUT.

Figuring out your next step? We're here for you.

Or drop us a line.

hello@heady.io