Sliding Scale Builder

Sliding Scale Builder
Summary: This calculator is intended to help build a sliding scale. It uses the Total Daily Dose (TDD) of insulin and the 'Rule of 1700' to make the calculation.  Please temper administration of large doses of insulin with good clinical judgement.
[text name="Variable_1" size=5 default=0] <-- What is the patient's usual total daily dose (TDD)of insulin? (units) [comment memo="Add up all the insulin the patient normal takes in a day. This includes long-, intermediate-, short-, and/or rapid-acting insulins. This value must be more than 0."]
[comment memo="NOTE: " memo_color="midnightblue"][comment memo="TDD of 68 = 25 increment, " memo_color="red"][comment memo="TDD of 57 = 30 increment, " memo_color="darkorange"][comment memo="and TDD of 34 = 50 increment. " memo_color="plum"]

------------------------------------------------------------------------------------------
Insulin Sensitivity Factor (ISF): [calc value="score=(1700/(Variable_1));score>0?'':''"][calc value="score1=score.toFixed(2)" memo="ISF"]
The ISF means that one unit of insulin would be expected to lower the blood sugar by approximately [calc value="score1=score.toFixed(0)" memo="ISF"] mg/dL.
To build these sliding scales, the intervals/levels are rounded to the nearest multiple of 5, in this case the interval is [calc value="score2=Math.round(score / 5) * 5" memo="interval"].
------------------------------------------------------------------------------------------
SLIDING SCALE
[calc value="score2=(Variable_1);score2>137?'150-159: Give 1 unit, 160-169: Give 2 units, 170-179: Give 3 units, 180-189: Give 4 units, 190-199: Give 5 units, 200-209: Give 6 units, 210-219: Give 7 units, 220-229: Give 8 units, 230-239: Give 9 units, 240-249: Give 10 units, 250-259: Give 11 units, 260-269: Give 12 units, 270-279: Give 13 units, 280-289: Give 14 units, 290-299: Give 15 units, 300-309: Give 16 units, 310-319: Give 17 units, 320-329: Give 18 units, 330-339: Give 19 units, 340-349: Give 20 units, 350-359: Give 21 units, 360-369: Give 22 units, 370-379: Give 23 units, 380-389: Give 24 units, 390-399: Give 25 units, 400 and above: Give 26 units and contact provider.':score2>97?'150-164: Give 1 unit, 165-179: Give 2 units, 180-194: Give 3 units, 195-209: Give 4 units, 210-224: Give 5 units, 225-269: Give 6 units, 270-294: Give 7 units, 295-309: Give 8 units, 310-324: Give 9 units, 325-339: Give 10 units, 340-354: Give 11 units, 355-369: Give 12 units, 370-394: Give 13 units, 395 and above: Give 14 units and contact provider':score2>75?'150-169: Give 1 unit, 170-189: Give 2 units, 190-209: Give 3 units, 210-239: Give 4 units, 240-259: Give 5 units, 260-279: Give 6 units, 280-299: Give 7 units, 300-319: Give 8 units, 320-339: Give 9 units: 340-359: Give 10 units, 360-379: Give 11 units, 380-399: Give 12 units, 400 and above: Give 13 units and contact provider.':score2>61?'150-174: Give 1 unit, 175-199: Give 2 units, 200-224: Give 3 units, 225-249: Give 4 units, 250-274: Give 5 units, 275-299: Give 6 units, 300-324: Give to 7 units, 325-349: Give 8 units, 350-374: Give 9 units, 375-399: Give 10 units, 400 and above: Give 11 units and contact provider.':score2>52?'150-179: Give 1 unit, 180-209: Give 2 units, 210-239: Give 3 units, 240-269: Give 4 units, 270-299: Give 5 units, 300-329: Give 6 units, 330-359: Give 7 units, 360-399: Give 8 units, 400 and above: Give 9 units and contact provider.':score2>45?'150-184: Give 1 unit, 185-219: Give 2 units, 220-254: Give 3 units, 255-289: Give 4 units, 290-324: Give 5 units, 325-359: Give 6 units, 360-394: Give 7 units, 395 and above: Give 8 units and contact provider.':score2>40?'150-189: Give 1 unit, 190-229: Give 2 units, 230-269: Give 3 units, 270-309: Give 4 units, 310-349: Give 5 units, 350-389: Give 6 units, 390 and above: Give 7 units and contact provider.':score2>35?'150-194: Give 1 unit, 195-239: Give 2 units, 240-284: Give 3 units, 285-329: Give 4 units, 330-374: Give 5 units, 375 and above: Give 6 units and contact provider.':score2>32?'150-199: Give 1 unit, 200-249: Give 2 units, 250-299: Give 3 units, 300-349: Give 4 units, 350-399: Give 5 units, 400 and above: Give 6 units and contact provider.':score2>29?'150-204: Give 1 unit, 205-259: Give 2 units, 260-314: Give 3 units, 315-369: Give 4 units, 370 and above: Give 5 units and contact provider.':score2>27?'150-209: Give 1 unit, 210-269: Give 2 units, 270-329: Give 3 units, 330-389: Give 4 units, 390 and above: Give 5 units and contact provider.':score2>25?'150-214: Give 1 unit, 215-279: Give 2 units, 280-344: Give 3 units, 345-409: Give 4 units, 410 and above: Give 5 units and contact provider.':score2>23?'150-219: Give 1 unit, 220-289: Give 2 units, 290-359: Give 3 units, 360 and above: Give 4 units and contact provider.':score2>22?'150-224: Give 1 unit, 225-299: Give 2 units, 300-374: Give 3 units, 375 and above: Give 4 units and contact provider.':score2>20?'150-229: Give 1 unit, 230-309: Give 2 units, 310 and above: Give 3 units and contact provder.':score2>19?'150-234: Give 1 unit, 235-319: Give 2 units, 320 and above: Give 3 units and contact provder.':score2>18?'150-239: Give 1 unit, 240-329: Give 2 units, 330 and above: Give 3 units and contact provder.':score2>17?'150-244: Give 1 unit, 245-339: Give 2 units, 340 and above: Give 3 units and contact provder.':score2>16?'150-249: Give 1 unit, 250-349: Give 2 units, 350 and above: Give 3 units and contact provder.':score2>15?'150-259: Give 1 unit, 260-369: Give 2 units, 370 and above: Give 3 units and contact provder.':score2>14?'150-264: Give 1 unit, 265-379: Give 2 units, 380 and above: Give 3 units and contact provder.':score2>13?'150-269: Give 1 unit, 270-389: Give 2 units, 390 and above: Give 3 units and contact provider.':score2>12?'150-279: Give 1 unit, 280 and above: Give 2 units and contact provider.':score2>11?'150-289: Give 1 unit, 290 and above: Give 2 units and contact provider.':score2>10?'150-304: Give 1 unit, 305 and above: Give 2 units and contact provider.':score2>9?'150-319: Give 1 unit, 320 and above: Give 2 units and contact provider.':score2>8?'150-339: Give 1 unit, 340 and above: Give 2 units and contact provider.':score2>7?'150-364: Give 1 unit, 365 and above: Give 2 units and contact provider.':score2>6?'150-394: Give 1 unit, 395 and above: Give 2 units and contact provider.':score2>5?'150-429: Give 1 unit, 430 and above: Give 2 units and contact provider.':'Sliding scale may not be indicated'" memo="Sliding Scale"]
[checkbox memo="display/hide references" name="footnotes" value=""][conditional field="footnotes" condition="(footnotes).is('')"]
references: 
The "Rule of 1700" which this is based on were developed by Dr. Paul C. Davidson at the Diabetes Center in Atlanta. 
[link url="http://www.ncbi.nlm.nih.gov/pubmed/21544273" memo="#1"] Guthrie DW, Guthrie RA, Hinnen D, Childs BP. It’s time to abandon the sliding scale. J Fam Pract.[/conditional]
Sliding Scale Builder
Summary: This calculator is intended to help build a sliding scale. It uses the Total Daily Dose (TDD) of insulin and the 'Rule of 1700' to make the calculation. Please temper administration of large doses of insulin with good clinical judgement.
<-- What is the patient's usual total daily dose (TDD)of insulin? (units) Add up all the insulin the patient normal takes in a day. This includes long-, intermediate-, short-, and/or rapid-acting insulins. This value must be more than 0.
NOTE: TDD of 68 = 25 increment, TDD of 57 = 30 increment, and TDD of 34 = 50 increment.

------------------------------------------------------------------------------------------
Insulin Sensitivity Factor (ISF): score=(1700/(Variable_1));score>0?'':''ISFscore1=score.toFixed(2)
The ISF means that one unit of insulin would be expected to lower the blood sugar by approximately ISFscore1=score.toFixed(0) mg/dL.
To build these sliding scales, the intervals/levels are rounded to the nearest multiple of 5, in this case the interval is intervalscore2=Math.round(score / 5) * 5.
------------------------------------------------------------------------------------------
SLIDING SCALE
Sliding Scalescore2=(Variable_1);score2>137?'150-159: Give 1 unit, 160-169: Give 2 units, 170-179: Give 3 units, 180-189: Give 4 units, 190-199: Give 5 units, 200-209: Give 6 units, 210-219: Give 7 units, 220-229: Give 8 units, 230-239: Give 9 units, 240-249: Give 10 units, 250-259: Give 11 units, 260-269: Give 12 units, 270-279: Give 13 units, 280-289: Give 14 units, 290-299: Give 15 units, 300-309: Give 16 units, 310-319: Give 17 units, 320-329: Give 18 units, 330-339: Give 19 units, 340-349: Give 20 units, 350-359: Give 21 units, 360-369: Give 22 units, 370-379: Give 23 units, 380-389: Give 24 units, 390-399: Give 25 units, 400 and above: Give 26 units and contact provider.':score2>97?'150-164: Give 1 unit, 165-179: Give 2 units, 180-194: Give 3 units, 195-209: Give 4 units, 210-224: Give 5 units, 225-269: Give 6 units, 270-294: Give 7 units, 295-309: Give 8 units, 310-324: Give 9 units, 325-339: Give 10 units, 340-354: Give 11 units, 355-369: Give 12 units, 370-394: Give 13 units, 395 and above: Give 14 units and contact provider':score2>75?'150-169: Give 1 unit, 170-189: Give 2 units, 190-209: Give 3 units, 210-239: Give 4 units, 240-259: Give 5 units, 260-279: Give 6 units, 280-299: Give 7 units, 300-319: Give 8 units, 320-339: Give 9 units: 340-359: Give 10 units, 360-379: Give 11 units, 380-399: Give 12 units, 400 and above: Give 13 units and contact provider.':score2>61?'150-174: Give 1 unit, 175-199: Give 2 units, 200-224: Give 3 units, 225-249: Give 4 units, 250-274: Give 5 units, 275-299: Give 6 units, 300-324: Give to 7 units, 325-349: Give 8 units, 350-374: Give 9 units, 375-399: Give 10 units, 400 and above: Give 11 units and contact provider.':score2>52?'150-179: Give 1 unit, 180-209: Give 2 units, 210-239: Give 3 units, 240-269: Give 4 units, 270-299: Give 5 units, 300-329: Give 6 units, 330-359: Give 7 units, 360-399: Give 8 units, 400 and above: Give 9 units and contact provider.':score2>45?'150-184: Give 1 unit, 185-219: Give 2 units, 220-254: Give 3 units, 255-289: Give 4 units, 290-324: Give 5 units, 325-359: Give 6 units, 360-394: Give 7 units, 395 and above: Give 8 units and contact provider.':score2>40?'150-189: Give 1 unit, 190-229: Give 2 units, 230-269: Give 3 units, 270-309: Give 4 units, 310-349: Give 5 units, 350-389: Give 6 units, 390 and above: Give 7 units and contact provider.':score2>35?'150-194: Give 1 unit, 195-239: Give 2 units, 240-284: Give 3 units, 285-329: Give 4 units, 330-374: Give 5 units, 375 and above: Give 6 units and contact provider.':score2>32?'150-199: Give 1 unit, 200-249: Give 2 units, 250-299: Give 3 units, 300-349: Give 4 units, 350-399: Give 5 units, 400 and above: Give 6 units and contact provider.':score2>29?'150-204: Give 1 unit, 205-259: Give 2 units, 260-314: Give 3 units, 315-369: Give 4 units, 370 and above: Give 5 units and contact provider.':score2>27?'150-209: Give 1 unit, 210-269: Give 2 units, 270-329: Give 3 units, 330-389: Give 4 units, 390 and above: Give 5 units and contact provider.':score2>25?'150-214: Give 1 unit, 215-279: Give 2 units, 280-344: Give 3 units, 345-409: Give 4 units, 410 and above: Give 5 units and contact provider.':score2>23?'150-219: Give 1 unit, 220-289: Give 2 units, 290-359: Give 3 units, 360 and above: Give 4 units and contact provider.':score2>22?'150-224: Give 1 unit, 225-299: Give 2 units, 300-374: Give 3 units, 375 and above: Give 4 units and contact provider.':score2>20?'150-229: Give 1 unit, 230-309: Give 2 units, 310 and above: Give 3 units and contact provder.':score2>19?'150-234: Give 1 unit, 235-319: Give 2 units, 320 and above: Give 3 units and contact provder.':score2>18?'150-239: Give 1 unit, 240-329: Give 2 units, 330 and above: Give 3 units and contact provder.':score2>17?'150-244: Give 1 unit, 245-339: Give 2 units, 340 and above: Give 3 units and contact provder.':score2>16?'150-249: Give 1 unit, 250-349: Give 2 units, 350 and above: Give 3 units and contact provder.':score2>15?'150-259: Give 1 unit, 260-369: Give 2 units, 370 and above: Give 3 units and contact provder.':score2>14?'150-264: Give 1 unit, 265-379: Give 2 units, 380 and above: Give 3 units and contact provder.':score2>13?'150-269: Give 1 unit, 270-389: Give 2 units, 390 and above: Give 3 units and contact provider.':score2>12?'150-279: Give 1 unit, 280 and above: Give 2 units and contact provider.':score2>11?'150-289: Give 1 unit, 290 and above: Give 2 units and contact provider.':score2>10?'150-304: Give 1 unit, 305 and above: Give 2 units and contact provider.':score2>9?'150-319: Give 1 unit, 320 and above: Give 2 units and contact provider.':score2>8?'150-339: Give 1 unit, 340 and above: Give 2 units and contact provider.':score2>7?'150-364: Give 1 unit, 365 and above: Give 2 units and contact provider.':score2>6?'150-394: Give 1 unit, 395 and above: Give 2 units and contact provider.':score2>5?'150-429: Give 1 unit, 430 and above: Give 2 units and contact provider.':'Sliding scale may not be indicated'
display/hide references

Result - Copy and paste this output:

Sandbox Metrics: Structured Data Index 0.5, 14 form elements, 107 boilerplate words, 1 text boxes, 1 checkboxes, 1 links, 5 comments, 5 calculations, 1 conditionals, 2 total clicks
Questions/General site feedback · Help Ticket

Send Feedback for this SOAPnote

Your email address will not be published. Required fields are marked *

More SOAPnotes by this Author: