SMMQR00201_진료및치료(칠곡).xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <init>
  10. <cond>
  11. <wrongsurgery>
  12. </wrongsurgery>
  13. <timeouty>
  14. </timeouty>
  15. <orddept/>
  16. <pertdr/>
  17. <anstdr/>
  18. </cond>
  19. </init>
  20. <main>
  21. <cond>
  22. <opdate/>
  23. <opnm/>
  24. <orddeptcd/>
  25. <pertdr/>
  26. <anstdr/>
  27. <detlcnts/>
  28. <detlcnts_how/>
  29. <detlcnts_why/>
  30. <ordcurekind/>
  31. <opacd>
  32. <opwrsgkind/>
  33. <tmoutyn/>
  34. <tmoutkind/>
  35. <oppartdispyn/>
  36. <chkopmngt/>
  37. <opmdlaftetccnts/>
  38. <opbfdesccmt/>
  39. <opaftdesccmt/>
  40. </opacd>
  41. <anstacd>
  42. <chkanstacd/>
  43. <anstmedidrugcd/>
  44. <anstmedidrugnm/>
  45. <anstacdetccnts/>
  46. <anstdesccmt/>
  47. </anstacd>
  48. <testacd>
  49. <chktestacd/>
  50. <testacdetccnts/>
  51. </testacd>
  52. <mediacd>
  53. <chkcureacd/>
  54. <medidrugcd/>
  55. <medidrugnm/>
  56. <cureacdetccnts/>
  57. </mediacd>
  58. <doctorcallyn>N</doctorcallyn>
  59. <doctorcalldt/>
  60. <mediationyn>N</mediationyn>
  61. <mediationdt/>
  62. </cond>
  63. </main>
  64. <temp>
  65. <receivedata>
  66. <receiveref/>
  67. <receivenmref/>
  68. <srchflag/>
  69. <srchcnts/>
  70. <drugkind/>
  71. </receivedata>
  72. <tmpchkbox1/>
  73. <tmpchkbox2/>
  74. <tmpchkbox3/>
  75. </temp>
  76. <send>
  77. <reqdata/>
  78. <calcscorcd/>
  79. </send>
  80. <hidden>
  81. <mech>
  82. <hngnm/>
  83. </mech>
  84. </hidden>
  85. <temper>
  86. <M0641list/>
  87. <M0642list/>
  88. <chkdd>
  89. <cdval/>
  90. </chkdd>
  91. </temper>
  92. </root>
  93. </instance>
  94. <script type="javascript" ev:event="xforms-ready">
  95. <![CDATA[
  96. fInitialize_00200();
  97. ]]>
  98. </script>
  99. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  100. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  101. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  102. <submission id="TRMQR00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temper"/>
  103. <submission id="TRMNR07506" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/mech"/>
  104. </model>
  105. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  106. <script type="javascript" src="../../../emr/qiweb/js/SMMQR00000.js"/>
  107. <script type="javascript" src="../../../emr/qiweb/js/SMMQR00200.js"/>
  108. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  109. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  110. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  111. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  112. </xhtml:head>
  113. <xhtml:body>
  114. <group id="group2" style="left:0px; top:0px; width:1165px; height:415px; ">
  115. <select id="chk_chkcureacd" ref="/root/main/cond/mediacd/chkcureacd" disabled="true" overflow="visible" appearance="full" sep="▦" vcellspacing="10" style="left:777px; top:57px; width:340px; height:190px; border-style:none; ">
  116. <choices>
  117. <item>
  118. <label>부적절한/불충분한 치료과정 설명</label>
  119. <value>01</value>
  120. </item>
  121. <item>
  122. <label>부적절한 의무기록</label>
  123. <value>02</value>
  124. </item>
  125. <item>
  126. <label>치료과정에 발생한 신체적 손상(괴사, 열상, 천공, 골절 등)</label>
  127. <value>03</value>
  128. </item>
  129. <item>
  130. <label>환자/보호자가 치료 및 시술 거절</label>
  131. <value>04</value>
  132. </item>
  133. <item>
  134. <label>잘못된 진단/영상/병리검사 결과보고</label>
  135. <value>05</value>
  136. </item>
  137. <item>
  138. <label>결과확인 누락으로 인한 처치지연</label>
  139. <value>06</value>
  140. </item>
  141. <item>
  142. <label>기타</label>
  143. <value>08</value>
  144. </item>
  145. </choices>
  146. <script type="javascript" ev:event="xforms-value-changed">
  147. <![CDATA[
  148. //SetVisible("ipt_anstmedidrugcd", "/root/main/cond/mediacd/chkcureacd", "6");
  149. //SetVisible("ipt_anstmedidrugcdnm", "/root/main/cond/mediacd/chkcureacd", "6");
  150. SetVisible("tar_cureacdetccnts", "/root/main/cond/mediacd/chkcureacd", "8");
  151. ]]>
  152. </script>
  153. </select>
  154. <line id="line3" class="line_3" style="x1:0px; y1:23px; x2:1162px; y2:23px; "/>
  155. <caption id="caption14" class="cell_1" style="left:0px; top:0px; width:90px; height:23px; vertical-align:middle; ">수술/시술일</caption>
  156. <caption id="caption15" class="cell_1" style="left:807px; top:0px; width:90px; height:23px; vertical-align:middle; ">집도의</caption>
  157. <caption id="caption16" class="cell_1" style="left:986px; top:0px; width:90px; height:23px; vertical-align:middle; ">마취의</caption>
  158. <caption id="caption17" class="cell_1" style="left:268px; top:0px; width:90px; height:23px; vertical-align:middle; ">수술/시술 명</caption>
  159. <caption id="caption18" class="cell_1" style="left:20px; top:53px; width:92px; height:20px; vertical-align:middle; ">Wrong surgery</caption>
  160. <caption id="caption19" class="cell_1" style="left:20px; top:74px; width:92px; height:35px; vertical-align:middle; ">Time out 유무</caption>
  161. <caption id="caption20" class="cell_1" style="left:20px; top:110px; width:122px; height:20px; vertical-align:middle; ">수술부위 표식 유무</caption>
  162. <caption id="caption22" class="cell_2" style="left:440px; top:32px; width:135px; height:20px; vertical-align:middle; ">
  163. <![CDATA[마취/진정 관련사고]]>
  164. <!-- 20130902 주석처리
  165. <script type="javascript" ev:event="onclick">
  166. <![CDATA[
  167. model.setValue("/root/main/cond/ordcurekind", "02");
  168. model.resetInstanceNode("/root/main/cond/opacd");
  169. model.resetInstanceNode("/root/main/cond/anstacd");
  170. model.resetInstanceNode("/root/main/cond/testacd");
  171. model.resetInstanceNode("/root/main/cond/mediacd");
  172. //수술/시술 관련 사고
  173. rdo_opwrsgkind.disabled = true;
  174. rdo_timoutyn.disabled = true;
  175. rdo_oppartdispyn.disabled = true;
  176. chk_chkopmngt.disabled = true;
  177. chk_tmoutkind.visible = false;
  178. tar_opmdlaftetccnts.visible = false;
  179. //마취관련 사고
  180. chk_chkanstacd.disabled = false;
  181. ipt_anstmedidrugcd.visible = false;
  182. ipt_anstmedidrugnm.visible = false;
  183. tar_anstacdetccnts.visible = false;
  184. //검사 관련 사고
  185. // chk_chktestacd.disabled = true;
  186. // tar_testacdetccnts.visible = false;
  187. //치료/진료 관련 사고
  188. chk_chkcureacd.disabled = true;
  189. //ipt_anstmedidrugcd.visible = false;
  190. //ipt_anstmedidrugcdnm.visible = false;
  191. tar_cureacdetccnts.visible = false;
  192. model.refresh();
  193. ]]>
  194. </script>
  195. -->
  196. </caption>
  197. <caption id="caption23" class="cell_2" style="left:797px; top:32px; width:152px; height:20px; vertical-align:middle; ">
  198. <![CDATA[치료/진료 관련 사고]]>
  199. <!-- 20130902 주석처리
  200. <script type="javascript" ev:event="onclick">
  201. <![CDATA[
  202. model.setValue("/root/main/cond/ordcurekind", "03");
  203. model.resetInstanceNode("/root/main/cond/opacd");
  204. model.resetInstanceNode("/root/main/cond/anstacd");
  205. model.resetInstanceNode("/root/main/cond/testacd");
  206. model.resetInstanceNode("/root/main/cond/mediacd");
  207. //수술/시술 관련 사고
  208. rdo_opwrsgkind.disabled = true;
  209. rdo_timoutyn.disabled = true;
  210. rdo_oppartdispyn.disabled = true;
  211. chk_chkopmngt.disabled = true;
  212. chk_tmoutkind.visible = false;
  213. tar_opmdlaftetccnts.visible = false;
  214. //마취관련 사고
  215. chk_chkanstacd.disabled = true;
  216. ipt_anstmedidrugcd.visible = false;
  217. ipt_anstmedidrugnm.visible = false;
  218. tar_anstacdetccnts.visible = false;
  219. //검사 관련 사고
  220. //chk_chktestacd.disabled = true;
  221. //tar_testacdetccnts.visible = false;
  222. //치료/진료 관련 사고
  223. chk_chkcureacd.disabled = false;
  224. //ipt_anstmedidrugcd.visible = false;
  225. //ipt_anstmedidrugcdnm.visible = false;
  226. tar_cureacdetccnts.visible = false;
  227. model.refresh();
  228. ]]>
  229. </script>
  230. -->
  231. </caption>
  232. <caption id="caption26" class="cell_2" style="left:35px; top:32px; width:150px; height:20px; vertical-align:middle; ">
  233. <![CDATA[수술/시술 관련 사고]]>
  234. <!-- 20130902 주석처리
  235. <script type="javascript" ev:event="onclick">
  236. <![CDATA[
  237. model.setValue("/root/main/cond/ordcurekind", "01");
  238. model.resetInstanceNode("/root/main/cond/opacd");
  239. model.resetInstanceNode("/root/main/cond/anstacd");
  240. model.resetInstanceNode("/root/main/cond/testacd");
  241. model.resetInstanceNode("/root/main/cond/mediacd");
  242. //수술/시술 관련 사고
  243. rdo_opwrsgkind.disabled = false;
  244. rdo_timoutyn.disabled = false;
  245. rdo_oppartdispyn.disabled = false;
  246. chk_chkopmngt.disabled = false;
  247. chk_tmoutkind.visible = false;
  248. tar_opmdlaftetccnts.visible = false;
  249. //마취관련 사고
  250. chk_chkanstacd.disabled = true;
  251. ipt_anstmedidrugcd.visible = false;
  252. ipt_anstmedidrugnm.visible = false;
  253. tar_anstacdetccnts.visible = false;
  254. //검사 관련 사고
  255. // chk_chktestacd.disabled = true;
  256. // tar_testacdetccnts.visible = false;
  257. //치료/진료 관련 사고
  258. chk_chkcureacd.disabled = true;
  259. //ipt_anstmedidrugcd.visible = false;
  260. //ipt_anstmedidrugcdnm.visible = false;
  261. tar_cureacdetccnts.visible = false;
  262. model.refresh();
  263. ]]>
  264. </script>
  265. -->
  266. </caption>
  267. <input id="ipt_opdate" ref="/root/main/cond/opdate" class="input_default" navindex="1" inputtype="date" appearance="input" style="left:92px; top:1px; width:174px; height:19px; ">
  268. <script type="javascript" ev:event="onclick">
  269. <![CDATA[
  270. ]]>
  271. </script>
  272. </input>
  273. <input id="ipt_opnm" ref="/root/main/cond/opnm" class="input_default" navindex="2" maxlength="50" style="left:360px; top:1px; width:217px; height:19px; "/>
  274. <select1 id="rdo_timoutyn" ref="/root/main/cond/opacd/tmoutyn" disabled="true" appearance="full" cellspacing="20" overflow="visible" style="left:111px; top:75px; width:45px; height:33px; border-style:none; ">
  275. <choices>
  276. <item>
  277. <label>Yes</label>
  278. <value>Y</value>
  279. </item>
  280. <item>
  281. <label>No</label>
  282. <value>N</value>
  283. </item>
  284. </choices>
  285. <script type="javascript" ev:event="xforms-value-changed">
  286. <![CDATA[
  287. SetVisible("chk_tmoutkind", "/root/main/cond/opacd/tmoutyn", "Y");
  288. ]]>
  289. </script>
  290. </select1>
  291. <textarea id="tar_cureacdetccnts" ref="/root/main/cond/mediacd/cureacdetccnts" visibility="hidden" maxbyte="140" style="left:824px; top:223px; width:325px; height:70px; "/>
  292. <select1 id="rdo_opwrsgkind" ref="/root/main/cond/opacd/opwrsgkind" disabled="true" appearance="full" cellspacing="13" cols="3" overflow="visible" style="left:112px; top:53px; width:255px; height:20px; border-style:none; ">
  293. <choices>
  294. <itemset nodeset="/root/init/cond/wrongsurgery/M0431">
  295. <label ref="cdnm"/>
  296. <value ref="cdid"/>
  297. </itemset>
  298. </choices>
  299. </select1>
  300. <select1 id="rdo_oppartdispyn" ref="/root/main/cond/opacd/oppartdispyn" disabled="true" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:145px; top:112px; width:100px; height:20px; border-style:none; ">
  301. <choices>
  302. <item>
  303. <label>Yes</label>
  304. <value>Y</value>
  305. </item>
  306. <item>
  307. <label>No</label>
  308. <value>N</value>
  309. </item>
  310. </choices>
  311. </select1>
  312. <caption id="caption35" class="cell_1" style="left:580px; top:0px; width:90px; height:23px; vertical-align:middle; ">진료과</caption>
  313. <select1 id="cmb_orddeptcd" ref="/root/main/cond/orddeptcd" class="combo_default" navindex="3" appearance="minimal" editmode="search" style="left:672px; top:1px; width:132px; height:19px; ">
  314. <choices>
  315. <itemset nodeset="/root/init/cond/orddept/dept">
  316. <label ref="depthngnm"/>
  317. <value ref="deptcd"/>
  318. </itemset>
  319. </choices>
  320. <script type="javascript" ev:event="xforms-value-changed">
  321. <![CDATA[
  322. model.removeNodeset("/root/init/cond/pertdr");
  323. model.makeNode("/root/init/cond/pertdr/usercombo");
  324. mmbfGetUserComboList("/root/send/reqdata", "/root/init/cond/pertdr", cmb_orddeptcd.value, "0330");
  325. cmb_pertdr.select(1);
  326. model.refresh();
  327. //fReqOutPatList();
  328. ]]>
  329. </script>
  330. </select1>
  331. <select1 id="cmb_pertdr" ref="/root/main/cond/pertdr" class="combo_search" navindex="4" appearance="minimal" style="left:899px; top:1px; width:84px; height:19px; ">
  332. <choices>
  333. <itemset nodeset="/root/init/cond/pertdr/usercombo">
  334. <label ref="usernm"/>
  335. <value ref="userid"/>
  336. </itemset>
  337. </choices>
  338. </select1>
  339. <select1 id="cmb_anstdr" ref="/root/main/cond/anstdr" class="combo_search" navindex="6" appearance="minimal" style="left:1078px; top:1px; width:84px; height:19px; ">
  340. <choices>
  341. <itemset nodeset="/root/init/cond/anstdr/usercombo">
  342. <label ref="usernm"/>
  343. <value ref="userid"/>
  344. </itemset>
  345. </choices>
  346. </select1>
  347. <select id="chk_tmoutkind" ref="/root/main/cond/opacd/tmoutkind" visibility="hidden" overflow="visible" appearance="full" cols="3" rows="3" sep="▦" style="left:153px; top:75px; width:250px; height:15px; border-style:none; ">
  348. <choices>
  349. <item>
  350. <label>환자확인</label>
  351. <value>01</value>
  352. </item>
  353. <item>
  354. <label>수술부위확인</label>
  355. <value>02</value>
  356. </item>
  357. <item>
  358. <label>수술방법확인</label>
  359. <value>03</value>
  360. </item>
  361. </choices>
  362. </select>
  363. <caption id="caption1" visibility="hidden" style="left:185px; top:34px; width:50px; height:20px; font-weight:bold; font-style:italic; text-decoration:underline; color:#c0c0c0; vertical-align:bottom; ">←click</caption>
  364. <caption id="caption2" visibility="hidden" style="left:576px; top:31px; width:46px; height:20px; font-weight:bold; font-style:italic; text-decoration:underline; color:#c0c0c0; vertical-align:bottom; ">←click</caption>
  365. <caption id="caption4" visibility="hidden" style="left:950px; top:34px; width:51px; height:20px; font-weight:bold; font-style:italic; text-decoration:underline; color:#c0c0c0; vertical-align:bottom; ">←click</caption>
  366. <select id="checkbox1" ref="/root/temp/tmpchkbox1" overflow="visible" appearance="full" style="left:15px; top:35px; width:15px; height:15px; border-style:none; ">
  367. <choices>
  368. <item>
  369. <label/>
  370. <value>true</value>
  371. </item>
  372. </choices>
  373. <script type="javascript" ev:event="onclick">
  374. <![CDATA[
  375. checkbox2.value="";
  376. checkbox3.value="";
  377. model.setValue("/root/main/cond/ordcurekind", "01");
  378. model.resetInstanceNode("/root/main/cond/opacd");
  379. model.resetInstanceNode("/root/main/cond/anstacd");
  380. model.resetInstanceNode("/root/main/cond/testacd");
  381. model.resetInstanceNode("/root/main/cond/mediacd");
  382. //수술/시술 관련 사고
  383. rdo_opwrsgkind.disabled = false;
  384. rdo_timoutyn.disabled = false;
  385. rdo_oppartdispyn.disabled = false;
  386. chk_chkopmngt.disabled = false;
  387. chk_tmoutkind.visible = false;
  388. tar_opmdlaftetccnts.visible = false;
  389. tar_opmdlaftetccnts1.visible = false;
  390. tar_opmdlaftetccnts2.visible = false;
  391. //마취관련 사고
  392. chk_chkanstacd.disabled = true;
  393. ipt_anstmedidrugcd.visible = false;
  394. ipt_anstmedidrugnm.visible = false;;
  395. tar_anstacdetccnts.visible = false;
  396. tar_anstacdetccnts1.visible = false;
  397. //검사 관련 사고
  398. // chk_chktestacd.disabled = true;
  399. // tar_testacdetccnts.visible = false;
  400. //치료/진료 관련 사고
  401. chk_chkcureacd.disabled = true;
  402. //ipt_anstmedidrugcd.visible = false;
  403. //ipt_anstmedidrugcdnm.visible = false;
  404. tar_cureacdetccnts.visible = false;
  405. model.refresh();
  406. ]]>
  407. </script>
  408. </select>
  409. <select id="checkbox2" ref="/root/temp/tmpchkbox2" overflow="visible" appearance="full" style="left:420px; top:35px; width:15px; height:15px; border-style:none; ">
  410. <choices>
  411. <item>
  412. <label/>
  413. <value>true</value>
  414. </item>
  415. </choices>
  416. <script type="javascript" ev:event="onclick">
  417. <![CDATA[
  418. checkbox1.value="";
  419. checkbox3.value="";
  420. model.setValue("/root/main/cond/ordcurekind", "02");
  421. model.resetInstanceNode("/root/main/cond/opacd");
  422. model.resetInstanceNode("/root/main/cond/anstacd");
  423. model.resetInstanceNode("/root/main/cond/testacd");
  424. model.resetInstanceNode("/root/main/cond/mediacd");
  425. //수술/시술 관련 사고
  426. rdo_opwrsgkind.disabled = true;
  427. rdo_timoutyn.disabled = true;
  428. rdo_oppartdispyn.disabled = true;
  429. chk_chkopmngt.disabled = true;
  430. chk_tmoutkind.visible = false;
  431. tar_opmdlaftetccnts.visible = false;
  432. tar_opmdlaftetccnts1.visible = false;
  433. tar_opmdlaftetccnts2.visible = false;
  434. //마취관련 사고
  435. chk_chkanstacd.disabled = false;
  436. ipt_anstmedidrugcd.visible = false;
  437. ipt_anstmedidrugnm.visible = false;
  438. tar_anstacdetccnts.visible = false;
  439. tar_anstacdetccnts1.visible = false;
  440. //검사 관련 사고
  441. // chk_chktestacd.disabled = true;
  442. // tar_testacdetccnts.visible = false;
  443. //치료/진료 관련 사고
  444. chk_chkcureacd.disabled = true;
  445. //ipt_anstmedidrugcd.visible = false;
  446. //ipt_anstmedidrugcdnm.visible = false;
  447. tar_cureacdetccnts.visible = false;
  448. model.refresh();
  449. ]]>
  450. </script>
  451. </select>
  452. <select id="checkbox3" ref="/root/temp/tmpchkbox3" overflow="visible" appearance="full" style="left:777px; top:35px; width:15px; height:15px; border-style:none; ">
  453. <choices>
  454. <item>
  455. <label/>
  456. <value>true</value>
  457. </item>
  458. </choices>
  459. <script type="javascript" ev:event="onclick">
  460. <![CDATA[
  461. checkbox1.value="";
  462. checkbox2.value="";
  463. model.setValue("/root/main/cond/ordcurekind", "03");
  464. model.resetInstanceNode("/root/main/cond/opacd");
  465. model.resetInstanceNode("/root/main/cond/anstacd");
  466. model.resetInstanceNode("/root/main/cond/testacd");
  467. model.resetInstanceNode("/root/main/cond/mediacd");
  468. //수술/시술 관련 사고
  469. rdo_opwrsgkind.disabled = true;
  470. rdo_timoutyn.disabled = true;
  471. rdo_oppartdispyn.disabled = true;
  472. chk_chkopmngt.disabled = true;
  473. chk_tmoutkind.visible = false;
  474. tar_opmdlaftetccnts.visible = false;
  475. tar_opmdlaftetccnts1.visible = false;
  476. tar_opmdlaftetccnts2.visible = false;
  477. //마취관련 사고
  478. chk_chkanstacd.disabled = true;
  479. ipt_anstmedidrugcd.visible = false;
  480. ipt_anstmedidrugnm.visible = false;
  481. tar_anstacdetccnts.visible = false;
  482. tar_anstacdetccnts1.visible = false;
  483. //검사 관련 사고
  484. //chk_chktestacd.disabled = true;
  485. //tar_testacdetccnts.visible = false;
  486. //치료/진료 관련 사고
  487. chk_chkcureacd.disabled = false;
  488. //ipt_anstmedidrugcd.visible = false;
  489. //ipt_anstmedidrugcdnm.visible = false;
  490. tar_cureacdetccnts.visible = false;
  491. model.refresh();
  492. ]]>
  493. </script>
  494. </select>
  495. <shape id="roundrect7" class="roundrect_example" appearance="roundrect" style="left:10px; top:27px; width:395px; height:388px; "/>
  496. <shape id="roundrect5" class="roundrect_example" appearance="roundrect" style="left:410px; top:27px; width:350px; height:388px; "/>
  497. <shape id="roundrect6" class="roundrect_example" appearance="roundrect" style="left:765px; top:27px; width:395px; height:388px; "/>
  498. <caption id="caption3" class="cell_1" style="left:20px; top:131px; width:122px; height:20px; vertical-align:middle; ">수술/시술 관리</caption>
  499. <select id="chk_chkopmngt" ref="/root/main/cond/opacd/chkopmngt" disabled="true" overflow="visible" appearance="full" sep="▦" vcellspacing="3" style="left:20px; top:155px; width:300px; height:255px; border-style:none; ">
  500. <choices>
  501. <itemset nodeset="/root/temper/M0641list">
  502. <label ref="cdnm"/>
  503. <value ref="cdid"/>
  504. </itemset>
  505. </choices>
  506. <script type="javascript" ev:event="xforms-value-changed">
  507. <![CDATA[
  508. if( chkdd == "Y" ){
  509. SetVisible("tar_opmdlaftetccnts1", "/root/main/cond/opacd/chkopmngt", "13");
  510. SetVisible("tar_opmdlaftetccnts2", "/root/main/cond/opacd/chkopmngt", "22");
  511. }else{
  512. SetVisible("tar_opmdlaftetccnts", "/root/main/cond/opacd/chkopmngt", "09");
  513. }
  514. ]]>
  515. </script>
  516. </select>
  517. <textarea id="tar_opmdlaftetccnts" ref="/root/main/cond/opacd/opmdlaftetccnts" navindex="7" visibility="hidden" maxlength="70" style="left:65px; top:310px; width:330px; height:66px; "/>
  518. <select id="chk_chkanstacd" ref="/root/main/cond/anstacd/chkanstacd" disabled="true" overflow="visible" appearance="full" sep="▦" vcellspacing="10" style="left:420px; top:56px; width:325px; height:209px; border-style:none; ">
  519. <choices>
  520. <itemset nodeset="/root/temper/M0642list">
  521. <label ref="cdnm"/>
  522. <value ref="cdid"/>
  523. </itemset>
  524. </choices>
  525. <script type="javascript" ev:event="xforms-value-changed">
  526. <![CDATA[
  527. if( chkdd == "Y" ){
  528. SetVisible("ipt_anstmedidrugcd", "/root/main/cond/anstacd/chkanstacd", "11");
  529. SetVisible("ipt_anstmedidrugnm", "/root/main/cond/anstacd/chkanstacd", "11");
  530. SetVisible("tar_anstacdetccnts1", "/root/main/cond/anstacd/chkanstacd", "15");
  531. }else{
  532. SetVisible("ipt_anstmedidrugcd", "/root/main/cond/anstacd/chkanstacd", "03");
  533. SetVisible("ipt_anstmedidrugnm", "/root/main/cond/anstacd/chkanstacd", "03");
  534. SetVisible("tar_anstacdetccnts", "/root/main/cond/anstacd/chkanstacd", "08");
  535. }
  536. ]]>
  537. </script>
  538. </select>
  539. <textarea id="tar_anstacdetccnts" ref="/root/main/cond/anstacd/anstacdetccnts" visibility="hidden" maxbyte="140" style="left:474px; top:245px; width:271px; height:48px; "/>
  540. <input id="ipt_anstmedidrugnm" ref="/root/main/cond/anstacd/anstmedidrugnm" visibility="hidden" appearance="input" style="left:665px; top:112px; width:90px; height:19px; ">
  541. <script type="javascript" ev:event="onkeypress">
  542. <![CDATA[
  543. if(event.keyCode == "13"){
  544. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/anstacd/anstmedidrugcd");
  545. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/anstacd/anstmedidrugnm");
  546. model.setValue("/root/temp/receivedata/srchflag", "3");
  547. model.setValue("/root/temp/receivedata/srchcnts", ipt_anstmedidrugnm.currentText);
  548. model.setValue("/root/temp/receivedata/drugkind","");
  549. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  550. var drugcd = model.getValue("/root/main/cond/anstacd/anstmedidrugcd");
  551. var drugnm = "";
  552. if(drugcd != ""){
  553. model.removenode("/root/send/calcscorcd");
  554. model.makeValue("/root/send/calcscorcd", drugcd);
  555. submit("TRMNR07506");
  556. drugnm = model.getValue("/root/hidden/mech/hngnm");
  557. if(drugnm != ""){
  558. model.setValue("/root/main/cond/anstacd/anstmedidrugnm", drugnm);
  559. }else{
  560. messageBox("약품 유효기간이 지났습니다.","E999");
  561. }
  562. }
  563. model.resetInstanceNode("/root/temp/receivedata");
  564. model.refresh();
  565. }
  566. ]]>
  567. </script>
  568. </input>
  569. <input id="ipt_anstmedidrugcd" ref="/root/main/cond/anstacd/anstmedidrugcd" visibility="hidden" maxlength="12" appearance="input" style="left:607px; top:112px; width:65px; height:19px; ">
  570. <script type="javascript" ev:event="onkeydown">
  571. <![CDATA[
  572. if(event.keyCode == "13"){
  573. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/anstacd/anstmedidrugcd");
  574. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/anstacd/anstmedidrugnm");
  575. model.setValue("/root/temp/receivedata/srchflag", "2");
  576. model.setValue("/root/temp/receivedata/srchcnts", ipt_anstmedidrugcd.currentText);
  577. model.setValue("/root/temp/receivedata/drugkind","");
  578. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  579. var drugcd = model.getValue("/root/main/cond/anstacd/anstmedidrugcd");
  580. var drugnm = "";
  581. if(drugcd != ""){
  582. model.removenode("/root/send/calcscorcd");
  583. model.makeValue("/root/send/calcscorcd", drugcd);
  584. submit("TRMNR07506");
  585. drugnm = model.getValue("/root/hidden/mech/hngnm");
  586. if(drugnm != ""){
  587. model.setValue("/root/main/cond/anstacd/anstmedidrugnm", drugnm);
  588. }else{
  589. messageBox("약품 유효기간이 지났습니다.","E999");
  590. }
  591. }
  592. model.resetInstanceNode("/root/temp/receivedata");
  593. model.refresh();
  594. }
  595. ]]>
  596. </script>
  597. </input>
  598. <button id="btn_anstmedidrugcd" class="icon_search" style="left:591px; top:113px; width:16px; height:16px; ">
  599. <caption/>
  600. <script type="javascript" ev:event="DOMActivate">
  601. <![CDATA[
  602. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/anstacd/anstmedidrugcd");
  603. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/anstacd/anstmedidrugnm");
  604. model.setValue("/root/temp/receivedata/srchflag", "");
  605. model.setValue("/root/temp/receivedata/srchcnts", "");
  606. model.setValue("/root/temp/receivedata/drugkind","");
  607. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  608. var drugcd = model.getValue("/root/main/cond/anstacd/anstmedidrugcd");
  609. var drugnm = "";
  610. if(drugcd != ""){
  611. model.removenode("/root/send/calcscorcd");
  612. model.makeValue("/root/send/calcscorcd", drugcd);
  613. submit("TRMNR07506");
  614. drugnm = model.getValue("/root/hidden/mech/hngnm");
  615. if(drugnm != ""){
  616. model.setValue("/root/main/cond/anstacd/anstmedidrugnm", drugnm);
  617. }else{
  618. messageBox("약품 유효기간이 지났습니다.","E999");
  619. }
  620. }
  621. model.resetInstanceNode("/root/temp/receivedata");
  622. model.refresh();
  623. ]]>
  624. </script>
  625. </button>
  626. <textarea id="tar_opmdlaftetccnts2" ref="/root/main/cond/opacd/opaftdesccmt" navindex="7" visibility="hidden" maxlength="70" style="left:65px; top:386px; width:330px; height:25px; "/>
  627. <textarea id="tar_anstacdetccnts1" ref="/root/main/cond/anstacd/anstdesccmt" visibility="hidden" maxbyte="140" style="left:475px; top:221px; width:271px; height:69px; "/>
  628. <input id="tar_opmdlaftetccnts1" ref="/root/main/cond/opacd/opbfdesccmt" visibility="hidden" maxlength="70" style="left:65px; top:213px; width:330px; height:19px; "/>
  629. </group>
  630. </xhtml:body>
  631. </xhtml:html>