Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.25
|
Leadtools.Medical.Worklist.Wcf.Service Namespace > IBrokerService Interface : HandleUnscheduledMPPS Method |
[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 )
Shows how to use the miscellaneous methods of the broker service.
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; [TestMethod] 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); } }