SMMRS02000_시술처방환자통계.xrw 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <patlist>
  11. <patlist>
  12. <ioflag/>
  13. <pid/>
  14. <hngnm/>
  15. <prcpdd/>
  16. <execdt/>
  17. <prcpnm/>
  18. <orddrid/>
  19. <recbfyn/>
  20. <fstrecdt/>
  21. <recaftyn/>
  22. <lastrecdt/>
  23. </patlist>
  24. </patlist>
  25. </main>
  26. <send>
  27. <fromdd/>
  28. <todd/>
  29. </send>
  30. </root>
  31. </instance>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. model.setValue("/root/send/fromdd", getCurrentDate());
  35. model.setValue("/root/send/todd", getCurrentDate());
  36. model.refresh();
  37. ]]>
  38. </script>
  39. <script type="javascript">
  40. <![CDATA[
  41. function ChkDate(){
  42. var fromdd = model.getValue("/root/send/fromdd");
  43. var todd = model.getValue("/root/send/todd");
  44. if( fromdd > todd ){
  45. messageBox("시작일자가 종료일자보다 클 수","I004"); //없습니다.
  46. return false;
  47. }else if( todd > getCurrentDate() ){
  48. messageBox("종료일자가 현재일자("+getCurrentDate()+")보다 클 수","I004");//없습니다.
  49. return false;
  50. }
  51. }
  52. ]]>
  53. </script>
  54. <submission id="TRMRS02000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patlist"/>
  55. </model>
  56. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  59. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  60. </xhtml:head>
  61. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  62. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:399px; height:13px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">기간별 시술목록 처방에 따른 환자명단 조회</caption>
  63. <group id="group2" style="left:0px; top:21px; width:1194px; height:35px; vertical-align:top; ">
  64. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  65. <button id="btn_search" class="btn1_letter2" style="left:1064px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  66. <caption>조회</caption>
  67. <script type="javascript" ev:event="onclick">
  68. <![CDATA[
  69. var rtn = ChkDate();
  70. if( rtn != "false" ){
  71. if (submit("TRMRS02000")){
  72. } else {
  73. messageBox("조회를","E009");
  74. }
  75. }else{
  76. return;
  77. }
  78. ]]>
  79. </script>
  80. </button>
  81. <line id="line13" style="x1:1054px; y1:7px; x2:1054px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  82. <caption id="caption2" class="search_name" style="left:18px; top:9px; width:91px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회일자 :</caption>
  83. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:107px; top:8px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
  84. <script type="javascript" ev:event="xforms-value-changed">
  85. <![CDATA[
  86. ChkDate();
  87. ]]>
  88. </script>
  89. </input>
  90. <caption id="caption5" style="left:209px; top:12px; width:15px; height:13px; ">~</caption>
  91. <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:223px; top:8px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
  92. <script type="javascript" ev:event="xforms-value-changed">
  93. <![CDATA[
  94. ChkDate();
  95. ]]>
  96. </script>
  97. </input>
  98. <button id="btn_excel" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  99. <caption>엑셀</caption>
  100. <script type="javascript" ev:event="onclick">
  101. <![CDATA[
  102. var fromdd = model.getValue("/root/send/fromdd");
  103. var todd = model.getValue("/root/send/todd");
  104. var dt = "";
  105. if(fromdd == todd) {
  106. dt = fromdd;
  107. } else {
  108. dt = fromdd + "~" + todd;
  109. }
  110. var fileName = window.fileDialog("save", ",", false, "기간별 환자 시술목록(" + dt + ")", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  111. grd_patlist.saveExcel(fileName, "SheetName", true, true, "", "", false);
  112. ]]>
  113. </script>
  114. </button>
  115. </group>
  116. <datagrid id="grd_patlist" nodeset="/root/main/patlist/patlist" class="datagrid2" caption="입/외^환자번호^환자명^시술처방일^시술액팅일시^시술처방명^처방의사^시술기록&#xA;작성여부^최초인증저장일시^시술후 기록&#xA;작성여부^최초인증저장일시" colsep="^" colwidth="47, 70, 75, 85, 115, 350, 70, 60, 115, 70, 115" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:75px; width:1195px; height:705px; ">
  117. <col ref="ioflag" style="text-align:center; "/>
  118. <col ref="pid" style="text-align:center; "/>
  119. <col ref="hngnm" style="text-align:center; "/>
  120. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  121. <col ref="execdt" format="yyyy-mm-dd hh:nn:ss"/>
  122. <col ref="prcpnm"/>
  123. <col ref="orddrid"/>
  124. <col ref="recbfyn" style="text-align:center; "/>
  125. <col ref="fstrecdt" format="yyyy-mm-dd hh:nn:ss"/>
  126. <col ref="recaftyn" style="text-align:center; "/>
  127. <col ref="lastrecdt" format="yyyy-mm-dd hh:nn:ss"/>
  128. </datagrid>
  129. <line id="line8" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
  130. </xhtml:body>
  131. </xhtml:html>