SSMNW00400_환자통계.xrw 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SSMNP00100_환자통계.xrw
  4. * 수정이력
  5. * - 2008.09.16 / 최초작성 / 손은연
  6. SDPHIWPS : 입원 병상가동인원 통계(진료과)
  7. * /* */
  8. -->
  9. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="txt/css" ?>
  10. <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">
  11. <xhtml:head>
  12. <xhtml:title>환자통계</xhtml:title>
  13. <model id="model1">
  14. <instance id="instance1">
  15. <root xmlns="">
  16. <main>
  17. <cond>
  18. <fromdd/>
  19. <todd/>
  20. </cond>
  21. <patstsinfo>
  22. <patstslist/>
  23. </patstsinfo>
  24. </main>
  25. <send/>
  26. <init/>
  27. <hidden/>
  28. </root>
  29. </instance>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. //그리드 초기화
  33. model.removeNodeset("/root/main/patstatsinfo/patstatslist");
  34. //현재 일자 세팅
  35. model.setValue("/root/main/cond/fromdd", getCurrentDate().toDate().getAddDate(-1,'D').getDateFormat());
  36. model.setValue("/root/main/cond/todd", getCurrentDate().toDate().getAddDate(-1,'D').getDateFormat());
  37. btn_select.dispatch("DOMActivate");
  38. model.refresh();
  39. ]]>
  40. </script>
  41. <submission id="TRSNW00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patstsinfo"/>
  42. </model>
  43. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  46. </xhtml:head>
  47. <xhtml:body pagewidth="1158" pageheight="770" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  48. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">환자 통계</caption>
  49. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:19px; width:1142px; height:36px; "/>
  50. <caption id="caption30" class="search_name" style="left:16px; top:27px; width:114px; height:17px; ">기 간 :</caption>
  51. <input id="input1" ref="/root/main/cond/todd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:252px; top:27px; width:90px; height:19px; text-align:center; ">
  52. <script type="javascript" ev:event="xforms-value-changed">
  53. <![CDATA[]]>
  54. </script>
  55. </input>
  56. <input id="ipt_procdd" ref="/root/main/cond/fromdd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:149px; top:27px; width:90px; height:19px; text-align:center; ">
  57. <script type="javascript" ev:event="xforms-value-changed">
  58. <![CDATA[
  59. ]]>
  60. </script>
  61. </input>
  62. <line id="line13" class="line_4" style="x1:992px; y1:27px; x2:992px; y2:49px; "/>
  63. <button id="btn_select" class="btn1_letter2" style="left:1008px; top:27px; width:56px; height:22px; ">
  64. <caption>조회</caption>
  65. <script type="javascript" ev:event="DOMActivate">
  66. <![CDATA[
  67. if ( isNull(model.getValue("/root/main/cond/fromdd")) || isNull(model.getValue("/root/main/cond/todd")) ){
  68. messageBox("기간","I003");//필수입력입니다
  69. return;
  70. }
  71. model.removeNode("/root/send/reqdata");
  72. model.makeNode("/root/send/reqdata");
  73. model.makeValue("/root/send/reqdata/fromdd", model.getValue("/root/main/cond/fromdd") );
  74. model.makeValue("/root/send/reqdata/todd", model.getValue("/root/main/cond/todd") );
  75. submit("TRSNW00401");
  76. ]]>
  77. </script>
  78. </button>
  79. <button id="btn_excel" class="btn1_letter2" style="left:1065px; top:27px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  80. <caption>엑셀</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. var fileName = window.fileDialog("save", ",", false, "환자통계" , "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  84. if (fileName != "") {
  85. dgrd_rpt.saveExcel(fileName, "환자통계", true, true, "", "", true);
  86. }
  87. ]]>
  88. </script>
  89. </button>
  90. <datagrid id="dgrd_rpt" nodeset="/root/main/patstsinfo/patstslist" caption="진료과^재원^입원^퇴원^외래^외래^외래^외래^병동^운영병상수^재원^입원^퇴원^전입^전출^사망^가동율^평균재원일수^퇴원예고율^중증도(건)^중증도(건)^중증도(건)^중증도(건)^중증도(건)^중증도(건)|진료과^재원^입원^퇴원^초진^재진^계^부도율^병동^운영병상수^재원^입원^퇴원^전입^전출^사망^가동율^평균재원일수^퇴원예고율^1군^2군^3군^4군^5군^6군" colsep="^" colwidth="108, 44, 44, 44, 40, 39, 45, 50, 94, 45, 45, 40, 40, 40, 40, 40, 50, 50, 0, 30, 30, 30, 30, 30, 30" dataheight="25" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:85px; width:1142px; height:662px; ">
  91. <col ref="depthngnm"/>
  92. <col ref="deptingcnt" style="text-align:right; "/>
  93. <col ref="deptinptcnt" style="text-align:right; "/>
  94. <col ref="deptdschcnt" style="text-align:right; "/>
  95. <col ref="fstpatcnt" style="text-align:right; "/>
  96. <col ref="secpatcnt" style="text-align:right; "/>
  97. <col ref="outpatcnt" style="text-align:right; "/>
  98. <col ref="absnpatrate" style="text-align:right; "/>
  99. <col ref="wardnm"/>
  100. <col ref="roomcnt" style="text-align:right; "/>
  101. <col ref="ingcnt" style="text-align:right; "/>
  102. <col ref="inptcnt" style="text-align:right; "/>
  103. <col ref="dschcnt" style="text-align:right; "/>
  104. <col ref="trnsinrmcnt" style="text-align:right; "/>
  105. <col ref="trnsoutrmcnt" style="text-align:right; "/>
  106. <col ref="dethcnt" style="text-align:right; "/>
  107. <col ref="warduserate" style="text-align:right; "/>
  108. <col ref="avgingday" style="text-align:right; "/>
  109. <col/>
  110. <col ref="sfdgree1" style="text-align:right; "/>
  111. <col ref="sfdgree2" style="text-align:right; "/>
  112. <col ref="sfdgree3" style="text-align:right; "/>
  113. <col ref="sfdgree4" style="text-align:right; "/>
  114. <col ref="sfdgree5" style="text-align:right; "/>
  115. <col ref="sfdgree6" style="text-align:right; "/>
  116. </datagrid>
  117. <caption id="caption26" class="tit_2" style="left:5px; top:65px; width:255px; height:13px; ">환자통계 리스트</caption>
  118. <line id="line1" class="line_1" style="x1:0px; y1:81px; x2:1142px; y2:81px; "/>
  119. <caption id="caption1" style="left:240px; top:27px; width:15px; height:20px; ">~</caption>
  120. </xhtml:body>
  121. </xhtml:html>