question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How do I enter free text in a TID 1501?

See original GitHub issue

In row 12 of TID 1501 it appears that text entries can be added to the object; the Content Item Description for this line states Allows encoding a flat list of name-value pairs that are coded questions with coded or text answers, for example, to record categorical observations related to the subject of the measurement group. A single level of coded modifiers may be present.. What is the recommended way to add these values?

If I create a MeasurementsAndQualitativeEvaluations object containing QualitativeEvaluations of the sort

    text_item = QualitativeEvaluation(
        name=CodedConcept(
            value='121071',
            meaning='Finding',
            scheme_designator='DCM',
        ),
        value=CodedConcept(
            value=text,
            meaning='Finding',
            scheme_designator='DCM',
        )
    )

this will work (and pass SR validation) until the size of the text exceeds 16 characters (after that there is an exception in coding.py). This may also be considered an abuse of CodedConcept? Or perhaps there is a way to include aTextContentItem but I don’t see the way to do this.

The use case is to permit free text additions to an SR by a radiologist for findings not present in the original SR generated by the model output. These text findings are at coded anatomic finding sites.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
fedorovcommented, Oct 20, 2021

This feature will be helpful for us in the future as well, thanks for bringing this up @seandoyle! When we worked on the PI-RADS family of templates, we deliberately made the decision not to codify everything that the guidelines mention or allow to capture - that would be an enormous effort, and the guidelines are under-defined, requiring interviews and iterations with the domain experts to identify and finalize the codes. Codifying makes sense when the concepts are well-established and there is broad consensus for the specific use case. Otherwise, this is (at least for some use cases) a huge and potentially counterproductive effort.

I understand that allowing free text opens the door for not using the codes at all, but I think this is a better evil than significantly increasing the complexity of the template and introducing coded concepts that have not reached consensus, and also completely removing the possibility of describing something that cannot be anticipated and is not covered by the codes.

0reactions
hackermdcommented, Oct 20, 2021

Implementing this in a backwards compatible way could get a bit messy. We’d probably need to create a new, alternative TextQualitativeEvaluation, or similar, and then accept Sequence[Union[QualitativeEvaluation, TextQualitativeEvaluation]] for the qualitative_evaluations parameter of the measurement group constructors. It’s also true that currently the parsing API won’t return content items of value type TEXT for the get_qualitative_evaluations method

We could call those TEXT content items “descriptions” rather than “evaluations” and add a descriptions parameter to the constructor as well as a corresponding get_descriptions method to the class.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Structured Reporting Templates (Normative)
TID 1501 Measurement and Qualitative Evaluation Group ... This Template groups measurements and/or qualitative evaluations into a Measurement Group. Each ...
Read more >
1501 By-Pass Road- Heber Springs,AR 72543 - Crye-Leike
Call Toll-Free: 866-253-4666; Text: 931-292-2793; Email: eCustomerCare@crye-leike.com. Hi, Are you curious about this property?
Read more >
Technical Framework Supplement AI Results - IHE International
TID 1500 includes TID 1001 and TID 1002, where (121005, DCM, "Observer Type") can be set. 715 to (121006, DCM, "Person"), and details...
Read more >
DICOM Correction Proposal
Log Summary: Add Table Value Type for DICOM SR. Name of Standard ... Free text, narrative description of ... TID 1501 ROW 10...
Read more >
Add support for qualitative slice-level SR annotations #2797
DICOM allows capturing such annotations in SR using TID 1500, specifically using its subordinate template TID 1501 rows 1, 10b and 11.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found