# HG changeset patch # User Sebastien Jodogne # Date 1432112320 -7200 # Node ID f02d68327265e783c782141f27d7fb20c2e1afee # Parent a9038907051316265d575a9ecca3684c2ebaa1fa fix US in QIDO diff -r a90389070513 -r f02d68327265 Core/DicomResults.h --- a/Core/DicomResults.h Tue May 19 13:05:57 2015 +0200 +++ b/Core/DicomResults.h Wed May 20 10:58:40 2015 +0200 @@ -52,9 +52,10 @@ AddInternal(&file, file.GetDataSet()); } - void Add(const gdcm::DataSet& dicom) + void Add(const gdcm::File& file, + const gdcm::DataSet& subset) { - AddInternal(NULL, dicom); + AddInternal(&file, subset); } void Answer(OrthancPluginContext* context, diff -r a90389070513 -r f02d68327265 Plugin/QidoRs.cpp --- a/Plugin/QidoRs.cpp Tue May 19 13:05:57 2015 +0200 +++ b/Plugin/QidoRs.cpp Wed May 20 10:58:40 2015 +0200 @@ -754,7 +754,7 @@ { std::auto_ptr result(new gdcm::DataSet); matcher.ExtractFields(*result, dicom, wadoBase, level); - results.Add(*result); + results.Add(dicom.GetFile(), *result); } } }