My goal with Orthanc is to anonymize DICOM instances from a PACS, send them to another PACS, and maintain a lookup table for reference. However, I’m encountering two issues:
Initially, I tried anonymizing entire patients, and while the anonymization process completed, the profile I had configured didn’t seem to affect how the patient data was modified.
I then tried anonymizing individual instances using the REST API. However, when I do this, the API returns no errors, but it also returns an empty string and doesn’t create any anonymized resource on the server.
Do you have any advice on how to resolve these issues or best practices for achieving this workflow?
When you call RestApiPost("/instances/" .. instance.ID .. "/anonymize",jsonProfile), you get the anonymized instance in the response (the instance is not modified in Orthanc). But, you can POST the anonymized instance to /instances to ingest it again in Orthanc.
But, if you call /anonymize at the patient/study/series level, the resources are modified in Orthanc → that’s very likely the way to go. So you should investigate/debug your case 1 issues.
Hi,
Okay, so i will import all my DICOM from a patient and then i will anonymize it.
But I still have the problem that, whatever the jsonprofile I use, the dicoms don’t have the good tags after their anonymization.
And one more question, do orthanc offers a way to anonymize DicomRT in the right way ?