How to provide consent for specific resources

Consider a use case where - Patient A wants to give consent only for specific resources lets say for AllergyIntolerance and DiagnosticReport.

How can we achieve this using JSON of resourceType-Consent, a sample file/ links for such examples would be helpful

In many cases, the data would be referenced by LOINC/SNOMED Code instead of the specific resource type. So, you could set Consent.provision.code for 48765-2 for allergy information. That will filter all allergy and related conditions, rather than only those in the specific Resource.

However, if you wish to do specific Resources, Consent.provision.class has all the resources in a value set. You can list those you wish to have specifically managed via that element. The element is 0…* so you can have as many Resources as necessary in one Consent record.

1 Like