newConsentsList property
A new list of admin Consent resources to be applied.
Any existing enforced Consents, which are specified in
consent_config.enforced_admin_consents
of the FhirStore, that are not
part of this list will be disabled. An empty list is equivalent to
clearing or disabling all Consents enforced on the FHIR store. When a FHIR
store has disable_resource_versioning=true
and this list contains a
Consent resource that exists in consent_config.enforced_admin_consents
,
the method enforces any updates to the existing resource since the last
enforcement. If the existing resource hasn't been updated since the last
enforcement, the resource is unaffected. After the method finishes, the
resulting consent enforcement model is determined by the contents of the
Consent resource(s) when the method was called: * When
disable_resource_versioning=true
, the result is identical to the current
resource(s) in the FHIR store. * When disable_resource_versioning=false
,
the result is based on the historical version(s) of the Consent
resource(s) at the point in time when the method was called. At most 200
Consents can be specified.
Implementation
AdminConsents? newConsentsList;