DX procedure_code_meaning not being sensibly populated

Issue #268 resolved
David Platten
created an issue

The _generalstudymoduleattributes part of the DX extractor routine tries to obtain the procedure_code_meaning:

    g.procedure_code_meaning = get_value_kw('ProtocolName',dataset) # Being used to summarise protocol for study
    if not g.procedure_code_meaning: g.procedure_code_meaning = get_value_kw('SeriesDescription',dataset)

If ProtocolName isn't present then the extractor uses the SeriesDescription instead.

I think it would be more sensible for this to use StudyDescription rather than SeriesDescription, as this is study-level data.

This has come about because I've noticed that some of my radiographic data could be labelled better when ProtocolName is missing.

Comments (5)

  1. Log in to comment