View Source GoogleApi.HealthCare.V1.Model.DateShiftConfig (google_api_health_care v0.50.1)

Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination.

Attributes

  • cryptoKey (type: String.t, default: nil) - An AES 128/192/256 bit key. The date shift is computed based on this key and the patient ID. If the patient ID is empty for a DICOM resource, the date shift is computed based on this key and the study instance UID. If crypto_key is not set, then kms_wrapped is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if kms_wrapped is set.
  • kmsWrapped (type: GoogleApi.HealthCare.V1.Model.KmsWrappedCryptoKey.t, default: nil) - KMS wrapped key. If kms_wrapped is not set, then crypto_key is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if crypto_key is set.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.HealthCare.V1.Model.DateShiftConfig{
  cryptoKey: String.t() | nil,
  kmsWrapped: GoogleApi.HealthCare.V1.Model.KmsWrappedCryptoKey.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.