GetScheduledProcedureStepIDs Method

Summary
Gets a list of scheduled procedure step IDs.
Syntax
C#
C++/CLI
[OperationContractAttribute()] 
[FaultContractAttribute(System.Type)] 
public string[] GetScheduledProcedureStepIDs( 
   string accessionNumber, 
   string requestedProcedureID 
) 
[FaultContractAttribute(DetailType=Leadtools.Medical.Worklist.Wcf.Utils.ApplicationFault,  
   Action="",  
   Name="",  
   Namespace="",  
   ProtectionLevel=ProtectionLevel.None,  
   HasProtectionLevel=false)] 
[OperationContractAttribute()] 
array<String^>^ GetScheduledProcedureStepIDs(  
   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

A list of Scheduled Procedure Step IDs.

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 ScheduledProcedureStepTest() 
{ 
   try 
   { 
      WCFScheduledProcedureStep procedureStep = null; 
 
      procedureStep = _BrokerService.FindScheduledProcedureStep("123.456.89000000"); 
      if (procedureStep != null) 
         _BrokerService.DeleteScheduledProcedureStep("123.456.89000000"); 
 
      procedureStep = new WCFScheduledProcedureStep(); 
      procedureStep.ScheduledProcedureStepID = "123.456.89000000"; 
      procedureStep.ScheduledProcedureStepStartDate_Time = new Leadtools.Dicom.Common.DataTypes.DateRange() { StartDate = DateTime.Now }; 
      procedureStep.Modality = "CT"; 
      procedureStep.ScheduledProcedureStepDescription = "Procedure Step Description"; 
      procedureStep.ScheduledStationAETitle = new List<string>(); 
      procedureStep.ScheduledStationAETitle.Add(Environment.MachineName); 
      _BrokerService.AddScheduledProcedureStep("1200", "1300", procedureStep); 
 
      procedureStep = _BrokerService.FindScheduledProcedureStep("123.456.89000000"); 
      if (procedureStep != null) 
      { 
         procedureStep.ScheduledStationName = new List<string>(); 
         procedureStep.ScheduledStationName.Add("My Station Name"); 
         _BrokerService.UpdateScheduledProcedureStep("123.456.89000000", procedureStep); 
      } 
 
      string[] ids = _BrokerService.GetScheduledProcedureStepIDs("1200", "1300"); 
 
      foreach (string id in ids) 
      { 
         Console.WriteLine(id); 
      } 
 
   } 
   catch (Exception e) 
   { 
      Console.WriteLine(e.Message); 
   } 
} 
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.