123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- <?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>
- <deptcd/>
- <fromrecdd/>
- <rptcd/>
- <torecdd/>
- </cond>
- <mnidctinfo/>
- </main>
- <send>
- <reqdata/>
- </send>
- <init/>
- </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/carecomweb/js/ENRSignEngine.js"/>
- <script type="javascript" src="../../../emr/carerecweb/js/CareRec.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- finit();
- ]]>
- </script>
- <!-- 지표관리 모니터링 조회 submission -->
- <submission id="TRMNB01210" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/mnidctinfo"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/codelist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function finit(){
-
- var dt = getCurrentDate();
- model.removenode("/root/init/codeinfo");
- fGetNursHardCdInfo("'I04','I12'", dt);
-
- model.setValue("/root/main/cond/fromrecdd", dt);
- model.setValue("/root/main/cond/torecdd", dt);
- model.setValue("/root/main/cond/rptcd", "-");
- model.setValue("/root/main/cond/deptcd", "-");
-
- model.refresh();
- fSearch();
- }
- // 조회버튼 클릭시
- function fSearch(){
- var dept = "";
- var rptcd = "";
- if ( isNull(model.getValue("/root/main/cond/fromrecdd")) ){
- messageBox("작성일자","I003");//필수입력입니다
- return;
- }
-
- if ( isNull(model.getValue("/root/main/cond/torecdd")) ){
- messageBox("작성일자","I003");//필수입력입니다
- return;
- }
-
- var sdate = model.getValue("/root/main/cond/fromrecdd");
- var edate = model.getValue("/root/main/cond/torecdd");
- var days = getDateInterval(sdate, edate, "dd");
- if (days > 30) {
- messageBox("조회기간이 30일을 초과하였습니다.", "I999");
- return;
- }
-
- if(model.getValue("/root/main/cond/deptcd") == "-"){
- dept = "";
- }else{
- dept = model.getValue("/root/main/cond/deptcd");
- }
-
-
- if(model.getValue("/root/main/cond/rptcd") == "-"){
- rptcd = "";
- }else{
- rptcd = model.getValue("/root/main/cond/rptcd");
- }
- model.makeValue("/root/send/reqdata/deptcd", dept );
- model.makeValue("/root/send/reqdata/rptcd", rptcd );
- model.makeValue("/root/send/reqdata/fromrecdd", model.getValue("/root/main/cond/fromrecdd") );
- model.makeValue("/root/send/reqdata/torecdd", model.getValue("/root/main/cond/torecdd") );
- submit("TRMNB01210");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body overflow="visible" scroll="autovscroll" pagewidth="1150" pageheight="755" 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:1135px; height:745px; font-family:굴림; ">
- <group id="grp_sea" style="left:0px; top:20px; width:1135px; height:40px; font-family:굴림; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1135px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption17" class="search_name" style="left:390px; top:10px; width:90px; height:17px; font-family:굴림; ">등록일자 :</caption>
- <input id="ipt_fromrecdd" ref="/root/main/cond/fromrecdd" class="input_search" inputtype="date" style="left:480px; top:10px; width:90px; height:19px; font-family:굴림; "/>
- <button id="button1" class="btn1_letter2" style="left:1055px; top:10px; width:56px; height:22px; font-family:굴림; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:1045px; y1:10px; x2:1045px; y2:30px; font-family:굴림; "/>
- <caption id="ctn_deptcd" class="search_name" style="left:5px; top:10px; width:70px; height:17px; font-family:굴림; ">부 서 :</caption>
- <select1 id="cmb_deptcd" ref="/root/main/cond/deptcd" class="combo_search" appearance="minimal" editmode="search" itemcount="40" style="left:75px; top:10px; width:105px; height:19px; font-family:굴림; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid='I12']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:205px; top:10px; width:65px; height:17px; font-family:굴림; ">항 목 :</caption>
- <select1 id="cmb_rptcd" ref="/root/main/cond/rptcd" class="combo_search" appearance="minimal" editmode="search" itemcount="40" style="left:275px; top:10px; width:90px; height:19px; font-family:굴림; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid='I04']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select1>
- <input id="ipt_torecdd" ref="/root/main/cond/torecdd" class="input_search" inputtype="date" style="left:590px; top:10px; width:90px; height:19px; font-family:굴림; "/>
- <caption id="caption4" style="left:575px; top:10px; width:15px; height:20px; ">~</caption>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:137px; height:14px; font-family:굴림; ">지표관리 모니터링</caption>
- <datagrid id="grd_mnidctrptlist" nodeset="/root/main/mnidctinfo/mnidctrptlist" allowuserresize="true" autoresize="true" caption="부서^보고일자^Duty^항목^No.^등록번호^환자명^보고자" colsep="^" colwidth="90, 70, 35, 80, 30, 70, 70, 70" mergecells="byrestriccol" mergecellsfixedrows="byrowrec" rowheader="seq" rowsep="|" style="left:0px; top:95px; width:560px; height:650px; font-family:굴림; ">
- <col disabled="true" ref="deptcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid='I12']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="reportdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="duty" style="font-family:굴림; text-align:center; "/>
- <col disabled="true" ref="rptcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid='I04']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="num" style="text-align:center; "/>
- <col ref="pid" style="font-family:굴림; text-align:center; "/>
- <col ref="patnm" style="font-family:굴림; "/>
- <col ref="recnm" style="font-family:굴림; text-align:center; "/>
- </datagrid>
- <line id="line5" class="line_1" style="x1:0px; y1:90px; x2:560px; y2:90px; "/>
- <caption id="caption14" class="tit_2" style="left:0px; top:75px; width:175px; height:14px; font-family:굴림; vertical-align:middle; ">보고 등록 환자 리스트</caption>
- <datagrid id="grd_mnidctlist" nodeset="/root/main/mnidctinfo/mnidctlist" allowuserresize="true" autoresize="true" caption="부서^작성일자^Duty^항목^건수^대상환자^작성자" colsep="^" colwidth="90, 70, 35, 80, 45, 150, 70" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowsep="|" style="left:565px; top:95px; width:568px; height:650px; ">
- <col disabled="true" ref="deptcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid='I12']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="duty" style="font-family:굴림; text-align:center; "/>
- <col disabled="true" ref="rptcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid='I04']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rptcnt" style="text-align:center; "/>
- <col ref="rptpatnm" style="text-align:left; "/>
- <col ref="recnm" style="text-align:center; "/>
- </datagrid>
- <line id="line4" class="line_1" style="x1:565px; y1:90px; x2:1133px; y2:90px; "/>
- <caption id="caption1" class="tit_2" style="left:565px; top:75px; width:170px; height:13px; font-family:굴림; vertical-align:middle; ">보고 미등록 환자 리스트</caption>
- <button id="button2" class="btn2_letter2" style="left:518px; top:70px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "지표관리_보고 등록 환자", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_mnidctrptlist.saveExcel(fileName, "sheetname:sheet1;col_1:label;col_4:label;");
-
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" style="left:1090px; top:70px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "지표관리_보고 미등록 환자", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_mnidctlist.saveExcel(fileName, "sheetname:sheet1;col_0:label;col_3:label;");
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption2" style="left:220px; top:765px; width:1200px; height:30px; "/>
- </xhtml:body>
- </xhtml:html>
|