-*- mode: org; fill-column: 78 -*- #+SEQ_TODO: TODO(t) NEXT(n) STARTED(s!) ONGOING(o) WAITING(w@!/!) DELEGATED(l@!) APPT(a!) SOMEDAY(g@) | DONE(d!) DEFERRED(p@!/!) CANCELLED(c@) NOTE(j@!) #+TYP_TODO: TODO NEXT STARTED ONGOING WAITING DELEGATED APPT SOMEDAY | DEFERRED CANCELLED DONE NOTE #+TAGS: Wendy(W) Amar(A) #+TAGS: { @office(o) @home(h) @errands(e) @hotel(h) } #+TAGS: { @phone(p) @computer(c) } reading #+TAGS: URGENT(u) #+STARTUP: overview #+STARTUP: lognotedone lognotestate #+OPTIONS: H:4 toc:2 #+TITLE: Diabetic Log #+AUTHOR: Manoj Srivastava #+EMAIL: srivasta@acm.org #+PROPERTY: Effort_ALL 0 0:10 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00 8:00 #+COLUMNS: %56ITEM %8TODO %10Effort(Estimated Effort){:} %CLOCKSUM %10SCHEDULED %1PRIORITY %ALLTAGS #+CATEGORY: JOURNAL #+INFOJS_OPT: view:info path:/styles/org-info.js #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t TeX:t LaTeX:nil skip:t d:nil tags:not-in-toc \usepackage{landscape} \setlength{\oddsidemargin}{0in} % default=0in \setlength{\textwidth}{9in} % default=9in \setlength{\columnsep}{0.5in} % default=10pt \setlength{\columnseprule}{1pt} % default=0pt (no line) \setlength{\textheight}{5.85in} % default=5.15in \setlength{\topmargin}{-0.15in} % default=0.20in \setlength{\headsep}{0.25in} % default=0.35in \setlength{\parskip}{1.2ex} \setlength{\parindent}{0mm} * Introduction What follows here are a series of daily tables. *2008-05-18 Sun* |---+-------+----+----+----+----+----+----+----+----+----+----+----+----+-----+----+----+----+----+----+-----+----+----+----+----+----+--------+-------| | | | 00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | avg bg | total | |---+-------+----+----+----+----+----+----+----+----+----+----+----+----+-----+----+----+----+----+----+-----+----+----+----+----+----+--------+-------| | # | bg | | | | | | | | | | | | | 113 | | | | 88 | | 117 | | | | | | 106 | | | # | corr | | | | | | | | | | | | | 0 | | | | | | 1 | | | | | | | 1.0 | | # | carb | | | | | | | | | | | | | 12 | | | | 48 | | 66 | | | | | | | 126.0 | | # | bolus | | | | | | | | | | | | | 6 | | | | 24 | | 33 | | | | | | | 63.0 | |---+-------+----+----+----+----+----+----+----+----+----+----+----+----+-----+----+----+----+----+----+-----+----+----+----+----+----+--------+-------| | # | basal | | | | | | | | | | | | | 50 | | | | | | | | | | | | | 50.0 | | # | Total | | | | | | | | | | | | | 6 | | | | 24 | | 34 | | | | | | | 64.0 | |---+-------+----+----+----+----+----+----+----+----+----+----+----+----+-----+----+----+----+----+----+-----+----+----+----+----+----+--------+-------| #+TBLFM: @2$27=vmean($3..$26)::@3$3=if(@-1>110,round((@-1-110)/8.0),string("")::@3$4=if(@-1>110,round((@-1-110)/8.0),string("")::@3$5=if(@-1>110,round((@-1-110)/8.0),string("")::@3$6=if(@-1>110,round((@-1-110)/8.0),string("")::@3$7=if(@-1>110,round((@-1-110)/8.0),string("")::@3$8=if(@-1>110,round((@-1-110)/8.0),string("")::@3$9=if(@-1>110,round((@-1-110)/8.0),string("")::@3$10=if(@-1>110,round((@-1-110)/8.0),string("")::@3$11=if(@-1>110,round((@-1-110)/8.0),string("")::@3$12=if(@-1>110,round((@-1-110)/8.0),string("")::@3$13=if(@-1>110,round((@-1-110)/8.0),string("")::@3$14=if(@-1>110,round((@-1-110)/8.0),string("")::@3$15=if(@-1>110,round((@-1-110)/8.0),string("")::@3$16=if(@-1>110,round((@-1-110)/8.0),string("")::@3$17=if(@-1>110,round((@-1-110)/8.0),string("")::@3$18=if(@-1>110,round((@-1-110)/8.0),string("")::@3$19=if(@-1>110,round((@-1-110)/8.0),string("")::@3$20=if(@-1>110,round((@-1-110)/8.0),string("")::@3$21=if(@-1>110,round((@-1-110)/8.0),string("")::@3$22=if(@-1>110,round((@-1-110)/8.0),string("")::@3$23=if(@-1>110,round((@-1-110)/8.0),string("")::@3$24=if(@-1>110,round((@-1-110)/8.0),string("")::@3$25=if(@-1>110,round((@-1-110)/8.0),string("")::@3$26=if(@-1>110,round((@-1-110)/8.0),string("")::@3$28=vsum($3..$26);%.1f::@4$28=vsum($3..$26);%.1f::@5$3=if(@-1>0,round(@-1/2.0),string("")::@5$4=if(@-1>0,round(@-1/2.0),string("")::@5$5=if(@-1>0,round(@-1/2.0),string("")::@5$6=if(@-1>0,round(@-1/2.0),string("")::@5$7=if(@-1>0,round(@-1/2.0),string("")::@5$8=if(@-1>0,round(@-1/2.0),string("")::@5$9=if(@-1>0,round(@-1/2.0),string("")::@5$10=if(@-1>0,round(@-1/2.0),string("")::@5$11=if(@-1>0,round(@-1/2.0),string("")::@5$12=if(@-1>0,round(@-1/2.0),string("")::@5$13=if(@-1>0,round(@-1/2.0),string("")::@5$14=if(@-1>0,round(@-1/2.0),string("")::@5$15=if(@-1>0,round(@-1/2.0),string("")::@5$16=if(@-1>0,round(@-1/2.0),string("")::@5$17=if(@-1>0,round(@-1/2.0),string("")::@5$18=if(@-1>0,round(@-1/2.0),string("")::@5$19=if(@-1>0,round(@-1/2.0),string("")::@5$20=if(@-1>0,round(@-1/2.0),string("")::@5$21=if(@-1>0,round(@-1/2.0),string("")::@5$22=if(@-1>0,round(@-1/2.0),string("")::@5$23=if(@-1>0,round(@-1/2.0),string("")::@5$24=if(@-1>0,round(@-1/2.0),string("")::@5$25=if(@-1>0,round(@-1/2.0),string("")::@5$26=if(@-1>0,round(@-1/2.0),string("")::@5$28=vsum($3..$26);%.1f::@6$28=vsum($3..$26);%.1f::@7$3=if((@3 + @5)>0,@3 + @5,string("")::@7$4=if((@3 + @5)>0,@3 + @5,string("")::@7$5=if((@3 + @5)>0,@3 + @5,string("")::@7$6=if((@3 + @5)>0,@3 + @5,string("")::@7$7=if((@3 + @5)>0,@3 + @5,string("")::@7$8=if((@3 + @5)>0,@3 + @5,string("")::@7$9=if((@3 + @5)>0,@3 + @5,string("")::@7$10=if((@3 + @5)>0,@3 + @5,string("")::@7$11=if((@3 + @5)>0,@3 + @5,string("")::@7$12=if((@3 + @5)>0,@3 + @5,string("")::@7$13=if((@3 + @5)>0,@3 + @5,string("")::@7$14=if((@3 + @5)>0,@3 + @5,string("")::@7$15=if((@3 + @5)>0,@3 + @5,string("")::@7$16=if((@3 + @5)>0,@3 + @5,string("")::@7$17=if((@3 + @5)>0,@3 + @5,string("")::@7$18=if((@3 + @5)>0,@3 + @5,string("")::@7$19=if((@3 + @5)>0,@3 + @5,string("")::@7$20=if((@3 + @5)>0,@3 + @5,string("")::@7$21=if((@3 + @5)>0,@3 + @5,string("")::@7$22=if((@3 + @5)>0,@3 + @5,string("")::@7$23=if((@3 + @5)>0,@3 + @5,string("")::@7$24=if((@3 + @5)>0,@3 + @5,string("")::@7$25=if((@3 + @5)>0,@3 + @5,string("")::@7$26=if((@3 + @5)>0,@3 + @5,string("")::@7$28=vsum($3..$26);%.1f