Open vitorpamplona opened 3 years ago
Size is only a real concern for QR codes. We don’t envision transferring FHIR bundles using QR codes.
Well, I transfer FHIR payloads with QR all the time. That's what SmartHealth Cards does. Everyone in the US is using it.
Size is only a real concern for QR codes
That doesn't mean you should neglect it. And not really. NFCs and BLE have package size limitations as well. I know because our app also transfers W3C VCs via Bluetooth. Size is key.
Since FHIR field names are not manually minimized like the DCC's two-char field names are, it's important that the conversion to CBOR reduces them down to save space and fit into the QR/NFC/Bluetooth package sizes. An automated way to do it is by running through a CBOR-LD processor.
CBOR-LD allows for the use of verbose field names and field values because it turns them into an indexed map before creating the CBOR file and only writes the indexes of that map into the QR/NFC/Bluetooth packages, achieving compression results of over 95% in field-heavy bundles.