microsoft / fhir-server

A service that implements the FHIR standard
MIT License
1.2k stars 517 forks source link

Conditional delete on FHIR store coming as 404 - method not found #2891

Closed nehaghub closed 2 years ago

nehaghub commented 2 years ago

Describe the bug When i am deleteing patient observation based on the conditional delete ( i am using status='final'). I am getting 404 method not found.

image

FHIR Version? R4

To Reproduce Steps to reproduce the behavior:

curl --request DELETE \ --url 'https://healthcare.googleapis.com/v111/proj/sales/locations/us-central1/datasets/poc/fhirStores/data/fhir/Observation/?status=final' \ --header 'Authorization: Bearer ya29.a0Aa4xrXMtnayBrbiI94KDzTBJgo1I8eVpmDlRZ8eZ-RkfO-6S2EM6oH2WQcVaYeP_ESHFPDmAwxvWsnCfDJRt5jGunQswMW7PyiFusPdZE_ZflOv4zVeWsGgAthycW23EpQCzj6K8do4u5Yl0mq3ayX1YwA_mMrjkK-YFX2KX9GK3goa0X_Y2UaY5k7PnNSQayXNejCESctq2fUkXtEQWDxRu8_laIAs99DaX4Fe5sB9V-XM3R1G5bEx7U_eX9FAV1PtWs2EaCgYKATASARASFQEjDvL95THl8sGpKV7bvtkPo_TzSA0270'

Expected behavior all the observation that has status = final should be deleted. Actual behavior 404 method not found is coming

Kindly help me to resolve this issue.

Thanks, Neha

AB#97577

brendankowitz commented 2 years ago

curl --request DELETE --url 'https://healthcare.googleapis.com/v111/proj/sales/locations/us-central1/datasets/poc/fhirStores/data/fhir/Observation/?status=final'

Perhaps Google don't implement this?

See our information on Conditional delete here: https://learn.microsoft.com/en-us/azure/healthcare-apis/azure-api-for-fhir/fhir-rest-api-capabilities#conditional-delete

EXPEkesheth commented 2 years ago

Closing the issue. If you have additional questions, please reopen