Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.cpp @ 2140:aa4b8895cd23
reorganization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 16:12:47 +0100 |
parents | 2ecc95a239f7 |
children | 5a8840920121 |
comparison
equal
deleted
inserted
replaced
2139:764c9157301b | 2140:aa4b8895cd23 |
---|---|
755 throw OrthancException(ErrorCode_ParameterOutOfRange); | 755 throw OrthancException(ErrorCode_ParameterOutOfRange); |
756 } | 756 } |
757 } | 757 } |
758 | 758 |
759 // Attach the auto-computed metadata for the patient/study/series levels | 759 // Attach the auto-computed metadata for the patient/study/series levels |
760 std::string now = Toolbox::GetNowIsoString(); | 760 std::string now = SystemToolbox::GetNowIsoString(); |
761 db_.SetMetadata(series, MetadataType_LastUpdate, now); | 761 db_.SetMetadata(series, MetadataType_LastUpdate, now); |
762 db_.SetMetadata(study, MetadataType_LastUpdate, now); | 762 db_.SetMetadata(study, MetadataType_LastUpdate, now); |
763 db_.SetMetadata(patient, MetadataType_LastUpdate, now); | 763 db_.SetMetadata(patient, MetadataType_LastUpdate, now); |
764 | 764 |
765 // Attach the auto-computed metadata for the instance level, | 765 // Attach the auto-computed metadata for the instance level, |
1259 | 1259 |
1260 ExportedResource resource(-1, | 1260 ExportedResource resource(-1, |
1261 type, | 1261 type, |
1262 publicId, | 1262 publicId, |
1263 remoteModality, | 1263 remoteModality, |
1264 Toolbox::GetNowIsoString(), | 1264 SystemToolbox::GetNowIsoString(), |
1265 patientId, | 1265 patientId, |
1266 studyInstanceUid, | 1266 studyInstanceUid, |
1267 seriesInstanceUid, | 1267 seriesInstanceUid, |
1268 sopInstanceUid); | 1268 sopInstanceUid); |
1269 | 1269 |