LEADTOOLS Medical (Leadtools.Medical.Worklist.Wcf assembly)

HandleUnscheduledMPPS Method (IBrokerService)

Show in webframe
Example 





The SOP Instance UID for the MPPS Instance that needs to be deleted.
Identifier that identifies the Scheduled Procedure Step.
Handles exceptions that result from adding an unscheduled Performed Procedure Step.
Syntax
[FaultContractAttribute(DetailType=Leadtools.Medical.Worklist.Wcf.Utils.ApplicationFault, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
[OperationContractAttribute()]
void HandleUnscheduledMPPS( 
   string mppsSOPInstanceUID,
   string scheduledProcedureStepID
)
'Declaration
 
<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 _
) 
'Usage
 
Dim instance As IBrokerService
Dim mppsSOPInstanceUID As String
Dim scheduledProcedureStepID As String
 
instance.HandleUnscheduledMPPS(mppsSOPInstanceUID, scheduledProcedureStepID)

            

            
[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
Copy Code  
Imports Leadtools
Imports Leadtools.Medical.Worklist.Wcf.Service
Imports Leadtools.Medical.Worklist.DataAccessLayer.MatchingParameters
Imports Leadtools.Dicom
Imports Leadtools.Medical.Worklist.Wcf.Entities

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

See Also

Reference

IBrokerService Interface
IBrokerService Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.