SPASI04500_결핵환자진료대상자조회.xrw 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. <outpatlist>
  11. <pid/>
  12. <hngnm/>
  13. <depthngnm/>
  14. <orddrnm/>
  15. <diagengnm/>
  16. <ordtm/>
  17. </outpatlist>
  18. <inpatlist>
  19. <pid/>
  20. <hngnm/>
  21. <depthngnm/>
  22. <orddrnm/>
  23. <diagengnm/>
  24. <wardnm/>
  25. <roomcd/>
  26. </inpatlist>
  27. </main>
  28. <send>
  29. <reqdata>
  30. <srchdd/>
  31. </reqdata>
  32. </send>
  33. <hidden/>
  34. <init>
  35. </init>
  36. <temp>
  37. </temp>
  38. </root>
  39. </instance>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. fInitialize();
  43. ]]>
  44. </script>
  45. <submission id="TRASI04500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main"/>
  46. </model>
  47. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  51. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  52. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  53. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  54. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  55. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  56. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  57. <script type="javascript" src="../../../ast/infcmngtweb/js/SPASI04500.js"/>
  58. </xhtml:head>
  59. <xhtml:body pagewidth="850px" pageheight="790px" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  60. <group id="group3" style="left:0px; top:0px; width:830px; height:775px; ">
  61. <group id="grp_tle" style="left:0px; top:0px; width:160px; height:13px; ">
  62. <caption id="caption7" class="tit_1" style="left:0px; top:0px; width:158px; height:15px; ">결핵환자진료대상자조회</caption>
  63. </group>
  64. <group id="grp_sea" style="left:0px; top:20px; width:815px; height:38px; vertical-align:top; ">
  65. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:815px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  66. <caption id="caption9" class="search_name" style="left:15px; top:6px; width:86px; height:17px; ">검색일자 :</caption>
  67. <line id="line5" class="line_4" style="x1:690px; y1:5px; x2:690px; y2:27px; "/>
  68. <input id="ipt_srchdd" ref="/root/send/reqdata/srchdd" class="input_search" inputtype="date" style="left:105px; top:8px; width:85px; height:19px; "/>
  69. <button id="btn_search" class="btn1_letter2" style="left:695px; top:6px; width:56px; height:22px; ">
  70. <caption>조회</caption>
  71. <script type="javascript" ev:event="DOMActivate">
  72. <![CDATA[
  73. fSearch();
  74. ]]>
  75. </script>
  76. </button>
  77. <button id="btn_excel" class="btn2_letter2" style="left:756px; top:7px; width:42px; height:19px; ">
  78. <caption>엑셀</caption>
  79. <script type="javascript" ev:event="DOMActivate">
  80. <![CDATA[
  81. var fileName="";
  82. if(switch1.selectedIndex=="0"){
  83. fileName = window.fileDialog("save", ",", false, "결핵환자진료대상자(외래)", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  84. if(fileName != ""){
  85. grd_outpatlist.saveExcel(fileName, "결핵환자진료대상자(외래)", true, true, "", "", false);
  86. }
  87. }else if(switch1.selectedIndex=="1"){
  88. fileName = window.fileDialog("save", ",", false, "결핵환자진료대상자(입원)", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  89. if(fileName != ""){
  90. grd_inpatlist.saveExcel(fileName, "결핵환자진료대상자(입원)", true, true, "", "", false);
  91. }
  92. }
  93. var s = fileName.lastIndexOf("\\");
  94. var fileName=fileName.substring(s+1);
  95. /*
  96. var rmsg = messageBox("저장된 Excel을", "Q004");
  97. if( rmsg == 6 ){
  98. window.exec("excel.exe", fileName);
  99. }
  100. */
  101. ]]>
  102. </script>
  103. </button>
  104. </group>
  105. <switch id="switch1" style="left:0px; top:90px; width:815px; height:670px; ">
  106. <case id="out" selected="true" style="left:0px; top:0px; width:813px; height:668px; ">
  107. <datagrid id="grd_outpatlist" nodeset="/root/main/outpatlist" autoresize="true" caption="등록번호^환자명^진료과^담당의^진단명^예약시간" colsep="^" colwidth="77, 70, 126, 70, 388, 60" explorerbar="sortshow" mergecells="bycol" rowsep="|" style="left:1px; top:0px; width:809px; height:665px; ">
  108. <col ref="pid" style="text-align:center; "/>
  109. <col ref="hngnm" style="text-align:center; "/>
  110. <col ref="depthngnm"/>
  111. <col ref="orddrnm"/>
  112. <col ref="diagengnm"/>
  113. <col ref="ordtm" format="hh:nn" style="text-align:center; "/>
  114. </datagrid>
  115. </case>
  116. <case id="in">
  117. <datagrid id="grd_inpatlist" nodeset="/root/main/inpatlist" autoresize="true" caption="등록번호^환자명^진료과^담당의^진단명^입원병동^입원병실" colsep="^" colwidth="77, 71, 145, 71, 278, 79, 70" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:809px; height:665px; ">
  118. <col ref="pid" style="text-align:center; "/>
  119. <col ref="hngnm" style="text-align:center; "/>
  120. <col ref="depthngnm"/>
  121. <col ref="orddrnm" style="text-align:center; "/>
  122. <col ref="diagengnm"/>
  123. <col ref="wardnm"/>
  124. <col ref="roomcd"/>
  125. </datagrid>
  126. </case>
  127. </switch>
  128. <button id="btn_sw1" class="btn_sw" group="tab" selected="true" style="left:0px; top:67px; width:50px; height:22px; font-size:8pt; ">
  129. <caption>외래</caption>
  130. <script type="javascript" ev:event="onclick">
  131. <![CDATA[
  132. model.toggle("out");
  133. ]]>
  134. </script>
  135. </button>
  136. <button id="btn_sw2" class="btn_sw" group="tab" style="left:50px; top:67px; width:50px; height:22px; font-size:8pt; ">
  137. <caption>입원</caption>
  138. <script type="javascript" ev:event="onclick">
  139. <![CDATA[
  140. model.toggle("in");
  141. ]]>
  142. </script>
  143. </button>
  144. </group>
  145. </xhtml:body>
  146. </xhtml:html>