SPMMO03300_수술팝업.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  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. <deptindxcdlist>
  11. <deptindxcdlist/>
  12. </deptindxcdlist>
  13. <opcdinfo>
  14. <opcdlist>
  15. <boolflag/>
  16. <opcd/>
  17. <opengnm/>
  18. <ophngnm/>
  19. <icd9cd/>
  20. </opcdlist>
  21. </opcdinfo>
  22. <prmsprcpsetinfo>
  23. <prmsprcpsetlist>
  24. <levl/>
  25. <setno/>
  26. <supsetno/>
  27. <sortno/>
  28. <setkindcd/>
  29. <setclscd/>
  30. <settrgtcd/>
  31. <setnm/>
  32. <settypecd/>
  33. </prmsprcpsetlist>
  34. </prmsprcpsetinfo>
  35. <selectoplist>
  36. <selectoplist>
  37. <opcd/>
  38. <opengnm/>
  39. <ophngnm/>
  40. </selectoplist>
  41. </selectoplist>
  42. <cond>
  43. <reqflag/>
  44. <reqdata/>
  45. <queryflag/>
  46. <srchflag>-</srchflag>
  47. <wordflag/>
  48. </cond>
  49. </main>
  50. <send>
  51. <reqdata/>
  52. <savedata/>
  53. </send>
  54. <hidden/>
  55. <init/>
  56. <trvicd9indx/>
  57. <deptindxcd/>
  58. <prmsprcpsetlist/>
  59. <popupmenu>
  60. <menu>
  61. <item>
  62. <label>삭제</label>
  63. <func>fDelOpCDList</func>
  64. </item>
  65. </menu>
  66. </popupmenu>
  67. </root>
  68. </instance>
  69. <script type="javascript" ev:event="xforms-model-construct-done">
  70. <![CDATA[
  71. fInitializeDone_SPMMO03300();
  72. ]]>
  73. </script>
  74. <submission id="TRMMO03109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opcdinfo"/>
  75. <submission id="TRMMO03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/indxcdlist"/>
  76. <submission id="TRMMB00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prmsprcpsetinfo"/>
  77. <submission id="TRMMO03110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opcdinfo"/>
  78. <submission id="TRMMO03111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/deptindxcdlist"/>
  79. <submission id="TRMMO03113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opcdinfo"/>
  80. <submission id="TRMMO03104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opcdinfo"/>
  81. <submission id="TRMMB00610" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opcdinfo"/>
  82. <submission id="TRMMO03112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opcdinfo"/>
  83. <submission id="TRMMO03116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opcdinfo"/>
  84. </model>
  85. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  88. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  89. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO03300.js"/>
  90. </xhtml:head>
  91. <xhtml:body pagewidth="955" pageheight="598" guideline="1,938;2,625;2,596;1,690;1,141;1,155;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  92. <datagrid id="grd_opcdlist" nodeset="/root/main/opcdinfo/opcdlist" caption="^opcd^용어코드^영문명^한글명" colsep="^" colwidth="28, 0, 111, 228, 203" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:322px; top:43px; width:616px; height:324px; ">
  93. <col checkvalue="true,false" ref="boolflag" type="checkbox"/>
  94. <col ref="opcd"/>
  95. <col ref="dispopcd"/>
  96. <col ref="opengnm"/>
  97. <col ref="ophngnm"/>
  98. <script type="javascript" ev:event="ondblclick">
  99. <![CDATA[
  100. if(isDataCell()){
  101. fAddOp(grd_opcdlist.row);
  102. }
  103. ]]>
  104. </script>
  105. <script type="javascript" ev:event="onaftersort">
  106. <![CDATA[
  107. grd_opcdlist.gridToInstance();
  108. grd_opcdlist.refresh();
  109. ]]>
  110. </script>
  111. </datagrid>
  112. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:323px; top:0px; width:615px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  113. <caption id="caption3" class="search_name" style="left:330px; top:8px; width:86px; height:17px; margin-left:8; ">검색어 :</caption>
  114. <input id="input1" ref="/root/main/cond/reqdata" class="input_search" style="left:414px; top:8px; width:276px; height:19px; ">
  115. <script type="javascript" ev:event="onkeypress">
  116. <![CDATA[
  117. inputEnterKey("btn_req", "DOMActivate");
  118. ]]>
  119. </script>
  120. </input>
  121. <line id="line4" style="x1:866px; y1:7px; x2:866px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  122. <button id="btn_req" class="btn1_letter2" style="left:873px; top:6px; width:56px; height:22px; ">
  123. <caption>조회</caption>
  124. <script type="javascript" ev:event="DOMActivate">
  125. <![CDATA[
  126. var reqflag = model.getValue("/root/main/cond/reqflag");
  127. if(reqflag == "Y"){
  128. fReqGetTermOpSrch();
  129. }else{
  130. if(btn_icd9.selected == true){
  131. fReqGetTermOpSrch();
  132. }else if(btn_deptindx.selected == true){
  133. fReqGetDeptIndxSrch();
  134. }else if(btn_indset.selected == true){
  135. fReqGetPrmsOpSETSrch();
  136. }
  137. }
  138. ]]>
  139. </script>
  140. </button>
  141. <switch id="switch1" style="left:0px; top:39px; width:320px; height:530px; ">
  142. <case id="prms">
  143. <treeview id="trv_prmsprcpsetlist" ref="/root/prmsprcpsetlist" dragmode="true" dropmode="true" expanddepth="5" fullrowselect="false" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:0px; top:0px; width:317px; height:526px; border-color:#c7a3cf; border-style:solid; ">
  144. <itemset nodeset="/root/main/prmsprcpsetinfo/prmsprcpsetlist">
  145. <label ref="setnm"/>
  146. <value ref="setno"/>
  147. <depth ref="levl"/>
  148. <selectedimage ref="../../../com/commonweb/images/icon_folder_close.gif"/>
  149. <expandedimage ref="../../../com/commonweb/images/icon_folder_open.gif"/>
  150. </itemset>
  151. <script type="javascript" ev:event="xforms-select">
  152. <![CDATA[
  153. fReqGetPrmsOpList();
  154. ]]>
  155. </script>
  156. </treeview>
  157. </case>
  158. <case id="icd9" selected="true">
  159. <treeview id="trv_icd9indxcdlist" ref="/root/trvicd9indx" itemsettype="depth" style="left:0px; top:0px; width:317px; height:527px; border-style:solid; ">
  160. <itemset nodeset="/root/main/indxcdlist/indxcdlist">
  161. <label ref="indxhngnm"/>
  162. <value ref="indxcd"/>
  163. <depth ref="levl"/>
  164. </itemset>
  165. <script type="javascript" ev:event="xforms-select">
  166. <![CDATA[
  167. fReqGetICD9CDList();
  168. ]]>
  169. </script>
  170. </treeview>
  171. </case>
  172. <case id="deptindx">
  173. <treeview id="trv_deptindxcdlist" ref="/root/deptindxcd" expanddepth="3" itemsettype="depth" style="left:0px; top:0px; width:317px; height:527px; border-style:solid; ">
  174. <itemset nodeset="/root/main/deptindxcdlist/deptindxcdlist">
  175. <label ref="deptindxnm"/>
  176. <value ref="deptindxcd"/>
  177. <depth ref="levl"/>
  178. </itemset>
  179. <script type="javascript" ev:event="xforms-select">
  180. <![CDATA[
  181. fReqGetDeptIndxCDList();
  182. ]]>
  183. </script>
  184. </treeview>
  185. </case>
  186. </switch>
  187. <line id="line2" class="line_1" style="x1:322px; y1:38px; x2:938px; y2:38px; "/>
  188. <caption id="caption1" class="tit_2" style="left:326px; top:381px; width:134px; height:13px; ">선택수술</caption>
  189. <line id="line1" class="line_1" style="x1:322px; y1:396px; x2:938px; y2:396px; "/>
  190. <button id="button2" class="btn2_letter4" style="left:871px; top:369px; width:64px; height:19px; ">
  191. <caption>수술추가</caption>
  192. <script type="javascript" ev:event="DOMActivate">
  193. <![CDATA[
  194. fAppendOpCD();
  195. ]]>
  196. </script>
  197. </button>
  198. <button id="btn_diagcncl" class="btn4_letter2" style="left:879px; top:569px; width:56px; height:22px; ">
  199. <caption>취소</caption>
  200. <script type="javascript" ev:event="onclick">
  201. <![CDATA[
  202. if(checkOpener()){
  203. opener.javascript.setParameter("SPMMO03300_rtn_useyn", "N");
  204. }else{
  205. messageBox("상위 화면이 변경되어 데이터를 전달", "E001");
  206. }
  207. window.close();
  208. ]]>
  209. </script>
  210. </button>
  211. <button id="btn_savediag" class="btn4_letter2" style="left:821px; top:569px; width:56px; height:22px; ">
  212. <caption>등록</caption>
  213. <script type="javascript" ev:event="DOMActivate">
  214. <![CDATA[
  215. fSendOpCDList();
  216. ]]>
  217. </script>
  218. </button>
  219. <button id="btn_expand" class="icon_pre_year" style="left:328px; top:48px; width:16px; height:16px; ">
  220. <caption/>
  221. <script type="javascript" ev:event="DOMActivate">
  222. <![CDATA[
  223. fCtrlSizeOpList();
  224. ]]>
  225. </script>
  226. </button>
  227. <button id="btn_deptindx" class="btn_sw3" group="tab" selected="false" style="left:88px; top:17px; width:61px; height:22px; ">
  228. <caption>과색인</caption>
  229. <script type="javascript" ev:event="DOMActivate">
  230. <![CDATA[
  231. model.toggle("deptindx");
  232. fReqGetDeptOpIndxList();
  233. model.refresh();
  234. ]]>
  235. </script>
  236. </button>
  237. <button id="btn_indset" class="btn_sw5" group="tab" selected="false" style="left:139px; top:17px; width:61px; height:22px; ">
  238. <caption>개인SET</caption>
  239. <script type="javascript" ev:event="DOMActivate">
  240. <![CDATA[
  241. model.toggle("prms");
  242. fReqGetPrmsOpSETList();
  243. model.refresh();
  244. ]]>
  245. </script>
  246. </button>
  247. <button id="btn_icd9" class="btn_sw6" group="tab" selected="true" style="left:0px; top:17px; width:70px; height:22px; ">
  248. <caption>ICD9색인</caption>
  249. <script type="javascript" ev:event="DOMActivate">
  250. <![CDATA[
  251. model.toggle("icd9");
  252. fReqGetICD9IndxList();
  253. model.refresh();
  254. ]]>
  255. </script>
  256. </button>
  257. <datagrid id="grd_selectop" nodeset="/root/main/selectoplist/selectoplist" caption="opcd^용어코드^영문명^한글명" colsep="^" colwidth="1, 111, 231, 242" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:322px; top:401px; width:616px; height:166px; ">
  258. <col ref="opcd"/>
  259. <col ref="dispopcd"/>
  260. <col ref="opengnm"/>
  261. <col ref="ophngnm"/>
  262. <script type="javascript" ev:event="ondblclick">
  263. <![CDATA[
  264. if(isDataCell()){
  265. fSendOpCD(grd_selectop.row);
  266. }
  267. ]]>
  268. </script>
  269. <script type="javascript" ev:event="onmousedown">
  270. <![CDATA[
  271. setPopupMenu("grd_selectop", false, "/root/popupmenu/menu/item", "label", "func");
  272. ]]>
  273. </script>
  274. </datagrid>
  275. <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/reqflag" style="left:690px; top:9px; width:25px; height:20px; "/>
  276. <caption id="caption2" style="left:715px; top:9px; width:35px; height:20px; ">전체</caption>
  277. </xhtml:body>
  278. </xhtml:html>