SMMND04600_월별환자현황.xrw 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>월별환자현황</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patinfo>
  11. <patlist>
  12. <hngnm/>
  13. <rrgstno/>
  14. <pid/>
  15. <opschedd/>
  16. <age/>
  17. <exchdd/>
  18. <scheexchdd/>
  19. <cassickkind/>
  20. <cassick/>
  21. <sex/>
  22. </patlist>
  23. </patinfo>
  24. <cond>
  25. <dialmm/>
  26. <fromdd/>
  27. <todd/>
  28. </cond>
  29. </main>
  30. <init/>
  31. <hidden/>
  32. </root>
  33. </instance>
  34. <script type="javascript" ev:event="xforms-ready">
  35. <![CDATA[
  36. //그래드 초기화
  37. model.removeNodeset(grd_patlist.nodeset);
  38. grd_patlist.refresh();
  39. model.setValue(ipt_dialmm.attribute("ref"), getCurrentDate().substr(0, 6));
  40. model.setValue(ipt_fromdd.attribute("ref"), getCurrentDate().substr(0, 6) + "01");
  41. model.setValue(ipt_todd.attribute("ref"), getCurrentDate());
  42. ipt_dialmm.refresh();
  43. fSearch();
  44. ]]>
  45. </script>
  46. <script type="javascript">
  47. <![CDATA[
  48. function fSearch() {
  49. model.makeValue("/root/send/reqdata/dialmm", model.getValue(ipt_dialmm.attribute("ref")));
  50. model.makeValue("/root/send/reqdata/fromdd", model.getValue(ipt_fromdd.attribute("ref")));
  51. model.makeValue("/root/send/reqdata/todd", model.getValue(ipt_todd.attribute("ref")));
  52. submit("TRMND04601");
  53. }
  54. function fPrint() {
  55. model.removenode("/root/send/printdata");
  56. //send 재구성
  57. model.makeValue("/root/send/printdata","");
  58. model.copynode("/root/send/printdata", "/root/main/patinfo");
  59. model.makeValue("/root/send/printdata/dialmm", model.getValue(ipt_dialmm.attribute("ref")));
  60. exeReportPreview("RPMND04601", "XMLSTR", "", "", "", "", "", "", "");
  61. }
  62. ]]>
  63. </script>
  64. <submission id="TRMND04601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patinfo"/>
  65. </model>
  66. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  69. <script type="javascript" src="../../../emr/dialroomweb/js/SMMND01200.js"/>
  70. </xhtml:head>
  71. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  72. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  73. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:119px; height:14px; ">복막투석월별환자현황</caption>
  74. </group>
  75. <group id="grp_biz" scroll="l" style="left:0px; top:13px; width:1195px; height:744px; ">
  76. <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:35px; vertical-align:top; ">
  77. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  78. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:91px; height:17px; ">등록일자 :</caption>
  79. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  80. <caption>조회</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. fSearch();
  84. ]]>
  85. </script>
  86. </button>
  87. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  88. <input id="ipt_dialmm" ref="/root/main/cond/dialmm" class="input_s_essential" visibility="hidden" inputtype="date" maxlength="6" format="yyyy-mm" style="left:360px; top:8px; width:79px; height:19px; ">
  89. <script type="javascript" ev:event="xforms-value-changed">
  90. <![CDATA[
  91. btn_search.dispatch("DOMActivate");
  92. ]]>
  93. </script>
  94. </input>
  95. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" style="left:105px; top:8px; width:90px; height:19px; "/>
  96. <input id="ipt_todd" ref="/root/main/cond/todd" class="input_s_essential" inputtype="date" style="left:215px; top:8px; width:90px; height:19px; "/>
  97. <caption id="caption1" style="left:195px; top:10px; width:20px; height:20px; text-align:center; ">~</caption>
  98. </group>
  99. <line id="line1" class="line_1" style="x1:1px; y1:65px; x2:1195px; y2:65px; "/>
  100. <caption id="caption5" class="tit_2" style="left:5px; top:51px; width:144px; height:13px; vertical-align:middle; ">월별 환자현황 리스트</caption>
  101. <button id="button1" class="btn2_letter2" style="left:1150px; top:45px; width:42px; height:19px; ">
  102. <caption>출력</caption>
  103. <script type="javascript" ev:event="DOMActivate">
  104. <![CDATA[
  105. if(grd_patlist.rows > 0) {
  106. fPrint();
  107. }
  108. ]]>
  109. </script>
  110. </button>
  111. <datagrid id="grd_patlist" nodeset="/root/main/patinfo/patlist" caption="이름^주민등록번호^환자번호^수술일^나이^교환일^교환예정일^원인질환^기타^성별" colsep="^" colwidth="70, 100, 80, 90, 40, 90, 90, 100, 130, 40" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:70px; width:1195px; height:670px; ">
  112. <col ref="hngnm" style="text-align:center; "/>
  113. <col ref="rrgstno" type="output" format="999999-9999999" secretmark="*" secretstartposition="7" secretendposition="14" style="text-align:center; "/>
  114. <col ref="pid" style="text-align:center; "/>
  115. <col ref="opschedd" format="yyyy-mm-dd" style="text-align:center; "/>
  116. <col ref="age" style="text-align:center; "/>
  117. <col ref="exchdd" format="yyyy-mm-dd" style="text-align:center; "/>
  118. <col ref="scheexchdd" format="yyyy-mm-dd" style="text-align:center; "/>
  119. <col ref="cassickkind"/>
  120. <col ref="cassick"/>
  121. <col ref="sex" style="text-align:center; "/>
  122. <script type="javascript" ev:event="onaftersort">
  123. <![CDATA[
  124. grd_patlist.gridToInstance();
  125. ]]>
  126. </script>
  127. </datagrid>
  128. </group>
  129. </xhtml:body>
  130. </xhtml:html>