SPPMI03800_보호입원대상자조회.xrw 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <innplist/>
  11. </main>
  12. <send>
  13. <pid/>
  14. <basedd/>
  15. </send>
  16. <init>
  17. <PAM>
  18. <PK225list>
  19. <PK225>
  20. <cdid/>
  21. <cdnm/>
  22. </PK225>
  23. </PK225list>
  24. </PAM>
  25. </init>
  26. <hidden/>
  27. </root>
  28. </instance>
  29. <submission id="TRPMI03802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/innplist"/>
  30. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  31. </model>
  32. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  33. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  35. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. pamfGetCodeList(new Array("PK225"), new Array("/root/init/PAM/PK225list"));
  39. model.setValue("/root/send/basedd", getCurrentDate());
  40. var pid = window.opener.javascript.getParameter("SPPMI03800_PID");
  41. if (pid != null && pid != "") {
  42. model.setValue("/root/send/pid", pid);
  43. model.refresh();
  44. btn_search.dispatch("DOMActivate");
  45. } else {
  46. model.refresh();
  47. messageBox("환자가 선택되지 않았습니다.", "C000");
  48. }
  49. ]]>
  50. </script>
  51. </xhtml:head>
  52. <xhtml:body pagewidth="770" pageheight="600">
  53. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:10px; top:15px; width:480px; height:30px; "/>
  54. <datagrid id="grd_innplist" nodeset="/root/main/innplist" visibility="visible" caption="구분^차트번호^성명^입원일자^입원형태^시작일자^종료일자^재원일수^병실^전문의" colsep="^" colwidth="70, 73, 65, 78, 80, 80, 76, 70, 63, 70" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:50px; width:745px; height:540px; ">
  55. <col ref="gubun" style="text-align:center; "/>
  56. <col ref="pid" style="text-align:center; "/>
  57. <col ref="hngnm" style="text-align:center; "/>
  58. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  59. <col disabled="true" ref="uncocd" type="combo" style="text-align:center; ">
  60. <choices>
  61. <itemset nodeset="/root/init/PAM/PK225list/PK225">
  62. <label ref="cdnm"/>
  63. <value ref="cdid"/>
  64. </itemset>
  65. </choices>
  66. </col>
  67. <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  68. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  69. <col ref="indays" style="text-align:right; padding-right:10; "/>
  70. <col ref="roomcd" style="text-align:center; "/>
  71. <col ref="medispclidnm" style="text-align:center; "/>
  72. </datagrid>
  73. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:285px; height:14px; ">보호입원대상자</caption>
  74. <caption id="caption2" class="search_name" style="left:235px; top:21px; width:85px; height:17px; ">차트번호</caption>
  75. <caption id="caption3" class="search_name" style="left:20px; top:21px; width:100px; height:17px; ">기준일자</caption>
  76. <input id="input1" ref="/root/send/pid" disabled="false" navindex="2" style="left:320px; top:20px; width:70px; height:19px; text-align:center; "/>
  77. <input id="input2" ref="/root/send/basedd" disabled="false" navindex="1" inputtype="date" style="left:108px; top:20px; width:100px; height:19px; text-align:center; "/>
  78. <button id="btn_search" class="btn1_letter2" navindex="3" style="left:424px; top:20px; width:56px; height:22px; ">
  79. <caption>조회</caption>
  80. <script type="javascript" ev:event="DOMActivate">
  81. <![CDATA[
  82. submit("TRPMI03802");
  83. ]]>
  84. </script>
  85. <hint>
  86. <![CDATA[기준일자에 재원중이거나, 입원예정인 환자 조회]]>
  87. </hint>
  88. </button>
  89. <button id="button1" class="btn2_letter4" style="left:691px; top:26px; width:64px; height:19px; ">
  90. <caption>엑셀저장</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. if (grd_innplist.rows == 1) return;
  94. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  95. if (fileName != ""){
  96. grd_innplist.saveExcel(fileName, "미수", true, true, "", "", true);
  97. }
  98. ]]>
  99. </script>
  100. </button>
  101. </xhtml:body>
  102. </xhtml:html>