Mercurial > hg > orthanc-wsi
comparison Framework/Inputs/DicomPyramidInstance.cpp @ 265:dab414e5b520 iiif
reorganization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 10 Jul 2023 13:22:10 +0200 |
parents | 20a730889ae2 |
children | 30fb01ce97a3 |
comparison
equal
deleted
inserted
replaced
264:75d933374805 | 265:dab414e5b520 |
---|---|
158 using namespace OrthancStone; | 158 using namespace OrthancStone; |
159 | 159 |
160 FullOrthancDataset dataset(orthanc, "/instances/" + instanceId + "/tags"); | 160 FullOrthancDataset dataset(orthanc, "/instances/" + instanceId + "/tags"); |
161 DicomDatasetReader reader(dataset); | 161 DicomDatasetReader reader(dataset); |
162 | 162 |
163 if (reader.GetMandatoryStringValue(Orthanc::DicomPath(Orthanc::DICOM_TAG_SOP_CLASS_UID)) != "1.2.840.10008.5.1.4.1.1.77.1.6" || | 163 if (reader.GetMandatoryStringValue(Orthanc::DicomPath(Orthanc::DICOM_TAG_SOP_CLASS_UID)) != VL_WHOLE_SLIDE_MICROSCOPY_IMAGE_STORAGE_IOD || |
164 reader.GetMandatoryStringValue(Orthanc::DicomPath(Orthanc::DICOM_TAG_MODALITY)) != "SM") | 164 reader.GetMandatoryStringValue(Orthanc::DicomPath(Orthanc::DICOM_TAG_MODALITY)) != "SM") |
165 { | 165 { |
166 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); | 166 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); |
167 } | 167 } |
168 | 168 |