Closed DiCanio closed 3 years ago
Feasibility counts returned from each site need to be get obfuscated. This ensures that for very low counts (<10) no further data can be inferred.
How to obfuscate? Given a feasibility count fc we can get the obfuscated feasibility count o_fc like so:
fc
o_fc
o_fc = (fc - (fc % 10) + 10)
This calculation is aligned with what has already been implemented for the aktin-broker. It can be seen here: https://github.com/num-codex/codex-deploy/blob/main/num-node/aktin-client/client-exec-scripts/call-flare.sh
When to obfuscate? Always, right before storing the measure report within the site's own FHIR store. However, it must be possible to disable obfuscation through a flag within the settings.
Feasibility counts returned from each site need to be get obfuscated. This ensures that for very low counts (<10) no further data can be inferred.
How to obfuscate? Given a feasibility count
fc
we can get the obfuscated feasibility counto_fc
like so:This calculation is aligned with what has already been implemented for the aktin-broker. It can be seen here: https://github.com/num-codex/codex-deploy/blob/main/num-node/aktin-client/client-exec-scripts/call-flare.sh
When to obfuscate? Always, right before storing the measure report within the site's own FHIR store. However, it must be possible to disable obfuscation through a flag within the settings.