123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>정맥염 발생보고</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <wardcd/>
- <fromdd/>
- <todd/>
- </cond>
- <veingrupinfo/>
- </main>
- <send>
- <savedata/>
- </send>
- <tmp/>
- </root>
- </instance>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/carerecweb/js/CareRec.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //finit();
-
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = 'W';
- var rslt_ref = "/root/init/dept";
- var sort_field = "depthngnm";
- var sort_method = "asc";
- var dt = getCurrentDate();
-
-
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method, dt);
- addComboItem( "cmb_ward", "전 체", "", "above" );
-
- submit("TRMNW11001"); //발생장소(원내) 부서 코드 조회
-
- model.makeValue("/root/main/cond/fromdd" , dt);
- model.makeValue("/root/main/cond/todd" , dt);
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- <submission id="TRMNW11001" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/tmp/deptinfo"/>
- <submission id="TRMNW15300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/veingrupinfo"/>
- </model>
- </xhtml:head>
- <xhtml:body overflow="visible" scroll="autovscroll" style="font-family:굴림; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group5" scroll="auto" style="left:0px; top:0px; width:1200px; height:745px; font-family:굴림; ">
- <group id="grp_sea" style="left:0px; top:20px; width:1195px; height:40px; font-family:굴림; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption11" class="search_name" style="left:10px; top:10px; width:85px; height:17px; font-family:굴림; ">병 동 :</caption>
- <caption id="caption17" class="search_name" style="left:260px; top:10px; width:91px; height:17px; font-family:굴림; ">보고일자 :</caption>
- <select1 id="cmb_ward" ref="/root/main/cond/wardcd" class="combo_search" appearance="minimal" editmode="search" itemcount="40" style="left:95px; top:10px; width:125px; height:19px; font-family:굴림; ">
- <choices>
- <itemset nodeset="/root/init/dept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fSearch() ;
- ]]>
- </script>
- </select1>
- <input id="ipt_genrdd" ref="/root/main/cond/fromdd" class="input_search" inputtype="date" style="left:355px; top:10px; width:105px; height:19px; font-family:굴림; "/>
- <button id="button1" class="btn1_letter2" style="left:1005px; top:10px; width:56px; height:22px; font-family:굴림; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNW15300");
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:995px; y1:10px; x2:995px; y2:30px; font-family:굴림; "/>
- <caption id="caption4" style="left:465px; top:10px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="input1" ref="/root/main/cond/todd" class="input_search" inputtype="date" style="left:480px; top:10px; width:105px; height:19px; font-family:굴림; "/>
- <button id="button2" class="btn1_letter2" navindex="9" style="left:1121px; top:10px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removenode("/root/send");
- model.makeNode ("/root/send/printdata/veingrupinfo");
- model.copynode ("/root/send/printdata/veingrupinfo", "/root/main/veingrupinfo"); // 리스트copy
-
- for(var i=1 ; i<=getNodesetCount("/root/send/printdata/veingrupinfo/veingruplist");i++){
-
- // 병동 value -> label값으로 변경
- var wardnm = grd_veingruplist.labelMatrix(i, grd_veingruplist.colRef("wardcd"));
- model.makeValue("/root/send/printdata/veingrupinfo/veingruplist["+i+"]/wardnm ", wardnm );
-
- // 발생장소(원내) value -> label값으로 변경
- var genrplcewardnm = grd_veingruplist.labelMatrix(i, grd_veingruplist.colRef("genrplcewardcd"));
- model.makeValue("/root/send/printdata/veingrupinfo/veingruplist["+i+"]/genrplcewardnm ", genrplcewardnm );
- }
-
- exeReportPreview("RPMNW15300", "XMLSTR", "/root/send/printdata");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn1_letter2" navindex="8" style="left:1063px; top:10px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "정맥염발생보고_" + getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != ""){
- grd_veingruplist.saveExcel(fileName, "SheetName", true, false, "", "", false);
- }
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; font-family:굴림; ">정맥염 발생보고</caption>
- <datagrid id="grd_veingruplist" nodeset="/root/main/veingrupinfo/veingruplist" autoresize="true" caption="병동^등록번호^이름^성별^나이^정맥염발생부위^발생일자^시간^발생장소^발생장소(원내)^발생원인^단계^중재^등록자^recrid^genrplceid^causeid^stageid^interventionid^grupcd^instcd^indd^cretno^veifrecseq^signno" colsep="^" colwidth="100, 60, 70, 35, 35, 145, 90, 50, 75, 100, 130, 50, 150, 60, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:95px; width:1195px; height:650px; ">
- <col disabled="true" ref="wardcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/dept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm"/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:right; "/>
- <col ref="veifpartnm" type="output" maxlength="1" style="left:50px; top:43px; width:118px; height:23px; text-align:left; "/>
- <col ref="genrdd" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="genrtm" type="output" format="hh:nn" style="text-align:center; "/>
- <col ref="genrplce" type="output"/>
- <col disabled="true" ref="genrplcewardcd" type="combo">
- <choices>
- <itemset nodeset="/root/tmp/deptinfo/deptlist">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="cause" type="output" style="text-align:left; "/>
- <col ref="stage" style="text-align:center; "/>
- <col ref="intervention" style="text-align:left; "/>
- <col ref="recrnm"/>
- <col ref="recrid" visibility="hidden"/>
- <col ref="genrplceid" visibility="hidden"/>
- <col ref="causeid" visibility="hidden"/>
- <col ref="stageid" visibility="hidden"/>
- <col ref="interventionid" visibility="hidden"/>
- <col ref="grupcd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="indd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="veifrecseq" visibility="hidden"/>
- <col ref="signno" visibility="hidden"/>
- </datagrid>
- <line id="line4" class="line_1" style="x1:0px; y1:90px; x2:1195px; y2:90px; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:75px; width:144px; height:14px; font-family:굴림; vertical-align:middle; ">정맥염 발생보고</caption>
- </group>
- <caption id="caption2" style="left:0px; top:745px; width:1000px; height:30px; "/>
- <group id="grp_btn" style="left:0px; top:752px; width:1200px; height:27px; ">
- <caption id="caption3" style="left:1160px; top:0px; width:30px; height:20px; ">[표]</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|