Mercurial > hg > orthanc-dicomweb
changeset 17:f02d68327265
fix US in QIDO
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 May 2015 10:58:40 +0200 |
parents | a90389070513 |
children | d3dc9727c51e |
files | Core/DicomResults.h Plugin/QidoRs.cpp |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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,
--- 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<gdcm::DataSet> result(new gdcm::DataSet); matcher.ExtractFields(*result, dicom, wadoBase, level); - results.Add(*result); + results.Add(dicom.GetFile(), *result); } } }