# HG changeset patch # User Sebastien Jodogne # Date 1443612990 -7200 # Node ID eef32b7386560cbb2282daee8b9ae110e2455b2a # Parent 1a80777ad462454b37df7439a565a0b24eeeefeb# Parent 09be34b2f30e3ba1fd3cc81053bffacc85c8e07a integration mainline->db-changes diff -r 1a80777ad462 -r eef32b738656 OrthancServer/ParsedDicomFile.cpp --- a/OrthancServer/ParsedDicomFile.cpp Wed Sep 30 13:31:09 2015 +0200 +++ b/OrthancServer/ParsedDicomFile.cpp Wed Sep 30 13:36:30 2015 +0200 @@ -1467,4 +1467,10 @@ return true; } + + + void ParsedDicomFile::Convert(DicomMap& tags) + { + FromDcmtkBridge::Convert(tags, *pimpl_->file_->getDataset()); + } } diff -r 1a80777ad462 -r eef32b738656 OrthancServer/ParsedDicomFile.h --- a/OrthancServer/ParsedDicomFile.h Wed Sep 30 13:31:09 2015 +0200 +++ b/OrthancServer/ParsedDicomFile.h Wed Sep 30 13:36:30 2015 +0200 @@ -130,6 +130,8 @@ void EmbedPdf(const std::string& pdf); bool ExtractPdf(std::string& pdf); + + void Convert(DicomMap& tags); }; }