UpdateMPPS Method

Summary
Updates the MPPS having the specified SOP instance.
Syntax
C#
C++/CLI
[OperationContractAttribute()] 
[FaultContractAttribute(System.Type)] 
public void UpdateMPPS( 
   string mppsSOPInstanceUID, 
   WCFPPSInformation mpps 
) 
[FaultContractAttribute(DetailType=Leadtools.Medical.Worklist.Wcf.Utils.ApplicationFault,  
   Action="",  
   Name="",  
   Namespace="",  
   ProtectionLevel=ProtectionLevel.None,  
   HasProtectionLevel=false)] 
[OperationContractAttribute()] 
void UpdateMPPS(  
   String^ mppsSOPInstanceUID, 
   WCFPPSInformation^ mpps 
)  

Parameters

mppsSOPInstanceUID
The UID of the MPPS instance to update.

mpps
The UID of the MPPS SOP instance to update.

Example
C#
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 MPPSTest() 
{ 
   try 
   { 
      WCFPPSInformation pps = _BrokerService.FindMPPS("987.654.3210000"); 
 
      if (pps != null) 
         _BrokerService.DeleteMPPS("987.654.3210000"); 
 
      pps = new WCFPPSInformation(); 
      pps.MPPSSOPInstanceUID = "987.654.3210000"; 
      pps.PerformedProcedureStepID = "987.321.394093"; 
      pps.PerformedStationAETitle = Environment.MachineName; 
      pps.PerformedProcedureStepStartDate = new DicomDateRangeValue() { Date1 = new DicomDateValue(DateTime.Now) }; 
      pps.PerformedProcedureStepStartTime = new DicomTimeRangeValue() { Time1 = new DicomTimeValue(DateTime.Now) }; 
      pps.Modality = "CT"; 
      pps.PerformedProcedureStepStatus = "IN PROGRESS"; 
      pps.StudyInstanceUID = "0.0.4.3.6.777777.7"; 
      _BrokerService.AddMPPS(pps); 
 
      pps = _BrokerService.FindMPPS("987.654.3210000"); 
      if (pps != null) 
      { 
         pps.PerformedLocation = "EXAM ROOM 1"; 
         pps.PerformedProcedureStepStatus = "COMPLETED"; 
         _BrokerService.UpdateMPPS("987.654.3210000", pps); 
      } 
   } 
   catch (Exception e) 
   { 
      Console.WriteLine(e.Message); 
   } 
} 
Requirements

Target Platforms

Help Version 22.0.2023.1.23
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Worklist.Wcf Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.