SMMMB00600_약속SET관리.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  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>약속SET관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <prmsprcpsetinfo>
  11. <prmsprcpsetlist>
  12. <levl/>
  13. <setno/>
  14. <supsetno/>
  15. <sortno/>
  16. <setkindcd/>
  17. <setclscd/>
  18. <settrgtcd/>
  19. <setnm/>
  20. <settypecd/>
  21. <ioflag/>
  22. </prmsprcpsetlist>
  23. <result/>
  24. </prmsprcpsetinfo>
  25. <iptbox>
  26. <setnm/>
  27. </iptbox>
  28. <cond>
  29. <foldernm/>
  30. <prmsflag/>
  31. <deptsetcd/>
  32. <settypecd/>
  33. <ioflag>O</ioflag>
  34. </cond>
  35. </main>
  36. <send>
  37. <reqdata/>
  38. <savedata/>
  39. </send>
  40. <hidden>
  41. <prmsprcpsetinfo>
  42. <prmsprcpsetlist>
  43. <status/>
  44. <levl/>
  45. <setno/>
  46. <supsetno/>
  47. <sortno/>
  48. <setkindcd/>
  49. <setclscd/>
  50. <settrgtcd/>
  51. <setnm/>
  52. <settypecd/>
  53. <ioflag/>
  54. </prmsprcpsetlist>
  55. </prmsprcpsetinfo>
  56. </hidden>
  57. <init>
  58. <orddept>
  59. </orddept>
  60. <orddept2/>
  61. </init>
  62. <temp>
  63. <trvprmsprcpsetlist/>
  64. <trvdeptindxcdlist/>
  65. <copy>
  66. <setno/>
  67. <settypecd/>
  68. <setkindcd/>
  69. <setclscd/>
  70. <settrgtcd/>
  71. <setnm/>
  72. <supsetno/>
  73. <trgtsettypecd/>
  74. <trgtsetkindcd/>
  75. <trgtsettrgtcd/>
  76. <trgtsetclscd/>
  77. <trgtioflag/>
  78. <ioflag/>
  79. </copy>
  80. </temp>
  81. <trvbasemenu>
  82. <menu>
  83. <menu>
  84. <label>새폴더</label>
  85. <func>fAddPrmsDiagSet</func>
  86. </menu>
  87. <menu>
  88. <label>폴더이름 바꾸기</label>
  89. <func>fUpdtPrmsDiagSet</func>
  90. </menu>
  91. <menu>
  92. <label>폴더삭제</label>
  93. <func>fDelPrmsDiagSet</func>
  94. </menu>
  95. <menu>
  96. <label/>
  97. <func/>
  98. </menu>
  99. <menu>
  100. <label>붙여넣기</label>
  101. <func>fPasteCD</func>
  102. </menu>
  103. <menu>
  104. <label/>
  105. <func/>
  106. </menu>
  107. <menu>
  108. <label>폴더복사</label>
  109. <func>fFolderCopy</func>
  110. </menu>
  111. <menu>
  112. <label>폴더붙여넣기</label>
  113. <func>fFolderPaste</func>
  114. </menu>
  115. <menu>
  116. <label/>
  117. <func/>
  118. </menu>
  119. <menu>
  120. <label>폴더순서변경</label>
  121. <func>fOpenPrmsSetFolderOrderChng</func>
  122. </menu>
  123. </menu>
  124. </trvbasemenu>
  125. <trvprcpmenu>
  126. <menu>
  127. <menu>
  128. <label>새폴더</label>
  129. <func>fAddPrmsDiagSet</func>
  130. </menu>
  131. <menu>
  132. <label>폴더이름 바꾸기</label>
  133. <func>fUpdtPrmsDiagSet</func>
  134. </menu>
  135. <menu>
  136. <label>폴더삭제</label>
  137. <func>fDelPrmsDiagSet</func>
  138. </menu>
  139. <menu>
  140. <label/>
  141. <func/>
  142. </menu>
  143. <menu>
  144. <label>붙여넣기</label>
  145. <func>fPasteCD</func>
  146. </menu>
  147. <menu>
  148. <label/>
  149. <func/>
  150. </menu>
  151. <menu>
  152. <label>폴더복사</label>
  153. <func>fFolderCopy</func>
  154. </menu>
  155. <menu>
  156. <label>폴더붙여넣기</label>
  157. <func>fFolderPaste</func>
  158. </menu>
  159. <menu>
  160. <label/>
  161. <func/>
  162. </menu>
  163. <menu>
  164. <label>폴더순서변경</label>
  165. <func>fOpenPrmsSetFolderOrderChng</func>
  166. </menu>
  167. <menu>
  168. <label/>
  169. <func/>
  170. </menu>
  171. <menu>
  172. <label>엑셀다운(선택폴더)</label>
  173. <func>fsaveToExcelSingle</func>
  174. </menu>
  175. <menu>
  176. <label>엑셀다운(하위폴더 포함)</label>
  177. <func>fsaveToExcelTree</func>
  178. </menu>
  179. </menu>
  180. </trvprcpmenu>
  181. <trvetcmenu>
  182. <menu>
  183. <menu>
  184. <label>새폴더</label>
  185. <func>fAddPrmsDiagSet</func>
  186. </menu>
  187. <menu>
  188. <label>폴더이름 바꾸기</label>
  189. <func>fUpdtPrmsDiagSet</func>
  190. </menu>
  191. <menu>
  192. <label>폴더삭제</label>
  193. <func>fDelPrmsDiagSet</func>
  194. </menu>
  195. <menu>
  196. <label/>
  197. <func/>
  198. </menu>
  199. <menu>
  200. <label>붙여넣기</label>
  201. <func>fPasteCD</func>
  202. </menu>
  203. </menu>
  204. </trvetcmenu>
  205. <trvothrmenu>
  206. <menu>
  207. <menu>
  208. <label>폴더복사</label>
  209. <func>fFolderCopy</func>
  210. </menu>
  211. <menu>
  212. <label>폴더붙여넣기</label>
  213. <func>fFolderPaste</func>
  214. </menu>
  215. </menu>
  216. </trvothrmenu>
  217. <trvothrmenu2>
  218. <menu>
  219. <menu>
  220. <label>폴더복사</label>
  221. <func>fFolderCopy</func>
  222. </menu>
  223. <menu>
  224. <label/>
  225. <func/>
  226. </menu>
  227. <menu>
  228. <label>엑셀다운(선택폴더)</label>
  229. <func>fsaveToExcelSingle</func>
  230. </menu>
  231. <menu>
  232. <label>엑셀다운(하위폴더 포함)</label>
  233. <func>fsaveToExcelTree</func>
  234. </menu>
  235. </menu>
  236. </trvothrmenu2>
  237. </root>
  238. </instance>
  239. <script type="javascript" ev:event="xforms-ready">
  240. <![CDATA[
  241. fClkBtnPrcpTab();
  242. //fClkBtnDiagTab();
  243. //radio1.attribute("visibility") = "hidden";
  244. model.setValue("/root/main/cond/ioflag", "O");
  245. ]]>
  246. </script>
  247. <submission id="TRMMB00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prmsprcpsetinfo"/>
  248. <submission id="TXMMB00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/prmsprcpsetinfo"/>
  249. <submission id="TXMMB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/etcprmsprcpsetdetlinfo"/>
  250. <submission id="TRMMB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/etcprmsprcpsetdetlinfo"/>
  251. <script type="javascript" ev:event="xforms-model-construct-done">
  252. <![CDATA[
  253. fInitializeDone_SMMMB00600();
  254. ]]>
  255. </script>
  256. <submission id="TRMMB00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/deptlist"/>
  257. <submission id="TRMMO03111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/deptindxcdlist"/>
  258. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  259. <submission id="TXMMB00607" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/prmsprcpsetinfo"/>
  260. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  261. </model>
  262. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  263. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  264. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  265. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB00600.js"/>
  266. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  267. </xhtml:head>
  268. <xhtml:body visibility="visible" guideline="1,1193;1,11;2,49;" style="border-color:#c7a3cf; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  269. <iviewer id="iviewer1" style="left:233px; top:45px; width:960px; height:739px; border-color:transparent; border-style:solid; "/>
  270. <treeview id="trv_deptindxcdlist" ref="/root/temp/trvdeptindxcdlist" visibility="hidden" expanddepth="1" itemsettype="depth" style="left:0px; top:148px; width:230px; height:635px; border-style:solid; ">
  271. <itemset nodeset="/root/main/deptindxcdlist/deptindxcdlist">
  272. <label ref="deptindxnm"/>
  273. <value ref="deptindxcd"/>
  274. <depth ref="levl"/>
  275. </itemset>
  276. <script type="javascript" ev:event="xforms-select">
  277. <![CDATA[
  278. fReqPrmsDeptIndxList();
  279. ]]>
  280. </script>
  281. </treeview>
  282. <!--<treeview id="trv_prmsprcpsetlist" ref="/root/temp/trvprmsprcpsetlist" dragmode="true" dropmode="true" expanddepth="1" fullrowselect="false" itemsettype="depth" style="left:0px; top:148px; width:229px; height:635px; border-color:#c7a3cf; border-style:solid; ">-->
  283. <treeview id="trv_prmsprcpsetlist" ref="/root/temp/trvprmsprcpsetlist" dragmode="true" dropmode="true" expanddepth="1" fullrowselect="false" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:0px; top:148px; width:229px; height:635px; border-color:#c7a3cf; border-style:solid; ">
  284. <script type="javascript" ev:event="onmousedown">
  285. <![CDATA[
  286. fMouseRghtBtnPopup();
  287. ]]>
  288. </script>
  289. <itemset nodeset="/root/main/prmsprcpsetinfo/prmsprcpsetlist">
  290. <label ref="setnm"/>
  291. <value ref="setno"/>
  292. <depth ref="levl"/>
  293. </itemset>
  294. <script type="javascript" ev:event="xforms-select">
  295. <![CDATA[
  296. fReqPrmsDetlSet();
  297. ]]>
  298. </script>
  299. </treeview>
  300. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">약속SET관리</caption>
  301. <switch id="switch1" style="left:0px; top:45px; width:230px; height:101px; border-color:#c7a3cf; ">
  302. <case id="protocol">
  303. <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:5px; width:222px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
  304. <caption id="caption5" class="search_name" style="left:15px; top:13px; width:156px; height:17px; ">약속프로토콜 SET명 :</caption>
  305. <button id="button2" class="btn2_letter2" style="left:175px; top:65px; width:42px; height:19px; ">
  306. <caption>검색</caption>
  307. <script type="javascript" ev:event="DOMActivate">
  308. <![CDATA[
  309. fSrchFolderNM();
  310. ]]>
  311. </script>
  312. </button>
  313. <input id="ipt_protofoldnm" ref="/root/main/cond/foldernm" style="left:86px; top:65px; width:85px; height:19px; ">
  314. <script type="javascript" ev:event="onkeypress">
  315. <![CDATA[
  316. inputEnterKey("btn_srchprcp", "DOMActivate");
  317. ]]>
  318. </script>
  319. </input>
  320. <caption id="caption2" class="search_name" style="left:10px; top:66px; width:86px; height:17px; ">폴더명 :</caption>
  321. <select1 id="cmb_protocoldept" ref="/root/main/cond/deptsetcd" appearance="minimal" style="left:22px; top:39px; width:164px; height:19px; ">
  322. <choices>
  323. <itemset nodeset="/root/init/orddept2/dept">
  324. <label ref="depthngnm"/>
  325. <value ref="deptcd"/>
  326. </itemset>
  327. </choices>
  328. <script type="javascript" ev:event="xforms-value-changed">
  329. <![CDATA[
  330. fReqSetTreeView("D", "D", "C", "D", cmb_protocoldept.value, cmb_protocoldept.label);
  331. ]]>
  332. </script>
  333. </select1>
  334. </case>
  335. <case id="prmscomn" selected="true">
  336. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:5px; width:221px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
  337. <caption id="caption1" class="search_name" style="left:10px; top:72px; width:86px; height:17px; ">폴더명</caption>
  338. <select1 id="cmb_deptset" ref="/root/main/cond/deptsetcd" disabled="true" appearance="minimal" editmode="search" style="left:85px; top:48px; width:129px; height:19px; ">
  339. <choices>
  340. <itemset nodeset="/root/init/orddept/dept">
  341. <label ref="depthngnm"/>
  342. <value ref="deptcd"/>
  343. </itemset>
  344. </choices>
  345. <script type="javascript" ev:event="xforms-value-changed">
  346. <![CDATA[
  347. fReqPrmsSet();
  348. ]]>
  349. </script>
  350. </select1>
  351. <input id="ipt_foldnm" ref="/root/main/cond/foldernm" style="left:85px; top:71px; width:85px; height:19px; ">
  352. <script type="javascript" ev:event="onkeypress">
  353. <![CDATA[
  354. inputEnterKey("btn_srch", "DOMActivate");
  355. ]]>
  356. </script>
  357. </input>
  358. <select1 id="rdo_setflag" ref="/root/main/cond/prmsflag" appearance="full" cellspacing="15" cols="3" rows="1" overflow="visible" style="left:26px; top:28px; width:179px; height:20px; border-style:none; ">
  359. <choices>
  360. <item>
  361. <label>개인</label>
  362. <value>P</value>
  363. </item>
  364. <item>
  365. <label>과</label>
  366. <value>D</value>
  367. </item>
  368. <item>
  369. <label>타과</label>
  370. <value>T</value>
  371. </item>
  372. </choices>
  373. <script type="javascript" ev:event="xforms-value-changed">
  374. <![CDATA[
  375. setCmbColor(rdo_setflag, "#ff0000", "bold");
  376. fReqPrmsSet();
  377. ]]>
  378. </script>
  379. </select1>
  380. <button id="btn_srch" class="btn2_letter2" style="left:174px; top:71px; width:42px; height:19px; ">
  381. <caption>검색</caption>
  382. <script type="javascript" ev:event="DOMActivate">
  383. <![CDATA[
  384. fSrchFolderNM();
  385. ]]>
  386. </script>
  387. </button>
  388. <caption id="caption3" class="search_name" style="left:10px; top:49px; width:86px; height:17px; ">진료과</caption>
  389. <select1 id="radio1" ref="/root/main/cond/ioflag" appearance="full" cellspacing="15" cols="3" rows="1" overflow="visible" style="left:26px; top:6px; width:179px; height:20px; border-style:none; ">
  390. <choices>
  391. <item>
  392. <label>외래</label>
  393. <value>O</value>
  394. </item>
  395. <item>
  396. <label>입원</label>
  397. <value>I</value>
  398. </item>
  399. </choices>
  400. <script type="javascript" ev:event="xforms-value-changed">
  401. <![CDATA[
  402. setCmbColor(rdo_setflag, "#ff0000", "bold");
  403. fReqPrmsSet();
  404. ]]>
  405. </script>
  406. </select1>
  407. </case>
  408. </switch>
  409. <group id="group1" style="left:6px; top:195px; width:218px; height:55px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
  410. <caption id="caption4" style="left:5px; top:5px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">폴더명</caption>
  411. <input id="ipt_setnm" ref="/root/main/iptbox/setnm" class="input_default" style="left:55px; top:5px; width:154px; height:19px; border-color:#3366ff; border-style:solid; ">
  412. <script type="javascript" ev:event="onkeypress">
  413. <![CDATA[
  414. inputEnterKey("btn_cnfm", "DOMActivate");
  415. var keycode = event.keyCode;
  416. if(keycode == 27){
  417. group1.attribute("height") = 0;
  418. model.setFocus("trv_etcprmsprcpsetlist");
  419. return;
  420. }
  421. ]]>
  422. </script>
  423. </input>
  424. <button id="btn_cnfm" class="btn2_letter2" style="left:122px; top:26px; width:42px; height:19px; ">
  425. <caption>확인</caption>
  426. <script type="javascript" ev:event="DOMActivate">
  427. <![CDATA[
  428. fClkBtnCnfm();
  429. ]]>
  430. </script>
  431. </button>
  432. <button id="button3" class="btn2_letter2" style="left:166px; top:26px; width:42px; height:19px; ">
  433. <caption>취소</caption>
  434. <script type="javascript" ev:event="DOMActivate">
  435. <![CDATA[
  436. group1.attribute("height") = 0;
  437. ]]>
  438. </script>
  439. </button>
  440. </group>
  441. <button id="btn_op" class="btn_sw" group="tab" selected="false" style="left:99px; top:23px; width:48px; height:22px; ">
  442. <caption>수술</caption>
  443. <script type="javascript" ev:event="DOMActivate">
  444. <![CDATA[
  445. fClkBtnOpTab();
  446. ]]>
  447. </script>
  448. </button>
  449. <button id="btn_prcp" class="btn_sw" visibility="visible" group="tab" selected="true" style="left:0px; top:23px; width:49px; height:22px; ">
  450. <caption>처방</caption>
  451. <script type="javascript" ev:event="DOMActivate">
  452. <![CDATA[
  453. fClkBtnPrcpTab();
  454. ]]>
  455. </script>
  456. </button>
  457. <button id="btn_diag" class="btn_sw" group="tab" selected="false" style="left:49px; top:23px; width:50px; height:22px; ">
  458. <caption>진단</caption>
  459. <script type="javascript" ev:event="DOMActivate">
  460. <![CDATA[
  461. fClkBtnDiagTab();
  462. ]]>
  463. </script>
  464. </button>
  465. </xhtml:body>
  466. </xhtml:html>