I'm trying to connect a pacs server with dcmscu class. i have no problem with echo and find but i can't get sendstorerequest working.
Here is what i do so far;
Code: Select all
OFCondition rescond;
DcmSCU testscu;
testscu.setPeerHostName("192.168.1.188");
testscu.setPeerPort(105);
testscu.setAETitle("baris");
testscu.setPeerAETitle("Server");
OFList<OFString> tmplist;
tmplist.push_back(UID_LittleEndianImplicitTransferSyntax);
testscu.addPresentationContext(UID_StorageServiceClass, tmplist);
So, my questions are;
1- which abstracktSyntax should i use for sendSTORERequest.(in addPresentationContext);
2- I used UID_VerificationSOPClass for echo and UID_FINDPatientRootQueryRetrieveInformationModel for patient level find. Are they ok or i'm doing this completely wrong.
3- How can i find more information about addPresentationContext(), i googled and searched in the forum but i can't find a simple list like "if you want to do this, you must use uid_something"
Thanks in advance.