comparison OrthancServer/DatabaseWrapperBase.cpp @ 1728:4941494b5dd8 db-changes

rename LookupIdentifier as LookupIdentifierExact
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 20 Oct 2015 15:03:52 +0200
parents 1ae29c5e52fb
children 54d78925cbb6
comparison
equal deleted inserted replaced
1727:1ae29c5e52fb 1728:4941494b5dd8
663 s.BindInt64(0, internalId); 663 s.BindInt64(0, internalId);
664 return s.Step(); 664 return s.Step();
665 } 665 }
666 666
667 667
668 void DatabaseWrapperBase::LookupIdentifier(std::list<int64_t>& target, 668 void DatabaseWrapperBase::LookupIdentifierExact(std::list<int64_t>& target,
669 ResourceType level, 669 ResourceType level,
670 const DicomTag& tag, 670 const DicomTag& tag,
671 const std::string& value) 671 const std::string& value)
672 { 672 {
673 assert((level == ResourceType_Patient && tag == DICOM_TAG_PATIENT_ID) || 673 assert((level == ResourceType_Patient && tag == DICOM_TAG_PATIENT_ID) ||
674 (level == ResourceType_Study && tag == DICOM_TAG_STUDY_INSTANCE_UID) || 674 (level == ResourceType_Study && tag == DICOM_TAG_STUDY_INSTANCE_UID) ||
675 (level == ResourceType_Study && tag == DICOM_TAG_ACCESSION_NUMBER) || 675 (level == ResourceType_Study && tag == DICOM_TAG_ACCESSION_NUMBER) ||
676 (level == ResourceType_Series && tag == DICOM_TAG_SERIES_INSTANCE_UID) || 676 (level == ResourceType_Series && tag == DICOM_TAG_SERIES_INSTANCE_UID) ||