/TMLtoAria

Opens a TML file from Eclipse and saves a PDF to Aria using Web Services

Primary LanguageC#MIT LicenseMIT

TMLtoAria

A plugin script that uses Oncology Services and Eclipse Scripting APIs to upload a PDF file into Aria from a TML file.

An Oncology Services API key is available at my.varian.com. The API key must be uploaded into the Varian Service Portal. If running on a test box, Aria must have the Oncology Services package installed (must be able to access Documents workspace). Must also edit the TMLtoAria.setting file values to be site specific (e.g. rename HostName to "tbox15", Port to "55051", enter DocKey value, and ImportDir to "\\tbox15\va_data$\PDFTemp"). Keep the comma placement to help with the regex match. Once an esapi.dll is created, it can be ran as a plugin script.

TMLReader is a work in progress, may not work with some TML files.

Uses code contributed by Matt Schmidt (https://github.com/mattcschmidt) and work from WUSTL (https://github.com/WUSTL-ClinicalDev). Also references work in the my.Varian webinar from 23-3-2020 (https://github.com/VarianAPIs/Varian-Code-Samples). Many thanks for your help!