OpenImaging / miqa-phase1

A web application for medical imaging quality assurance
MIT License
20 stars 8 forks source link

Add to scan metadata and/or notes every time a user reviews a scan #104

Open curtislisle opened 3 years ago

curtislisle commented 3 years ago

Per Kilian/Jim on 4/28/21 meeting -

scottwittenburg commented 3 years ago
  • If the reviewer rates it 'bad', a note is generated

So far we don't ever generate notes, to my knowledge. But in order to make the "bad" button available, a reviewer has to add characters to the note field, which then become the first note for that scan.

If the previous reviewer left a note marking the image as good, that would be enough to enable the "bad" button too, which probably isn't the right behavior.

jeffbaumes commented 3 years ago

If the previous reviewer left a note marking the image as good, that would be enough to enable the "bad" button too, which probably isn't the right behavior.

Yeah, I'm concerned about this potential regression.

It was suggested that an additional column could be added to the CSV export that includes the complete metadata record, then Kilian could simplify and process how he wants to upload to XNAT in the short term. (This solution is favored by Curt because it is seems like it gives flexibility and requires a small (correct?) engineering effort.

It's not too involved and we should move toward that longer term, but if we converted the column to something like a JSON list it might end up being more to maintain short term and more iteration than a quick fix on the note field. I lean toward quick-fixing the note field specifically for his use case and handling the more general export and adapter design in v2.

How about this implementation:

One more note: Kilian indicated that for his use case he would like to see XNAT terms like "Usable" and "Questionable" instead of "Good" and "Bad".

Below is a potential log, where first line is a note, second is a Good button press, third is Bad button press that required a rationale.

Nah it's ok; AJ(2021-04-07) [Note]
AJ(2021-04-07) [Usable]
It's blurry; JB(2021-04-05) [Questionable]
curtislisle commented 3 years ago

I like the note suggestion and concur that it is likely to be easier to add the note functionality than the metadata extra CSV column.