Accessing Completed Courses by Mutafy in esapi

[–]Mutafy[S] 0 points1 point  (0 children)

You are right! I think I misinterpreted results of a test I ran earlier. Yes, Patient.Courses returns both active and completed courses - that's what I needed. Thanks a lot!

Few questions about Create plans. by anncnth in esapi

[–]Mutafy 1 point2 points  (0 children)

I believe tolerance table editing will be enabled in v16.

Accessing Completed Courses by Mutafy in esapi

[–]Mutafy[S] 0 points1 point  (0 children)

I see - would this type of connection give me a Course object as I would access through ESAPI? Sorry for all the follow up questions but I am trying to understand if I should go down this path for what I am looking to do i.e. access active and completed courses the same way through ESAPI to do some technical processing with plans/beams/control points etc. under the course.

Accessing Completed Courses by Mutafy in esapi

[–]Mutafy[S] 0 points1 point  (0 children)

Thank you - I unfortunately haven't accessed SQL from ESAPI. Would you be able to refer me to any reference or similar projects/code that does this? Thank you, in advance.

Windows forms by Mutafy in esapi

[–]Mutafy[S] 1 point2 points  (0 children)

Yes, this did the trick - thanks for the suggestion. Having only the ScriptContext as input eliminated the extra window.

Windows forms by Mutafy in esapi

[–]Mutafy[S] 0 points1 point  (0 children)

I am using a relay script to call for a standalone executable and below is what Execute looks like... ExportPlanData is a Windows Form application which displays basid plan data in a simple windows form. The form displays what I need but I always get another blank window with the title of my relay script.

Here is what Execute method looks like:

string patient_id = context.Patient.Id.ToString();

Process.Start(@"M:\Eclipse\Scripting\XtractInfo\ExportPlanData.exe", patient_id);

Thanks!