[InstanceAttribute(Leadtools.Dicom.DicomClassType, "1.2.840.10008.5.1.4.31")]
public class ModalityWorklistQuery
[InstanceAttribute(ClassType=DicomClassType.ModalityWorklist |
DicomClassType.PatientStudyQueryStudy |
DicomClassType.PullStoredPrintMeta |
DicomClassType.BasicGrayscalePrintMeta |
DicomClassType.RTStructureSetStorage |
DicomClassType.XABiplaneImageStorageRetired |
DicomClassType.NMImageStorageRetired,
AbstractSyntax="1.2.840.10008.5.1.4.31")]
public ref class ModalityWorklistQuery
using Leadtools.Dicom.Common.DataTypes.Modality;
using Leadtools.Dicom;
using Leadtools.Dicom.Scu.Queries;
using Leadtools.Dicom.Scu;
using Leadtools.Dicom.Common.Extensions;
using Leadtools.Dicom.Scu.Common;
public void FindMWL()
{
DicomEngine.Startup();
DicomNet.Startup();
ModalityWorklistQuery query = new ModalityWorklistQuery();
DicomScp scp = new DicomScp();
QueryRetrieveScu findMwl = new QueryRetrieveScu();
scp.AETitle = "MWL_SERVER";
scp.Port = 104;
scp.Timeout = 60;
scp.PeerAddress = IPAddress.Parse("192.168.0.209");
findMwl.AETitle = "LEAD_CLIENT";
findMwl.Find<ModalityWorklistQuery, ModalityWorklistResult>(scp, query, FoundMatch);
DicomEngine.Shutdown();
DicomNet.Startup();
}
private void FoundMatch(ModalityWorklistResult result, DicomDataSet ds)
{
string message =
"\r\n\tAccession #:\t\t " + result.AccessionNumber +
"\r\n\tPatient Name:\t\t" + result.PatientName.Full +
"\r\n\tScheduled Start Date:\t" + result.ScheduledProcedureStepSequence[0].ScheduledProcedureStepStartDate.Value.ToShortDateString();
Console.WriteLine(message);
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document