Azure / apiforfhir-migration-tool

OSS migration tool for migrating data from Azure API for FHIR to Azure Health Data Services
MIT License
2 stars 6 forks source link

False negative error messages associated soft-deleted resources #44

Closed UmarMohamedUsman closed 7 months ago

UmarMohamedUsman commented 7 months ago

Describe the Issue

While migrating data from API for FHIR to AHDS FHIR service, ran in to following issue.

When running the import off of the data exported from the API for FHIR instance with includeAssociatedData=_history,_deleted, found that soft-deleted resources trigger errors (when fetching the status of the completed import operation, they are noted under "errors" and create log files in the storage account complaining about duplicate resources). However, there are no issues with the resources it lists - the resources are properly flagged as soft-deleted with full and correct version history.

These are false negative error messages when you import soft-deleted resources.

Please provide guidance through document explaining the scenario and state these are false negatives. Also can we consider changing the severity of these messages from error to warning message?

evachen96 commented 7 months ago

Thanks for submitting Umar, the FHIR server team has been notified and they have released a fix in OSS FHIR server. It will be included in the next FHIR managed service release: https://github.com/microsoft/fhir-server/pull/3768

UmarMohamedUsman commented 7 months ago

Awesome, thanks Eva!