public WCFPPSInformation[] QueryMPPS(
MPPSQuery query
)
query
The query to perform.
A list of modality-performed procedure steps that meet the query criteria.
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);
}
}