Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp @ 5287:c04230962098 am-experimental
wip: 'dicomWeb' json format + 'include' get arguments
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 28 Apr 2023 10:42:27 +0200 |
parents | f22c8fac764b |
children | f26ed26a7793 |
comparison
equal
deleted
inserted
replaced
5286:28f0e38e4082 | 5287:c04230962098 |
---|---|
866 // check the main dicom tags list has not changed since the resource was stored | 866 // check the main dicom tags list has not changed since the resource was stored |
867 target.mainDicomTagsSignature_ = DicomMap::GetDefaultMainDicomTagsSignature(type); | 867 target.mainDicomTagsSignature_ = DicomMap::GetDefaultMainDicomTagsSignature(type); |
868 LookupStringMetadata(target.mainDicomTagsSignature_, target.metadata_, MetadataType_MainDicomTagsSignature); | 868 LookupStringMetadata(target.mainDicomTagsSignature_, target.metadata_, MetadataType_MainDicomTagsSignature); |
869 } | 869 } |
870 | 870 |
871 if (expandFlags & ExpandResourceFlags_IncludeMainDicomTags) | 871 if (expandFlags & ExpandResourceFlags_IncludeMainDicomTags |
872 || expandFlags & ExpandResourceFlags_IncludeRequestedTags) | |
872 { | 873 { |
873 // read all tags from DB | 874 // read all tags from DB |
874 transaction.GetMainDicomTags(target.GetMainDicomTags(), internalId); | 875 transaction.GetMainDicomTags(target.GetMainDicomTags(), internalId); |
875 | 876 |
876 // read all main sequences from DB | 877 // read all main sequences from DB |