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
Products |
Support |
Feedback: PACS Storage Server Demo Rules Add-in Script Samples |
Introduction |
Help Version 19.0.2017.6.21
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.