Pinnacle : PrescriptionList

Description

PrescriptionList contains information about trial prescriptions.

Utilization

Save Command

TrialList.Current.PrescriptionList.Current.Save="/home/p3rtp/RXListExample.txt";

Prescription Name

TrialList.Current.PrescriptionList.Current.Name;

Prescription Index Number (0 = 1st, 1=2nd, etc)

TrialList.Current.PrescriptionList.Current.Index;

Prescription Monitor Units

TrialList.Current.PrescriptionList.Current.RequestedMonitorUnitsPerFraction;

Prescription Dose

TrialList.Current.PrescriptionList.Current.PrescriptionDose;

Prescription Percentage

TrialList.Current.PrescriptionList.Current.PrescriptionPercent;

Prescribed Fractions

TrialList.Current.PrescriptionList.Current.NumberOfFractions;

Prescription ROI (if available)

TrialList.Current.PrescriptionList.Current.PrescriptionRoi;

Method (?)

TrialList.Current.PrescriptionList.Current.Method;

Normalization Method

Options: “Max Dose”, “ROI Min”, “ROI Max”, “ROI Mean”, “Point Dose”

TrialList.Current.PrescriptionList.Current.NormalizationMethod;

Prescription Period (?)

TrialList.Current.PrescriptionList.Current.PrescriptionPeriod;// "Per Fraction";

Weights Proportional to

TrialList.Current.PrescriptionList.Current.WeightsProportionalTo; //= "Monitor Units";

Dose Uncertainty

TrialList.Current.PrescriptionList.Current.DoseUncertainty; //= 1;

Prescription Uncertainty

TrialList.Current.PrescriptionList.Current.PrescriptionUncertainty; // = 1;

Dose Uncertainty Valid

TrialList.Current.PrescriptionList.Current.DoseUncertaintyValid; // = 0;

Prescription Uncertainty Valid

TrialList.Current.PrescriptionList.Current.PrescripUncertaintyValid; // = 0;

Prescription Color

See ColorList for examples

TrialList.Current.PrescriptionList.Current.Color; // "red", "blue", etc;

Examples

Make Prescription Current

Store. StringAt. RX = "Prescription_1"; //Assuming there exists a prescription named "Prescription_1"
TrialList.Current.PrescriptionList.Current=Store. StringAt. RX; 
TrialList.Current.PrescriptionList.Current="Prescription_1";//This does the same thing as above.

Change Prescription Name

Store. StringAt. RX = "Prescription_1"; //Assuming there exists a prescription named "Prescription_1"
TrialList.Current.PrescriptionList.CurrentName=Store. StringAt. RX; 
TrialList.Current.PrescriptionList.Current.Name="Prescription_1";//This does the same thing as above.