The following script is executed on a RECEIVE C-STORE-REQUEST. It sets the institution name on every C-STORE-REQUEST. This happens before the dataset is processed by the add in. As a result, it will be present in every dataset saved on the server.
request(DicomTag.InstitutionName) = "LEAD Technologies, INC"
The following script will route the dataset on success to the specified AE Title. The AE title is required to be on the server.
If status = DicomCommandStatusType.Success Then
'If we successfully retrieved the stored image
'a request will be sent to the server to retrieve the specific instance
get_dataset(instanceUID, AddressOf RouteDataset)
End If
Public Sub RouteDataset(dataset As DicomDS referencedFile As String, instance As String, getError As String)
'If the dataset is valid we will route it to the specified server
If dataset IsNot Nothing And dataset(DicomTag.Modality) = "MR" Then
route(dataset, "LEAD_SERVER")
End If
End Sub
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document