Mercurial > hg > orthanc
diff OrthancServer/OrthancRestApi.cpp @ 443:be93b666ed79
link anonymized to original resource in OrthancExplorer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 17 May 2013 16:55:30 +0200 |
parents | 23e5b35e3c5c |
children | b7ef1a7d857e |
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi.cpp Fri May 17 16:06:38 2013 +0200 +++ b/OrthancServer/OrthancRestApi.cpp Fri May 17 16:55:30 2013 +0200 @@ -1319,7 +1319,7 @@ /** - * Record metadata information (AnonimizedFrom/ModifiedFrom). + * Record metadata information (AnonymizedFrom/ModifiedFrom). **/ DicomInstanceHasher modifiedHasher = modified->GetHasher(); @@ -1348,6 +1348,9 @@ if (isFirst) { + context.GetIndex().SetMetadata(modifiedHasher.HashPatient(), + metadataType, originalHasher.HashPatient()); + std::string newId; switch (resourceType)