How should I interpret is_national_data_opted_in?
In production, most patients are expected to be opted in for national data sharing. Studies are therefore typically not limited to a small subset of the population.
The is_national_data_opted_in field follows an explicit opt-out model.
Value meaning and study guidance
Section titled “Value meaning and study guidance”| Value | Meaning | Study guidance |
|---|---|---|
true | Patient is opted in to national data sharing | Include |
false | Patient has explicitly opted out via National Data Opt-Out | Exclude |
Key points
Section titled “Key points”- Only explicit opt-outs are flagged as
false. - Most patients are not opted out nationally.
- In production,
NULLis not expected. As a defensive fallback, treatNULLas not opted in.
Recommended study filter
Section titled “Recommended study filter”Include only explicit opt-ins:
WHERE COALESCE(is_national_data_opted_in, FALSE) = TRUEThis includes TRUE and excludes both FALSE and any unexpected NULL.