GoogleApi.HealthCare.V1beta1.Model.FieldMetadata (google_api_health_care v0.38.2) View Source

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


  • action (type: String.t, default: nil) - Deidentify action for one field.
  • paths (type: list(String.t), default: nil) - 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 "", which uses a string type, can be matched by "Patient.Address.String". Path also supports partial matching. For example, "" can be matched by "" (Patient omitted). Partial matching and type matching can be combined. For example, "" can be matched by "Address.String". For "choice" types (those defined in the FHIR spec with the form: field[x]), use two separate components. For example, "deceasedAge.unit" is matched by "Deceased.Age.unit". Supported types are: AdministrativeGenderCode, Code, Date, DateTime, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml. The sub-type for HumanName, such as HumanName.given or, can be omitted.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.HealthCare.V1beta1.Model.FieldMetadata{
  action: String.t() | nil,
  paths: [String.t()] | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.