GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArgs

data class GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArgs(val characterMaskField: Output<CharacterMaskFieldArgs>? = null, val cleanTextField: Output<CleanTextFieldArgs>? = null, val cryptoHashField: Output<CryptoHashFieldArgs>? = null, val dateShiftField: Output<DateShiftFieldArgs>? = null, val keepField: Output<KeepFieldArgs>? = null, val paths: Output<List<String>>? = null, val removeField: Output<RemoveFieldArgs>? = null) : ConvertibleToJava<GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArgs>

Specifies the FHIR paths to match and how to handle the de-identification of matching fields.

Constructors

fun GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArgs(characterMaskField: Output<CharacterMaskFieldArgs>? = null, cleanTextField: Output<CleanTextFieldArgs>? = null, cryptoHashField: Output<CryptoHashFieldArgs>? = null, dateShiftField: Output<DateShiftFieldArgs>? = null, keepField: Output<KeepFieldArgs>? = null, paths: Output<List<String>>? = null, removeField: Output<RemoveFieldArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArgs

Properties

Link copied to clipboard

Replace the field's value with a masking character. Supported types: Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml

Link copied to clipboard
val cleanTextField: Output<CleanTextFieldArgs>? = null

Inspect the field's text and transform sensitive text. Configure using TextConfig. Supported types: Code, Date, DateTime, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml

Link copied to clipboard

Replace field value with a hash of that value. Supported types: Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml

Link copied to clipboard
val dateShiftField: Output<DateShiftFieldArgs>? = null

Shift the date by a randomized number of days. See date shifting for more information. Supported types: Date, DateTime

Link copied to clipboard
val keepField: Output<KeepFieldArgs>? = null

Keep the field unchanged.

Link copied to clipboard
val paths: Output<List<String>>? = null

List of paths to FHIR fields to redact. Each path is a period-separated list where each component is either a field name or FHIR type name. All types begin with an upper case letter. For example, the resource field "Patient.Address.city", which uses a string type, can be matched by "Patient.Address.String". Path also supports partialkk matching. For example, "Patient.Address.city" can be matched by "Address.city" (Patient omitted). Partial matching and type matching can be combined, for example "Patient.Address.city" can be matched by "Address.String". For "choice" types (those defined in the FHIR spec with the form: fieldx), use two separate components. For example, "deceasedAge.unit" is matched by "Deceased.Age.unit". Supported types are: AdministrativeGenderCode, Base64Binary, Boolean, Code, Date, DateTime, Decimal, HumanName, Id, Instant, Integer, LanguageCode, Markdown, Oid, PositiveInt, String, UnsignedInt, Uri, Uuid, Xhtml. The sub-type for HumanName (for example HumanName.given, HumanName.family) can be omitted.

Link copied to clipboard
val removeField: Output<RemoveFieldArgs>? = null

Remove the field.