User Data stored to another HIPAA compliant database.
userPII:{
id123:{
name:'john doe',
address:'...',
etc:'...',
}
}
Encrypt the id123
id
$newId = someEncryptiongTool('id123', 'salt');
User records stored in firebase
some-secret-records:{
$newId:{ // the encrypted id
foo:'bar',
biz:'baz'
}
}