HIPAA Without the Headache at Hinge Health: Simple PHI Governance With Fine Grain Access Control
Summary
- PHI governance simplified: Hinge Health adopted Unity Catalog's fine-grain access control to secure Protected Health Information with row filters and column masks, overcoming global hiring and scaling challenges.
- Compliance achieved: The solution enables HIPAA compliance without compromising flexibility and collaboration, securing sensitive health data for 11M+ members across 500+ employer health plans.
- Governance scalability: By implementing advanced access controls in Unity Catalog, Hinge Health simplified PHI governance without expanding the compliance team, enabling data teams to grow globally.
HIPAA Without the Headache at Hinge Health: Simple PHI Governance With Fine Grain Access Control

Talk by Alex Owen, Sr. Solutions Architect, Databricks ; Veera Mukkanagoudar, Manager, Engineering , Hinge Health
Hinge Health faced challenges in hiring global data teams due to the complexities of PHI (Protected Health Information) governance. Unable to hire without compliant data sharing and unable to scale PHI governance without a larger team, we overcame this chicken or the egg challenge by adopting Unity Catalog's Fine-Grain Access Control. In this video, we will share our journey migrating to Unity Catalog, securing PHI with row filters/column masks, lessons learned and how our efforts surpassed our own expectations. this video equips data teams with strategies for HIPAA compliance without compromising flexibility and collaboration. Hinge Health is the leading digital MSK clinic, serving 11M+ members and 500+ employer health plans offering virtual physical therapy to reduce pain, surgeries and opioid use.
Here’s more to explore:
Unified and open governance for data and AI: https://www.databricks.com/product/unity-catalog
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
FAQs
What is PHI and why is it important?
PHI (Protected Health Information) is any health information linked to an individual. It's governed by HIPAA in the US and other regulations, requiring careful security and access controls to avoid significant fines.
How did Hinge Health implement PHI governance?
Hinge Health migrated to Unity Catalog and implemented row filters and column masks for fine-grain access control, enabling secure data sharing while maintaining compliance with HIPAA requirements.
How many members does Hinge Health serve?
Hinge Health is the leading digital MSK clinic serving 11M+ members across 500+ employer health plans, providing virtual physical therapy to reduce pain, surgeries and opioid use.
What was Hinge Health's key challenge?
Hinge Health faced a "chicken or the egg" challenge: they couldn't hire global data teams without compliant data sharing, and couldn't scale compliance without a larger team. Unity Catalog solved this by automating governance.
Full transcript
Welcome to HIPPA without the headache. Simple PHI governance with fine grained access control. This is a forward-looking statement. I have not looked at it. Please complete your surveys. Leave out the AB part. All right. I'm a solutions architect here at Data Bricks. really excited to be presenting today for the second year in a row with my good friend. Hi, I lead data engineering at Hinge Health. Um yeah, we are talking about the PHI compliance how we dealt with it at Hinge Health.
All right, little bit about Hinge Health. Uh Hinge Health is MScape platform. All right, Hinge Health is a digital health platform for pain treatment. Uh we have easy to access uh uh mobile app where which you can use to do all your PT exercises anywhere anytime. It is backed by expert PTLE care team. Uh we also have we leverage uh AI and computer vision as a part of the app to boost the engagement and also to provide uh effective uh quality care.
Uh, hinge health has a non-additive pain relief treatment. Um, we also provide 2. 4 um 4x ROI on um on the members who use hinge health versus who don't. Um overall uh our mission is delivering uh cost effective quality care uh with data as a backbone improving product experiences and operational visibility. All right, let's talk about a little bit about uh what is PHI and why do we need to be compliant. Um so any part of uh adh health any part of health status care payment uh that can be linked to an individual is PHI and it is governed by HIPPA uh in overall US CCPA in California and we have other regulatory bodies uh in Europe like a GDPR.
U why it is uh there are number of struggles with handling PHI data. uh we have to understand uh different regulatory requirements. We have to implement entire data infra to meet those ch uh requirements. Second, uh it is additional cost on infrastructure. Uh so then if you get it wrong, if you take any shortcut, then it can lead up to few millions in terms of uh fine. Um this is really big deal um especially when you are growing company u and a startup.
U so there are number of uh data uh entities within PHI space in the hinge health context. Some of them we get from externally. For example, we have integrated with EHR systems where we get uh some of the member data which is which could be appointment which could be their uh physicians feedback etc. And some the other part is claims where claims has uh let's say a member or a non-hinge health member went to uh doctor and they did some msk uh procedure.
So we get all of that data eligibility hinge health is u has a member uh business to uh business business model where what that means is let's say you you have an employer u that employer has to provide hinge health as a perk. So once that happens we get all employees information um from the employer or the insurance um and rewards as members perform um activities on hinge health uh some we have some clients who uh who would like to provide rewards to their members or employees.
So we get all of that data internally uh throughout the all of member interactions have phr data. For example, as you use the platform, we have several questionnaireies uh injected as a part of the workflow where uh we want to know your current condition and how it was before you joined in once you perform an exercise all of that. Then exercise therapy sessions. So we have several uh sensors. So as you once you talk to coach on the platform, they recommend ED uh exercise therapy sessions where you have to perform some exercises.
Um so we capture all of that and then if you use sensors we have sensor data um messaging all the interactions to the coach happens uh it it happens via text uh video and audio so all of that is considered as PHI and it is it's all captured so okay uh you have all of that all of that data so why it is a big deal so we had we we had one unique challenge um So on um during covid-19 covid uh pandemic uh there was a huge demand for uh hingen platform.
So as a result uh more people needed uh virtual care. So in order to provide uh u uh care for more people we had to build more features. So in order to build more features we needed a bigger team. Uh we expanded our hiring within US. We made it remote but everyone was so everyone was hiring within US. So we ran into talent crunch. To keep up the pace, we had to think globally. So we expanded uh our hiring efforts to Canada and India, unlocking new talent pools that have helped us maintain product development momentum and grow our team across the time zone.
This global uh approach became key to scaling platform quickly, reliably uh when it mattered the most. This also led to this problem statement which is uh scalable PHI governance to enable strategic hiring fuel business growth and drive AI innovation. So little bit uh this is entire our uh this this is the journey of our entire PHI uh how how we are storing and what we are doing about it. Uh background um in 2022 we started migrating um all of our data to data bricks.
The previous version of uh dataway rouse was postgress based. Um so we we were around nearly 15 terabytes and we started hitting lot of challenges operational challenges in maintaining it. So we decided okay it's a time to move. Uh at that time uh we decided to go with data bricks u and I think at majority of 2022 we focused on building the data injection pipelines in u uh essentially a platform. As we started, I think once we started uh getting the data into data bricks, um we our users and all uh datab bricks users also uh grown significantly.
Uh it was like we grew as a company and it was like a hockeyistic growth. So one of the challenge was we had to implement some uh u uh framework where we can provision the users and also provide access u and u so uh as a solution I would like to talk about it. Okay so unity catalog has been a big part in the phi journey at hinge health and I think to understand the true value of unity catalog it's helpful to envision data bricks without it.
So let's think about every team needs some environment isolation from a dev stage prod perspective and we implement that in unity catalog or data bricks rather with separate workspaces and so each locally scoped workspace has some user management functionality has a hive meta store to manage our data and then we also have some compute so clusters SQL endpoints and things like that and so this has some inherent problems right off the bat so since we're locally scoped uh user management is duplicated between workspaces and then each workspace might have a different definition of user management.
So we have an inconsistent governance policy. The second problem, you guessed it, there's a silo. So we created some data silos between workspaces and makes it difficult to discover data. That makes it difficult to collaborate on data and it certainly makes it difficult to manage PHI. So Unity catalog on the other hand manages all this stuff at the account level. So we have a single unified governance layer on top of all of our workspaces.
And then from a metas store perspective, we can now share this data to each workspace based on arbback. Uh unique catalog also has a three-level namespace. So think catalog schema table and that lets us discover domain specific data. It lets us collaborate and most importantly it lets us flag PHI at a pretty high level. So now that we have moved our user management and our metadata to the account level and we can inherit different groups and user permissions in each workspace, we can start doing some really cool things like streamlining onboarding.
So now we're going to integrate Unity catalog groups with our octa groupoups. And this allows uh engineers who just joined the company to become immediately productive in data bricks. So as we're onboarding new engineers, we don't have to onboard them to data bicks as well. it just syncs and it's this really streamlined process. There's some other really cool benefits from this is that we can start enforcing octa governance principles in data bricks and I'm talking about like password complexity or multifactor authentication and so this has been really uh able to move the needle at Hinge Health especially as they're trying to rapidly grow their teams.
All right. So I'm struggling with the two screens. So imagine we have two uh workspaces. One is HIPPA, one is non-HIPA. Just imagine I'm struggling to present here. But uh imagine we have uh double the compute. Uh we have to provision ML compute, compute for analysis, compute for ETL, compute for edoc quering, edoc fixing. And then we have to um copy some of the by default all data lands into PHI space. So then uh because of the team we have uh where they need access to nonPHI.
So we implemented a process which would copy identify what is nonPHI and it copies data into u nonPHI space. So what this means is we have to maintain those processes and to we have to run those processes some of them as frequent as uh every few minutes as soon as the data lands. So what that means is it is also cost to run of run those. So the other challenge was um um we we embedded some of the fine grain data masking as a part of ETL.
So as we copy this data into uh from PHI space to nonPHI so it was not easy but we had to make it but uh that had a lot of challenges. Okay, so workspace catalog binding is a governance feature in data bricks where we can associate individual cataloges to only a workspace. And this has some pretty great benefits where you can isolate PHI data only to the workspace that needs it. And you also have some extra confidence that you're not leaking out PHI u by mistake.
And so uh the implementation at hinge health for migrating from these locally scoped hive meta stores to unity catalog looks something kind of like this. So the first thing we do is we move users groups and service principles up to the unity catalog level and then we're going to take two cataloges yes PHI no PHI and then we're going to start migrating those locally scoped hive meta stores up to unity catalog once we have the data securely in Unity catalog we can expose nonPHI to all the workspaces in a consistent fashion but we need to bind the PHI sensitive stuff to the prod workspace where we know we're going to be processing it and that way we have a smaller blast radius when we do need to expose this data.
It's sensitive and so just to very selected groups. So once we've migrated all these things up to Unity catalog, we've bound the workspaces, we can decommission the Hive meta store and we are a Unity catalog only shop. Pretty exciting. This was actually like we we had a party after we did this. This was a big deal. Okay. So now that we have a coarse grain strategy, we need a fine grain strategy to complement it. So rowle security and column masking is a way to restrict data from users based on their identity or the group that they belong to.
So with rowle security we're simply restricting the return rows of a query. But with column masking we're trying to redact all or some of an individual column. And typically this is implemented by two separate functions that are based on um the identity. So let's take a look at this example. We have who works in the HR department. She's a member of the HR group. So when she queries sensitive data, she sees all of it.
But when, who is not part of the HR group, queries it, we're going to have column masking redacting the social security number in the email. We can only redact the sensitive parts of it and we can also provide null values as a result of the function. Uh also when filter or when queries the sensitive rows will be filtered out. Uh it's also an important thing to note that neither nor own this functionality. Right? So this was a situation where would go to team and say hey this is the data that we need to expose to my team but not anyone else.
Can you please implement something for us so we can kind of enjoy the benefits of this fine grain access control. So the first iteration of doing this was in hive. So again, we have these is group member functions, which is really cool, but it's workspace local. And so we're creating uh a rowle uh uh filtering based on the manager uh user group. So they can only see um contracts over a million dollars where the auditors can see the full email.
Otherwise, we're going to um abstract or anonymize some of that. And so this has a couple challenges as well. Again, workspace local. So we're dealing with group memberships that may not be consistent between workspaces and so that creates a governance headache because it is inconsistent. There's also a tremendous management overhead of uh every time the data changes or business logic changes we have to go manually find a blast radius of this PHI and manually change the views.
Uh and that management overhead just was really preventing various team from scaling and meeting their business objectives. And then finally, there's a performance tax that you hit when you're creating views on every table or joining multiple tables together. And again, those joins could only be within the individual workspace. So, a lot of a lot of challenges was implementing this in Hive. All right, so we're going to go over to the Unity catalog side of the house.
And again, we're going to be using this same kind of is member functionality uh function. And so, but these are at the account level. So now we have consistent groups and we're able to again implement this with standard SQL but the real difference is we're creating functions not views and so these functions are something that we can apply um over different workspaces over different tables and in multiple columns in the same table.
So again we have something that's easy to use everyone understands it. It's something that's globally scoped, so it's consistent. And also, there's not that um that performance hit by creating yet another database object to manage. And so, this is really easy to just simply associate these functions with a table or a column with an alter tabled statement. And uh funny enough, you can actually access you have access control over the functions themselves.
So, there's user groups that can create functions, there's user groups that can use functions, and there's user groups that can't see the functions at all. So pretty interesting and this really moved the needle and helped Ver's team move quickly because we weren't managing so many database objects. So imagine I think this is really huge. Imagine where you are tying the mask policy with the role and regardless of how the data gets accessed whether it is by analytics cluster ETL cluster so this just locks it.
So yeah one less headache is gone. Um so the next problem um was uh we started landing all the data into database. So a lot of our consumers started asking hey where can I find the questionnaires which you saw where can I find the users or members uh um u uh ET session details or sensor data u like imagine we have thousands of tables. So as a team if it is 10th table uh a single team can go in and look into the table attributes and also the data and provide okay this is where you go and this is how you use but imagine doing that for thousand tables we needed to scale.
So that was one problem. Second um as we built uh processes uh we needed some sort of a access and audit logs. For example, uh we didn't uh we needed a process where uh to inform compliance if somebody comes and asks us who accessed this data and when and how often they accessed. So we uh all of that was captured in the cluster logs but it was very very uh complex and manual uh to get that information. Second um as we are building the platform, we always want to optimize the processes.
So it was very challenging to identify and identify what is which are which process are taking the most time and where we need to optimize. So those two were the key challenges as we grieve our platform. So as a solution um Alex Sure. So one really important part of a PHI strategy is collecting and using the right metadata. So there's a couple ways that we can, you know, I want to break this down and kind of help you understand the different aspects of where we're collecting it and how we're using it.
So table properties, this is where we can add PHI descriptions to table comments that live as table properties next to things like file location and file format and optimizations. And all this stuff shows up in our auditing, in our audit logs, in our automation. So it's surfaced through these kind of more global global workflows. Next, and this is probably most important, discovery tags. And this allows us to not only quickly discover PHI at the column level or table level, but we can tag clusters and workflows so we know where PHI is being processed.
Now we kind of shift gears into looking at things from a catalog single source of truth perspective. So Unity catalog provides telemetry tables at the account level that surfaces a lot of metadata around ownership, permissions, and even column level. So now we can start auditing things at the column level. We can see relationships and patterns between all these different players. And then finally, we have another table that sits at the Unity catalog level as a single source of truth for tracking column lineage and table lineage.
And so this is key for tracking PHI flows across pipelines, across notebooks, and it's critical to know where PHI is going and where it originated. So let's talk a little bit about centralized auditing. And again, I think it's helpful here to envision a pre-Unity catalog world. So with audit logging, it was based at the cluster level. So we have some cluster logs and we have to download those to S3, create yet another pipeline to make them usable for our compliance reporting.
And we have to do this for every cluster we have. And this just simply doesn't scale. Unity catalog on the other hand has system tables. These these tables that collect telemetry from almost all aspects of the platform where we can start querying by user activity, access timestamps, access descriptions, even environment changes. And this unlocks more robust reporting, the ability to make dashboards, set alerts, and even get insights from LLMs.
And I think one important caveat here is when you're working with PHI, it's not enough that you're auditing it and your team knows you're doing the hard work. You need some kind of vehicle to communicate that you are doing the right things to stakeholders, board members, and executives. Because it's one thing that team is is doing all the work, but if no one knows it or has confidence, it's kind of all for not. Okay, system tables are so cool.
They're one of my favorite features that I think they deserve another slide, right? So, we're able to connect the dots between all these different parts of the platform. So, I'm thinking like auditing lineage, query history, and all the tables that roll up for orchestration. So, if we map our ability to query and easily use system tables with SQL that pretty much everyone understands, I want to map that back to the impact, right?
So, I'm talking about querying by user action, all sorts of metadata. We can map our data access back to the individual data sources, the catalog, the schema, users, group, service principles, workflows, and then most importantly tracing that PHI through the system. And that unlocks like really good monitoring, auditing, alerts. We can start really doing proper analysis on this data, not just simply reporting on it. We can automate painful tasks that were, you know, unthinkable to automate two years ago.
And then finally we can start interacting with these tables with natural language with some of our AIBI features in data bricks. I'm thinking like AIBI dashboards. So I can't uh understate the importance of system tables here. Hi. I think we implemented so far uh all of this. So now our current challenge is uh imagine we have thousands of tables. When we started data bricks journey we started with around 15 data coming in from 15 to 17 data sources.
Now we are at hundreds uh if not more and as a result we have we have at least few thousand tables. So imagine uh tagging those uh tables. Okay, which one has a PHI? Which one has a PII and what other additional tags like questionary tags, exercise tags, member data versus eligible data. So it's it's a lot of work going through all of those tables. So as a solution so far what we have done is it's all manual work like we have identified few sets of tables we have done the tagging but it is a very manual um but but I think we are definitely looking forward to process uh where we can tag in automated way so I'll let talk about next okay so I think hing has a great PHI governance story but we're still relying on static roles and groups and We want to adopt as a forward-looking organization, we want to adopt something that's dynamic and flexible.
So, we want to start working with attribute-based access control. And that allows us to look at the attributes of both data and users and work with that together to make a more flexible and dynamic um management story. And this isn't something that, you know, we're going to throw arbback away. It's definitely arbback is a great foundation that we want to build on top of. And so when we think about how Aback is implemented in Unity catalog, it's three pillars.
We have our attributes that describe data and users. So I mean most importantly tags, but we can start thinking about job responsibility, location, time sensitivity for access. Then we also have some policies where this is just conditional rules that define access based on the attributes of the data and the user and possibly the time. And then finally inheritance and this is the most important one because this allows us to operate at scale.
So we can pass those rules down a hierarchy and they coexist right alongside arbback. And so let's think about an example like this. So we have a catalog that has a very permissive um u access pattern and then we have some sche we have a schema and we're going to apply a rule on top of that schema and then for every table that has phi tagged at the column level we're going to apply our column mask. So this prevents us from touching every table prevents us from touching every column. we can set this step at a higher level and let the hierarchy and the inheritance take over.
And so if we want to implement this with code, it might look something like this. So we're going to set our policy called column mask. We're going to set it on the schema sales prod. We're going to leverage our existing masking function that we talked about a few slides ago and we're going to roll this out to all users except for PHI admins. And so when the columns are tagged with PHI, we're going to apply our column mask.
And so Aback is something that we're going to tackle in the next quarter, but um it's something that can really help us work at scale at Henchin Health. Next, data classification. So we've made some pretty big strides moving from the Hive viewpoint of the world to the Unity catalog viewpoint of the world, but there's a couple pain points. So when new data arrives or new data elements pop up in existing tables, it's still super painful and manual to one like evaluate the blast radius of this PHI and what to do with it.
So we have to go back to the drawing board and say where's the PHI? What's going on? So the the data bricks Unity catalog approach to this is to provide automated classification and tagging. So, we're going to scan these tables and let an LLM decide what is PHI and what is not based on some established patterns. So, we're going to automatically scan these tables. We're going to classify it. We're going to add these tags without manual intervention.
Then, we can use those tags in arbback and Aback. And so, I want to reinforce the pattern here as we've gone through the journey with Hinge Health is that we're never going back to reinvent the wheel. We're never deprecating old stuff we don't need anymore. We're building a solid foundation and we continue to build on top of it until everything is automated except me of course. Um, another thing another cool thing about data classification scans is they're optimized for cost and performance.
So they keep state. So you're only scanning newly arriving data. You're not scanning the whole uh table every time. And even when a table is scanned is decided on an LLM that's running under the covers. Each scan comes with a data uh a dashboard monitor so you can see how PHI is changing over time and you also get notifications when sensitive data is arriving. And so since these are suggestions based by an LLM you also have the freedom to accept those uh suggestions or change them later which is I think a pretty important part of this.
So these are all kind of these last two Aback and data classification are the things that we're going to tackle in the future and I'm really excited to keep working with Ver and his team. Thank you. So few key takeaways uh in last from LA 2022 all the way until now uh from PHI perspective uh non-standard way of uh solving costs more. Everyone knows in general data infrastructure costs a lot. um compared to the application stack because we have to maintain all data for a given company and it is constantly changing we have to stream all changes and etc.
So in this case uh what we did was when we didn't have the masking capability we implemented uh views and processes where we copied the data from PHI space to nonPHI so it was not standard but uh we went ahead because that was the need of the hour but in it ended up costing us some money uh or uh so and there were few other things we did which was not standard so that ended up costing more on data bricks infra So find uh like always adapt to the best practices uh so that you want to keep the cost low.
Uh second one is leverage native tooling. Uh as we rolled out in one of the challenge was u people consumers started asking hey where can I find questionaire data? Where can I find exercise data sensor data? So we want we went ahead with one of the vendor who uh to manage our uh metadata. Um but the challenge there with that tool was uh there was no uh automated uh description population based on the uh based on the data that we have and team had to manually generate all the tags uh information what table means what data source what does it mean from product con context from data context um from and we also had to do that for every column.
So imagine doing that for thousands of columns. So it is not scalable. Uh so that is other key takeaway. Uh wherever possible adopt dynamic processes. Don't build processes for a table specific or set of table specific. So try to build a masking capability. Um define the mask for a given column and apply it to wherever it lives so that all the roles can um leverage that. So try to build dynamic processing. Um and the last one which is very important one is iterate and build on existing functionality.
Focus on the foundational work. Like for example when we started uh implementing data bricks we started with provisioning all the provisioning would happen through terapform. So fast forward 3 years we don't worry about how things get provisioned. We don't worry about who changed what cluster configuration and we are we went ahead with octa. we don't worry about now how the uh user got the access to particular data set or particular table or compute uh then yeah I think focus on the foundational things um instead of building oneoff solution uh that will that way you don't have to worry about it few few years down the line u so the entire data engineering uh the state of current data engineering at hal it wouldn't have been possible with the great team we have at uh at Hinge Health.
Uh special shout out to Raja. He's one of our staff engineer uh who uh led the Unity catalog migration and has been adding features uh on data bricks. Um yeah, with that u thank you all for everyone for coming over.
Learn more about the Databricks Data and AI platform.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.