+ //// TO DO Create a function to test if the SOP Instance ID (0008,0018) is not already on DB
+ //// test befor if this attr is present on DB if not don't perform the test!!!
+ //bool bSOPIID = false;
+ //std::map<std::string, std::string>::iterator it_att = attr.begin();
+ //for(; it_att != attr.end(); it_att++)
+ //{
+ // if (it_att->first == "D0008_0018")
+ // {
+ // bSOPIID = mTreeHandler->TestSOPIID(it_attr->second);
+ // break;
+ // }
+ //}
+ //if(bSOPIID)
+ // return;