C#
VB
C++
Adds the requested procedure to the worklist database.
[OperationContractAttribute()]
[FaultContractAttribute(System.Type)]
public void AddRequestedProcedure(
string accessionNumber,
WCFRequestedProcedure procedure
)
<FaultContractAttribute(DetailType=Leadtools.Medical.Worklist.Wcf.Utils.ApplicationFault,
Action="",
Name="",
Namespace="",
ProtectionLevel=ProtectionLevel.None,
HasProtectionLevel=False)>
<OperationContractAttribute()>
Sub AddRequestedProcedure( _
ByVal accessionNumber As String, _
ByVal procedure As Leadtools.Medical.Worklist.Wcf.Entities.WCFRequestedProcedure _
)
[FaultContractAttribute(DetailType=Leadtools.Medical.Worklist.Wcf.Utils.ApplicationFault,
Action="",
Name="",
Namespace="",
ProtectionLevel=ProtectionLevel.None,
HasProtectionLevel=false)]
[OperationContractAttribute()]
void AddRequestedProcedure(
String^ accessionNumber,
Leadtools.Medical.Worklist.Wcf.Entities.WCFRequestedProcedure^ procedure
)
accessionNumber
A departmental IS-generated number that identifies the order for the Imaging Service Request.
procedure
The requested procedure to add.
Shows how to use the requested procedure specific-methods of the broker service.
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);
}
}
Imports Leadtools
Imports Leadtools.Medical.Worklist.Wcf.Service
Imports Leadtools.Medical.Worklist.DataAccessLayer.MatchingParameters
Imports Leadtools.Dicom
Imports Leadtools.Medical.Worklist.Wcf.Entities
Public Sub WCFRequestedProcedureTest()
Try
Dim procedure As WCFRequestedProcedure = Nothing
procedure = _BrokerService.FindRequestedProcedure("1200", "1300")
If Not procedure Is Nothing Then
_BrokerService.DeleteRequestedProcedure("1200", "1300")
End If
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 Not procedure Is Nothing Then
procedure.PatientTransportArrangements = "Bus"
_BrokerService.UpdateRequestedProcedure("1200", "1300", procedure)
End If
Dim ids As String() = _BrokerService.GetRequestedProcedureIDs("1200")
For Each id As String In ids
Console.WriteLine(id)
Next id
Catch e As Exception
Debug.WriteLine(e.Message)
End Try
End Sub
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET