Full name: projects.locations.datasets.fhirStores.deidentify
De-identifies data from the source store and writes it to the destination store. The metadata
field type is OperationMetadata
. If the request is successful, the response
field type is DeidentifyFhirStoreSummary
. If errors occur, error
is set. Error details are also logged to Cloud Logging (see Viewing error logs in Cloud Logging).
HTTP request
POST https://healthcare.googleapis.com/v1/{sourceStore=projects/*/locations/*/datasets/*/fhirStores/*}:deidentify
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
sourceStore |
Required. Source FHIR store resource name. For example, |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "destinationStore": string, "config": { object( |
Fields | |
---|---|
destinationStore |
Required. The name of the FHIR store to create and write the redacted data to. For example,
|
config |
Deidentify configuration. Only one of |
gcsConfigUri |
Cloud Storage location to read the JSON |
resourceFilter |
A filter specifying the resources to include in the output. If not specified, all resources are included in the output. |
skipModifiedResources |
If true, skips resources that are created or modified after the de-identify operation is created. |
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.
FhirFilter
Filter configuration.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
resources |
List of resources to include in the output. If this list is empty or not specified, all resources are included in the output. |
Resources
A list of FHIR resources.
JSON representation |
---|
{ "resources": [ string ] } |
Fields | |
---|---|
resources[] |
List of resources IDs. For example, "Patient/1234". |