123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLQP00400_혈당기QC월별현황조회.xrw
- * 설 명 : 혈당기QC월별현황조회
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 :
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>혈당기 QC 월별 현황 조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <uselist>
- <title1/>
- <metercnt/>
- <totalcnt/>
- <patcnt/>
- <patper/>
- <qccnt/>
- <qcper/>
- </uselist>
- <qclist>
- <title2/>
- <qcmetcnt/>
- <highcnt/>
- <hight/>
- <highh/>
- <highl/>
- <lowcnt/>
- <lowt/>
- <lowh/>
- <lowl/>
- <errcnt/>
- <title3/>
- <qcmeterper/>
- <highper/>
- <hightper/>
- <highhper/>
- <highlper/>
- <lowper/>
- <lowtper/>
- <lowhper/>
- <lowlper/>
- <errper/>
- </qclist>
- <request>
- <request/>
- </request>
- <errlist>
- <flag/>
- <ward/>
- <info/>
- <um/>
- </errlist>
- </main>
- <send>
- <reqym/>
- <descrslt/>
- </send>
- <init/>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <submission id="TRLQP00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TXLQP00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var vMonth = input3.label;
-
- function fSetInit(){
- model.setValue("/root/send/reqym", getCurrentDate());
-
- vMonth = getCurrentDate().toDate("YYYYMMDD").getDateFormat("YYYY-MM");
- datagrid2.caption = vMonth + " 월^측정기기 총 수량^총 Test 수^환자 검사 총 건수^환자 검사 / 총 건수(%)^정도관리 총 건수^정도관리 / 총건수(%)";
- datagrid1.caption = vMonth + " 월 정도관리 현황^측정 기기^High Control^범위내 Data^범위를벗어난 Data^범위를벗어난 Data^Low Control^범위내 Data^범위를 벗어난Data^범위를 벗어난Data^Result Flagged as Procedure Error|"
- + vMonth + " 월 정도관리 현황^측정 기기^High Control^범위내 Data^Above^Below^Low Control^범위내 Data^Above^Below^Result Flagged as Procedure Error";
-
- model.refresh();
- }
-
- //조회
- function fGetList(){
- submit("TRLQP00601", false);
- //서식결과테이블에 들어간 내용이 존재하면 뿌리기
- if(getNodesetCount("/root/main/srltlist/srlt") > 0){
- model.setValue("/root/main/request/request", model.getValue("/root/main/srltlist/srlt/main/request/request"));
- copyNodesetType("/root/main/errlist", "/root/main/srltlist/srlt/main/errlist", "replace");
- model.removeNodeset("/root/main/srltlist/srlt"); //서식결과 내용 삭제
- }
- model.refresh();
- }
-
- //저장
- //저장시에 main node를 lis.llrhdesc테이블에 집어넣음 bcno = Q+YYYYMM tclscd = 'LOS101' 등등
- function fSaveInfo(){
- var node = instance1.selectSingleNode("/root/main");
- model.setValue("/root/send/descrslt", node.xml);
- submit("TXLQP00601");
- }
-
- //출력
- function fPrint(){
- model.makeNode("/root/hidden/print");
- model.copyNode("/root/hidden/print", "/root/main");
-
- var strYM = model.getValue("/root/send/reqym");
- model.setValue("/root/send/reqym", strYM.substring(0, 6));
-
- var vErrCnt = 0;
- var vFlag = "";
- var vWard = "";
- var vInfo = "";
- var vUM = "";
-
- while(getNodesetCount("/root/hidden/print/errlist") != 0){
- vFlag += model.getValue("/root/hidden/print/errlist["+ 1 + "]/flag") + "\n";
- vWard += model.getValue("/root/hidden/print/errlist["+ 1 + "]/ward") + "\n";
- vInfo += model.getValue("/root/hidden/print/errlist["+ 1 + "]/info") + "\n";
- vUM += model.getValue("/root/hidden/print/errlist["+ 1 + "]/um") + "\n";
- model.removeNodeset("/root/hidden/print/errlist["+ 1 + "]");
- }
- model.makeValue("/root/hidden/print/errlist/flag" , vFlag);
- model.makeValue("/root/hidden/print/errlist/ward" , vWard);
- model.makeValue("/root/hidden/print/errlist/info" , vInfo);
- model.makeValue("/root/hidden/print/errlist/um" , vUM);
-
- exeReportPreview("RPLQP00600", "XMLSTR");
-
- model.removeNodeset("/root/hidden/print");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
- <caption id="caption13" class="tit_2" style="left:5px; top:53px; width:370px; height:13px; ">혈당기기 사용 현황</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:68px; x2:1193px; y2:68px; "/>
- <line id="line1" class="line_3" style="x1:0px; y1:133px; x2:1193px; y2:133px; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:157px; x2:1193px; y2:157px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:142px; width:235px; height:13px; ">혈당기기 정도관리 시행 현황</caption>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:40px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1193px; height:40px; "/>
- <button id="button3" class="btn1_letter2" style="left:1124px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetList();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1109px; y1:10px; x2:1109px; y2:32px; "/>
- <caption id="caption5" class="search_name" style="left:15px; top:9px; width:91px; height:17px; ">조회 구분 :</caption>
- <input id="input3" ref="/root/send/reqym" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:108px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- vMonth = input3.label;
- datagrid2.caption = vMonth + " 월^측정기기 총 수량^총 Test 수^환자 검사 총 건수^환자 검사 / 총 건수(%)^정도관리 총 건수^정도관리 / 총건수(%)";
- datagrid1.caption = vMonth + " 월 정도관리 현황^측정 기기^High Control^범위내 Data^범위를벗어난 Data^범위를벗어난 Data^Low Control^범위내 Data^범위를 벗어난Data^범위를 벗어난Data^Result Flagged as Procedure Error|"
- + vMonth + " 월 정도관리 현황^측정 기기^High Control^범위내 Data^Above^Below^Low Control^범위내 Data^Above^Below^Result Flagged as Procedure Error";
- ]]>
- </script>
- </input>
- </group>
- <multilinegrid id="datagrid1" nodeset="/root/main/qclist" class="datagrid2" caption="월 정도관리 현황^측정 기기^High Control^범위내 Data^범위를벗어난 Data^범위를벗어난 Data^Low Control^범위내 Data^범위를 벗어난Data^범위를 벗어난Data^Result Flagged as Procedure Error|월 정도관리 현황^측정 기기^High Control^범위내 Data^Above^Below^Low Control^범위내 Data^Above^Below^Result Flagged as Procedure Error" colsep="^" colwidth="155, 100, 100, 100, 106, 106, 100, 100, 106, 106, 111" dataheight="23" rowheight="23" rowsep="|" selectionmode="bycol" mergecellsfixedrows="bycolrec" style="left:0px; top:162px; width:1193px; height:93px; ">
- <row ref="/root/main/qclist">
- <col ref="title2" style="text-align:center; "/>
- <col ref="qcmetcnt" style="text-align:center; "/>
- <col ref="highcnt" style="text-align:center; "/>
- <col ref="hight" style="text-align:center; "/>
- <col ref="highh" style="text-align:center; "/>
- <col ref="highl" style="text-align:center; "/>
- <col ref="lowcnt" style="text-align:center; "/>
- <col ref="lowt" style="text-align:center; "/>
- <col ref="lowh" style="text-align:center; "/>
- <col ref="lowl" style="text-align:center; "/>
- <col ref="errcnt" style="text-align:center; "/>
- </row>
- <row>
- <col ref="title3" style="text-align:center; "/>
- <col ref="qcmeterper" style="text-align:center; "/>
- <col ref="highper" style="text-align:center; "/>
- <col ref="hightper" style="text-align:center; "/>
- <col ref="highhper" style="text-align:center; "/>
- <col ref="highlper" style="text-align:center; "/>
- <col ref="lowper" style="text-align:center; "/>
- <col ref="lowtper" style="text-align:center; "/>
- <col ref="lowhper" style="text-align:center; "/>
- <col ref="lowlper" style="text-align:center; "/>
- <col ref="errper" style="text-align:center; "/>
- </row>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- </multilinegrid>
- <datagrid id="datagrid2" nodeset="/root/main/uselist" class="datagrid2" caption="월^측정기기 총 수량^총 Test 수^환자 검사 총 건수^환자 검사 / 총 건수(%)^정도관리 총 건수^정도관리 / 총건수(%)" colsep="^" colwidth="175, 158, 164, 167, 175, 177, 174" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" selectionmode="bycol" style="left:0px; top:73px; width:1193px; height:60px; ">
- <col ref="title1" style="text-align:center; "/>
- <col ref="metercnt" style="text-align:center; "/>
- <col ref="totalcnt" style="text-align:center; "/>
- <col ref="patcnt" style="text-align:center; "/>
- <col ref="patper" style="text-align:center; "/>
- <col ref="qccnt" style="text-align:center; "/>
- <col ref="qcper" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:0px; top:270px; width:235px; height:13px; ">병동별 정도관리 지침 오류 현황</caption>
- <button id="btn_addrow" class="btn2_letter3" style="left:1138px; top:265px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- datagrid3.addRow();
- ]]>
- </script>
- </button>
- <line id="line4" class="line_1" style="x1:0px; y1:285px; x2:1193px; y2:285px; "/>
- <datagrid id="datagrid3" nodeset="/root/main/errlist" class="datagrid" autoresize="true" caption="정도관리 지침 미시행 구분^해당 병동^미실행 내용(장비별)^UM 확인" colsep="^" colwidth="250, 200, 540, 200" dataheight="23" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:290px; width:1193px; height:285px; ">
- <col ref="flag" type="input"/>
- <col ref="ward" type="input"/>
- <col ref="info" type="input"/>
- <col ref="um" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- </datagrid>
- <line id="line5" class="line_3" style="x1:0px; y1:255px; x2:1194px; y2:255px; "/>
- <textarea id="textarea1" ref="/root/main/request/request" style="left:95px; top:580px; width:1100px; height:160px; "/>
- <caption id="caption3" style="left:0px; top:580px; width:94px; height:160px; font-weight:bold; text-align:center; background-color:#99ccff; border-color:transparent; ">요 청 사 항</caption>
- <line id="line8" class="line_3" style="x1:0px; y1:575px; x2:1194px; y2:575px; "/>
- <line id="line9" class="line_3" style="x1:0px; y1:579px; x2:1194px; y2:579px; "/>
- <line id="line10" class="line_3" style="x1:0px; y1:740px; x2:1194px; y2:740px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.reload();
- ]]>
- </script>
- </button>
- <button id="button11" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrint();
- ]]>
- </script>
- </button>
- <line id="line7" class="line_2" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="button1" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveInfo();
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption14" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">혈당기 QC 월별 현황 조회</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|