Method: projects.locations.datasets.deidentify

Creates a new dataset containing de-identified data from the source dataset. The metadata field type is OperationMetadata.

HTTP request

POST https://healthcare.googleapis.com/v1alpha/{sourceDataset=projects/*/locations/*/datasets/*}:deidentify

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
sourceDataset

string

Source dataset resource name. (e.g., projects/{projectId}/locations/{locationId}/datasets/{datasetId}).

Request body

The request body contains data with the following structure:

JSON representation
{
  "destinationDataset": string,
  "config": {
    object(DeidentifyConfig)
  }
}
Fields
destinationDataset

string

The name of the dataset resource to which the redacted data should be written (e.g., projects/{projectId}/locations/{locationId}/datasets/{datasetId}). The new dataset must not exist, or the request will fail.

config

object(DeidentifyConfig)

Deidentify configuration

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-healthcare
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

DeidentifyConfig

Configures de-id options specific to different types of content. Each submessage customizes the handling of an https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are applied in a nested manner at runtime.

JSON representation
{
  "dicom": {
    object(DicomConfig)
  },
  "fhir": {
    object(FhirConfig)
  },
  "image": {
    object(ImageConfig)
  }
}
Fields
dicom

object(DicomConfig)

Configures de-id of application/DICOM content.

fhir

object(FhirConfig)

Configures de-id of application/FHIR content.

image

object(ImageConfig)

Configures de-identification of image pixels wherever they are found in the sourceDataset.

DicomConfig

Specifies the parameters needed for de-identification of DICOM stores.

JSON representation
{
  "whitelistTags": [
    string
  ]
}
Fields
whitelistTags[]

string

Tags to be whitelisted, e.g. "PatientID", "0010,0010". Any tag that is whitelisted will copied as-is. All other tags will be omitted.

FhirConfig

Specifies how de-identification of a FHIR store should be handled.

ImageConfig

Specifies how de-identification of image pixel should be handled.

JSON representation
{
  "redactAllText": boolean
}
Fields
redactAllText

boolean

If true, all text found in the image is redacted.

このページは役立ちましたか?評価をお願いいたします。

フィードバックを送信...