Mercurial > hg > orthanc
diff OrthancServer/OrthancRestApi.cpp @ 77:b8dfde8d64e8
new dicom tags
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 20 Sep 2012 13:41:18 +0200 |
parents | a70bb32802ae |
children | 6212bf978584 |
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi.cpp Mon Sep 17 17:32:33 2012 +0200 +++ b/OrthancServer/OrthancRestApi.cpp Thu Sep 20 13:41:18 2012 +0200 @@ -244,7 +244,7 @@ if ((m.GetValue(DicomTag::ACCESSION_NUMBER).AsString().size() <= 2 && m.GetValue(DicomTag::PATIENT_ID).AsString().size() <= 2) || - m.GetValue(DicomTag::STUDY_UID).AsString().size() <= 2) + m.GetValue(DicomTag::STUDY_INSTANCE_UID).AsString().size() <= 2) { return false; } @@ -300,7 +300,7 @@ return false; } m.CopyTagIfExists(studies.GetAnswer(j), DicomTag::PATIENT_ID); - m.CopyTagIfExists(studies.GetAnswer(j), DicomTag::STUDY_UID); + m.CopyTagIfExists(studies.GetAnswer(j), DicomTag::STUDY_INSTANCE_UID); DicomFindAnswers series; c.FindSeries(series, m);