SMMQR00200_진료및치료.xrw 30 KB

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