FHIR Batch Delete Based on a List of Resource IDs in Google Cloud Healthcare API
@nicain 已經在處理了。
開始於 2024年7月8日。
評估
這個 Issue 還沒有評估資料。
描述
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
The issue you're having must be related to a file in this repository. We are unable to provide assistance for issues unrelated to samples in this repository.
Please include as much information as possible:
Is your feature request related to a problem? Please describe.
I'm working on a project using the Healthcare API FHIR Storage and I'm frustrated by the difficulty of deleting all resources for a customer. The current samples include a delete_resource() function, but due to data integrity constraints in FHIR Storage, I cannot directly delete a resource if it is referenced by another resource.
Describe the solution you'd like.
I created a function called batch_delete() that receives a list of resource IDs to be deleted in a single transactional call to the Healthcare API. This function will delete all specified resources at once, ensuring transactional integrity in the FHIR Storage.
Describe alternatives you've considered.
I have tried using the delete_resource() function from this sample, but I encountered issues due to integrity constraints.
Additional context.
My idea is to contribute to this repository by creating the batch_delete() function. Additionally, I could develop a batch_deletion_by_patient_id() function, which would be highly beneficial.
Thanks!
- 主要語言
- Jupyter Notebook
- 星號
- 8.1k
- 分支
- 6.7k
- 平均合併
- 4 天 4 小時
- 30 天內合併 PR
- 8
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
GoogleCloudPlatform/python-docs-samples 的其他 Issue
-
samples
難度 2/5 1-3 小時 新手友好度 88/100
-
samples
難度 1/5 1 小時以內 新手友好度 92/100
-
samples
難度 2/5 1-3 小時 新手友好度 88/100
-
samples
GoogleCloudPlatform/python-docs-samples#14117 · 已指派 1 人 ·
-
samples
GoogleCloudPlatform/python-docs-samples#14091 · 已指派 1 人 ·