SPMMO03200_진단팝업.xrw 11 KB

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