←Select platform

HandleUnscheduledMPPS Method (IBrokerService)

Summary

Handles exceptions that result from adding an unscheduled Performed Procedure Step.

Syntax

C#
VB
C++
[FaultContractAttribute(DetailType=Leadtools.Medical.Worklist.Wcf.Utils.ApplicationFault,  
   Action="",  
   Name="",  
   Namespace="",  
   ProtectionLevel=ProtectionLevel.None,  
   HasProtectionLevel=false)] 
[OperationContractAttribute()] 
void HandleUnscheduledMPPS(  
   string mppsSOPInstanceUID, 
   string scheduledProcedureStepID 
) 
<FaultContractAttribute(DetailType=Leadtools.Medical.Worklist.Wcf.Utils.ApplicationFault,  
   Action="",  
   Name="",  
   Namespace="",  
   ProtectionLevel=ProtectionLevel.None,  
   HasProtectionLevel=False)> 
<OperationContractAttribute()> 
Sub HandleUnscheduledMPPS( _ 
   ByVal mppsSOPInstanceUID As String, _ 
   ByVal scheduledProcedureStepID As String _ 
) 
[FaultContractAttribute(DetailType=Leadtools.Medical.Worklist.Wcf.Utils.ApplicationFault,  
   Action="",  
   Name="",  
   Namespace="",  
   ProtectionLevel=ProtectionLevel.None,  
   HasProtectionLevel=false)] 
[OperationContractAttribute()] 
void HandleUnscheduledMPPS(  
   String^ mppsSOPInstanceUID, 
   String^ scheduledProcedureStepID 
) 

Parameters

mppsSOPInstanceUID
The SOP Instance UID for the MPPS Instance that needs to be deleted.

scheduledProcedureStepID
Identifier that identifies the Scheduled Procedure Step.

Remarks

Connects an unscheduled Procedure Step with an existing Scheduled Procedure Step.

Example

Shows how to use the miscellaneous methods of the broker service.

C#
VB
Imports Leadtools 
Imports Leadtools.Medical.Worklist.Wcf.Service 
Imports Leadtools.Medical.Worklist.DataAccessLayer.MatchingParameters 
Imports Leadtools.Dicom 
Imports Leadtools.Medical.Worklist.Wcf.Entities 
 
<TestMethod()> _ 
Public Sub MiscelleaneousTest() 
   Try 
      Dim uids As List(Of String) = New List(Of String)(_BrokerService.GetUnscheduledPerformedProcedureStepUIDs()) 
      If uids.Contains("987.654.3210000") Then 
         _BrokerService.HandleUnscheduledMPPS("987.654.3210000", "123.456.89000000") 
      End If 
 
      Console.WriteLine("Exists: " & _BrokerService.PerformedProcedureStepExists("987.654.3210000").ToString()) 
   Catch e As Exception 
      Console.WriteLine(e.Message) 
   End Try 
End Sub 
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 MiscelleaneousTest() 
{ 
    try 
    { 
        List<string> uids = new List<string>(_BrokerService.GetUnscheduledPerformedProcedureStepUIDs()); 
        if (uids.Contains("987.654.3210000")) 
        { 
            _BrokerService.HandleUnscheduledMPPS("987.654.3210000", "123.456.89000000"); 
        } 
 
        Console.WriteLine("Exists: " + _BrokerService.PerformedProcedureStepExists("987.654.3210000").ToString()); 
    } 
    catch (Exception e) 
    { 
        Console.WriteLine(e.Message); 
    } 
} 

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Medical.Worklist.Wcf Assembly
Click or drag to resize