Content-type: text/html &!&! ... Set test=-1, i=1
L107 Set test=$Next(^patient(ptid,"lab",test)) If test<0 Write "
" Goto labend &~test~
Set i=i+1 If i>12 Write "" Set i=0 Goto L107 labend ...