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/检验报告单单列-川渝标识.txt

435 lines
14 KiB

3 months ago
LODOP.SET_PRINT_PAGESIZE(1,"","","A4");
var rheaderHeightpy;
var rfooterHeightpy;
var pagewidth=21;
var pageheight=29.7;
var leftmargin=2.0;
var rightmargin=2.0;
var topmargin=5.5;
var bottommargin=2.5;
var top;
var left;
var width;
var height;
var top2;
var left2;
var heightpy=parseInt(5.3975)-parseInt(topmargin);
top = parseFloat(1.59063)-parseFloat(heightpy)+"cm";
left = parseFloat(1.8)+parseFloat(14.411667)+"cm";
LODOP.ADD_PRINT_HTM(top, left, 80, 25,
"<div style='border:1px solid; width:100%; height:100%;'><span style='font-weight: bold;font-family:宋体;font-size:15pt;'>川渝</span><span style='font-weight: bold;font-family:Times NewRoman;font-size:15pt;'> HR</span></div>");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(0.59063)-parseFloat(heightpy)+"cm";
left = parseFloat(1.8)+parseFloat(0.411667)+"cm";
width = 15.584+"cm";
height = 0.79375+"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(1.59063)-parseFloat(heightpy)+"cm";
left = parseFloat(0)+parseFloat(0)+"cm";
width = 21+"cm";
height = 0.79375+"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","14.250000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(2.19604)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(4.39208)+"cm";
width = 6.19125+"cm";
height = 0.582083+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.21313)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm";
width = 1.48125+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"姓名:");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.21313)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(1.211667)+"cm";
width = 3.08125+"cm";
height = 0.396875+"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(3.21313)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(6.60375)+"cm";
width = 5.18583+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"病历号:$blh@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.21313)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(12.8013)+"cm";
width = 4.98979+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"病区:$bq@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.89521)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm";
width = 1.48125+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"性别:");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.89521)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(1.211667)+"cm";
width = 3.38125+"cm";
height = 0.396875+"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(3.89521)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(6.60375)+"cm";
width = 5.18583+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"样品号:$ybh@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(3.89521)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(12.8013)+"cm";
width = 7.88979+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"床号:$ch@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(4.60375)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(0.211667)+"cm";
width = 3.38125+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"年龄:$brnl@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(4.60375)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(6.60375)+"cm";
width = 5.18583+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"检测号:$tmh@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(4.60375)-parseFloat(heightpy)+"cm";
left = parseFloat(leftmargin)+parseFloat(12.8013)+"cm";
width = 4.98979+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"标本:$yblx@num@@allsysuser$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
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;bordercolor=#333333;'>
<thead>
<TR height='0'><TD vAlign=top width='100%' colSpan=8 style='border-bottom:1 solid #000000;border-top:1 solid #000000;font-size:13px;font-weight:bold;background:#B8B8B8;' ></TD></TR>
<TR height='28'>
<TD style='border-bottom:1 solid #000000;style='font-size:13px;solid #000000;'width='5%'><DIV align=lfte><b>序号</b></DIV></TD>
<TD style='; solid #000000;border-bottom:1 solid #000000;' width='31%'><DIV align=left><b>项目名称</b></DIV></TD>
<TD style='border-bottom:1 solid #000000;;solid #000000;' width='10%' align=left><b>缩写</b></TD>
<TD style='border-bottom:1 solid #000000;;solid #000000;'width='11%'><DIV align=lfte><b>结果</b></DIV></TD>
<TD style='border-bottom:1 solid #000000;solid #000000;;' width='8%'><DIV align=lfte><b>单位</b></DIV></TD>
<TD style='border-bottom:1 solid #000000;;solid #000000;' width='11%' align=lfte><b>参考范围</b></TD>
<TD style='border-bottom:1 solid #000000;;solid #000000;' width='10%' align=lfte><b>(提示)</b></TD>
<TD style='border-bottom:1 solid #000000;;solid #000000;' width='10%' align=lfte><b>检测方法</b></TD>
</TR>
</thead>
<TBODY>$data@num@
<TR height='22' style='font-size:13px;'>
<TD style='; solid #000000;' align=lfte>^0^</TD>
<TD style='; solid #000000;' align=lfte>^1^</TD>
<TD style='; solid #000000;' align=lfte>^2^</TD>
<TD style='; solid #000000;' align=lfte>^3^</TD>
<TD align=lfte>^4^</TD>
<TD align=lfte>^5^</TD>
<TD align=lfte>^6^</TD>
<TD align=lfte>^7^</TD>
</TR>$data@num@
<TR style='border-top:0 solid #000000;' height='1'>
<TD width='8%' colspan='1' style='border-top:0 solid #000000;font-weight:bold;' valign='top'></TD>
<TD width='92%' colspan='7' 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(5.57)+"cm";
left = parseFloat(leftmargin)+"cm";
width = parseFloat(21)-parseFloat(leftmargin)-parseFloat(leftmargin)+"cm";
height = parseFloat(pageheight)-parseFloat(3)-parseFloat(bottommargin)-parseFloat(topmargin)+"cm";
LODOP.ADD_PRINT_TABLE(top,left,width,height,gridcontent1);
LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",1);
rfooterHeightpy=parseFloat(30)-(5.5);
leftmargin=parseFloat(leftmargin)+(2.5);
top = parseFloat(rfooterHeightpy)+ parseFloat(0)+"cm";
left = parseFloat(leftmargin)-parseFloat(2.711667)+"cm";
width = 15.38125+"cm";
height = 0.396875+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"备注:项目名称前注“*”为川渝两地临床检验结果互认项目。");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(0.5)+"cm";
left = parseFloat(leftmargin)-parseFloat(2.711667)+"cm";
left2 = parseFloat(leftmargin)+parseFloat(1.211667)+parseFloat(13.54)+"cm";
top2 = parseFloat(rfooterHeightpy)+parseFloat(0.5)+"cm";
width = 15.584+"cm";
height = 0+"cm";
LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1);
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(2.5)+"cm";
left = parseFloat(leftmargin)-parseFloat(2.711667)+"cm";
left2 = parseFloat(leftmargin)+parseFloat(1.211667)+parseFloat(13.54)+"cm";
top2 = parseFloat(rfooterHeightpy)+parseFloat(2.5)+"cm";
width = 15.584+"cm";
height = 0+"cm";
LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1);
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.2)+"cm";
left = parseFloat(leftmargin)-parseFloat(2.788333)+"cm";
width = 2.99917+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.2)+"cm";
left = parseFloat(leftmargin)-parseFloat(0.388333)+"cm";
width = 3.69604+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.2)+"cm";
left = parseFloat(leftmargin)+parseFloat(2.6208)+"cm";
width = 2.99917+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.2)+"cm";
left = parseFloat(leftmargin)+parseFloat(5.09125)+"cm";
width = 3.69604+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$cysj@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.2)+"cm";
left = parseFloat(leftmargin)+parseFloat(8.6208)+"cm";
width = 2.99917+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.2)+"cm";
left = parseFloat(leftmargin)+parseFloat(10.99125)+"cm";
width = 3.69604+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.5)+"cm";
left = parseFloat(leftmargin)-parseFloat(2.788333)+"cm";
width = 2.19917+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.5)+"cm";
left = parseFloat(leftmargin)-parseFloat(1.088333)+"cm";
width = 3.69604+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$sjys@num@$");
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.5)+"cm";
left = parseFloat(leftmargin)+parseFloat(2.6208)+"cm";
width = 2.19917+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.5)+"cm";
left = parseFloat(leftmargin)+parseFloat(4.39125)+"cm";
width = 3.69604+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_IMAGE(top,left,width,height,"$jyys@num@$");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.5)+"cm";
left = parseFloat(leftmargin)+parseFloat(8.6208)+"cm";
width = 2.19917+"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.500000000000");
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",18);
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(1.5)+"cm";
left = parseFloat(leftmargin)+parseFloat(10.39125)+"cm";
width = 3.69604+"cm";
height = 0.608542+"cm";
LODOP.ADD_PRINT_IMAGE(top,left,width,height,"$shys@num@$");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
top = parseFloat(rfooterHeightpy)+ parseFloat(0.211667)+"cm";
left = parseFloat(leftmargin)+parseFloat(-0.30396)+"cm";
width = 2.80458+"cm";
height = 0.582083+"cm";
rfooterHeightpy=parseFloat(pageheight)-parseFloat(bottommargin);