|
@@ -47,14 +47,14 @@ class orthancQR:
|
|
#content of answer, object with DICOM codes (IDs etc)
|
|
#content of answer, object with DICOM codes (IDs etc)
|
|
return orthancDatabaseBrowser.extractJSON(response.data)
|
|
return orthancDatabaseBrowser.extractJSON(response.data)
|
|
|
|
|
|
- def sendCMoveForAll(self,queryId):
|
|
|
|
|
|
+ def startRetrievaJobForAll(self,queryId):
|
|
#returns jobDescripton as JSON (ID,Path)
|
|
#returns jobDescripton as JSON (ID,Path)
|
|
apiURL='/'.join([self.net.getCoreURL(),'queries',queryId,'retrieve'])
|
|
apiURL='/'.join([self.net.getCoreURL(),'queries',queryId,'retrieve'])
|
|
v={"TargetAet":"NIXLJUOIL","RetrieveMethod":"C-MOVE","Synchronous":False}
|
|
v={"TargetAet":"NIXLJUOIL","RetrieveMethod":"C-MOVE","Synchronous":False}
|
|
response=self.net.post(apiURL,json.dumps(v),'json')
|
|
response=self.net.post(apiURL,json.dumps(v),'json')
|
|
return orthancDatabaseBrowser.extractJSON(response.data)
|
|
return orthancDatabaseBrowser.extractJSON(response.data)
|
|
|
|
|
|
- def sendCMove(self,queryId,answerId):
|
|
|
|
|
|
+ def startRetrieveJob(self,queryId,answerId):
|
|
#returns jobDescripton as JSON (ID,Path)
|
|
#returns jobDescripton as JSON (ID,Path)
|
|
apiURL='/'.join([self.net.getCoreURL(),'queries',queryId,'answers',answerId,'retrieve'])
|
|
apiURL='/'.join([self.net.getCoreURL(),'queries',queryId,'answers',answerId,'retrieve'])
|
|
v={"TargetAet":"NIXLJUOIL","RetrieveMethod":"C-MOVE","Synchronous":False}
|
|
v={"TargetAet":"NIXLJUOIL","RetrieveMethod":"C-MOVE","Synchronous":False}
|