I’ve been working on a Meteor app for a hospital and naturally, HIPAA compliance was a requirement. We decided to use TrueVault to store all PHI, but the challenge was figuring out how to interact with TrueVault in a Meteor-way. Ultimately, I decided to write a package to accomplish this.

You can find the package on Atmosphere along with instructions on how to use it.

How does it work?

It uses a client-only collection to mirror the user’s TrueVault data and when changes are made to the client-only collection, the updates are sent to TrueVault automatically. Additionally, it also has server-only methods to allow custom implementations.

To use TrueVault with Meteor, it’s now as easy as:

TrueVault.insert({ some: “thing” });

Check it out, feedback is welcome.