XNAT Ohif viewer measurement delete - not working

24 views
Skip to first unread message

PSS Team

unread,
Nov 14, 2025, 12:14:40 AMNov 14
to xnat_discussion
Hello XNAT team, 

I recently updated the ohif viewer plugin to version 3.7.2. However after updating the measurements (line, angle and bidirectional) are not getting deleted from the exported collections. 

Replication senario:
1. Open an image session in XNAT Ohif viewer
2. draw a few (may be 3 or 4) line measurements. 
3. Name the collection as "test" 
4. Export "test" collection. should present with a toast message as exported successfully
5. Reload the viewer page from browser
6. Import "test" collection 
Tried two different senarios as next step:
7a. Click on the trash icon next to a measurement in an imported collection (assumption this would delete the measurement from the collection)

Screenshot 2025-11-14 at 9.49.41 AM.png
 this removes the measurement from the screen display. however, when I reload the page and try import, the "test1-updated" collection is still there. 

7b. senario 2: Click on the lock symbol next to the measurement in the import collection.
Screenshot 2025-11-14 at 9.57.58 AM.png
This brings the measurement to an "unlocked" state to In-progress measurements section, 
Screenshot 2025-11-14 at 9.59.35 AM.png
 long press the measurement to pull the options below the measurement, however if try to delete the measurement by clicking on the trash icon showed above, I could not update/save the measurement to export.
Screenshot 2025-11-14 at 10.00.35 AM.png

8. After either of the above methods, the measurement is not deleted and re-appears after refreshing the page and importing again. 

Any help or work around is appreciated. 

Thanks
PSS team.

 











Simon Doran

unread,
Nov 14, 2025, 3:56:17 AMNov 14
to xnat_discussion
Hi PSS Team,

  Thanks for the issue report. We will take a look at this today and try and understand where the issue is coming from.

  Best wishes,

Simon

PSS Team

unread,
Dec 2, 2025, 12:00:28 PM (10 days ago) Dec 2
to xnat_discussion
Hello Simon, 

Checking in to see if you had a chance to replicate the issue on your end ? Do you have any timeline for releasing a fix ?

Thanks
Giresh

PSS Team

unread,
Dec 11, 2025, 1:49:40 PM (yesterday) Dec 11
to xnat_discussion
Hello XNAT team,

Hope this email finds you well, I'm sorry to bother you with the update on this, we have a time crunch on a deliverable that is dependent on the ohifviewer plugin's ability to perform measurement (CRUD) operations. 

As an alternate option, Is there an XNAT API endpoint that can delete a measurement marked on the viewer, we can add a wrapper or create a work around by directly calling the delete endpoint to delete the measurement marking via our own custom code. Thanks for all the help, please advise on this. 

Best
PSS Team

Mo Al Sa'd

unread,
Dec 11, 2025, 6:57:10 PM (23 hours ago) Dec 11
to xnat_discussion
Hi PSS Team,

The delete button removes the measurement collection from the panel and viewport - only from the frontend. It does not trigger removing the collection from the backend archive/database.

I think it would be a nice feature to display a dialog offering the user an option to remove the collection from the backend too.

To remove the collection from the backend, please use this API endpoint:
/xapi/roi/projects/{projectId}/collections/{idOrLabel}
curl -X DELETE "http://{xnat_host}/xapi/roi/projects/{projectId}/collections/{idOrLabel}"

Kind regards,
Mo
Reply all
Reply to author
Forward
0 new messages