SMMMO05800_수술장부.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  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. <cond>
  11. <fromdd/>
  12. <todd/>
  13. <perfdeptcd/>
  14. <perfdrid/>
  15. <pid/>
  16. <hngnm/>
  17. <diagcd/>
  18. <diaghngnm/>
  19. <opcd/>
  20. <ophngnm/>
  21. <cnstopflag/>
  22. </cond>
  23. <patinfo>
  24. <patinfolist/>
  25. </patinfo>
  26. <oprecinfo>
  27. <opreclist>
  28. <roomcd/>
  29. <hngnm/>
  30. <pid/>
  31. <sa/>
  32. <opcnfmdd/>
  33. <diagnm/>
  34. <opnm/>
  35. <opnm2/>
  36. <perfdeptnm/>
  37. <perfdrnm/>
  38. <assistant/>
  39. <anstmthdcd/>
  40. <cnstopflag/>
  41. <durtime/>
  42. <patinroomdt/>
  43. <patoutroomdt/>
  44. </opreclist>
  45. </oprecinfo>
  46. <totcnt>
  47. <totcnt/>
  48. </totcnt>
  49. </main>
  50. <send>
  51. <reqdata/>
  52. <savedata/>
  53. </send>
  54. <hidden/>
  55. <init>
  56. <orddept/>
  57. <userlist/>
  58. <M0017/>
  59. </init>
  60. </root>
  61. </instance>
  62. <script type="javascript" ev:event="xforms-ready">
  63. <![CDATA[
  64. fInitialize_SMMMO05800();
  65. ]]>
  66. </script>
  67. <submission id="TRMMO05201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/oprecinfo"/>
  68. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  69. <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
  70. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  71. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  72. <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
  73. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  74. </model>
  75. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  79. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  80. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  81. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO05800.js"/>
  82. </xhtml:head>
  83. <xhtml:body guideline="1,1194;1,1194;2,784;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  84. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:19px; width:1194px; height:66px; background-color:#fffbf2; border-color:#ffd799; "/>
  85. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">수술장부조회</caption>
  86. <caption id="caption2" class="search_name" style="left:810px; top:30px; width:105px; height:17px; ">집 도 의 :</caption>
  87. <caption id="caption25" class="tit_2" style="left:0px; top:89px; width:147px; height:13px; ">수술장부</caption>
  88. <line id="line1" class="line_1" style="x1:0px; y1:104px; x2:1194px; y2:104px; "/>
  89. <caption id="caption3" class="search_name" style="left:9px; top:57px; width:105px; height:17px; ">등록번호 :</caption>
  90. <caption id="caption1" style="left:398px; top:30px; width:15px; height:20px; ">~</caption>
  91. <line id="line3" style="x1:1124px; y1:26px; x2:1124px; y2:79px; border-color:#ffe4bb; border-left-style:solid; "/>
  92. <caption id="caption4" class="search_name" style="left:516px; top:31px; width:119px; height:17px; ">집 도 과 :</caption>
  93. <caption id="caption5" class="search_name" style="left:10px; top:29px; width:113px; height:17px; ">총 : 명</caption>
  94. <caption id="caption7" class="search_name" style="left:210px; top:30px; width:105px; height:17px; ">수술기간 :</caption>
  95. <output id="output1" ref="/root/main/totcnt/totcnt" style="left:63px; top:29px; width:37px; height:19px; text-align:center; "/>
  96. <caption id="caption9" class="search_name" style="left:210px; top:57px; width:105px; height:17px; ">성 명 :</caption>
  97. <button id="btn_prcpclsnm" class="icon_search" style="left:403px; top:59px; width:16px; height:16px; ">
  98. <caption/>
  99. <script type="javascript" ev:event="DOMActivate">
  100. <![CDATA[
  101. modal("SPPMC02500");
  102. var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
  103. var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  104. model.setValue("/root/main/cond/pid", sPid);
  105. model.setValue("/root/main/cond/hngnm", sHngnm);
  106. model.refresh();
  107. ]]>
  108. </script>
  109. </button>
  110. <caption id="caption10" class="search_name" style="left:516px; top:56px; width:119px; height:17px; ">진 단 명 :</caption>
  111. <input id="input4" ref="/root/main/cond/diaghngnm" style="left:600px; top:55px; width:204px; height:19px; ">
  112. <script type="javascript" ev:event="onkeypress">
  113. <![CDATA[
  114. inputEnterKey("btn_diagnm", "DOMActivate");
  115. ]]>
  116. </script>
  117. <script type="javascript" ev:event="onclick">
  118. <![CDATA[
  119. model.setValue("/root/main/cond/diagcd", "");
  120. model.setValue("/root/main/cond/diaghngnm", "");
  121. model.refresh();
  122. ]]>
  123. </script>
  124. </input>
  125. <caption id="caption11" class="search_name" style="left:810px; top:57px; width:119px; height:17px; ">수 술 명 :</caption>
  126. <input id="input5" ref="/root/main/cond/ophngnm" style="left:896px; top:56px; width:204px; height:19px; ">
  127. <script type="javascript" ev:event="onkeypress">
  128. <![CDATA[
  129. inputEnterKey("btn_op", "DOMActivate");
  130. ]]>
  131. </script>
  132. <script type="javascript" ev:event="onclick">
  133. <![CDATA[
  134. model.setValue("/root/main/cond/opcd", "");
  135. model.setValue("/root/main/cond/ophngnm", "");
  136. model.refresh();
  137. ]]>
  138. </script>
  139. </input>
  140. <input id="ipt_pid" ref="/root/main/cond/pid" style="left:97px; top:56px; width:100px; height:19px; ">
  141. <script type="javascript" ev:event="onkeypress">
  142. <![CDATA[
  143. inputEnterKey("btn_reqpatinfo", "DOMActivate");
  144. ]]>
  145. </script>
  146. </input>
  147. <input id="ipt_hngnm" ref="/root/main/cond/hngnm" disabled="true" style="left:299px; top:57px; width:100px; height:19px; "/>
  148. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input" autonext="false" inputtype="date" style="left:299px; top:29px; width:98px; height:19px; text-align:center; "/>
  149. <input id="ipt_todd" ref="/root/main/cond/todd" class="input" autonext="false" inputtype="date" style="left:414px; top:29px; width:98px; height:19px; text-align:center; "/>
  150. <select1 id="cmb_perfdeptcd" ref="/root/main/cond/perfdeptcd" appearance="minimal" style="left:600px; top:28px; width:100px; height:19px; text-align:left; ">
  151. <choices>
  152. <itemset nodeset="/root/init/orddept/dept">
  153. <label ref="depthngnm"/>
  154. <value ref="deptcd"/>
  155. </itemset>
  156. </choices>
  157. <script type="javascript" ev:event="xforms-value-changed">
  158. <![CDATA[
  159. if(cmb_perfdeptcd.value != "-"){
  160. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cmb_perfdeptcd.value, "0330");
  161. addComboInstance("/root/init/userlist" , "userid^usernm" , "-^전체", "usercombo"); //의사콤보(담당교수) 전체항목 추가
  162. model.refresh();
  163. }
  164. ]]>
  165. </script>
  166. </select1>
  167. <select1 id="cmb_perfdrid" ref="/root/main/cond/perfdrid" appearance="minimal" style="left:896px; top:27px; width:100px; height:19px; text-align:left; ">
  168. <choices>
  169. <itemset nodeset="/root/init/userlist/usercombo">
  170. <label ref="usernm"/>
  171. <value ref="userid"/>
  172. </itemset>
  173. </choices>
  174. </select1>
  175. <button id="btn_diagnm" visibility="hidden" style="left:600px; top:77px; width:100px; height:20px; ">
  176. <caption>button2</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. fSrchDiag();
  180. ]]>
  181. </script>
  182. </button>
  183. <button id="btn_op" visibility="hidden" style="left:898px; top:76px; width:100px; height:20px; ">
  184. <caption>button2</caption>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. fSearchOpTermCD();
  188. ]]>
  189. </script>
  190. </button>
  191. <datagrid id="grd_opschelist" nodeset="/root/main/oprecinfo/opreclist" caption="병실^성명^등록번호^S/A^수술일^수술시간^진단명^수술명^수술명(후)^집도과^집도의^Assistant1^마취방법^협진^소요시간^입실^퇴실" colsep="^" colwidth="50, 60, 60, 40, 70, 0, 170, 160, 170, 95, 50, 0, 60, 30, 55, 40, 40" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:109px; width:1194px; height:675px; ">
  192. <col ref="roomcd"/>
  193. <col ref="hngnm"/>
  194. <col ref="pid"/>
  195. <col ref="sa"/>
  196. <col ref="opcnfmdd" format="yyyy-mm-dd"/>
  197. <col ref="opfromtm" format="hh:nn"/>
  198. <col ref="diagnm"/>
  199. <col ref="opnm"/>
  200. <col ref="opnm2"/>
  201. <col ref="perfdeptnm"/>
  202. <col ref="perfdrnm"/>
  203. <col ref="assistant1"/>
  204. <col ref="anstmthdcd" type="combo">
  205. <choices>
  206. <itemset nodeset="/root/init/M0017/M0017">
  207. <label ref="cdnm"/>
  208. <value ref="cdid"/>
  209. </itemset>
  210. </choices>
  211. </col>
  212. <col ref="cnstopflag" style="text-align:center; "/>
  213. <col ref="durtime" format="hh:nn" style="text-align:center; "/>
  214. <col ref="patinroomdt" format="hh:nn"/>
  215. <col ref="patoutroomdt" format="hh:nn"/>
  216. </datagrid>
  217. <button id="btn_req" class="btn1_letter2" style="left:1132px; top:42px; width:56px; height:22px; ">
  218. <caption>조회</caption>
  219. <script type="javascript" ev:event="DOMActivate">
  220. <![CDATA[
  221. fReqOpRecInfo();
  222. ]]>
  223. </script>
  224. </button>
  225. <button id="btn_reqpatinfo" visibility="hidden" style="left:430px; top:55px; width:40px; height:20px; ">
  226. <caption/>
  227. <script type="javascript" ev:event="DOMActivate">
  228. <![CDATA[
  229. var pid = model.getValue("/root/main/cond/pid");
  230. if(pid == ""){
  231. return;
  232. }
  233. var pid = model.getValue("/root/main/cond/pid");
  234. if(reqPatInfo("pid", "ptbs", pid)==true){
  235. var hngnm = model.getValue("/root/init/patnm/patnm/hngnm");
  236. model.setValue("/root/main/cond/hngnm", hngnm);
  237. model.refresh();
  238. fReqOpRecInfo();
  239. }
  240. ]]>
  241. </script>
  242. </button>
  243. <select id="cb_cnstopflag" ref="/root/main/cond/cnstopflag" overflow="visible" appearance="full" style="left:1030px; top:28px; width:75px; height:20px; font-weight:bold; border-style:none; ">
  244. <choices>
  245. <item>
  246. <label>협진포함</label>
  247. <value>Y</value>
  248. </item>
  249. </choices>
  250. </select>
  251. <button id="button1" class="btn2_letter3" style="left:1135px; top:85px; width:53px; height:19px; ">
  252. <caption>Excel</caption>
  253. <script type="javascript" ev:event="onclick">
  254. <![CDATA[
  255. // excel 파일 변환 기능 추가_2012.01.25 _ 손성훈
  256. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  257. if (fileName != ""){
  258. grd_opschelist.saveExcel(fileName, "SheetName", true, true, "", "", "label");
  259. }
  260. ]]>
  261. </script>
  262. </button>
  263. </xhtml:body>
  264. </xhtml:html>