SPMRT01000_상병선택Help.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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. <termlist>
  11. <terminfo>
  12. <check/>
  13. <termcd/>
  14. <termengnm/>
  15. <termhngnm/>
  16. </terminfo>
  17. </termlist>
  18. <indxlist>
  19. <item>
  20. <depth/>
  21. <indxcd/>
  22. <upindxcd/>
  23. <indxhngnm/>
  24. </item>
  25. </indxlist>
  26. </main>
  27. <send/>
  28. <hidden>
  29. <condition>
  30. <basedd/>
  31. <indxcd/>
  32. <indxflag/>
  33. <deptcd/>
  34. <deptindxcd/>
  35. <deptnm/>
  36. <srchflag/>
  37. <srchnm/>
  38. </condition>
  39. </hidden>
  40. <init>
  41. </init>
  42. </root>
  43. </instance>
  44. <bind id="icdo3_stat" ref="/root/main/icdo3info/icdo3list/stat" readonly="&quot;true&quot;"/>
  45. <bind id="kcd4m_stat" ref="/root/main/kcd4minfo/kcd4mlist/stat" readonly="&quot;true&quot;"/>
  46. <script type="javascript" ev:event="xforms-ready">
  47. <![CDATA[
  48. fInitalize();
  49. ]]>
  50. </script>
  51. <submission id="TRMRT01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/indxlist"/>
  52. <submission id="TRMRT01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/termlist"/>
  53. </model>
  54. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  57. <script type="javascript" src="../../../emr/termmngtweb/js/SPMRT01000.js"/>
  58. </xhtml:head>
  59. <xhtml:body pagewidth="1000" pageheight="700" guideline="1,5;1,1186;2,9;2,58;2,26;1,527;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  60. <group id="grp_body" scroll="auto" style="left:0px; top:9px; width:990px; height:650px; ">
  61. <group id="grp_srch" style="left:296px; top:6px; width:684px; height:37px; ">
  62. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:683px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  63. <line id="line13" class="line_4" style="x1:605px; y1:6px; x2:605px; y2:28px; "/>
  64. <input id="input1" ref="/root/hidden/condition/basedd" class="input_search" navindex="4" inputtype="date" style="left:83px; top:7px; width:85px; height:19px; "/>
  65. <caption id="caption1" class="search_name" style="left:5px; top:7px; width:76px; height:17px; ">기준일 :</caption>
  66. <button id="btn_search" class="btn1_letter2" navindex="6" style="left:615px; top:6px; width:56px; height:22px; ">
  67. <caption>조회</caption>
  68. <script type="javascript" ev:event="DOMActivate">
  69. <![CDATA[
  70. fSearchTermInfo();
  71. ]]>
  72. </script>
  73. </button>
  74. <select1 id="radio2" ref="/root/hidden/condition/srchflag" class="radio_search" navindex="2" appearance="full" cols="3" overflow="visible" style="left:233px; top:7px; width:161px; height:20px; border-style:none; ">
  75. <choices>
  76. <item>
  77. <label>코드</label>
  78. <value>C</value>
  79. </item>
  80. <item>
  81. <label>영문명</label>
  82. <value>E</value>
  83. </item>
  84. <item>
  85. <label>한글명</label>
  86. <value>H</value>
  87. </item>
  88. </choices>
  89. </select1>
  90. <caption id="caption8" class="search_name" style="left:396px; top:7px; width:73px; height:17px; ">검색어 :</caption>
  91. <caption id="caption9" class="search_name" style="left:173px; top:7px; width:60px; height:17px; ">구분 :</caption>
  92. <input id="input5" ref="/root/hidden/condition/srchnm" class="input_search" navindex="3" style="left:470px; top:7px; width:125px; height:19px; ">
  93. <script type="javascript" ev:event="onkeyup">
  94. <![CDATA[
  95. inputEnterKey("btn_search", "DOMActivate");
  96. ]]>
  97. </script>
  98. </input>
  99. </group>
  100. <switch id="swt_indxinfo" style="left:5px; top:5px; width:280px; height:635px; ">
  101. <case id="case_opindx" style="left:0px; top:0px; width:278px; height:635px; ">
  102. <line id="line1" class="line_1" style="x1:1px; y1:19px; x2:274px; y2:19px; "/>
  103. <caption id="caption2" class="tit_2" style="left:1px; top:4px; width:179px; height:14px; ">수술 확장 색인 정보</caption>
  104. <treeview id="trv_diagindxinfo" ref="/root/hidden/condition/indxcd" itemsettype="depth" style="left:0px; top:24px; width:274px; height:606px; ">
  105. <itemset nodeset="/root/main/indxlist/item">
  106. <label ref="indxhngnm"/>
  107. <value ref="indxcd"/>
  108. <depth ref="depth"/>
  109. </itemset>
  110. <script type="javascript" ev:event="xforms-select">
  111. <![CDATA[
  112. fSearchTermInfo("index");
  113. ]]>
  114. </script>
  115. </treeview>
  116. </case>
  117. <case id="case_diagindx" selected="true">
  118. <line id="line3" class="line_1" style="x1:1px; y1:19px; x2:274px; y2:19px; "/>
  119. <caption id="caption4" class="tit_2" style="left:1px; top:4px; width:179px; height:14px; ">진단 확장 색인 정보</caption>
  120. <treeview id="trv_opindxinfo" ref="/root/hidden/condition/indxcd" itemsettype="depth" style="left:0px; top:24px; width:274px; height:606px; ">
  121. <itemset nodeset="/root/main/indxlist/item">
  122. <label ref="indxhngnm"/>
  123. <value ref="indxcd"/>
  124. <depth ref="depth"/>
  125. </itemset>
  126. <script type="javascript" ev:event="xforms-select">
  127. <![CDATA[
  128. fSearchTermInfo("index");
  129. ]]>
  130. </script>
  131. </treeview>
  132. </case>
  133. <case id="case_ccindx">
  134. <caption id="caption6" class="tit_2" style="left:1px; top:4px; width:179px; height:14px; ">주호소 확장 색인 정보</caption>
  135. <line id="line5" class="line_1" style="x1:1px; y1:19px; x2:274px; y2:19px; "/>
  136. <treeview id="trv_ccindxinfo" ref="/root/hidden/condition/indxcd" itemsettype="depth" style="left:0px; top:24px; width:274px; height:606px; ">
  137. <itemset nodeset="/root/main/indxlist/item">
  138. <label ref="indxhngnm"/>
  139. <value ref="indxcd"/>
  140. <depth ref="depth"/>
  141. </itemset>
  142. <script type="javascript" ev:event="xforms-select">
  143. <![CDATA[
  144. fSearchTermInfo("index");
  145. ]]>
  146. </script>
  147. </treeview>
  148. </case>
  149. </switch>
  150. <switch id="swt_terminfo" style="left:295px; top:47px; width:690px; height:593px; ">
  151. <case id="case_opterminfo" style="left:0px; top:0px; width:687px; height:590px; ">
  152. <caption id="caption3" class="tit_2" style="left:2px; top:3px; width:179px; height:13px; ">수술 정보</caption>
  153. <line id="line2" class="line_1" style="x1:0px; y1:20px; x2:685px; y2:20px; "/>
  154. <datagrid id="grd_opinfo" nodeset="/root/main/termlist/terminfo" allowselection="false" caption="선택^ICD-9^수술영문명^수술한글명" colsep="^" colwidth="40, 82, 293, 283" dataheight="25" defaultrows="0" explorerbar="sortshow" mergecells="never" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:25px; width:687px; height:562px; ">
  155. <col ref="check" type="checkbox"/>
  156. <col ref="termcd" style="text-align:center; "/>
  157. <col ref="termengnm"/>
  158. <col ref="termhngnm"/>
  159. <script type="javascript" ev:event="onclick">
  160. <![CDATA[
  161. if(grd_opinfo.row == 0){
  162. var sFlag = "";
  163. if(model.getValue("/root/main/termlist/terminfo[1]/check") == "true"){
  164. sFlag = "false";
  165. }else{
  166. sFlag = "true";
  167. }
  168. var sRowCnt = grd_opinfo.rows- grd_opinfo.fixedRows;
  169. for(var iRow = 1; iRow <= sRowCnt; iRow++){
  170. model.setValue(xTermListPath+"["+iRow+"]/check",sFlag);
  171. }
  172. grd_opinfo.rebuild();
  173. }
  174. ]]>
  175. </script>
  176. <script type="javascript" ev:event="onaftersort">
  177. <![CDATA[
  178. grd_opinfo.gridToInstance();
  179. ]]>
  180. </script>
  181. </datagrid>
  182. <button id="btn_sendop" class="btn2_letter2" navindex="7" style="left:596px; top:0px; width:42px; height:19px; ">
  183. <caption>선택</caption>
  184. <script type="javascript" ev:event="DOMActivate">
  185. <![CDATA[
  186. fSendTermInfo();
  187. ]]>
  188. </script>
  189. </button>
  190. <button id="btn_closeop" class="btn2_letter2" navindex="7" style="left:640px; top:0px; width:42px; height:19px; ">
  191. <caption>닫기</caption>
  192. <script type="javascript" ev:event="DOMActivate">
  193. <![CDATA[
  194. model.close();
  195. ]]>
  196. </script>
  197. </button>
  198. </case>
  199. <case id="case_diagterminfo" selected="true">
  200. <caption id="caption5" class="tit_2" style="left:2px; top:3px; width:179px; height:14px; ">진단 정보</caption>
  201. <line id="line4" class="line_1" style="x1:0px; y1:20px; x2:685px; y2:20px; "/>
  202. <datagrid id="grd_diaginfo" nodeset="/root/main/termlist/terminfo" allowselection="false" caption="선택^ICD-10^진단영문명^진단한글명" colsep="^" colwidth="40, 82, 293, 283" dataheight="25" defaultrows="0" explorerbar="sortshow" mergecells="never" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:25px; width:685px; height:562px; ">
  203. <col ref="check" type="checkbox"/>
  204. <col ref="termcd" style="text-align:center; "/>
  205. <col ref="termengnm"/>
  206. <col ref="termhngnm"/>
  207. <script type="javascript" ev:event="onclick">
  208. <![CDATA[
  209. if(grd_diaginfo.row == 0){
  210. var sFlag = "";
  211. if(model.getValue("/root/main/termlist/terminfo[1]/check") == "true"){
  212. sFlag = "false";
  213. }else{
  214. sFlag = "true";
  215. }
  216. var sRowCnt = grd_diaginfo.rows- grd_diaginfo.fixedRows;
  217. for(var iRow = 1; iRow <= sRowCnt; iRow++){
  218. model.setValue(xTermListPath+"["+iRow+"]/check",sFlag);
  219. }
  220. grd_diaginfo.rebuild();
  221. }
  222. ]]>
  223. </script>
  224. <script type="javascript" ev:event="onaftersort">
  225. <![CDATA[
  226. grd_diaginfo.gridToInstance();
  227. ]]>
  228. </script>
  229. </datagrid>
  230. <button id="btn_senddiag" class="btn2_letter2" navindex="7" style="left:596px; top:0px; width:42px; height:19px; ">
  231. <caption>선택</caption>
  232. <script type="javascript" ev:event="DOMActivate">
  233. <![CDATA[
  234. fSendTermInfo();
  235. ]]>
  236. </script>
  237. </button>
  238. <button id="btn_closediag" class="btn2_letter2" navindex="7" style="left:640px; top:0px; width:42px; height:19px; ">
  239. <caption>닫기</caption>
  240. <script type="javascript" ev:event="DOMActivate">
  241. <![CDATA[
  242. model.close();
  243. ]]>
  244. </script>
  245. </button>
  246. </case>
  247. <case id="case_ccterminfo">
  248. <button id="button2" class="btn2_letter2" navindex="7" style="left:596px; top:0px; width:42px; height:19px; ">
  249. <caption>선택</caption>
  250. <script type="javascript" ev:event="DOMActivate">
  251. <![CDATA[
  252. fSendTermInfo();
  253. ]]>
  254. </script>
  255. </button>
  256. <button id="button4" class="btn2_letter2" navindex="7" style="left:640px; top:0px; width:42px; height:19px; ">
  257. <caption>닫기</caption>
  258. <script type="javascript" ev:event="DOMActivate">
  259. <![CDATA[
  260. model.close();
  261. ]]>
  262. </script>
  263. </button>
  264. <caption id="caption7" class="tit_2" style="left:2px; top:3px; width:179px; height:14px; ">주호소 정보</caption>
  265. <line id="line6" class="line_1" style="x1:0px; y1:20px; x2:685px; y2:20px; "/>
  266. <datagrid id="grd_ccinfo" nodeset="/root/main/termlist/terminfo" allowselection="false" caption="선택^주호소코드^주호소 영문명^주호소 한글명" colsep="^" colwidth="40, 82, 293, 283" dataheight="25" defaultrows="0" explorerbar="sortshow" mergecells="never" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:25px; width:685px; height:562px; ">
  267. <col ref="check" type="checkbox"/>
  268. <col ref="termcd" style="text-align:center; "/>
  269. <col ref="termengnm"/>
  270. <col ref="termhngnm"/>
  271. <script type="javascript" ev:event="onclick">
  272. <![CDATA[
  273. if(grd_ccinfo.row == 0){
  274. var sFlag = "";
  275. if(model.getValue("/root/main/termlist/terminfo[1]/check") == "true"){
  276. sFlag = "false";
  277. }else{
  278. sFlag = "true";
  279. }
  280. var sRowCnt = grd_ccinfo.rows- grd_ccinfo.fixedRows;
  281. for(var iRow = 1; iRow <= sRowCnt; iRow++){
  282. model.setValue(xTermListPath+"["+iRow+"]/check",sFlag);
  283. }
  284. grd_ccinfo.rebuild();
  285. }
  286. ]]>
  287. </script>
  288. <script type="javascript" ev:event="onaftersort">
  289. <![CDATA[
  290. grd_ccinfo.gridToInstance();
  291. ]]>
  292. </script>
  293. </datagrid>
  294. </case>
  295. </switch>
  296. </group>
  297. </xhtml:body>
  298. </xhtml:html>