Class GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata
Specifies the FHIR paths to match and how to handle the de-identification of matching fields.
Implements
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1beta1.Data
Assembly: Google.Apis.CloudHealthcare.v1beta1.dll
Syntax
public class GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata : IDirectResponseSchema
Properties
CharacterMaskField
Replace the field's value with a masking character. Supported types: Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml.
Declaration
[JsonProperty("characterMaskField")]
public virtual CharacterMaskField CharacterMaskField { get; set; }
Property Value
Type | Description |
---|---|
CharacterMaskField |
CleanTextField
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.
Declaration
[JsonProperty("cleanTextField")]
public virtual CleanTextField CleanTextField { get; set; }
Property Value
Type | Description |
---|---|
CleanTextField |
CryptoHashField
Replace field value with a hash of that value. Supported types: Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml.
Declaration
[JsonProperty("cryptoHashField")]
public virtual CryptoHashField CryptoHashField { get; set; }
Property Value
Type | Description |
---|---|
CryptoHashField |
DateShiftField
Shift the date by a randomized number of days. See date shifting for more information. Supported types: Date, DateTime.
Declaration
[JsonProperty("dateShiftField")]
public virtual DateShiftField DateShiftField { get; set; }
Property Value
Type | Description |
---|---|
DateShiftField |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
KeepField
Keep the field unchanged.
Declaration
[JsonProperty("keepField")]
public virtual KeepField KeepField { get; set; }
Property Value
Type | Description |
---|---|
KeepField |
Paths
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
. Partial matching is supported. For example, Patient.Address.city
can be matched
by Address.city
(with 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 format field[x]
), use two separate components. For example, deceasedAge.unit
is matched by
Deceased.Age.unit
. The following types are supported: 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.
Declaration
[JsonProperty("paths")]
public virtual IList<string> Paths { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
RemoveField
Remove the field.
Declaration
[JsonProperty("removeField")]
public virtual RemoveField RemoveField { get; set; }
Property Value
Type | Description |
---|---|
RemoveField |