I'm using DicomObjects Library for manipulations with DICOM files.
I'm using just the base commands and so far this is my working code:
var queryFind = new DicomObjects.DicomQuery
{
Node = "remoteIPaddress",
Port = remotePortNumber,
CallingAE = "localAEtitle",
CalledAE = "remoteAEtitle",
Level = DicomObjects.Enums.QueryLevel.STUDY,
Root = DicomObjects.Enums.QueryRoot.Study
};
var resultFind = queryFind.Find();
So this is basically a C-FIND command and I'm passing all the needed data about the remote server, and the AETitle for my local server. And the code above works fine and it's taking the studies from the remote server. But what if I want to only take the studies from my local server? I have tried different combinations (placed local data in the fields, make combinations etc.) but none of them worked.
Is there any way to get and list the studies from local AETitle? If you are not familiar with DicomObjects Library, but you know how this can be achieved with DICOM standard (or other tool or library), that also may be helpful for me, since I'm out of ideas, and I'll try to convert given idea (if any) to this Library and will post a solution.
Set
Node="127.0.0.1"
Port = <your local DICOM port number>
CalledAE = <the AET of your local DICOM Query Service class provider>
and make sure that the local DICOM server is configured to accept communications from your local AE title.