View Source GoogleApi.HealthCare.V1beta1.Model.ApplyAdminConsentsRequest (google_api_health_care v0.50.1)
Request to apply the admin Consent resources for the specified FHIR store.
Attributes
-
newConsentsList
(type:GoogleApi.HealthCare.V1beta1.Model.AdminConsents.t
, default:nil
) - A new list of admin Consent resources to be applied. Any existing enforced Consents, which are specified inconsent_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 hasdisable_resource_versioning=true
and this list contains a Consent resource that exists inconsent_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: Whendisable_resource_versioning=true
, the result is identical to the current resource(s) in the FHIR store. Whendisable_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. -
validateOnly
(type:boolean()
, default:nil
) - If true, the method only validates Consent resources to make sure they are supported. Otherwise, the method applies the aggregate consent information to update the enforcement model and reindex the FHIR resources. If all Consent resources can be applied successfully, the ApplyAdminConsentsResponse is returned containing the following fields:consent_apply_success
to indicate the number of Consent resources applied.affected_resources
to indicate the number of resources that might have had their consent access changed. If, however, one or more Consent resources are unsupported or cannot be applied, the method fails and ApplyAdminConsentsErrorDetail is is returned with details about the unsupported Consent resources.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.HealthCare.V1beta1.Model.ApplyAdminConsentsRequest{ newConsentsList: GoogleApi.HealthCare.V1beta1.Model.AdminConsents.t() | nil, validateOnly: boolean() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.