Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

Measurements not loaded into measurement tab when reopening study

Open Stormert opened this issue 7 years ago • 6 comments

Hi

Have been doing some testing against google Healtcare API. When i make a length measurement it shows up in the measurement tab on the right hand side, and you can add description and label. When i close the study and open it again however the measurement tab is empty, although the measurements do appear in the CT images and when i right click to change description it have stored the previous one correctly.

And just some followup questions, Where is the labels fetched from and can this list be edited? Also how is this sent to and stored in the Healtcare API?

Stormert avatar Jul 29 '19 12:07 Stormert

Where is the labels fetched from and can this list be edited?

It's in the code here: https://github.com/OHIF/Viewers/blob/a3405e7a9ebea018690805b36790f97c557fbdc5/src/components/Labelling/OHIFLabellingData.js

There isn't an easy way to configure this yet. You'll have to modify the code and rebuild. We would be happy to review a PR to allow it to be configured.

Also how is this sent to and stored in the Healtcare API?

It isn't. Not yet, at least. We plan to add use DICOMWeb's STOW-RS to send DICOM Structured Reports back, but it isn't implemented yet.

swederik avatar Jul 29 '19 18:07 swederik

OK, thanks! So the measures that i can now see when reopening a study are only cached locally then? Is getting this stored to the Healtcare API anywhere on the priority list currently? Looking into getting some measurements out and stored to a database and not sure if i should fetch them straight from the viewer or from the Healtcare API after they have been saved.

Stormert avatar Jul 31 '19 12:07 Stormert

Not near future, but we would be more than happy to provide guidance and review pull requests to add that functionality for would-be contributors.

dannyrb avatar Jul 31 '19 12:07 dannyrb

Good to know, thanks. I will have a look into it, I have not done much javascript development at all so this might be out of my league currently. If you have any potentialy helpfull resources or tips easily accessible feel free to toss them in here else i will get back here if and when i get to looking at this.

Stormert avatar Jul 31 '19 13:07 Stormert

@swederik any rough scope/guidance you can provide for hopeful code champions?

dannyrb avatar Jul 31 '19 13:07 dannyrb

Keeping this as our triage issue: #758

We'll create a new issue with scope/guidance in our next triage meeting.

dannyrb avatar Aug 26 '19 16:08 dannyrb