DX procedure_code_meaning not being sensibly populated
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)
-
reporter -
Is this change compatible with the changes made for
#194? I think it probably is - just want to make sure we aren't undoing the changes made previously! -
reporter This shouldn't affect
#194- it will just populate procedure_code_meaning with a more appropriate value if one is available. -
Thanks
-
reporter - changed status to resolved
I've been using this on my live system and it appears to work.
- Log in to comment
Updated dx extractor to use
StudyDescription
ifProtocolName
is not available. IfStudyDescription
is not available then it falls back toSeriesDescription
. References issue#268→ <<cset a446db82a57b>>