FindImagingServiceRequest Method

Summary
Finds the imaging service request having the specified Accession Number, Patient ID, and the name of the issuer of the Patient ID.
Syntax
C#
C++/CLI
[FaultContractAttribute(System.Type)] 
[OperationContractAttribute()] 
public ImagingServiceRequest FindImagingServiceRequest( 
   string accessionNumber, 
   string patientID, 
   string issuerOfPatientID 
) 
[OperationContractAttribute()] 
[FaultContractAttribute(DetailType=Leadtools.Medical.Worklist.Wcf.Utils.ApplicationFault,  
   Action="",  
   Name="",  
   Namespace="",  
   ProtectionLevel=ProtectionLevel.None,  
   HasProtectionLevel=false)] 
ImagingServiceRequest^ FindImagingServiceRequest(  
   String^ accessionNumber, 
   String^ patientID, 
   String^ issuerOfPatientID 
)  

Parameters

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

patientID
Primary hospital identification number or code for the Patient.

issuerOfPatientID
Name of the healthcare provider that issued the Patient ID.

Return Value

The image service request 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 ImagingServiceRequestTest() 
{ 
   try 
   { 
      ImagingServiceRequest request; 
 
      request = _BrokerService.FindImagingServiceRequest("1200", "000000", "246"); 
      if (request != null) 
         _BrokerService.DeleteImagingServiceRequest("1200", "000000", "246"); 
 
      request = new ImagingServiceRequest(); 
      request.AccessionNumber = "1200"; 
      request.ImagingServiceRequestComments = "My Comments"; 
      _BrokerService.AddImagingServiceRequest("000000", "246", request); 
 
      request = _BrokerService.FindImagingServiceRequest("1200", "000000", "246"); 
      if (request != null) 
      { 
         request.RequestingService = "My Department"; 
         _BrokerService.UpdateImagingServiceRequest("1200", "000000", "246", request); 
      } 
 
      string[] accNumbers = _BrokerService.GetAccessionNumbers("000000", "246"); 
 
      foreach (string accNumber in accNumbers) 
      { 
         Console.WriteLine(accNumber); 
      } 
   } 
   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.