You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
klhis/file/lis/A5单列(含方法)检验报告单.txt

274 lines
11 KiB

LODOP.SET_PRINT_PAGESIZE(2,"","","A5");
LODOP.SET_SHOW_MODE("LANDSCAPE_DEFROTATED",1);
var rheaderHeightpy;
var rfooterHeightpy;
var pagewidth=21;
var pageheight=14.8;
var leftmargin=0.2;
var rightmargin=0.2;
var topmargin=0.0;
var bottommargin=2.8;
var top;
var left;
var width;
var height;
var top2;
var left2;
var heightpy=parseInt(4.39208)-parseInt(topmargin);
top = parseFloat(0.2)+"cm";
left = parseFloat(0.5)+"cm";
width = 15.0019+"cm";
height = 0.978958+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$hjxh@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
LODOP.SET_PRINT_STYLEA(0,"FontSize","11.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(0.5)+"cm";
left = parseFloat(0)+parseFloat(0)+"cm";
width = 21+"cm";
height = 0.978958+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$bgbt@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
LODOP.SET_PRINT_STYLEA(0,"Alignment",2);
LODOP.SET_PRINT_STYLEA(0,"FontSize","15.750000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(0)+"cm";
left = parseFloat(leftmargin)+parseFloat(17.409)+"cm";
width = 3.38667+"cm";
height = 0.79375+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","14.250000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(1.25)+"cm";
left = parseFloat(0.5)+"cm";
width = 1.80896+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"姓 名:");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(1.25)+"cm";
left = parseFloat(1.7)+"cm";
width = 2.78896+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$xm@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
LODOP.SET_PRINT_STYLEA(0,"FontSize","11.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(1.729)+"cm";
left = parseFloat(0.5)+"cm";
width = 5.79438+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"病历号:$blh@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(2.14833)+"cm";
left = parseFloat(0.5)+"cm";
width = 5.79438+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"条码号:$tmh@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(1.25)+"cm";
left = parseFloat(leftmargin)+parseFloat(7.01146)+"cm";
width = 1.88063+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"性 别:");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(1.25)+"cm";
left = parseFloat(leftmargin)+parseFloat(8.61146)+"cm";
width = 5.00063+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$xb@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
LODOP.SET_PRINT_STYLEA(0,"FontSize","11.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(1.729)+"cm";
left = parseFloat(leftmargin)+parseFloat(7.01146)+"cm";
width = 5.00063+"cm";
height = 0.608542+"cm";
top = parseFloat(1.779)+"cm";
left = parseFloat(leftmargin)+parseFloat(7.01146)+"cm";
width = 5.00063+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"送检科室:$sjks@num@@jzks$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(2.14833)+"cm";
left = parseFloat(leftmargin)+parseFloat(7.01146)+"cm";
width = 7.00063+"cm";
height = 0.408542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"床 号:$ch@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(1.25)+"cm";
left = parseFloat(leftmargin)+parseFloat(13.0942)+"cm";
width = 5.3975+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"病人年龄:$brnl@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(1.729)+"cm";
left = parseFloat(leftmargin)+parseFloat(13.0942)+"cm";
width = 5.3975+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"样 本 号:$ybh@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(2.14833)+"cm";
left = parseFloat(leftmargin)+parseFloat(13.0942)+"cm";
width = 7.8975+"cm";
height = 0.408542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"临床诊断:$lczd@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(2.50833)+"cm";
left = parseFloat(0.5)+"cm";
width = 5.79438+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"备 注:$remark@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
var gridcontent1 = "<TABLE border=0 cellSpacing=0 cellPadding=0 width='100%' style='border-collapse:collapse;font-size:14px;margin-left:10px;' bordercolor='#333333'>
<thead>
<TR height='5' style='border-top:1'>
<TD vAlign=top width='100%' colSpan=7 style='border-top:1 solid #000000;font-size:13px;font-weight:bold;' ></TD></TR>
<TR height='20' style='font-size:13px;font-weight:bold;'><TD style=';solid #000000;' width='5%' align=left><b>序号</b></TD>
<TD style=';solid #000000;' width='10%' align=left><b>代号</b></TD>
<TD style='; solid #000000;' width='25%'><DIV align=left><b>检验项目名称</b></DIV></TD>
<TD style=';solid #000000;'width='15%'>
<DIV align=left><b>结果</b></DIV></TD><TD style=';solid #000000;' width='20%' align=left><b>参考范围</b></TD>
<TD style=';solid #000000;;' width='10%'><DIV align=left><b>单位</b></DIV></TD>
<TD style=';solid #000000;;' width='15%'><DIV align=left><b>检测方法</b></DIV></TD>
</TR></thead><TBODY>$data@num@<TR height='16' style='font-size:13px;'>
<TD style='; solid #000000;' align=left >^0^</TD><TD style=';solid #000000;' align=left>^1^</TD>
<TD style='; solid #000000;'align=left>^2^</TD><TD style=';solid #000000;solid #000000;' align=left>^3^</TD>
<TD style='solid #000000;solid #000000;' align=left>^4^</TD><TD style=';solid #000000;' align=left>^5^</TD>
<TD style=';solid #000000;' align=left>^6^</TD>
</TR>
$data@num@
<TR style='border-top:0 solid #000000;' height='1'><TD width='4%' colspan='1'
style='border-top:0 solid #000000;font-weight:bold;' valign='top'></TD><TD width='92%' colspan='4'
style='border-top:0 solid #000000;text-align:left;' valign='top'></TD>
</TR>
</TBODY>
<TFOOT>
<TR style='border-top:1 solid #000000;' height='0'>
<TD colspan='7' style='border-top:1 solid #000000;'></TD>
</TR>
</TFOOT>
</TABLE>";
top = parseFloat(2.9)+"cm";
left = parseFloat(0.2)+"cm";
width = parseFloat(20.6)+"cm";
height = parseFloat(pageheight)-parseFloat(0.411667)-parseFloat(1.5)-parseFloat(bottommargin)-parseFloat(topmargin)+"cm";
LODOP.ADD_PRINT_TABLE(top,left,width,height,gridcontent1);
LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",1);
rfooterHeightpy=parseFloat(pageheight)-parseFloat(bottommargin);
top = parseFloat(parseFloat(rfooterHeightpy)+parseFloat(0.941667))+"cm";
left = parseFloat(0.4)+"cm";
left2 = parseFloat(20.5)+"cm";
top2 = parseFloat(parseFloat(rfooterHeightpy)+parseFloat(0.941667))+"cm";
width = 20.5+"cm";
height = 0+"cm";
LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+parseFloat(0.996875)+"cm";
left = parseFloat(0.5)+"cm";
width = 5.58271+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"送检医生:$sjys@num@@allsysuser$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+parseFloat(1.40542)+"cm";
left = parseFloat(0.5)+"cm";
width = 5.58271+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"检验时间:$jysj@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+parseFloat(0.996875)+"cm";
left = parseFloat(leftmargin)+parseFloat(6.58813)+"cm";
width = 5.42396+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"送检时间:$sjsj@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+parseFloat(1.40542)+"cm";
left = parseFloat(leftmargin)+parseFloat(6.58813)+"cm";
width = 5.42396+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"审核者:$shys@num@@allsysuser$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+parseFloat(0.996875)+"cm";
left = parseFloat(leftmargin)+parseFloat(13.8942)+"cm";
width = 5.42396+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"检验者:$jyys@num@@allsysuser$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+parseFloat(1.40542)+"cm";
left = parseFloat(leftmargin)+parseFloat(13.8942)+"cm";
width = 5.42396+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"审核时间:$shsj@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+parseFloat(1.79917)+"cm";
left = parseFloat(leftmargin)+parseFloat(14.59271)+"cm";
width = 6.00604+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"声明:本报告仅对所检标本负责");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
LODOP.SET_PRINT_STYLEA(0,"FontSize","8.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+parseFloat(1.79917)+"cm";
left = parseFloat(0.5)+"cm";
width = 10.00604+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"仪器名称:$sbh@num@@lissb$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);