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

Request to apply the Consent resources for the specified FHIR store.

Attributes

  • patientScope (type: GoogleApi.HealthCare.V1beta1.Model.PatientScope.t, default: nil) - Optional. Scope down to a list of patients.
  • timeRange (type: GoogleApi.HealthCare.V1beta1.Model.TimeRange.t, default: nil) - Optional. Scope down to patients whose most recent consent changes are in the time range. Can only be used with a versioning store (i.e. when disable_resource_versioning is set to false).
  • validateOnly (type: boolean(), default: nil) - Optional. If true, the method only validates Consent resources to make sure they are supported. When the operation completes, ApplyConsentsResponse is returned where consent_apply_success and consent_apply_failure indicate supported and unsupported (or invalid) Consent resources, respectively. Otherwise, the method propagates the aggregate consensual information to the patient's resources. Upon success, affected_resources in the ApplyConsentsResponse indicates the number of resources that may have consensual access changed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.HealthCare.V1beta1.Model.ApplyConsentsRequest{
  patientScope: GoogleApi.HealthCare.V1beta1.Model.PatientScope.t() | nil,
  timeRange: GoogleApi.HealthCare.V1beta1.Model.TimeRange.t() | nil,
  validateOnly: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.