LDClark / PDFtoAria

An executable with UI that imports PDFs into Aria using Oncology Services and Eclipse Scripting APIs.
MIT License
19 stars 2 forks source link

Please elaborate #1

Closed Kiragroh closed 3 years ago

Kiragroh commented 3 years ago

Hi LDClark,

your upload is a coool coincidence. I tired ARIA-Access a few weeks ago. I could get the API-keys and succed with a simple request (from the myVarian-webinar):

string apiKey = "YourAPIKey"; string request = "{\"__type\":\"GetMachineListRequest:http://services.varian.com/AriaWebConnect/Link\",\"Attributes\":null,\"DepartmentID\":{\"Value\":\"Radiation Oncology\"}}"; string response = SendData(request, true, apiKey); Console.WriteLine(response); var response_machines = JsonConvert.DeserializeObject(response); foreach(var machine in response_machines.Machines) { Console.WriteLine(machine.MachineId.Value); } Console.ReadLine();

but more complex requests in regards to appointments and documents fail.

I work on a TBox. Can you elaborate on the required Service Package or your pitfalls at the beginning? Hopefully, this could explain my problems.

Will definitely try your upload. At the moment we are working with the eDoc-Printer and I have to build many specific protocols. The DocumentAPI-workflow would be better in some cases.

Kind regards

LDClark commented 3 years ago

I tried using Oncology Services for several days on our TBox and one day noticed that I couldn't access Documents at all. I placed a ticket and later found out Oncology Services wasn't installed properly on the Tbox. After it was fixed I had no issues using InsertDocumentRequest.

Aria Access looks interesting. This solution doesn't use it, but I'd like to learn more about it. Access to the machine schedule would be really nice.

Landon

On Thu, Nov 19, 2020, 2:54 PM Max Grohmann notifications@github.com wrote:

Hi LDClark,

yout upload is a coool coincidence. I tired ARIAAccess a few weeks ago. I could get the API-keys and start a simple request:

string apiKey = "YourAPIKey"; string request = "{"__type":"GetMachineListRequest: http://services.varian.com/AriaWebConnect/Link\",\"Attributes\":null,\"DepartmentID\":{\"Value\":\"Radiation Oncology"}}"; string response = SendData(request, true, apiKey); Console.WriteLine(response); var response_machines = JsonConvert.DeserializeObject(response); foreach(var machine in response_machines.Machines) { Console.WriteLine(machine.MachineId.Value); } Console.ReadLine();

but more complex request in regards to appointments and documents fail.

I work on a TBox. Can you elaborate about the Service Package or pitfalls at the beginning?

Will defenitly try your upload. At the moment we are working with the eDoc-Printer and I have to build many specific protocols.

Kind regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LDClark/PDFtoAria/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCFCQXE3E73URYG7R2TQD3SQWHXRANCNFSM4T37BNLA .

Kiragroh commented 3 years ago

I could try it today on our new TBox for Eclipse/ARIA16.1 (GoLive in January). Here I have AriaWebServices1.4 installed and all works great. I tihink I will add Dropdown menus for DocumentTypes, PDF-Merge functionality (if needed) and automatic PatID-Detection.

Thank again for sharing

LDClark commented 3 years ago

Merging is very much needed. I'd like to see an implementation of OCR somewhere in here. Thanks for trying it out, I'm glad its working.

LDClark commented 3 years ago

Merging somewhat works now.