View Source GoogleApi.HealthCare.V1beta1.Model.ConsentConfig (google_api_health_care v0.50.1)

Configures whether to enforce consent for the FHIR store and which consent enforcement version is being used.

Attributes

  • accessDeterminationLogConfig (type: GoogleApi.HealthCare.V1beta1.Model.AccessDeterminationLogConfig.t, default: nil) - Optional. Specifies how the server logs the consent-aware requests. If not specified, the AccessDeterminationLogConfig.LogLevel.MINIMUM option is used.
  • accessEnforced (type: boolean(), default: nil) - Optional. If set to true, when accessing FHIR resources, the consent headers will be verified against consents given by patients. See the ConsentEnforcementVersion for the supported consent headers.
  • consentHeaderHandling (type: GoogleApi.HealthCare.V1beta1.Model.ConsentHeaderHandling.t, default: nil) - Optional. Different options to configure the behaviour of the server when handling the X-Consent-Scope header.
  • enforcedAdminConsents (type: list(String.t), default: nil) - The versioned names of the enforced admin Consent resource(s), in the format projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}. For FHIR stores with disable_resource_versioning=true, the format is projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}. This field can only be updated using ApplyAdminConsents.
  • version (type: String.t, default: nil) - Required. Specifies which consent enforcement version is being used for this FHIR store. This field can only be set once by either CreateFhirStore or UpdateFhirStore. After that, you must call ApplyConsents to change the version.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.HealthCare.V1beta1.Model.ConsentConfig{
  accessDeterminationLogConfig:
    GoogleApi.HealthCare.V1beta1.Model.AccessDeterminationLogConfig.t() | nil,
  accessEnforced: boolean() | nil,
  consentHeaderHandling:
    GoogleApi.HealthCare.V1beta1.Model.ConsentHeaderHandling.t() | nil,
  enforcedAdminConsents: [String.t()] | nil,
  version: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.