Send feedback
Method: fhirStores.deidentify
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
POST https://healthcare.googleapis.com/v1/{sourceStore=projects/*/locations/*/datasets/*/fhirStores/*}:deidentify
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters
sourceStore
string
Required. Source FHIR store resource name. For example, projects/{projectId}/locations/{locationId}/datasets/{datasetId}/fhirStores/{fhirStoreId}
.
Request body
The request body contains data with the following structure:
JSON representation
{
"destinationStore" : string ,
"config" : {
object(DeidentifyConfig
)
} ,
"gcsConfigUri" : string ,
"resourceFilter" : {
object(FhirFilter
)
} ,
"skipModifiedResources" : boolean
}
Fields
destinationStore
string
Required. The name of the FHIR store to create and write the redacted data to. For example, projects/{projectId}/locations/{locationId}/datasets/{datasetId}/fhirStores/{fhirStoreId}
.
The destination dataset must exist.
The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported.
The destination FHIR store must exist.
The caller must have the healthcare.fhirResources.update permission to write to the destination FHIR store.
config
object(DeidentifyConfig
)
Deidentify configuration. Only one of config
and gcsConfigUri
can be specified.
gcsConfigUri
string
Cloud Storage location to read the JSON cloud.healthcare.deidentify.DeidentifyConfig
from, overriding the default config. Must be of the form gs://{bucket_id}/path/to/object
. The Cloud Storage location must grant the Cloud IAM role roles/storage.objectViewer
to the project's Cloud Healthcare Service Agent service account. Only one of config
and gcsConfigUri
can be specified.
resourceFilter
object(FhirFilter
)
A filter specifying the resources to include in the output. If not specified, all resources are included in the output.
skipModifiedResources
boolean
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
JSON representation
{
// Union field filter
can be only one of the following:
"resources" : {
object(Resources
)
}
// End of list of possible types for union field filter
.
}
Fields
Union field filter
.
filter
can be only one of the following:
resources
object(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[]
string
List of resources IDs. For example, "Patient/1234".
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-30 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-04-30 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-30 UTC."]]