LEADTOOLS Medical (Leadtools.Medical.Worklist.Wcf assembly)
LEAD Technologies, Inc

MPPSQuery Class

Example 





Members 
Provides information to query a for specifce modality performed procedure step.
Object Model
MPPSQuery ClassWCFPatient ClassWCFPPSInformation Class
Syntax
[DataContractAttribute()]
public class MPPSQuery 
'Declaration
 
<DataContractAttribute()>
Public Class MPPSQuery 
'Usage
 
Dim instance As MPPSQuery
public sealed class MPPSQuery 
function Leadtools.Medical.Worklist.Wcf.Entities.MPPSQuery()
[DataContractAttribute()]
public ref class MPPSQuery 
Example
 
Public Sub MPPSQueryTest()
   Try
      Dim query As New MPPSQuery()
      Dim results As WCFPPSInformation() = Nothing

      '
      ' Find all modality performed procedure steps in progress
      '
      query.PPSInfo = New WCFPPSInformation() With {.PerformedProcedureStepStatus = "IN PROGRESS"}
      results = _BrokerService.QueryMPPS(query)
      If results IsNot Nothing AndAlso results.Length > 0 Then
         For Each mpps As WCFPPSInformation In results
            Console.WriteLine(mpps.MPPSSOPInstanceUID)
            Console.WriteLine(mpps.Modality)
         Next
      End If
   Catch e As Exception
      Debug.WriteLine(e.Message)
   End Try
End Sub
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);
   }
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MPPSQuery Members
Leadtools.Medical.Worklist.Wcf.Entities Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.