Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.cpp @ 1711:5ebd6cbb3da8 db-changes
Backed out changeset 2ad22b2970a2
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 16 Oct 2015 17:36:07 +0200 |
parents | 2ad22b2970a2 |
children | 2ca7888f8600 |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp Tue Oct 13 17:48:30 2015 +0200 +++ b/OrthancServer/ServerIndex.cpp Fri Oct 16 17:36:07 2015 +0200 @@ -687,14 +687,7 @@ { study = CreateResource(hasher.HashStudy(), ResourceType_Study); Toolbox::SetMainDicomTags(db_, study, ResourceType_Study, dicomSummary, true); - - // New in version 0.9.5 (db v6) - Toolbox::SetMainDicomTags(db_, study, ResourceType_Patient, dicomSummary, false); - - DicomMap module; - Toolbox::ExtractModule(module, dicomSummary, DicomModule_Patient, true /* normalize */); - Toolbox::ExtractModule(module, dicomSummary, DicomModule_Study, true /* normalize */); - db_.StoreStudyModule(study, module); + Toolbox::SetMainDicomTags(db_, study, ResourceType_Patient, dicomSummary, false); // New in version 0.9.5 (db v6) } // Create the patient if needed