From 59b32cfc623bf96a304e0c328f4bb12cdb3b99bb Mon Sep 17 00:00:00 2001 From: Andrey Fedorov Date: Fri, 18 Aug 2017 13:09:42 -0400 Subject: [PATCH] BUG: read TrackingUniqueIdentifier This was missed while updating the code in #287. Testing didn't catch this, because TrackingUniqueIdentifier is generated by the converter, and is not supplied in the input JSON. --- libsrc/TID1500Reader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libsrc/TID1500Reader.cpp b/libsrc/TID1500Reader.cpp index bb6a3736..6e295539 100644 --- a/libsrc/TID1500Reader.cpp +++ b/libsrc/TID1500Reader.cpp @@ -27,6 +27,7 @@ Json::Value TID1500Reader::getMeasurements() { string2code["measurementMethod"] = CODE_SRT_MeasurementMethod; string2code["SourceSeriesForImageSegmentation"] = CODE_DCM_SourceSeriesForSegmentation; string2code["TrackingIdentifier"] = CODE_DCM_TrackingIdentifier; + string2code["TrackingUniqueIdentifier"] = CODE_DCM_TrackingUniqueIdentifier; string2code["Finding"] = CODE_DCM_Finding; string2code["FindingSite"] = CODE_SRT_FindingSite; @@ -200,7 +201,7 @@ size_t TID1500Reader::gotoNamedChildNode(const DSRCodedEntryValue &conceptName, // iterate over all nodes on this level do { node = cursor.getNode(); - // and check for the desired concept name + // and check for the desired concept name if ((node != NULL) && (node->getConceptName() == conceptName)) nodeID = node->getNodeID(); } while ((nodeID == 0) && cursor.gotoNext());