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

HandleUnscheduledMPPS Method (IBrokerService)

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
)
FaultContractAttribute(DetailType=Leadtools.Medical.Worklist.Wcf.Utils.ApplicationFault, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=)
OperationContractAttribute()
function Leadtools.Medical.Worklist.Wcf.Service.IBrokerService.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
 
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
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: 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

IBrokerService Interface
IBrokerService Members

 

 


Products | Support | Contact Us | Copyright Notices

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