SMLQP00600_혈당기QC월별현황.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLQP00400_혈당기QC월별현황조회.xrw
  4. * 설 명 : 혈당기QC월별현황조회
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 :
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>혈당기 QC 월별 현황 조회</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <uselist>
  20. <title1/>
  21. <metercnt/>
  22. <totalcnt/>
  23. <patcnt/>
  24. <patper/>
  25. <qccnt/>
  26. <qcper/>
  27. </uselist>
  28. <qclist>
  29. <title2/>
  30. <qcmetcnt/>
  31. <highcnt/>
  32. <hight/>
  33. <highh/>
  34. <highl/>
  35. <lowcnt/>
  36. <lowt/>
  37. <lowh/>
  38. <lowl/>
  39. <errcnt/>
  40. <title3/>
  41. <qcmeterper/>
  42. <highper/>
  43. <hightper/>
  44. <highhper/>
  45. <highlper/>
  46. <lowper/>
  47. <lowtper/>
  48. <lowhper/>
  49. <lowlper/>
  50. <errper/>
  51. </qclist>
  52. <request>
  53. <request/>
  54. </request>
  55. <errlist>
  56. <flag/>
  57. <ward/>
  58. <info/>
  59. <um/>
  60. </errlist>
  61. </main>
  62. <send>
  63. <reqym/>
  64. <descrslt/>
  65. </send>
  66. <init/>
  67. <hidden/>
  68. </root>
  69. </instance>
  70. <script type="javascript" ev:event="xforms-ready">
  71. <![CDATA[
  72. fSetInit();
  73. ]]>
  74. </script>
  75. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  78. <submission id="TRLQP00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  79. <submission id="TXLQP00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  80. </model>
  81. <script type="javascript">
  82. <![CDATA[
  83. var vMonth = input3.label;
  84. function fSetInit(){
  85. model.setValue("/root/send/reqym", getCurrentDate());
  86. vMonth = getCurrentDate().toDate("YYYYMMDD").getDateFormat("YYYY-MM");
  87. datagrid2.caption = vMonth + " 월^측정기기 총 수량^총 Test 수^환자 검사 총 건수^환자 검사 / 총 건수(%)^정도관리 총 건수^정도관리 / 총건수(%)";
  88. datagrid1.caption = vMonth + " 월 정도관리 현황^측정 기기^High Control^범위내 Data^범위를벗어난 Data^범위를벗어난 Data^Low Control^범위내 Data^범위를 벗어난Data^범위를 벗어난Data^Result Flagged as Procedure Error|"
  89. + vMonth + " 월 정도관리 현황^측정 기기^High Control^범위내 Data^Above^Below^Low Control^범위내 Data^Above^Below^Result Flagged as Procedure Error";
  90. model.refresh();
  91. }
  92. //조회
  93. function fGetList(){
  94. submit("TRLQP00601", false);
  95. //서식결과테이블에 들어간 내용이 존재하면 뿌리기
  96. if(getNodesetCount("/root/main/srltlist/srlt") > 0){
  97. model.setValue("/root/main/request/request", model.getValue("/root/main/srltlist/srlt/main/request/request"));
  98. copyNodesetType("/root/main/errlist", "/root/main/srltlist/srlt/main/errlist", "replace");
  99. model.removeNodeset("/root/main/srltlist/srlt"); //서식결과 내용 삭제
  100. }
  101. model.refresh();
  102. }
  103. //저장
  104. //저장시에 main node를 lis.llrhdesc테이블에 집어넣음 bcno = Q+YYYYMM tclscd = 'LOS101' 등등
  105. function fSaveInfo(){
  106. var node = instance1.selectSingleNode("/root/main");
  107. model.setValue("/root/send/descrslt", node.xml);
  108. submit("TXLQP00601");
  109. }
  110. //출력
  111. function fPrint(){
  112. model.makeNode("/root/hidden/print");
  113. model.copyNode("/root/hidden/print", "/root/main");
  114. var strYM = model.getValue("/root/send/reqym");
  115. model.setValue("/root/send/reqym", strYM.substring(0, 6));
  116. var vErrCnt = 0;
  117. var vFlag = "";
  118. var vWard = "";
  119. var vInfo = "";
  120. var vUM = "";
  121. while(getNodesetCount("/root/hidden/print/errlist") != 0){
  122. vFlag += model.getValue("/root/hidden/print/errlist["+ 1 + "]/flag") + "\n";
  123. vWard += model.getValue("/root/hidden/print/errlist["+ 1 + "]/ward") + "\n";
  124. vInfo += model.getValue("/root/hidden/print/errlist["+ 1 + "]/info") + "\n";
  125. vUM += model.getValue("/root/hidden/print/errlist["+ 1 + "]/um") + "\n";
  126. model.removeNodeset("/root/hidden/print/errlist["+ 1 + "]");
  127. }
  128. model.makeValue("/root/hidden/print/errlist/flag" , vFlag);
  129. model.makeValue("/root/hidden/print/errlist/ward" , vWard);
  130. model.makeValue("/root/hidden/print/errlist/info" , vInfo);
  131. model.makeValue("/root/hidden/print/errlist/um" , vUM);
  132. exeReportPreview("RPLQP00600", "XMLSTR");
  133. model.removeNodeset("/root/hidden/print");
  134. }
  135. ]]>
  136. </script>
  137. </xhtml:head>
  138. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  139. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  140. <caption id="caption13" class="tit_2" style="left:5px; top:53px; width:370px; height:13px; ">혈당기기 사용 현황</caption>
  141. <line id="line6" class="line_1" style="x1:0px; y1:68px; x2:1193px; y2:68px; "/>
  142. <line id="line1" class="line_3" style="x1:0px; y1:133px; x2:1193px; y2:133px; "/>
  143. <line id="line2" class="line_1" style="x1:0px; y1:157px; x2:1193px; y2:157px; "/>
  144. <caption id="caption1" class="tit_2" style="left:5px; top:142px; width:235px; height:13px; ">혈당기기 정도관리 시행 현황</caption>
  145. <group id="group1" style="left:0px; top:10px; width:1195px; height:40px; ">
  146. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1193px; height:40px; "/>
  147. <button id="button3" class="btn1_letter2" style="left:1124px; top:10px; width:56px; height:22px; ">
  148. <caption>조회</caption>
  149. <script type="javascript" ev:event="DOMActivate">
  150. <![CDATA[
  151. fGetList();
  152. ]]>
  153. </script>
  154. </button>
  155. <line id="line3" class="line_4" style="x1:1109px; y1:10px; x2:1109px; y2:32px; "/>
  156. <caption id="caption5" class="search_name" style="left:15px; top:9px; width:91px; height:17px; ">조회 구분 :</caption>
  157. <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; ">
  158. <script type="javascript" ev:event="xforms-value-changed">
  159. <![CDATA[
  160. vMonth = input3.label;
  161. datagrid2.caption = vMonth + " 월^측정기기 총 수량^총 Test 수^환자 검사 총 건수^환자 검사 / 총 건수(%)^정도관리 총 건수^정도관리 / 총건수(%)";
  162. datagrid1.caption = vMonth + " 월 정도관리 현황^측정 기기^High Control^범위내 Data^범위를벗어난 Data^범위를벗어난 Data^Low Control^범위내 Data^범위를 벗어난Data^범위를 벗어난Data^Result Flagged as Procedure Error|"
  163. + vMonth + " 월 정도관리 현황^측정 기기^High Control^범위내 Data^Above^Below^Low Control^범위내 Data^Above^Below^Result Flagged as Procedure Error";
  164. ]]>
  165. </script>
  166. </input>
  167. </group>
  168. <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; ">
  169. <row ref="/root/main/qclist">
  170. <col ref="title2" style="text-align:center; "/>
  171. <col ref="qcmetcnt" style="text-align:center; "/>
  172. <col ref="highcnt" style="text-align:center; "/>
  173. <col ref="hight" style="text-align:center; "/>
  174. <col ref="highh" style="text-align:center; "/>
  175. <col ref="highl" style="text-align:center; "/>
  176. <col ref="lowcnt" style="text-align:center; "/>
  177. <col ref="lowt" style="text-align:center; "/>
  178. <col ref="lowh" style="text-align:center; "/>
  179. <col ref="lowl" style="text-align:center; "/>
  180. <col ref="errcnt" style="text-align:center; "/>
  181. </row>
  182. <row>
  183. <col ref="title3" style="text-align:center; "/>
  184. <col ref="qcmeterper" style="text-align:center; "/>
  185. <col ref="highper" style="text-align:center; "/>
  186. <col ref="hightper" style="text-align:center; "/>
  187. <col ref="highhper" style="text-align:center; "/>
  188. <col ref="highlper" style="text-align:center; "/>
  189. <col ref="lowper" style="text-align:center; "/>
  190. <col ref="lowtper" style="text-align:center; "/>
  191. <col ref="lowhper" style="text-align:center; "/>
  192. <col ref="lowlper" style="text-align:center; "/>
  193. <col ref="errper" style="text-align:center; "/>
  194. </row>
  195. <script type="javascript" ev:event="onclick">
  196. <![CDATA[
  197. ]]>
  198. </script>
  199. </multilinegrid>
  200. <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; ">
  201. <col ref="title1" style="text-align:center; "/>
  202. <col ref="metercnt" style="text-align:center; "/>
  203. <col ref="totalcnt" style="text-align:center; "/>
  204. <col ref="patcnt" style="text-align:center; "/>
  205. <col ref="patper" style="text-align:center; "/>
  206. <col ref="qccnt" style="text-align:center; "/>
  207. <col ref="qcper" style="text-align:center; "/>
  208. <script type="javascript" ev:event="onclick">
  209. <![CDATA[
  210. ]]>
  211. </script>
  212. </datagrid>
  213. <caption id="caption2" class="tit_2" style="left:0px; top:270px; width:235px; height:13px; ">병동별 정도관리 지침 오류 현황</caption>
  214. <button id="btn_addrow" class="btn2_letter3" style="left:1138px; top:265px; width:53px; height:19px; ">
  215. <caption>행추가</caption>
  216. <script type="javascript" ev:event="DOMActivate">
  217. <![CDATA[
  218. datagrid3.addRow();
  219. ]]>
  220. </script>
  221. </button>
  222. <line id="line4" class="line_1" style="x1:0px; y1:285px; x2:1193px; y2:285px; "/>
  223. <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; ">
  224. <col ref="flag" type="input"/>
  225. <col ref="ward" type="input"/>
  226. <col ref="info" type="input"/>
  227. <col ref="um" type="input"/>
  228. <script type="javascript" ev:event="onclick">
  229. <![CDATA[
  230. ]]>
  231. </script>
  232. </datagrid>
  233. <line id="line5" class="line_3" style="x1:0px; y1:255px; x2:1194px; y2:255px; "/>
  234. <textarea id="textarea1" ref="/root/main/request/request" style="left:95px; top:580px; width:1100px; height:160px; "/>
  235. <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>
  236. <line id="line8" class="line_3" style="x1:0px; y1:575px; x2:1194px; y2:575px; "/>
  237. <line id="line9" class="line_3" style="x1:0px; y1:579px; x2:1194px; y2:579px; "/>
  238. <line id="line10" class="line_3" style="x1:0px; y1:740px; x2:1194px; y2:740px; "/>
  239. </group>
  240. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  241. <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  242. <caption>초기화</caption>
  243. <script type="javascript" ev:event="onclick">
  244. <![CDATA[
  245. window.reload();
  246. ]]>
  247. </script>
  248. </button>
  249. <button id="button11" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
  250. <caption>출력</caption>
  251. <script type="javascript" ev:event="DOMActivate">
  252. <![CDATA[
  253. fPrint();
  254. ]]>
  255. </script>
  256. </button>
  257. <line id="line7" class="line_2" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  258. <button id="button1" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
  259. <caption>저장</caption>
  260. <script type="javascript" ev:event="DOMActivate">
  261. <![CDATA[
  262. fSaveInfo();
  263. ]]>
  264. </script>
  265. </button>
  266. </group>
  267. <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
  268. <caption id="caption14" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">혈당기 QC 월별 현황 조회</caption>
  269. </group>
  270. </xhtml:body>
  271. </xhtml:html>