FindRequestedProcedure Method

Summary
Finds the requested procedure having the specified Accession Number and requested Procedure ID.
Syntax
C#
C++/CLI
[FaultContractAttribute(System.Type)] 
[OperationContractAttribute()] 
public WCFRequestedProcedure FindRequestedProcedure( 
   string accessionNumber, 
   string requestedProcedureID 
) 
[OperationContractAttribute()] 
[FaultContractAttribute(DetailType=Leadtools.Medical.Worklist.Wcf.Utils.ApplicationFault,  
   Action="",  
   Name="",  
   Namespace="",  
   ProtectionLevel=ProtectionLevel.None,  
   HasProtectionLevel=false)] 
WCFRequestedProcedure^ FindRequestedProcedure(  
   String^ accessionNumber, 
   String^ requestedProcedureID 
)  

Parameters

accessionNumber
A departmental IS-generated number that identifies the order for the Imaging Service Request.

requestedProcedureID
Identifier that identifies the Requested Procedure in the Imaging Service Request.

Return Value

The requested procedure if found; null otherwise.

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 RequestedProcedureTest() 
{ 
   try 
   { 
      WCFRequestedProcedure procedure = null; 
 
      procedure = _BrokerService.FindRequestedProcedure("1200", "1300"); 
      if (procedure != null) 
         _BrokerService.DeleteRequestedProcedure("1200", "1300"); 
 
      procedure = new WCFRequestedProcedure(); 
      procedure.RequestedProcedureID = "1300"; 
      procedure.StudyInstanceUID = "1.2.345.6.789"; 
      procedure.RequestedProcedureDescription = "My Description"; 
      _BrokerService.AddRequestedProcedure("1200", procedure); 
 
      procedure = _BrokerService.FindRequestedProcedure("1200", "1300"); 
      if (procedure != null) 
      { 
         procedure.PatientTransportArrangements = "Bus"; 
         _BrokerService.UpdateRequestedProcedure("1200", "1300", procedure); 
      } 
 
      string[] ids = _BrokerService.GetRequestedProcedureIDs("1200"); 
 
      foreach (string id in ids) 
      { 
         Console.WriteLine(id); 
      } 
   } 
   catch (Exception e) 
   { 
      Debug.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.