[DataContractAttribute(Namespace="")]
public class MPPSQuery
Shows how to query for a specific list of modality performed procedure steps.
using Leadtools;
using Leadtools.Medical.Worklist.Wcf.Service;
using Leadtools.Medical.Worklist.DataAccessLayer.MatchingParameters;
using Leadtools.Dicom;
using Leadtools.Medical.Worklist.Wcf.Entities;
public void MPPSQueryTest()
{
try
{
MPPSQuery query = new MPPSQuery();
WCFPPSInformation[] results = null;
//
// Find all modality performed procedure steps in progress
//
query.PPSInfo = new WCFPPSInformation() { PerformedProcedureStepStatus = "IN PROGRESS" };
results = _BrokerService.QueryMPPS(query);
if (results != null && results.Length > 0)
{
foreach (WCFPPSInformation mpps in results)
{
Console.WriteLine(mpps.MPPSSOPInstanceUID);
Console.WriteLine(mpps.Modality);
}
}
}
catch (Exception e)
{
Debug.WriteLine(e.Message);
}
}