Code Monkey home page Code Monkey logo

plancheck's Introduction

PlanCheck

A version 15/16 read-only plugin script that checks: Plan DVH metrics including planSums and planSetups, with PDF reports and customizable templates. Collisions between Body/Support/Gantry (gantry distances were from a Trilogy), and gives approximate distances with 3D, IMRT, VMAT, electron applicators, and ICVI SRS cones. Hard-coded plan/structure/dose checks.

This project includes code from EsapiEssentials, SimplePdfReport, and DvhSummary from redcurry.

This project includes helper/geometry class code from HelixToolkit.

This project includes code from DVHMetric from Steve Thompson and Tomasz Morgas.

To run:

  1. Right click solution > Restore NuGet Packages
  2. Set Configuration Manager to x64 for all projects
  3. Remove references to VMS.TPS.Common.Model.API and VMS.TPS.Common.Model.Types, and add the local dlls from the C: drive
  4. Make sure you are running the correct version of EsapiEssentials in PlanCheck and PlanCheck.Runner projects (15.5 uses 1.9, 15.6 uses 2.0)
  5. Right click PlanCheck.Runner project > Set as StartUp Project.
  6. Build all, and then drop dlls (located in PlanCheck.Script/bin folder) and ConstraintTemplates folder into Published Scripts folder.
  7. In Eclipse, Tools>Scripts, run the plan check.esapi.dll file.

alt text

plancheck's People

Contributors

ldclark avatar mattcschmidt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plancheck's Issues

PDF Print missing manifest

Hi Landon,

I was trying to run your awesome planchecker. It runs great, and evaluates plan checks and dose metrics very well. When I try to print my assembly.GetManifestResourceStream(fullname) returns null and thereby throws an argument exception in line 40 of SexSymbol.cs. I'm unfamiliar with how manifests work, but I'm wondering if I'm missing a file for the PlanCheck.Reporting.MigraDoc project?

Thank you,

How to implement

Dear Landon, Came across ur script, as i am novice to eclipse scripting, would you plz let me know how to utiliize it in an Eclipse 15.6 environment. Thanks in advance.

Yoga D

Script is running but the Browser is not opening

Dear Landon,
I hope everything is well with you. I was trying to run your PlanCheck scripts but when I run it, the script seems to be running on the background without any error but there are no browser or any dialog box that is opening. Kindly advice. Thank you.

Buid erros

Hi
When trying to build I am getting the following errors in EsappiService.cs,

Error CS1061 'Structure' does not contain a definition for 'StructureCode' and no accessible extension method 'StructureCode' accepting a first argument of type 'Structure' could be found (are you missing a using directive or an assembly reference?) PlanCheck ...\PlanCheck-master\PlanCheck-master\PlanCheck.Script\Esapi\EsapiService.cs 114 Active

I am using v15.6 and have checked that I have v2 of EsapiEssentials, any ideas?
Thanks
James

selected constraintCSV-title to PDF

Thank you very very much for putting this together. The way you have created this script makes it very easy to customize it to your own clinical needs.
Here my question:
I am bad at avoiding circular dependencies. Do you know an easy way to get the selected constraintCSV-title to the PDF-report. It would be nice to see this there but I have problems to implement it.
Thanks. Keep up the very good work.

Trouble getting everything sorted for first compile.

First thanks for putting this together. It looks very interesting and I'm excited to see what all you've done.

Trying to get to where I can compile and run it, I've ran in to some trouble. I am relatively new to some of this so it maybe that I'm just making beginner type mistakes.

In any case, I started with a clone of the repository to a local directory using the Git GUI.

After that I worked through references, most of which I was able to resolve.

However, under plan check reporting - there is a reference for MigraDoc.RtfRendering. I have found what I think should go there on Nuget but, am failing to be able to install because of difference in target framework. V4.5 for the project, something different for the reference. Any clues here?

From there it seems like I'm missing,

Helpers:
\PlanCheck.Script\Helpers\ContourHelper.cs
\PlanCheck.Script\Helpers\DVHExtensions.cs
\PlanCheck.Script\Helpers\HelixToolkitException.cs
\PlanCheck.Script\Helpers\INotifyUserMessaged.cs
\PlanCheck.Script\Helpers\UserMessagedEventArgs.cs
\PlanCheck.Script\Helpers\UserMessager.cs

PNGs:
\PlanCheck.Script\Resources\DoseInValid.png
\PlanCheck.Script\Resources\DoseValid.png
\PlanCheck.Script\Resources\PlanApproved.png
\PlanCheck.Script\Resources\PlanRejected.png
\PlanCheck.Script\Resources\PlanSum.png
\PlanCheck.Script\Resources\PlanUnapproved.png
\PlanCheck.Script\Resources\PlanVerification.png
\PlanCheck.Script\Resources\TreatApproved.png

\PlanCheck.Reporting\packages.config

\PlanCheck.Runner\Properties\Resources.resx
\PlanCheck.Runner\App.config

Any help/ info or guidance would be greatly appreciated. Again, I can see there was a lot of work here and am excited to see it operate.

Build error

Error:CS1061 'StructureCodeInfo' does not contain a definition for 'StructureCode' and no accessible extension method 'StructureCode' accepting a first argument of type 'StructureCodeInfo' could be found (are you missing a using directive or an assembly reference?)

Error:CS0006 Metadata file 'C:\Users\Varian\Desktop\PlanCheck-master\PlanCheck.Script\bin\x64\Debug\PlanCheck-2.0.0.32.esapi.dll' could not be found

Please Give Some Solution::::::
I using 15.5v of ESAPI with 1.9v of EsapiEssential

PQM ID Aliases not consistently working

Hi,
Lack of standardization is the bane of all our existence. I'm trying to use the ID Alias feature in the PQM templates, and it seems like it works for some structures and not for others.

For example it is able to successfully associate the alias "Aorta" for "GreatVessels", but it's not able to associate alias "PTV" for "PTV_5000". Or associate alias "LungsMinusGTV" for "LungsMinusITV".

Error in building from the project.

Dear Sir ,

          At first, I want to say thank you for sharing such interesting work as open source.  I am very new to scripting while building the script from your project I am facing the error below in visual studio. Can your please help me to resolve that?  I am using eclipse version 16.1 is that cause this problem or i am missing some .dll.

Severity Code Description Project File Line Suppression State
Error CS0006 Metadata file 'C:\Users\91986\Downloads\PlanCheck-master\PlanCheck-master\PlanCheck.Script\bin\x64\Debug\PlanCheck-2.0.0.0.esapi.dll' could not be found PlanCheck.Runner C:\Users\91986\Downloads\PlanCheck-master\PlanCheck-master\PlanCheck.Runner\CSC 1 Active

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.