Open kenbutcher opened 3 months ago
We could use storescu
to send dicoms then add function in the xnat.py datastore in save_label
function to check on passed in parameters from the request. if ip,port, aetitle is available we could send the dicomsec and secondary capture as
send2pacsIP = label_info.get('params',{}).get("send2pacsIP", "")
send2pacsPORT = label_info.get('params',{}).get("send2pacsPORT", "")
send2pacsAETitle = label_info.get('params',{}).get("send2pacsAETitle", "")
if send2pacsIP and send2pacsPORT:
storescu_send_file(tmpDcmSegpath, send2pacsIP, send2pacsPORT,send2pacsAETitle)
Xnat-MONAILabel workflow development
Could we add the ability for MOANILabel to push dicom images to other PACS by providing an AEtitle, IP address and port number? This will allow us to send inference labels (dicom SEG) and secondary capture images directly to the PACS (rather than via Xnat).