ModalityWorklistQuery Class

Summary
Provides information for a modality worklist query.
Syntax
C#
C++/CLI
[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  
Example
C#
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); 
} 
Requirements

Target Platforms

Help Version 22.0.2023.1.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Scu Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.