SMMMB08500_진료오류코드관리.xrw 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  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. <mercd>
  11. <mercdlist>
  12. <levl/>
  13. <displaynm/>
  14. <hardcdno/>
  15. <hardcdnm/>
  16. <suphardcdno/>
  17. <rmk/>
  18. </mercdlist>
  19. </mercd>
  20. <errcdinfo>
  21. <errcodeinfo>
  22. <status/>
  23. <errcd/>
  24. <errnm/>
  25. <superrcd/>
  26. <fromdd/>
  27. <todd/>
  28. <errmsg/>
  29. <errdisc/>
  30. <rmk/>
  31. <path/>
  32. <resnflag/>
  33. <multiyn/>
  34. <resnlistcd/>
  35. <excls/>
  36. <errsql/>
  37. </errcodeinfo>
  38. <exdeptinfo>
  39. <deptlist/>
  40. </exdeptinfo>
  41. <exuserinfo>
  42. <userlist/>
  43. </exuserinfo>
  44. <expatinfo>
  45. <patlist/>
  46. </expatinfo>
  47. </errcdinfo>
  48. <cond>
  49. <deptcd/>
  50. <userid/>
  51. <errcd/>
  52. <errnm/>
  53. </cond>
  54. <objectinfo>
  55. <user>
  56. <orddept/>
  57. <orddrid/>
  58. </user>
  59. <dept>
  60. <orddept/>
  61. </dept>
  62. </objectinfo>
  63. <patinfo>
  64. <patinfolist>
  65. <pid/>
  66. <hngnm/>
  67. </patinfolist>
  68. </patinfo>
  69. </main>
  70. <send>
  71. <reqdata/>
  72. <savedata>
  73. <mercdinfo/>
  74. </savedata>
  75. </send>
  76. <recv>
  77. </recv>
  78. <hidden>
  79. </hidden>
  80. <init>
  81. <resnflag/>
  82. <orddept>
  83. <dept/>
  84. </orddept>
  85. <userlist>
  86. <usercombo/>
  87. </userlist>
  88. </init>
  89. </root>
  90. </instance>
  91. <script type="javascript" ev:event="xforms-ready">
  92. <![CDATA[
  93. fInitialize_SMMMB08500();
  94. ]]>
  95. </script>
  96. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  97. <submission id="TRMMB08501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/mercd"/>
  98. <submission id="TRMMB08502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/errcdinfo"/>
  99. <submission id="TXMMB08501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  100. <submission id="TXMMB08502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp"/>
  101. </model>
  102. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  103. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  104. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  105. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  106. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  107. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  108. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB08500.js"/>
  109. </xhtml:head>
  110. <xhtml:body pagewidth="1020" pageheight="720" guideline="1,430;1,421;1,1003;2,696;" style="margin-left:8; margin-right:8; ">
  111. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:140px; height:13px; ">진료 오류코드 관리</caption>
  112. <group id="grp_left" style="left:20px; top:19px; width:401px; height:680px; ">
  113. <caption id="caption6" class="tit_2" style="left:0px; top:5px; width:220px; height:15px; text-align:left; ">진료 오류코드 항목</caption>
  114. <line id="line2" class="line_1" style="x1:0px; y1:22px; x2:400px; y2:23px; "/>
  115. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:28px; width:401px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  116. <caption id="caption2" class="search_name" style="left:5px; top:35px; width:70px; height:17px; ">코드</caption>
  117. <input id="ipt_search_hardcdno" ref="/root/main/cond/errcd" class="input_search" style="left:61px; top:35px; width:69px; height:19px; ">
  118. <script type="javascript" ev:event="onkeypress">
  119. <![CDATA[
  120. inputEnterKey("btn_search_mercd", "DOMActivate");
  121. ]]>
  122. </script>
  123. </input>
  124. <caption id="caption9" class="search_name" style="left:140px; top:35px; width:70px; height:17px; ">코드명</caption>
  125. <input id="ipt_search_hardcdnm" ref="/root/main/cond/errnm" class="input_search" imemode="hangul" style="left:210px; top:36px; width:105px; height:19px; ">
  126. <script type="javascript" ev:event="onkeypress">
  127. <![CDATA[
  128. inputEnterKey("btn_search_mercd", "DOMActivate");
  129. ]]>
  130. </script>
  131. </input>
  132. <line id="line1" style="x1:325px; y1:33px; x2:325px; y2:61px; border-color:#ffe4bb; border-left-style:solid; "/>
  133. <button id="btn_search_mercd" class="btn1_letter2" style="left:336px; top:34px; width:56px; height:22px; ">
  134. <caption>조회</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. fGetMercdList();
  138. ]]>
  139. </script>
  140. </button>
  141. <datagrid id="grd_mercdlist" nodeset="/root/main/mercd/mercdlist" autoresize="true" caption="level^오류코드-오류코드명^오류코드^오류코드명^상위코드" colwidth="0, 380, 0, 0, 0" dataheight="23" ellipsis="false" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" tooltip="true" style="left:0px; top:65px; width:401px; height:615px; ">
  142. <col ref="levl"/>
  143. <col ref="displaynm"/>
  144. <col ref="errcd" visibility="hidden"/>
  145. <col ref="errcdnm" visibility="hidden"/>
  146. <col ref="superrcd" visibility="hidden"/>
  147. <script type="javascript" ev:event="ondblclick">
  148. <![CDATA[
  149. fSetErrCodeInfo();
  150. ]]>
  151. </script>
  152. </datagrid>
  153. </group>
  154. <group id="grp_right_top" style="left:430px; top:19px; width:570px; height:416px; ">
  155. <caption id="caption3" class="tit_2" style="left:0px; top:5px; width:220px; height:13px; text-align:left; ">기본정보</caption>
  156. <line id="line5" class="line_1" style="x1:0px; y1:23px; x2:570px; y2:23px; "/>
  157. <button id="button2" class="btn2_letter2" style="left:464px; top:3px; width:42px; height:19px; ">
  158. <caption>신규</caption>
  159. <script type="javascript" ev:event="DOMActivate">
  160. <![CDATA[
  161. model.resetInstanceNode("/root/main/errcdinfo/errcodeinfo");
  162. model.removeNodeset("/root/main/errcdinfo/exdeptinfo/deptlist");
  163. model.removeNodeset("/root/main/errcdinfo/exuserinfo/userlist");
  164. model.removeNodeset("/root/main/errcdinfo/expatinfo/patlist");
  165. model.refresh();
  166. model.setValue("/root/main/errcdinfo/errcodeinfo/status", "i"); // 입력 설정
  167. model.setValue("/root/main/errcdinfo/errcodeinfo/fromdd", getCurrentDate()); // 시작일자
  168. model.setValue("/root/main/errcdinfo/errcodeinfo/todd", "99991231"); // 종료일자
  169. model.setValue("/root/main/errcdinfo/errcodeinfo/multiyn", "N"); // 멀티선택여부
  170. model.setValue("/root/main/errcdinfo/errcodeinfo/resnflag", "-"); // 사유구분
  171. model.setValue("/root/main/errcdinfo/errcodeinfo/resnlistcd", "0"); // 사유코드
  172. model.setValue("/root/main/errcdinfo/errcodeinfo/excls", "E"); // 예외처리
  173. ipt_errcd.disabled = false;
  174. model.refresh();
  175. ]]>
  176. </script>
  177. </button>
  178. <button id="btn_SaveMercd" class="btn4_letter2" style="left:511px; top:0px; width:56px; height:22px; ">
  179. <caption>저장</caption>
  180. <script type="javascript" ev:event="DOMActivate">
  181. <![CDATA[
  182. fSaveErrCodeInfo();
  183. ]]>
  184. </script>
  185. </button>
  186. <caption id="caption4" class="cell_1" style="left:0px; top:28px; width:60px; height:23px; vertical-align:middle; ">오류코드</caption>
  187. <input id="ipt_errcd" ref="/root/main/errcdinfo/errcodeinfo/errcd" class="input" imemode="disabled" maxlength="10" style="left:65px; top:30px; width:155px; height:19px; "/>
  188. <caption id="caption5" class="cell_1" style="left:225px; top:28px; width:60px; height:23px; vertical-align:middle; ">코드명</caption>
  189. <input id="ipt_errnm" ref="/root/main/errcdinfo/errcodeinfo/errnm" class="input" style="left:290px; top:30px; width:280px; height:19px; "/>
  190. <caption id="caption10" class="cell_1" style="left:0px; top:52px; width:60px; height:23px; vertical-align:middle; ">상위코드</caption>
  191. <input id="ipt_superrcd" ref="/root/main/errcdinfo/errcodeinfo/superrcd" class="input" imemode="disabled" maxlength="10" style="left:65px; top:55px; width:155px; height:19px; "/>
  192. <line id="line4" class="line_3" style="x1:0px; y1:412px; x2:570px; y2:412px; "/>
  193. <caption id="caption8" class="cell_1" style="left:0px; top:76px; width:60px; height:44px; vertical-align:middle; ">메세지</caption>
  194. <textarea id="txt_errmsg" ref="/root/main/errcdinfo/errcodeinfo/errmsg" style="left:65px; top:77px; width:505px; height:42px; "/>
  195. <caption id="caption13" class="cell_1" style="left:0px; top:121px; width:60px; height:44px; vertical-align:middle; ">설명</caption>
  196. <textarea id="txt_errdisc" ref="/root/main/errcdinfo/errcodeinfo/errdisc" style="left:65px; top:121px; width:505px; height:42px; "/>
  197. <caption id="caption7" class="cell_1" style="left:0px; top:166px; width:60px; height:39px; vertical-align:middle; ">비고</caption>
  198. <textarea id="txt_rmk" ref="/root/main/errcdinfo/errcodeinfo/rmk" style="left:65px; top:166px; width:505px; height:39px; "/>
  199. <caption id="caption22" class="cell_1" style="left:0px; top:206px; width:60px; height:23px; vertical-align:middle; ">소스위치</caption>
  200. <input id="input1" ref="/root/main/errcdinfo/errcodeinfo/path" class="input" imemode="disabled" style="left:65px; top:209px; width:505px; height:19px; "/>
  201. <caption id="caption11" class="cell_1" style="left:225px; top:52px; width:60px; height:23px; vertical-align:middle; ">적용기간</caption>
  202. <input id="ipt_fromdd" ref="/root/main/errcdinfo/errcodeinfo/fromdd" inputtype="date" format="yyyy-mm-dd" style="left:290px; top:55px; width:100px; height:19px; font-weight:normal; ">
  203. <script type="javascript" ev:event="xforms-value-changed">
  204. <![CDATA[
  205. fCompareDate();
  206. ]]>
  207. </script>
  208. </input>
  209. <caption id="caption14" style="left:394px; top:56px; width:15px; height:20px; ">~</caption>
  210. <input id="ipt_todd" ref="/root/main/errcdinfo/errcodeinfo/todd" inputtype="date" format="yyyy-mm-dd" style="left:410px; top:55px; width:100px; height:19px; font-weight:normal; ">
  211. <script type="javascript" ev:event="xforms-value-changed">
  212. <![CDATA[
  213. fCompareDate();
  214. ]]>
  215. </script>
  216. </input>
  217. <caption id="caption15" class="cell_1" style="left:0px; top:230px; width:60px; height:23px; vertical-align:middle; ">사유구분</caption>
  218. <select1 id="cmb_resnflag" ref="/root/main/errcdinfo/errcodeinfo/resnflag" appearance="minimal" style="left:65px; top:232px; width:240px; height:19px; ">
  219. <choices>
  220. <itemset nodeset="/root/init/resnflag/M0530">
  221. <label ref="cdnm"/>
  222. <value ref="cdid"/>
  223. </itemset>
  224. </choices>
  225. </select1>
  226. <caption id="caption16" class="cell_1" style="left:312px; top:230px; width:60px; height:23px; vertical-align:middle; ">사유코드</caption>
  227. <input id="ipt_resnlistcd" ref="/root/main/errcdinfo/errcodeinfo/resnlistcd" class="input" imemode="disabled" maxlength="5" style="left:375px; top:232px; width:70px; height:19px; "/>
  228. <caption id="caption17" class="cell_1" style="left:448px; top:230px; width:60px; height:23px; vertical-align:middle; ">사유멀티</caption>
  229. <select1 id="cbo_multiyn" ref="/root/main/errcdinfo/errcodeinfo/multiyn" appearance="minimal" style="left:510px; top:232px; width:60px; height:19px; font-weight:normal; ">
  230. <choices>
  231. <item>
  232. <label>Y</label>
  233. <value>Y</value>
  234. </item>
  235. <item>
  236. <label>N</label>
  237. <value>N</value>
  238. </item>
  239. </choices>
  240. </select1>
  241. <caption id="caption18" class="cell_1" style="left:0px; top:255px; width:60px; height:130px; vertical-align:middle; ">쿼리</caption>
  242. <textarea id="txt_errsql" ref="/root/main/errcdinfo/errcodeinfo/errsql" style="left:65px; top:255px; width:505px; height:130px; "/>
  243. <caption id="caption19" class="cell_1" style="left:0px; top:387px; width:60px; height:23px; vertical-align:middle; ">예외처리</caption>
  244. <select1 id="cbo_excls" ref="/root/main/errcdinfo/errcodeinfo/excls" appearance="minimal" style="left:65px; top:390px; width:160px; height:19px; font-weight:normal; ">
  245. <choices>
  246. <item>
  247. <label>예외조건 제외 처리</label>
  248. <value>E</value>
  249. </item>
  250. <item>
  251. <label>예외조건 포함 처리</label>
  252. <value>I</value>
  253. </item>
  254. </choices>
  255. </select1>
  256. </group>
  257. <group id="grp_right_bottom" style="left:431px; top:434px; width:570px; height:262px; ">
  258. <caption id="caption12" class="tit_2" style="left:0px; top:5px; width:220px; height:15px; text-align:left; ">예외조건</caption>
  259. <line id="line6" class="line_1" style="x1:0px; y1:23px; x2:570px; y2:23px; "/>
  260. <button id="btn_SaveDhrcd" class="btn4_letter2" style="left:511px; top:1px; width:56px; height:22px; ">
  261. <caption>저장</caption>
  262. <script type="javascript" ev:event="DOMActivate">
  263. <![CDATA[
  264. fSaveErrCdExInfo();
  265. ]]>
  266. </script>
  267. </button>
  268. <caption id="caption26" class="cell_1" style="left:0px; top:29px; width:188px; height:20px; font-weight:bold; text-align:left; ">진료과</caption>
  269. <select1 id="combo1" ref="/root/main/objectinfo/dept/orddept" appearance="minimal" style="left:0px; top:52px; width:188px; height:19px; ">
  270. <choices>
  271. <itemset nodeset="/root/init/orddept/dept">
  272. <label ref="depthngnm"/>
  273. <value ref="deptcd"/>
  274. </itemset>
  275. </choices>
  276. </select1>
  277. <button id="btn_dept_addrow" class="btn2_letter2" style="left:97px; top:30px; width:42px; height:19px; ">
  278. <caption>추가</caption>
  279. <script type="javascript" ev:event="DOMActivate">
  280. <![CDATA[
  281. fGridAdd(grd_notapply_dept, "D");
  282. ]]>
  283. </script>
  284. </button>
  285. <button id="btn_dept_delrow" class="btn2_letter2" style="left:142px; top:30px; width:42px; height:19px; ">
  286. <caption>삭제</caption>
  287. <script type="javascript" ev:event="DOMActivate">
  288. <![CDATA[
  289. fGridDel(grd_notapply_dept, "D");
  290. ]]>
  291. </script>
  292. </button>
  293. <datagrid id="grd_notapply_dept" nodeset="/root/main/errcdinfo/exdeptinfo/deptlist" caption="errcd^fromdd^exno^extype^부서코드^부서명^비고" colsep="^" colwidth="0, 0, 0, 0, 0, 146, 200" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:73px; width:188px; height:189px; font-weight:normal; ">
  294. <col ref="errcd" visibility="hidden"/>
  295. <col ref="fromdd" visibility="hidden"/>
  296. <col ref="exno" visibility="hidden"/>
  297. <col ref="extype" visibility="hidden"/>
  298. <col ref="exid"/>
  299. <col ref="exidnm"/>
  300. <col ref="rmk" type="input"/>
  301. </datagrid>
  302. <caption id="caption20" class="cell_1" style="left:191px; top:29px; width:188px; height:20px; font-weight:bold; text-align:left; ">진료의</caption>
  303. <button id="btn_user_addrow" class="btn2_letter2" style="left:290px; top:30px; width:42px; height:19px; ">
  304. <caption>추가</caption>
  305. <script type="javascript" ev:event="DOMActivate">
  306. <![CDATA[
  307. fGridAdd(grd_notapply_user,"U");
  308. ]]>
  309. </script>
  310. </button>
  311. <button id="btn_user_delrow" class="btn2_letter2" style="left:335px; top:30px; width:42px; height:19px; ">
  312. <caption>삭제</caption>
  313. <script type="javascript" ev:event="DOMActivate">
  314. <![CDATA[
  315. fGridDel(grd_notapply_user,"U");
  316. ]]>
  317. </script>
  318. </button>
  319. <select1 id="cmb_exuer_dept" ref="/root/main/objectinfo/user/orddept" appearance="minimal" style="left:191px; top:52px; width:119px; height:19px; ">
  320. <choices>
  321. <itemset nodeset="/root/init/orddept/dept">
  322. <label ref="depthngnm"/>
  323. <value ref="deptcd"/>
  324. </itemset>
  325. </choices>
  326. <script type="javascript" ev:event="xforms-value-changed">
  327. <![CDATA[
  328. if(cmb_exuer_dept.value != ""){
  329. model.removeNodeset("/root/init/userlist");
  330. model.makeNode("/root/init/userlist/usercombo");
  331. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_exuer_dept.value, "0330");
  332. model.refresh();
  333. }
  334. ]]>
  335. </script>
  336. </select1>
  337. <select1 id="cmb_exuser" ref="/root/main/objectinfo/user/orddrid" appearance="minimal" style="left:312px; top:52px; width:67px; height:19px; ">
  338. <choices>
  339. <itemset nodeset="/root/init/userlist/usercombo">
  340. <label ref="usernm"/>
  341. <value ref="userid"/>
  342. </itemset>
  343. </choices>
  344. </select1>
  345. <datagrid id="grd_notapply_user" nodeset="/root/main/errcdinfo/exuserinfo/userlist" caption="errcd^fromdd^exno^extype^사번^사용자^비고" colsep="^" colwidth="0, 0, 0, 0, 70, 78, 200" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:191px; top:73px; width:188px; height:189px; font-weight:normal; ">
  346. <col ref="errcd" visibility="hidden"/>
  347. <col ref="fromdd" visibility="hidden"/>
  348. <col ref="exno" visibility="hidden"/>
  349. <col ref="extype" visibility="hidden"/>
  350. <col ref="exid"/>
  351. <col ref="exidnm"/>
  352. <col ref="rmk" type="input"/>
  353. </datagrid>
  354. <caption id="caption21" class="cell_1" style="left:382px; top:29px; width:188px; height:20px; font-weight:bold; text-align:left; ">환자</caption>
  355. <button id="btn_pat_addrow" class="btn2_letter2" style="left:480px; top:30px; width:42px; height:19px; ">
  356. <caption>추가</caption>
  357. <script type="javascript" ev:event="DOMActivate">
  358. <![CDATA[
  359. fGridAdd(grd_notapply_pat,"P");
  360. ]]>
  361. </script>
  362. </button>
  363. <button id="btn_pat_delrow" class="btn2_letter2" style="left:525px; top:30px; width:42px; height:19px; ">
  364. <caption>삭제</caption>
  365. <script type="javascript" ev:event="DOMActivate">
  366. <![CDATA[
  367. fGridDel(grd_notapply_pat,"P");
  368. ]]>
  369. </script>
  370. </button>
  371. <datagrid id="grd_notapply_pat" nodeset="/root/main/errcdinfo/expatinfo/patlist" caption="errcd^fromdd^exno^extype^환자번호^환자명^비고" colsep="^" colwidth="0, 0, 0, 0, 70, 78, 200" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:382px; top:52px; width:188px; height:210px; font-weight:normal; ">
  372. <col ref="errcd" visibility="hidden"/>
  373. <col ref="fromdd" visibility="hidden"/>
  374. <col ref="exno" visibility="hidden"/>
  375. <col ref="extype" visibility="hidden"/>
  376. <col ref="exid"/>
  377. <col ref="exidnm"/>
  378. <col ref="rmk" type="input"/>
  379. </datagrid>
  380. </group>
  381. </xhtml:body>
  382. </xhtml:html>