Modify OHIF so that it is able to gracefully manage multiple measurements files
One of the significant limitations within OHIF v2 is that it is only able to load annotations from a single DICOM-SR file. To enable a more robust annotations system with support for grouped sets of measurements (timepoints) and multiple types of measurements, it is necessary for OHIF to be able to track data from multiple documents and display them aggregated within the Measurements panel.
Requirements:
- Be able to load and aggregate DICOM-SR annotations from multiple documents into a cohesive set of data points for display within the "Measurements" side panel.
- Update the measurements service so that it can serve as a centralized service for parsing/persisting annotation data.
- Parsing workflow:
- DICOM-SR documents are parsed to measusrement data and added to displaySets via DCM.js through an "SOP Class Handler".
- The Sonador Viewer measurement service takes the DICOM-SR annotations parsed from DCM.js and converts the structure of the data to "annotation data" using Cornerstone3D Adapters.
- Once an annotation has been parsed from the DICOM-SR measurement, a "service mapping" translates the annotation data to a measurement instance. Measurements serve as an agnostic representation of the data which can be converted to one of ultiple "measurement representations."
- Subsequent changes to a measurement instance are broadcast to subscribed components for display.
- Parsing workflow:
Moving parsing logic to the SOP class handler, allowing for the raw SR data to be added to a displaySet, and parsing all "measurements" instances in a study together allow for any potential number of SR documents to be added and displayed via the Measurements service.
Project Tracking
OP#141
Edited by Sonador Claude
