1) Open DICOM export window
WindowList .DICOMExport .Create = "DICOM...";
2) Send RT Plan
PluginManager .DICOMExportPlugin .SendPlan = 1;
a) Send SSD in all arc control points
PluginManager .DICOMExportPlugin .SSDInArcs = 1;
b) Select Prescription for export
PluginManager .DICOMExportPlugin .PrescriptionList .#"#0" .SelectedForDICOMExport = 1;
c) Select Tolerance Table
PluginManager .DICOMExportPlugin .PrescriptionList .#"#0" .ToleranceTableName = "1 YourToleranceTable";
3) Send RT Structures
PluginManager .DICOMExportPlugin .SendStructures = 1;
a) RT Structures for export
PluginManager .DICOMExportPlugin .RTStructureListSelected .#"#0" .Value = 1;
PluginManager .DICOMExportPlugin .UpdateStructureList = 1;
4) Send RT Image
PluginManager .DICOMExportPlugin .SendDRR = 1;
a) Annotate RT images
PluginManager .DICOMExportPlugin .AnnotateDRR = 1;
5) Send RT Dose
PluginManager .DICOMExportPlugin .SendRTDose = 1;
a) Dose per control point
PluginManager .DICOMExportPlugin .SendRTDosePerCP = 1;
b) Dose per beam
PluginManager .DICOMExportPlugin .SendRTDosePerBeam = 1;
c) Dose per prescription
PluginManager .DICOMExportPlugin .SendRTDosePerPrescription = 1;
d) Sum of selected prescriptions
PluginManager .DICOMExportPlugin .SendRTDoseForPlan = 1;
6) Send Spatial Registration
PluginManager .DICOMExportPlugin .SendSpatialRegistration = 1;
7) Send DICOM Image
PluginManager .DICOMExportPlugin .SendDICOMImage = 1;
a) Select DICOM Image(s)
PluginManager .DICOMExportPlugin .DICOMImageListSelected .#"#0" .Value = 1;
PluginManager .DICOMExportPlugin .UpdateDICOMImageList = 1;
8) Send Setup Beams
TrialList .#"#0" .CalledFromDICOMRTExport = "true";
TrialList .#"#0" .SelectSendSetup = 1;
TrialList .#"#0" .PlanEvalDRRSetup_DICOMRT = 1;
PluginManager .DICOMExportPlugin .SendSetup = 1;
a) Annotate setup beams
PluginManager .DICOMExportPlugin .AnnotateSetup = 1;
b) Select the POI and machine to use for the setup beams
TrialList .#"#0" .SetupBeamIsocenterName = "POI_1";
TrialList .#"#0" .SetupBeamPhotonMachineName = "21-IX MLK";
TrialList .#"#0" .PlanEvalDRR = "OK";
c) Select setup beam DRR orientation
TrialList .#"#0" .QABeamList .SetupBeam1 .StandardOrientation = "Left"; //Left, Right, Anterior, Posterior, Inferior, Superior
TrialList .#"#0" .QABeamList .SetupBeam2 .StandardOrientation = "Anterior"; //Left, Right, Anterior, Posterior, Inferior, Superior
d) Change POI
TrialList .#"#0" .QABeamList .SetupBeam1 .Isocenter = "POI_1";
TrialList .#"#0" .QABeamList .SetupBeam2 .Isocenter = "POI_1";
e) Change machine
TrialList .#"#0" .QABeamList .SetupBeam1 .Machine = "Linac_1";
TrialList .#"#0" .QABeamList .SetupBeam2 .Machine = "Linac_1";
TrialList .#"#0" .DRRHelper .MachineChanged = "Linac_1";
9) Select destination AE Title
PluginManager .DICOMExportPlugin .RemoteAETitle = "EMR_AETitle";
DyeKom .AETitle = "EMR_AETitle";
10) Export DICOM data
a) Select trial
TrialList .Current = "TrialList name";
b) Set DICOM timeout
DICOM .TimeOutLength = "500";
c) Set series number
TrialList .Current .SeriesNumber = "111";
d) Set series description
TrialList .Current .SeriesDescription = "SomeDescription";
e) Transmit data
WindowList .DICOMExport .WidgetList .RTStructureList .Activate = "Transmit Data";
WindowList .DICOMExport .WidgetList .RTPrescriptionList .Activate = "Transmit Data";
WindowList .DICOMExport .WidgetList .DICOMImageList .Activate = "Transmit Data";
WindowList .DICOMExport .WidgetList .SetupBeamList .Activate = "Transmit Data";
WindowList .DICOMExport .WidgetList .RTAETitleOption .Activate = "Transmit Data";
ExportDICOMRT = "Transmit Data";