This chapter of the TDFPlan user guide includes illustrations of how to use TDFPlan to work the six example problems in B. Jones and R.G. Dale, Radiobiological compensation of treatment errors in radiotherapy, The British Journal of Radiology, 81(2008), 323326. The links below will skip over the introductory material and take you directly to the example problems.
Perhaps a planned regimen is stopped before its intended completion date due to unforseen circumstances, or a treatment error is detected early in the course and now you want design a revised course to deliver the originally intended biological effect. Lets begin with a really simple example.
In this case the makeup wizard defaults to matching the intended acute BED for course #1 because spreadsheet cell (course #1,A BEDn) is what is highlighted in the IMR spreadsheet. The BED already delivered is assumed to be the sum of any included courses, which is only course #2 in this example. The BED that needs to be made up is the intended BED for the applicable reactions (acute or late) minus the corresponding delivered BED. For instance, if the intended BED for acute effects is 72.00 Gy_{10} and the actually delivered fractions sum to 62.40 Gy_{10} then the BED that needs to be madeup is 72.00  62.40 = 9.60 Gy_{10}. The wizard defaults to putting the makeup course into the first unincluded course which is course #3 (blue background) in this example. The makeup regimen is assumed to begin the next available treatment day after the last delivered treatment. You can override these defaults if necessary. The background color of the proposed makeup field will change from green to red or yellow if the proposed dose per fraction is greater or less than the originally intended course fraction size according to the warning threshold (defaults to 15%). Adjust the number of fractions until an acceptable regimen is displayed and click the Accept Proposed Makeup button to install the regimen and exit the dialog.
Example #1 from B. Jones and R.G. Dale, Radiobiological compensation of treatment errors in radiotherapy, The British Journal of Radiology, 81(2008), 323326.
A prescription of 45 Gy in 25 x 1.8 Gy fractions to the pelvis for squamous cell cancer of the cervix is incorrectly delivered as 1.5 Gy per fraction for 10 fractions. The tissue maximum dose was 105% in small bowel. The aim will be to deliver the same (i.e. prescribed) normal tissue BED in the same overall treatment time. Intended small bowel dose = 45 x 1.05 x (1 + 1.8 X 1.05/3) = 77.0 Gy_{3}.
To follow this example in TDFPlan start a New Patient. Use the default biology settings. Enter the intended regimen as course #1 as illustrated below. Set the treatment start date in the Calendar window. Label course #1 "Intended dose to small bowel". Set the "Calculate dose to % of the Rx" field for course #1 to 105%. Keep the "Rx to % isodose" field at 100%. Click the cell in the L BEDn column of the IMR spreadsheet for course #1 (77.02 LQ) to mark that as the BED to match in the makeup calculation. Make sure the include control for course #1 is NOT checked.
First phase BED = 10 x 1.5 x 1.05 x (1 + 1.5 x 1.05/3) = 24.0 Gy_{3}.
In TDFPlan enter the erroneously delivered first phase in course #2 as illustrated below. Set the treatment start date in the Calendar window. Label course #2 "1st phase". Again, set the "Calculate dose to % of the Rx" field for course #2 to 105%. Make sure the include control for course #2 IS checked.
Remaining BED = 77.0  24.0 = 53.0 Gy_{3}. As 15 further fractions are to be given, the required fractional dose (d) to match the originally prescribed normal tissue BED is given by the solution of: 15 x d x 1.05 x (1 + 1.05 X d/3) = 53.0, i.e d = 1.98 Gy
In TDFPlan click the Makeup... button located just above the IMR spreadsheet. The makeup "wizard" will notice that you marked the cell in the L BEDn column of the IMR spreadsheet for course #1 as the BED to match in the makeup calculation. The wizard will therefore initialize the makeup calculation for late reactions with an intended late BED of 77.02. The wizard will the sum the late BED for all included courses in the IMR. Since only course #2 describing the 1st erroneous phase is included, the late BED already delivered will be assumed to be 24.02, and the balance to makeup will be 53.00. The wizard will find the 1st unused course after the last included course for the makeup. In this example the wizard chooses to place the makeup course in IMR course #3. The start of the makeup regimen is assumed to begin on the next available treatment day following the end of the delivered courses. You can manually override all of these assumptions.
Adjust the number of fractions until an acceptable makeup regimen is displayed and click the Accept Proposed Makeup button to install the regimen and exit the dialog.
The makeup wizard rounds the dose per fraction to the nearest 0.1 cGy and then adds the makeup course to the IMR. The total BED for the applicable (acute or late) BEDn column should now closely match the intended BED.
If the tumour involved is squamous cell cancer of the cervix (assumed α/β = 10 Gy), then the BED as originally prescribed (assuming the dose was prescribed to the 100% isodose in the tumour) would have been: BED = 45 x (1 + 1.8/10) = 53.1 Gy_{10}.
The actual BED delivered in the overall treatment, following correction, is: [1.5 x 10 x (1 + 1.5/10)] + [15 x 1.98 x (1 + 1.98/10)] = 52.8 Gy_{10}.
Thus, the originally prescribed normal tissue BED has not been exceeded, yet the overall treatment, after correction, has delivered a tumour BED that is only 0.6% less than that originally prescribed. (A tumour repopulation correction is not required in this example as the overall treatment time is kept unaltered.) In practice, both the prescribed and the final tumour BEDs will be less than those calculated and quoted here if repopulation is included, but by the same amount in each case.
In TDFPlan enter the intended regimen into course #4 and leave the "Calculate dose to % of the Rx" field for course #4 as 100% (this field was set to 105% in course #1 because we were interested in dose to the small bowel, whereas now we are interested in dose to the tumor). Click the cell in the A BEDn column for course #4 to highlight the intended BED. Do NOT "include" the course.
Enter the 1st phase in course #5, be sure to include course #5 and set the "Calculate dose to % of the Rx" field to 100%.
Copy the makeup course into course #6, include it and label the course "Makeup to tumor". Round the Rx fraction down to 198 and be sure the "Calculate dose to % of the Rx" field is 100%.
The cumulative acute BED (e.g. 52.83) to the tumor for the 1st phase and the makeup (ie included courses #5 and #6) is displayed at the bottom of the A BEDn column of the IMR spreadsheet.
Example #2 from B. Jones and R.G. Dale, Radiobiological compensation of treatment errors in radiotherapy, The British Journal of Radiology, 81(2008), 323326.
A head and neck squamous cell cancer Phase I schedule of 46 Gy in 23 fractions has been delivered at 4 Gy per fraction for 3 fractions. The average spinal cord dose was accepted as 103% of the prescribed tumour dose. Intended BED to cord = 46 x 1.03 x (1 + 1.03 x 2/2) = 96.2 Gy_{2}. "Overdose" of cord BED in the first three fractions = 4 x 3 x 1.03 x (1 + 1.03 x 4/2) = 37.8 Gy_{2}.
To follow this example in TDFPlan start a New Patient. Set α/β = 2 Gy for late reactions in the biology settings. Enter the intended regimen as course #1 and set the treatment start date in the Calendar window. Label course #1 "Intended dose to cord". Set the "Calculate dose to % of the Rx" field for course #1 to 103% for all cord related calculations. Keep the "Rx to % isodose" field at 100%. Click the cell in the L BEDn column of the IMR spreadsheet for course #1 (96.18 LQ) to mark that as the BED to match in the makeup calculation. Make sure the include control for course #1 is NOT checked.
Enter the erroneously delivered first 3 fractions in course #2 as illustrated below. Set the same treatment start date (as course #1) in the Calendar window. Label course #2 "Initial overdose to cord". Again, set the "Calculate dose to % of the Rx" field for course #2 to 103%. Make sure the include control for course #2 IS checked.
Deficit = 96.2  37.8 = 58.4 Gy_{2}.
In TDFPlan click the Makeup... button located just above the IMR spreadsheet. The makeup "wizard" will notice that you marked the cell in the L BEDn column of the IMR spreadsheet for course #1 as the BED to match in the makeup calculation. The wizard will therefore initialize the makeup calculation for late reactions with an intended late BED of 96.18. Thw wizard will the sum the late BED for all included courses in the IMR. Since only course #2 describing the 1st erroneous overdose fractions is included, the late BED already delivered will be assumed to be 37.82, and the balance to makeup will be 58.36. The wizard will find the 1st unused course after the last included course for the makeup. In this example the wizard chooses to place the makeup course in IMR course #3. You can manually override all of these assumptions.
The background of the result field is yellow in this example indicating that the makeup dose per fraction will be more than 15% lower than the originally intended dose per fraction. Adjust the number of fractions until an acceptable makeup regimen is displayed. Click the Accept Proposed Makeup button to install the regimen and exit the dialog.
To complete treatment in the originally prescribed time (in 20 remaining fractions), the dose per fraction required in these remaining fractions is the solution for d of: 20 x d x 1.03 x (1 + 1.03 x d/2) = 58.4, i.e. d is found to be 1.57 Gy.
In TDFPlan, the makeup solution is rounded to the nearest 0.1 cGy (156.8 cGy) and is placed in course #3. The cumulative BED for late effects from included courses #2 and #3 appears at the bottom of the L BEDn column of the spreadsheet and closely matches the intended BED of 96.18.
The intended tumour BED (assuming α/β = 10 Gy) was 55.2 Gy_{10} and the actual tumour BED will be 53.1 Gy_{10}
In TDFPlan copy the intended regimen into course #4, label it "Intended dose to tumor". Do not include course #4. Click the A BEDn column spreadsheet cell for course #4 to indicate this is now the intended acute BED.
Copy the overdose course into course #5, include it and label it "Initial overdose to tumor". Copy the makeup course into course #6, include it and label it "Makeup dose to tumor". If you used copy & paste to create these courses be sure to reset the "Calculate dose to % of the Rx" field to 100% for courses #4, #5 and #6 (and all other tumor related courses).
The cumulative BED for acute reactions to tumor (53.08) appears at the bottom of the A BEDn column of the spreadsheet.
a slight reduction that can be gained back by, for example, replacing the final fraction with two fractions each of 1.2 Gy with a 7 h gap between them to ensure near complete repair. This would result in a final tumour BED of: [4 x 3 x (1 + 4/10)] + [19 x 1.57 x (1 + 1.57/10)] + [2 x 1.2 x (1 + 1.2/10)] = 54.0 Gy_{10}, only 2% less than originally prescribed.
In TDFDPlan uncheck the include control for course #6 and copy and paste course #6 into course #7. In course #7 check the include control, lock the Rx fraction field and reduce the number of fractions from 20 to 19.
To complete the example, use course #8 to include the last day's BID regimen of 2 fractions of 120 cGy. The cumulative acute BED (54.00) for the initial overdose (course #5), the revised 19 fraction makeup (course #7) and the final 2 BID fractions (course #8) is found at the bottom of the A BEDn column of the spreadsheet.
An error in both dose distribution and dose (owing to omission of a wedge filter) has occurred in the first 15 fractions of a course of 64 Gy in 32 fractions in the first phase treatment of a prostate cancer (assumed α/β = 4 Gy). Owing to the error, the isocentre (tumour) dose was increased from 100% to 133%, the maximum rectal dose from 103% to 133%, and the maximum bladder dose from 105% to 140%. Intended tumour BED = 96.0 Gy_{4}. Intended maximum bladder BED = 114.2 Gy_{3}. Intended maximum rectal BED = 111.2 Gy_{3}. The BEDs at the time of discovering the error are: Tumour BED = 2 x 1.33 x 15 x (1 + 2 x 1.33/4) = 66.4 Gy_{4} Bladder BED = 2 x 1.40 x 15 x (1 + 2 x 1.40/3) = 81.2 Gy_{3} Rectal BED = 2 x 1.33 x 15 x (1 + 2 x 1.33/3) = 75.3 Gy_{3}.
In TDFPlan start a new patient and set α/β for acute reactions = 4 Gy and late reactions = 3 Gy (the default). Enter the intended fractionation in courses #1, #2 and #3. Title course #1 "intended tumor" and keep the "Rx to % isodose" field at 100%. Title course #2 "intended max bladder" and set the "Calculate dose to" field to 105% of the Rx. Title course #3 "intended max rectal" and set the "Calculate dose to" field to 103%. The intended acute (96.00) and late (114.24 and 111.19) BED are displayed in the IMR spreadsheet.
Enter the first 15 fractions in courses #4, #5 and #6. Title course #4 "tumor at 15 fractions" and keep the "Calculate dose to" field at 133%. Title course #5 "bladder at 15 fractions" and set the "Calculate dose to" field to 140%. Title course #6 "rectal at 15 fractions" and set the "Calculate dose to" field to 133%. The acute (66.43) and late (81.20 and 75.28) BED for these 15 fractions are displayed in the IMR spreadsheet.
The remaining BEDs that should be delivered are, respectively: Tumour = 96.0  66.4 = 29.6 Gy_{4} Bladder = 114.2  81.2 = 33.0 Gy_{3} Rectum = 111.2  75.3 = 35.9 Gy_{3}.
To calculate the makeup course for the tumor click the A BEDn column cell of course #1 to mark the makeup target. Include only course #4 (the dose that was erroneously delivered for the first 15 fractions) in the BED calculation. In the Makeup... wizard change the destination course for the makeup to be course #7 (since courses #5 and #6 are being used to track the bladder and rectal BED). Calculate the makeup.
To complete the treatment without changing the number of remaining fractions (17), the required dose per fraction (d) to restore the prescribed tumour BED is the solution of: Tumour: 17 x d x (1 + d/4) = 29.6Gy_{4} i.e. d = 1.31 Gy.
The makeup solution appears in course #7.
The dose gradient caused by the original omission of the wedges must also be corrected for in the compensatory phase of treatment. Let the new percentage isodoses (normalized to the new tumour dose) be g_{B} and g_{R} for bladder and rectum, respectively. Consequently, g_{B} and g_{R} may be assessed from the following equations: Bladder: 17 x 1.31 x g_{B} x (1 + g_{B} x 1.31/3) = 33.0 Gy_{3}. Rectum: 17 x 1.31 x g_{R} x (1 + g_{R} x 1.31/3) = 35.9 Gy_{3}. The solutions for g_{B} and g_{R} are 1.025 and 1.09, respectively. The planning team can then attempt to match the revised isodose distributions to meet these requirements and allow the final BEDs to be as close as possible to the prescribed values. In this example, the authors have not assumed a low value of tumour α/β such as 1.5 Gy, which is less than that of normal tissue, because the compensation could produce a potentially dangerous result if such an assumption is incorrect. In TDFPlan you can use the ESC Calculator to solve g_{B} and g_{R}. For instance, to solve g_{R} set the Target BED = 35.9, the # Fractions = 17, and adjust the Calculate BED to % of the Rx until the Rx Fraction = 131. 

Owing to a treatment setup error, the superior half of a tonsillar carcinoma was out of the treatment field for the first eight fractions. The intended dose for the whole tumour was 70 Gy in 35 fractions. Intended tumour BED = 70 x (1 + 2/10) = 84.0 Gy_{10}. In the first eight fractions, the inferior half of the tumour received a BED of 8 x 2 x (1 + 2/10) = 19.2 Gy_{10}. It was decided to open the field to cover the originally intended volume and continue with 2 Gy per day. Additionally, on 14 of the treatment days, a boost to the superior half was added using nondivergent beam edge matching. A gap of at least 6 h was allowed between the two fractions delivered on each of those 14 days. The 27 X 2 Gy fractions to the upper half would deliver a BED of 54 x (1 + 2/10) = 64.8 Gy_{10}. This leaves 84.0  64.8 = 19.2 Gy_{10} to be given by the additional 14 (second daily) fractions to the reduced field. The dose per fraction thus required is given by d in: 14 x d x (1 + d/10) = 19.2, for which d = 1.22 Gy. The BED to the initially untreated half of the tumour will thus be restored to be 64.8 + 19.2 = 84 Gy_{10}, as originally intended. Normal tissues close to the upper half of the tumour receive: [27 x 2 x (1 + 2/3)] + [14 x 1.22 x (1 + 1.22/3)] = 114.0 Gy_{3}. This compares favourably with the originally prescribed normal tissue BED of: 70 x (1 + 2/3) = 116.7 Gy_{3}, although no allowance has been made in the compensatory treatment for the possible effects of incomplete repair from the second dose per day, because the interval is kept as long as >= 6 h.
In TDFPlan enter the intended dose to tumor in course #1. Enter the first 8 fractions to the inferior half as course #2. Enter the remaining 27 fractions to the upper half as course #3. Mark the acute BED of the intended regimen (84.00) in course #1 as the intended target for the makeup wizard. Include only course #3 and open the makeup wizard.
Set the makeup wizard for a 14 fraction solution in course #4 starting on the same date as the delivered correct fractions. This start date will flag the calculation as being concomitant. The makeup regimen is also highlighted in yellow to indicate the dose per fraction is quite low compared to the original intent. This makeup dose per fraction is intended so the warning color can be safely ignored. Accept the proposed makeup regiman. Rename course #4 as "concomitant boost to superior half".
A solitary plasmacytoma of the L2 vertebral body was to be treated by a single posterior field and prescribed a dose of 45 Gy in 25 fractions at spinal cord depth, the distal tumour region receiving 93% of the prescribed dose. Owing to an error, the distal tumour is actually treated to 113% of the prescribed cord dose for the first seven fractions. The plasmacytoma α/β is assumed to be 10 Gy (and cord α/β = 2 Gy). The intended spinal cord BED = 45 x (1 + 1.8/2) = 85.5 Gy_{2}. The intended minimum tumour BED = 0.93 x 45 x (1 + 0.93 x 1.8/10) = 48.9 Gy_{10}.
In TDFPlan enter the intended regimen to cord in course #1. Enter the intended regimen in course # 2 and set the "Calculate dose to % of the Rx" field for course #2 to 93% to represent the minimum tumor dose.
Following seven fractions of 1.13 x 1.8 Gy (i.e. 2.03 Gy per fraction), the BED to the tumour is 7 x 2.03 x (1 + 2.03/10) = 17.1 Gy_{10}. The spinal cord BED has been initially delivered as 1.8 x 113/93 = 2.19 Gy per fraction, so that the spinal BED in the first seven fractions is: 7 x 2.19 x (1 + 2.19/2) = 32.1 Gy_{2}. The difference between the intended and already given spinal cord BED is thus 85.5  32.1 = 53.4 Gy_{2}. To deliver the originally prescribed spinal cord BED, the remaining treatments, if completed using the same intended number of fractions, will be given at a spinal cord dose per fraction given by d in: 18 x d x (1 + d/2) = 53.4, i.e. d = 1.63 Gy.
In TDFPlan enter the erroneous dose to tumor in course #3 and the erroneous dose to cord in course #4. Enable only course #4.
Use the makeup wizard to calculate the makeup regimen.
Accept and install the makeup as course #5
The minimum tumour BED will then be 17.1 + 18 x 0.93 x 1.63 x (1 + 0.93 x 1.63/10) = 48.5 Gy_{10}.
In TDFPlan copy and paste the makeup that was calculated for cord in course #5 into course #6, retitle course #6 as "Makeup dose to tumor", and set the "Calculate dose to % of the Rx" field for course #6 to 93% to represent the minimum tumor dose. Include only courses #3 and #6 in the BED calculation. The cumulative acute BED (48.58) corresponding to the minimum tumor dose appears at the bottom of the A BEDn column of the IMR spreadsheet.
A radical course of radiotherapy (prescribed as 55 Gy in 20 fractions) is intended for a stage T1 N0 M0 squamous cell lung cancer. 5 Gy per fraction is delivered in error for the first seven fractions. The spinal cord was not directly irradiated. Intended BED = 55 x (1 + 2.75/10) = 70.1 Gy_{10}. Tumour BED in first seven fractions = 35 x (1 + 5/l0) = 52.5 Gy_{10}. The intended lung BED to PTV = 55 x (1 + 2.75/3) = 105.4 Gy_{3}. Lung BED in first seven fractions = 7 x 5 x (1 + 5/3) = 93.3 Gy_{3}.
In TDFPlan set up the intended and erroneously delivered courses as before (e.g. see example 2) and click the Makeup... button
In the 13 remaining treatments, in order to preserve lung tolerance, the required fractional dose to give a BED of 105.4  93.3 = 12.1 Gy_{3} is given by d in 13 x d x (1 + d/3) = 12.1, i.e. d is 0.74 Gy. This dose per fraction is small and in the range where the LQ model is considered to be less reliable owing to the possibility of lowdose hypersensitivity effects [7].
The Makeup... wizard defaults to these settings and is warning by the yellow color that the fraction dose is low. Click the Accept Proposed Makeup button.
The makeup appears in course #3.
It was therefore decided to give fewer than 13 fractions in order to deliberately increase the fractional dose size. To find the required fractional dose in (for example) eight fractions, solve for d in: 8 x d x (1 + d/3) = 12.1 i.e. d = 1.1 Gy.
Clear course #3 (using the edit menu's clear course item). Return to the Makeup... wizard and manually change the default 13 fractions to 8 fractions. Click the Accept Proposed Makeup button.
The relevant BED to the PTV (planning target volume) is then: 93.3 + [8 x 1.1 x (1 + 1.1/3)] = 105.3 Gy_{3}. The resultant tumour BED is 52.5 + [8 x 1.1 x (1 + 1.1/10)] = 62.3 Gy_{10}; this is considerably (11%) lower than intended (70.1 Gy_{10}), but the treatment has been delivered in a shorter overall time.
The makeup once again appears in course #3.
However, if the repopulation BED equivalent (K) is between 0.2 Gy and 0.5 Gy per day by the fourth week of treatment, a time saving of 57 days would, at best, restore approximately 3.5 Gy_{10} of the deficit, which is insufficient. As a result, the clinician has the option of accepting a higher PTV dose in order to preserve adequate tumour dose; there is also the option of making the field sizes smaller if tumour shrinkage has occurred. For example, by using field sizes 0.7 cm smaller in each direction, it might be decided to give the final phase of treatment by means of 10 fractions of 1.4 Gy. Thus, the BED to the smaller PTV would be 93.3 + [10 x 1.4 x (1 + 1.4/3)] = 113.8 Gy_{3}, which is 8% higher than the prescribed dose of 105.4 Gy_{3}. The tumour BED would be 52.5 + [10 x 1.4 X (1 + 1.4/10)] = 68.5 Gy_{10}, which is 2.3% lower than the prescribed dose of 70.1 Gy_{10}. This is a compromise solution to the problem.
Uninclude course #3 and include course #4. Set the number of fractions for course #4 to 10 and lock the # Fractions field. Interactively adjust the Rx fraction dose (e.g. to 140) using the small arrows and observe the acute and late BED totals at the bottom of the IMR spreadsheet.
You can use the Makeup wizard and/or the ESC calculator (the ESC calculator, however, does not recognize long treatment gaps, it is primarily designed to match the starting date of the originally intended course) to explore alternative methods of delivering missing BED, such as by fewer fractions, BID, concomitant, or brachytherapy. For example, using the case above, lets say you want to makeup for the 800 cGy deficit that resulted from the patient missing 4 treatments, but the patient is leaving on vacation and there are only 3 days available. In the ESC window, uncheck the Match IMR BED box and enter a Target BED of 9.60. Set the number of ESC fractions to 3. The result of 765 cGy delivered in 3 fractions of 255 cGy will deliver the required BED of 9.6 Gy_{(10.0)} Another option is to mark missed treatment days on the course calendar (select course #1 and shiftclick on the missed dates). The "Auto Sequence Courses" button in the Course Calendar window will automatically reconfigure all included IMR courses and display the updated BED. To get the most benefit from this calculation tumor repopulation should be included in the calculation. You can explore the biological effect of additional fractions to compensate for tumor repopulation by enabling repopulation in the biology group. 
