HandleUnscheduledMPPS Method
Summary
Handles exceptions that result from adding an unscheduled performed procedure step.
Syntax
Parameters
mppsSOPInstanceUID
The SOP Instance UID for the MPPS Instance that is to be deleted.
scheduledProcedureStepID
Identifier that identifies the Scheduled Procedure Step.
Example
Shows how to use the miscellaneous methods of the broker service.
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);
}
}
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