Mercurial > hg > orthanc
diff OrthancServer/ParsedDicomFile.cpp @ 1564:1b7def486e62
creation of DICOM series
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 21 Aug 2015 15:01:21 +0200 |
parents | 2084b7c20478 |
children | 4b23310eb7e8 |
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.cpp Fri Aug 21 13:47:34 2015 +0200 +++ b/OrthancServer/ParsedDicomFile.cpp Fri Aug 21 15:01:21 2015 +0200 @@ -1111,8 +1111,10 @@ pimpl_(new PImpl) { pimpl_->file_.reset(dynamic_cast<DcmFileFormat*>(other.pimpl_->file_->clone())); + pimpl_->encoding_ = other.pimpl_->encoding_; - pimpl_->encoding_ = other.pimpl_->encoding_; + // Create a new instance-level identifier + Replace(DICOM_TAG_SOP_INSTANCE_UID, FromDcmtkBridge::GenerateUniqueIdentifier(ResourceType_Instance)); }