Knowledge of security labels is not optional. If you’re handling FHIR data, you’re expected to understand them and act on them. You can’t plead ignorance.
You’ll find them in the meta.security element of any FHIR resource. Each one tells you something about how that data has to be handled.
Some are about confidentiality, from unrestricted to very restricted. A very restricted label might mean a VIP patient, or psychiatric notes that can’t be shared without explicit permission.
Some are about purpose of use. An example is clinical trial data that shouldn’t be treated like regular clinical data.
Some tell you what to do with the data. If it’s labeled delete after use, you shouldn’t store it – not even in an audit trail.
Some identify AI-generated resources, and others are custom labels created and used internally for specific purposes such as multi-tenancy.
The FHIR server won’t do any of this for you. It stores the labels and returns them as part of a FHIR resource. That’s it.
Most apps never look at them. I’ve seen large projects across many countries and jurisdictions where not a single application checked a security label. In some of those jurisdictions, ignoring them comes with legal penalties.
Imagine psychiatric notes coming in from a partner hospital, labeled R for restricted. The app stores them like any other document. By the next morning, every clinician with access to the patient can read them, and the overnight sync has copied them into the analytics warehouse.
So the data gets used when it shouldn’t be, seen by people who shouldn’t see it and kept long after it should have been deleted.
Signs to look for:
- No code anywhere that reads meta.security
- Labels dropped when data is transformed or copied to another system
- Access control based only on resource type and user role
- Resources labeled delete after use still in the server, backups or logs
---
I work with teams on a project, retainer or fractional basis. Learn more →