Skip to content

Libraries for SMART Health Cards

Josh Mandel edited this page Dec 1, 2021 · 3 revisions

What are good libraries for working with SMART Health Cards

For the most part, you can implement SMART Health Cards using a library for JWS and a library for QR codes, and stitching things together from there (see below). But we do have a few examples of "swiss army knife" style libraries for SMART Health Cards:

What are good libraries for QR generation?

You'll need a library that supports generating multi-segment QRs, and allows control over the encoding mode for each segment. Here are some libraries that folks in the community have used:

How can I debug QRs to check symbol size, error correction, etc?

What are good libraries for JWS?

You'll need a library that supports binary payloads, and not just JSON payloads. Most JWS libraries handle this, but libraries limited to JWT do not.