SMMMB00800_약속진단관리.xrw 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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/>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <diaginfo>
  11. <diagcdlist>
  12. <diagflag/>
  13. <diagkind/>
  14. <orddeptnm/>
  15. <orddeptcd/>
  16. <orddoctnm/>
  17. <orddoctcd/>
  18. <rgstdeptnm/>
  19. <rgstdeptcd/>
  20. <rgstnm/>
  21. <rgstid/>
  22. <diagcd/>
  23. <diagengnm/>
  24. <diaghngnm/>
  25. <icd10cd/>
  26. <teeth/>
  27. <spclinfo/>
  28. <anamnesis/>
  29. <boolflag/>
  30. </diagcdlist>
  31. </diaginfo>
  32. <icd10indx>
  33. <icd10indxcdlist/>
  34. </icd10indx>
  35. <etcprmsprcpsetdetlinfo>
  36. <etcprmsprcpsetdetllist>
  37. <setno/>
  38. <settypecd/>
  39. <setcdno/>
  40. <detlsetcd/>
  41. <detlsetnm/>
  42. <engnm/>
  43. <diaghngnm/>
  44. </etcprmsprcpsetdetllist>
  45. </etcprmsprcpsetdetlinfo>
  46. <cond>
  47. <reqflag/>
  48. <reqdata/>
  49. <icd10indxcd/>
  50. <fstword/>
  51. <secword/>
  52. <fstwordflag/>
  53. <secwordflag/>
  54. <queryflag/>
  55. <srchflag/>
  56. </cond>
  57. </main>
  58. <send>
  59. <reqdata/>
  60. <savedata/>
  61. </send>
  62. <hidden>
  63. <prmsprcpsetdetlset>
  64. <setno/>
  65. <settypecd/>
  66. <setnm/>
  67. </prmsprcpsetdetlset>
  68. <menu>
  69. <menu>
  70. <label>복사</label>
  71. <func>fCopyDiagCD</func>
  72. </menu>
  73. <menu>
  74. <label>붙여넣기</label>
  75. <func>fPasteDiagCD</func>
  76. </menu>
  77. </menu>
  78. <copy/>
  79. <menu2>
  80. <menu2>
  81. <label>복사</label>
  82. <func>fCopyDiagCD</func>
  83. </menu2>
  84. </menu2>
  85. </hidden>
  86. <init/>
  87. <temp/>
  88. <copy>
  89. <etcprmsprcpsetdetlinfo/>
  90. </copy>
  91. </root>
  92. </instance>
  93. <submission id="TRMMO03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/icd10indx"/>
  94. <submission id="TRMMO03102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/diaginfo"/>
  95. <submission id="TRMMO03103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/diaginfo"/>
  96. <submission id="TXMMB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/etcprmsprcpsetdetlinfo"/>
  97. <submission id="TRMMB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/etcprmsprcpsetdetlinfo"/>
  98. <script type="javascript" ev:event="xforms-model-construct-done">
  99. <![CDATA[
  100. fInitializeDone_SMMMB00800();
  101. ]]>
  102. </script>
  103. <submission id="TRMMB00609" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/etcprmsprcpsetdetlinfo"/>
  104. <submission id="TRMMB00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/etcprmsprcpsetdetlinfo"/>
  105. </model>
  106. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  107. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  108. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB00800.js"/>
  109. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  110. </xhtml:head>
  111. <xhtml:body guideline="1,941;2,720;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  112. <datagrid id="grd_etcprmsprcpdetl" nodeset="/root/main/etcprmsprcpsetdetlinfo/etcprmsprcpsetdetllist" caption="setno^settypecd^setcdno^진단코드^detlcd^영문명^한글명^참고사항" colsep="^" colwidth="0, 0, 0, 100, 0, 290, 268, 241" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:29px; width:941px; height:691px; ">
  113. <col ref="setno"/>
  114. <col ref="settypecd"/>
  115. <col ref="setcdno"/>
  116. <col ref="dispdiagcd"/>
  117. <col ref="detlsetcd"/>
  118. <col ref="engnm"/>
  119. <col ref="hngnm"/>
  120. <col ref="detlsetnm" type="input"/>
  121. <script type="javascript" ev:event="onmousedown">
  122. <![CDATA[
  123. if(btn_save.disabled == false){ //저장이 가능한 경우, 개인약속진단SET인 경우
  124. if(grd_etcprmsprcpdetl.rows == 1){ //약속진단 grid에 진단정보가 없는 경우, 마우스 오른쪽 팝업을 띄울 수 있도록 처리
  125. if(event.button == 3){
  126. window.showPopupMenu(true);
  127. window.setPopupMenu(true, "/root/hidden/menu/menu", "label", "func");
  128. }
  129. }else{
  130. setPopupMenu("grd_etcprmsprcpdetl", false, "/root/hidden/menu/menu", "label", "func");
  131. }
  132. }else{ //저장이 불가능한 경우, 과,타과약속진단SET인 경우
  133. if(grd_etcprmsprcpdetl.rows == 1){ //약속진단 grid에 진단정보가 없는 경우,
  134. if(event.button == 3){
  135. window.showPopupMenu(true);
  136. window.setPopupMenu(true, "/root/hidden/menu2/menu2", "label", "func");
  137. }
  138. }else{
  139. setPopupMenu("grd_etcprmsprcpdetl", false, "/root/hidden/menu2/menu2", "label", "func");
  140. }
  141. }
  142. ]]>
  143. </script>
  144. </datagrid>
  145. <caption id="caption1" class="tit_2" style="left:0px; top:10px; width:134px; height:13px; ">약속진단</caption>
  146. <line id="line3" class="line_1" style="x1:0px; y1:24px; x2:941px; y2:24px; "/>
  147. <button id="btn_del" class="btn2_letter2" style="left:853px; top:3px; width:42px; height:19px; ">
  148. <caption>삭제</caption>
  149. <script type="javascript" ev:event="DOMActivate">
  150. <![CDATA[
  151. deleteSelectedRows(grd_etcprmsprcpdetl, true);
  152. ]]>
  153. </script>
  154. </button>
  155. <button id="btn_save" class="btn5_letter2" style="left:897px; top:3px; width:42px; height:19px; ">
  156. <caption>저장</caption>
  157. <script type="javascript" ev:event="DOMActivate">
  158. <![CDATA[
  159. var setno = model.getValue("/root/hidden/prmsprcpsetdetlset/setno");
  160. if(setno == 1){
  161. messageBox("최상위 폴더에는 저장하실수 없습니다", "E");
  162. return;
  163. }
  164. model.setValue("/root/send/savedata", grd_etcprmsprcpdetl.getUpdateData());
  165. if(submit("TXMMB00602")){
  166. model.removeNodeset("/root/temp/selectdiaglist");
  167. grd_etcprmsprcpdetl.refresh();
  168. }
  169. ]]>
  170. </script>
  171. </button>
  172. <button id="btn_srch" class="btn2_letter2" style="left:75px; top:3px; width:48px; height:19px; ">
  173. <caption>검색</caption>
  174. <script type="javascript" ev:event="DOMActivate">
  175. <![CDATA[
  176. fRgstPrmsDetlSet();
  177. ]]>
  178. </script>
  179. </button>
  180. </xhtml:body>
  181. </xhtml:html>