SMMQR00301_투약(칠곡).xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792
  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. <medidata>
  11. <prcperr>
  12. <prcperr>
  13. <value>01</value>
  14. <label>다른 환자에게 처방</label>
  15. </prcperr>
  16. <prcperr>
  17. <value>02</value>
  18. <label>부적절한 약 처방</label>
  19. </prcperr>
  20. <prcperr>
  21. <value>03</value>
  22. <label>이중 처방</label>
  23. </prcperr>
  24. <prcperr>
  25. <value>04</value>
  26. <label>금기사항 처방</label>
  27. </prcperr>
  28. <prcperr>
  29. <value>05</value>
  30. <label>다른 날짜에 처방</label>
  31. </prcperr>
  32. <prcperr>
  33. <value>06</value>
  34. <label>구두지시 관련 잘못된 의사소통</label>
  35. </prcperr>
  36. <prcperr>
  37. <value>07</value>
  38. <label>기타</label>
  39. </prcperr>
  40. </prcperr>
  41. <prcpdrugerr>
  42. <prcpdrugerr>
  43. <value>01</value>
  44. <label>다른 환자</label>
  45. </prcpdrugerr>
  46. <prcpdrugerr>
  47. <value>02</value>
  48. <label>다른 약</label>
  49. </prcpdrugerr>
  50. <prcpdrugerr>
  51. <value>03</value>
  52. <label>다른 용량</label>
  53. </prcpdrugerr>
  54. <prcpdrugerr>
  55. <value>04</value>
  56. <label>라벨확인 오류</label>
  57. </prcpdrugerr>
  58. <prcpdrugerr>
  59. <value>05</value>
  60. <label>약품불출 지연</label>
  61. </prcpdrugerr>
  62. <prcpdrugerr>
  63. <value>06</value>
  64. <label>다른 장소로 불출</label>
  65. </prcpdrugerr>
  66. <prcpdrugerr>
  67. <value>07</value>
  68. <label>기타</label>
  69. </prcpdrugerr>
  70. </prcpdrugerr>
  71. <prcpprcs>
  72. <prcpprcs>
  73. <label>다른 환자</label>
  74. <value>01</value>
  75. </prcpprcs>
  76. <prcpprcs>
  77. <label>다른 약</label>
  78. <value>02</value>
  79. </prcpprcs>
  80. <prcpprcs>
  81. <label>다른 경로</label>
  82. <value>03</value>
  83. </prcpprcs>
  84. <prcpprcs>
  85. <label>다른 시간</label>
  86. <value>04</value>
  87. </prcpprcs>
  88. <prcpprcs>
  89. <label>다른 용량</label>
  90. <value>05</value>
  91. </prcpprcs>
  92. <prcpprcs>
  93. <label>다른 투약 횟수</label>
  94. <value>06</value>
  95. </prcpprcs>
  96. <prcpprcs>
  97. <label>다른 간격</label>
  98. <value>07</value>
  99. </prcpprcs>
  100. <prcpprcs>
  101. <label>처방 받는 것 누락</label>
  102. <value>08</value>
  103. </prcpprcs>
  104. <prcpprcs>
  105. <label>구두지시 관련 잘못된 의사소통</label>
  106. <value>09</value>
  107. </prcpprcs>
  108. <prcpprcs>
  109. <label>기타</label>
  110. <value>10</value>
  111. </prcpprcs>
  112. </prcpprcs>
  113. <medierr>
  114. <medierr>
  115. <value>01</value>
  116. <label>다른 환자</label>
  117. </medierr>
  118. <medierr>
  119. <value>02</value>
  120. <label>다른 약</label>
  121. </medierr>
  122. <medierr>
  123. <value>03</value>
  124. <label>다른 경로</label>
  125. </medierr>
  126. <medierr>
  127. <value>04</value>
  128. <label>다른 시간</label>
  129. </medierr>
  130. <medierr>
  131. <value>05</value>
  132. <label>다른 용량</label>
  133. </medierr>
  134. <medierr>
  135. <value>06</value>
  136. <label>다른 투약 횟수</label>
  137. </medierr>
  138. <medierr>
  139. <value>07</value>
  140. <label>다른 간격</label>
  141. </medierr>
  142. <medierr>
  143. <value>08</value>
  144. <label>투약누락</label>
  145. </medierr>
  146. <medierr>
  147. <value>09</value>
  148. <label>의사의 중단지시 후 투여</label>
  149. </medierr>
  150. <medierr>
  151. <value>10</value>
  152. <label>잘못 희석 및 혼합</label>
  153. </medierr>
  154. <medierr>
  155. <value>11</value>
  156. <label>독단적인 투여</label>
  157. </medierr>
  158. <medierr>
  159. <value>12</value>
  160. <label>주사액 누출</label>
  161. </medierr>
  162. <medierr>
  163. <value>13</value>
  164. <label>부적절한 Rout</label>
  165. </medierr>
  166. <medierr>
  167. <value>14</value>
  168. <label>기타</label>
  169. </medierr>
  170. </medierr>
  171. <mediseffc>
  172. <mediseffc>
  173. <value>01</value>
  174. <label>운동실조</label>
  175. </mediseffc>
  176. <mediseffc>
  177. <value>02</value>
  178. <label>출혈</label>
  179. </mediseffc>
  180. <mediseffc>
  181. <value>03</value>
  182. <label>서맥</label>
  183. </mediseffc>
  184. <mediseffc>
  185. <value>04</value>
  186. <label>빈맥</label>
  187. </mediseffc>
  188. <mediseffc>
  189. <value>05</value>
  190. <label>변비</label>
  191. </mediseffc>
  192. <mediseffc>
  193. <value>06</value>
  194. <label>설사</label>
  195. </mediseffc>
  196. <mediseffc>
  197. <value>07</value>
  198. <label>어지러움</label>
  199. </mediseffc>
  200. <mediseffc>
  201. <value>08</value>
  202. <label>근 무력증</label>
  203. </mediseffc>
  204. <mediseffc>
  205. <value>09</value>
  206. <label>환각</label>
  207. </mediseffc>
  208. <mediseffc>
  209. <value>10</value>
  210. <label>고혈당</label>
  211. </mediseffc>
  212. <mediseffc>
  213. <value>11</value>
  214. <label>저혈당</label>
  215. </mediseffc>
  216. <mediseffc>
  217. <value>12</value>
  218. <label>저혈압</label>
  219. </mediseffc>
  220. <mediseffc>
  221. <value>13</value>
  222. <label>의식변화</label>
  223. </mediseffc>
  224. <mediseffc>
  225. <value>14</value>
  226. <label>신독성</label>
  227. </mediseffc>
  228. <mediseffc>
  229. <value>15</value>
  230. <label>오심</label>
  231. </mediseffc>
  232. <mediseffc>
  233. <value>16</value>
  234. <label>구토</label>
  235. </mediseffc>
  236. <mediseffc>
  237. <value>17</value>
  238. <label>Neutropenia</label>
  239. </mediseffc>
  240. <mediseffc>
  241. <value>18</value>
  242. <label>Pancytopenia</label>
  243. </mediseffc>
  244. <mediseffc>
  245. <value>19</value>
  246. <label>Thrombocytopenia</label>
  247. </mediseffc>
  248. <mediseffc>
  249. <value>20</value>
  250. <label>자반증</label>
  251. </mediseffc>
  252. <mediseffc>
  253. <value>21</value>
  254. <label>발진</label>
  255. </mediseffc>
  256. <mediseffc>
  257. <value>22</value>
  258. <label>호흡곤란/빈호흡</label>
  259. </mediseffc>
  260. <mediseffc>
  261. <value>23</value>
  262. <label>진정작용</label>
  263. </mediseffc>
  264. <mediseffc>
  265. <value>24</value>
  266. <label>Seizure</label>
  267. </mediseffc>
  268. <mediseffc>
  269. <value>25</value>
  270. <label>안구진탕</label>
  271. </mediseffc>
  272. <mediseffc>
  273. <value>26</value>
  274. <label>소변정체</label>
  275. </mediseffc>
  276. <mediseffc>
  277. <value>27</value>
  278. <label>점막염증</label>
  279. </mediseffc>
  280. <mediseffc>
  281. <value>28</value>
  282. <label>기타</label>
  283. </mediseffc>
  284. </mediseffc>
  285. </medidata>
  286. </init>
  287. <main>
  288. <cond>
  289. <medidrugcd/>
  290. <medidrugnm/>
  291. <medidrugvol/>
  292. <abnrdrugcd/>
  293. <abnrdrugcdnm/>
  294. <abnrdrugvol/>
  295. <chkprcperr/>
  296. <prcperretccnts/>
  297. <chkprcpdrugerr/>
  298. <prcpdrugerretccnts/>
  299. <chkprcpprcs/>
  300. <prcpprcsetccnts/>
  301. <chkmedierr/>
  302. <medierretccnts/>
  303. <chkmediseffc/>
  304. <chkarbitrationcnts/>
  305. <arbitrationdrugcd/>
  306. <arbitrationdrugnm/>
  307. <arbitrationetccnts/>
  308. <medierrseffcetccnts/>
  309. <detlcnts/>
  310. <detlcnts_why/>
  311. <detlcnts_how/>
  312. <doctorcallyn>N</doctorcallyn>
  313. <doctorcalldt/>
  314. <mediationyn>N</mediationyn>
  315. <mediationdt/>
  316. <medierrdesccmt/>
  317. </cond>
  318. </main>
  319. <temp>
  320. <receivedata>
  321. <receiveref/>
  322. <receivenmref/>
  323. <srchflag/>
  324. <srchcnts/>
  325. <drugkind/>
  326. </receivedata>
  327. </temp>
  328. <hidden>
  329. <mech>
  330. <hngnm/>
  331. </mech>
  332. </hidden>
  333. <send>
  334. <calcscorcd/>
  335. <date/>
  336. </send>
  337. <temper>
  338. <M0643list/>
  339. <chkdd>
  340. <cdval/>
  341. </chkdd>
  342. </temper>
  343. </root>
  344. </instance>
  345. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  346. <submission id="TRMQR00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temper"/>
  347. <script type="javascript" ev:event="xforms-ready">
  348. <![CDATA[
  349. fInitialize_00300();
  350. ]]>
  351. </script>
  352. <submission id="TRMNR07506" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/mech"/>
  353. </model>
  354. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  355. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  356. <script type="javascript" src="../../../emr/qiweb/js/SMMQR00000.js"/>
  357. <script type="javascript" src="../../../emr/qiweb/js/SMMQR00300.js"/>
  358. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  359. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  360. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  361. </xhtml:head>
  362. <xhtml:body>
  363. <group id="grp_fall" style="left:0px; top:0px; width:1175px; height:415px; ">
  364. <select id="chk_chkarbitrationcnts" ref="/root/main/cond/chkarbitrationcnts" overflow="visible" appearance="full" cellspacing="70" cols="6" sep="▦" vcellspacing="20" style="left:10px; top:335px; width:1140px; height:63px; border-style:none; ">
  365. <choices>
  366. <item>
  367. <label>용량변경</label>
  368. <value>02</value>
  369. </item>
  370. <item>
  371. <label>중환자실로 이실</label>
  372. <value>05</value>
  373. </item>
  374. <item>
  375. <label>약물중단</label>
  376. <value>03</value>
  377. </item>
  378. <item>
  379. <label>관찰</label>
  380. <value>07</value>
  381. </item>
  382. <item>
  383. <label>투여횟수 조절</label>
  384. <value>04</value>
  385. </item>
  386. <item>
  387. <label>중재를 위한 약물 투여</label>
  388. <value>01</value>
  389. </item>
  390. <item>
  391. <label>기타</label>
  392. <value>06</value>
  393. </item>
  394. </choices>
  395. <script type="javascript" ev:event="xforms-value-changed">
  396. <![CDATA[
  397. SetVisible("btn_ArbitrationMedi", "/root/main/cond/chkarbitrationcnts", "01");
  398. SetVisible("ipt_medidrugcd", "/root/main/cond/chkarbitrationcnts", "01");
  399. SetVisible("ipt_medidrugnm", "/root/main/cond/chkarbitrationcnts", "01");
  400. SetVisible("tar_arbitrationetccnts", "/root/main/cond/chkarbitrationcnts", "06");
  401. ]]>
  402. </script>
  403. </select>
  404. <line id="line25" class="line_2" style="x1:0px; y1:23px; x2:1172px; y2:23px; "/>
  405. <caption id="caption45" class="cell_1" style="left:0px; top:0px; width:148px; height:23px; vertical-align:middle; ">투여해야 할 약품 및 용량</caption>
  406. <shape id="roundrect8" class="roundrect_example" appearance="roundrect" style="left:815px; top:30px; width:200px; height:278px; "/>
  407. <shape id="roundrect9" class="roundrect_example" appearance="roundrect" style="left:1020px; top:30px; width:145px; height:278px; "/>
  408. <shape id="roundrect10" class="roundrect_example" appearance="roundrect" style="left:2px; top:30px; width:420px; height:135px; "/>
  409. <shape id="roundrect12" class="roundrect_example" appearance="roundrect" style="left:2px; top:168px; width:420px; height:140px; "/>
  410. <shape id="roundrect13" class="roundrect_example" appearance="roundrect" style="left:426px; top:30px; width:385px; height:278px; "/>
  411. <shape id="roundrect1" class="roundrect_example" appearance="roundrect" style="left:2px; top:328px; width:1163px; height:82px; "/>
  412. <button id="button2" class="icon_search" style="left:551px; top:2px; width:16px; height:16px; ">
  413. <caption/>
  414. <script type="javascript" ev:event="DOMActivate">
  415. <![CDATA[
  416. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/medidrugcd");
  417. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/medidrugnm");
  418. model.setValue("/root/temp/receivedata/srchflag", "");
  419. model.setValue("/root/temp/receivedata/srchcnts", "");
  420. model.setValue("/root/temp/receivedata/drugkind","");
  421. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  422. var drugcd = model.getValue("/root/main/cond/medidrugcd");
  423. var drugnm = "";
  424. if(drugcd != ""){
  425. model.removenode("/root/send/calcscorcd");
  426. model.makeValue("/root/send/calcscorcd", drugcd);
  427. submit("TRMNR07506");
  428. drugnm = model.getValue("/root/hidden/mech/hngnm");
  429. if(drugnm != ""){
  430. model.setValue("/root/main/cond/medidrugnm", drugnm);
  431. }else{
  432. messageBox("약품 유효기간이 지났습니다.","E999");
  433. }
  434. }
  435. model.resetInstanceNode("/root/temp/receivedata");
  436. model.refresh();
  437. ]]>
  438. </script>
  439. </button>
  440. <input id="ipt_drugnm" ref="/root/main/cond/medidrugnm" class="input_default" navindex="2" visibility="visible" style="left:244px; top:1px; width:219px; height:19px; ">
  441. <script type="javascript" ev:event="onkeypress">
  442. <![CDATA[
  443. if(event.keyCode == "13"){
  444. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/medidrugcd");
  445. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/medidrugnm");
  446. model.setValue("/root/temp/receivedata/srchflag", "3");
  447. model.setValue("/root/temp/receivedata/srchcnts", ipt_drugnm.currentText);
  448. model.setValue("/root/temp/receivedata/drugkind","");
  449. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  450. var drugcd = model.getValue("/root/main/cond/medidrugcd");
  451. var drugnm = "";
  452. if(drugcd != ""){
  453. model.removenode("/root/send/calcscorcd");
  454. model.makeValue("/root/send/calcscorcd", drugcd);
  455. submit("TRMNR07506");
  456. drugnm = model.getValue("/root/hidden/mech/hngnm");
  457. if(drugnm != ""){
  458. model.setValue("/root/main/cond/medidrugnm", drugnm);
  459. }else{
  460. messageBox("약품 유효기간이 지났습니다.","E999");
  461. }
  462. }
  463. model.resetInstanceNode("/root/temp/receivedata");
  464. model.refresh();
  465. }
  466. ]]>
  467. </script>
  468. </input>
  469. <input id="ipt_drugcd" ref="/root/main/cond/medidrugcd" class="input_default" navindex="1" visibility="visible" maxlength="12" style="left:151px; top:1px; width:90px; height:19px; ">
  470. <script type="javascript" ev:event="onkeypress">
  471. <![CDATA[
  472. if(event.keyCode == "13"){
  473. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/medidrugcd");
  474. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/medidrugnm");
  475. model.setValue("/root/temp/receivedata/srchflag", "2");
  476. model.setValue("/root/temp/receivedata/srchcnts", ipt_drugcd.currentText);
  477. model.setValue("/root/temp/receivedata/drugkind","");
  478. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  479. var drugcd = model.getValue("/root/main/cond/medidrugcd");
  480. var drugnm = "";
  481. if(drugcd != ""){
  482. model.removenode("/root/send/calcscorcd");
  483. model.makeValue("/root/send/calcscorcd", drugcd);
  484. submit("TRMNR07506");
  485. drugnm = model.getValue("/root/hidden/mech/hngnm");
  486. if(drugnm != ""){
  487. model.setValue("/root/main/cond/medidrugnm", drugnm);
  488. }else{
  489. messageBox("약품 유효기간이 지났습니다.","E999");
  490. }
  491. }
  492. model.resetInstanceNode("/root/temp/receivedata");
  493. model.refresh();
  494. }
  495. ]]>
  496. </script>
  497. </input>
  498. <input id="ipt_medidrugcd" ref="/root/main/cond/arbitrationdrugcd" class="input_essential" visibility="hidden" maxlength="12" style="left:907px; top:345px; width:103px; height:19px; ">
  499. <script type="javascript" ev:event="onkeypress">
  500. <![CDATA[
  501. if(event.keyCode == "13"){
  502. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/arbitrationdrugcd");
  503. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/arbitrationdrugnm");
  504. model.setValue("/root/temp/receivedata/srchflag", "2");
  505. model.setValue("/root/temp/receivedata/srchcnts", ipt_medidrugcd.currentText);
  506. model.setValue("/root/temp/receivedata/drugkind","");
  507. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  508. var drugcd = model.getValue("/root/main/cond/arbitrationdrugcd");
  509. var drugnm = "";
  510. if(drugcd != ""){
  511. model.removenode("/root/send/calcscorcd");
  512. model.makeValue("/root/send/calcscorcd", drugcd);
  513. submit("TRMNR07506");
  514. drugnm = model.getValue("/root/hidden/mech/hngnm");
  515. if(drugnm != ""){
  516. model.setValue("/root/main/cond/arbitrationdrugnm", drugnm);
  517. }else{
  518. messageBox("약품 유효기간이 지났습니다.","E999");
  519. }
  520. }
  521. model.resetInstanceNode("/root/temp/receivedata");
  522. model.refresh();
  523. }
  524. ]]>
  525. </script>
  526. </input>
  527. <input id="ipt_medidrugnm" ref="/root/main/cond/arbitrationdrugnm" class="input_essential" visibility="hidden" style="left:1015px; top:345px; width:130px; height:19px; ">
  528. <script type="javascript" ev:event="onkeypress">
  529. <![CDATA[
  530. if(event.keyCode == "13"){
  531. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/arbitrationdrugcd");
  532. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/arbitrationdrugnm");
  533. model.setValue("/root/temp/receivedata/srchflag", "3");
  534. model.setValue("/root/temp/receivedata/srchcnts", ipt_medidrugnm.currentText);
  535. model.setValue("/root/temp/receivedata/drugkind","");
  536. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  537. var drugcd = model.getValue("/root/main/cond/arbitrationdrugcd");
  538. var drugnm = "";
  539. if(drugcd != ""){
  540. model.removenode("/root/send/calcscorcd");
  541. model.makeValue("/root/send/calcscorcd", drugcd);
  542. submit("TRMNR07506");
  543. drugnm = model.getValue("/root/hidden/mech/hngnm");
  544. if(drugnm != ""){
  545. model.setValue("/root/main/cond/arbitrationdrugnm", drugnm);
  546. }else{
  547. messageBox("약품 유효기간이 지났습니다.","E999");
  548. }
  549. }
  550. model.resetInstanceNode("/root/temp/receivedata");
  551. model.refresh();
  552. }
  553. ]]>
  554. </script>
  555. </input>
  556. <textarea id="tar_prcperretccnts1" ref="/root/main/cond/medierrdesccmt" visibility="hidden" maxlength="50" appearance="textarea" style="left:940px; top:36px; width:71px; height:263px; "/>
  557. <textarea id="tar_prcpdrugerretccnts" ref="/root/main/cond/prcpdrugerretccnts" visibility="hidden" maxlength="50" appearance="textarea" style="left:1025px; top:190px; width:135px; height:110px; "/>
  558. <textarea id="tar_prcpprcsetccnts" ref="/root/main/cond/prcpprcsetccnts" visibility="hidden" maxlength="50" appearance="textarea" style="left:57px; top:125px; width:360px; height:35px; "/>
  559. <textarea id="tar_medierretccnts" ref="/root/main/cond/medierretccnts" visibility="hidden" maxlength="50" style="left:192px; top:271px; width:225px; height:32px; "/>
  560. <textarea id="tar_arbitrationetccnts" ref="/root/main/cond/arbitrationetccnts" visibility="hidden" maxlength="50" appearance="textarea" style="left:60px; top:381px; width:1085px; height:20px; "/>
  561. <button id="btn_ArbitrationMedi" class="icon_search" visibility="hidden" style="left:887px; top:346px; width:16px; height:16px; ">
  562. <caption/>
  563. <script type="javascript" ev:event="DOMActivate">
  564. <![CDATA[
  565. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/arbitrationdrugcd");
  566. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/arbitrationdrugnm");
  567. model.setValue("/root/temp/receivedata/srchflag", "");
  568. model.setValue("/root/temp/receivedata/srchcnts", "");
  569. model.setValue("/root/temp/receivedata/drugkind","");
  570. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  571. var drugcd = model.getValue("/root/main/cond/arbitrationdrugcd");
  572. var drugnm = "";
  573. if(drugcd != ""){
  574. model.removenode("/root/send/calcscorcd");
  575. model.makeValue("/root/send/calcscorcd", drugcd);
  576. submit("TRMNR07506");
  577. drugnm = model.getValue("/root/hidden/mech/hngnm");
  578. if(drugnm != ""){
  579. model.setValue("/root/main/cond/arbitrationdrugnm", drugnm);
  580. }else{
  581. messageBox("약품 유효기간이 지났습니다.","E999");
  582. }
  583. }
  584. model.refresh();
  585. ]]>
  586. </script>
  587. </button>
  588. <button id="button1" class="icon_search" style="left:1135px; top:2px; width:16px; height:16px; ">
  589. <caption/>
  590. <script type="javascript" ev:event="DOMActivate">
  591. <![CDATA[
  592. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/abnrdrugcd");
  593. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/abnrdrugcdnm");
  594. model.setValue("/root/temp/receivedata/srchflag", "");
  595. model.setValue("/root/temp/receivedata/srchcnts", "");
  596. model.setValue("/root/temp/receivedata/drugkind","");
  597. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  598. var drugcd = model.getValue("/root/main/cond/abnrdrugcd");
  599. var drugnm = "";
  600. if(drugcd != ""){
  601. model.removenode("/root/send/calcscorcd");
  602. model.makeValue("/root/send/calcscorcd", drugcd);
  603. submit("TRMNR07506");
  604. drugnm = model.getValue("/root/hidden/mech/hngnm");
  605. if(drugnm != ""){
  606. model.setValue("/root/main/cond/abnrdrugcdnm", drugnm);
  607. }else{
  608. messageBox("약품 유효기간이 지났습니다.","E999");
  609. }
  610. }
  611. model.resetInstanceNode("/root/temp/receivedata");
  612. model.refresh();
  613. ]]>
  614. </script>
  615. </button>
  616. <caption id="caption2" class="cell_1" style="left:583px; top:0px; width:148px; height:23px; vertical-align:middle; ">잘못 투여한 약품 및 용량</caption>
  617. <input id="ipt_abnrdrugcd" ref="/root/main/cond/abnrdrugcd" class="input_default" navindex="4" visibility="visible" maxlength="12" style="left:736px; top:1px; width:90px; height:19px; ">
  618. <script type="javascript" ev:event="onkeypress">
  619. <![CDATA[
  620. if(event.keyCode == "13"){
  621. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/abnrdrugcd");
  622. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/abnrdrugcdnm");
  623. model.setValue("/root/temp/receivedata/srchflag", "2");
  624. model.setValue("/root/temp/receivedata/srchcnts", ipt_abnrdrugcd.currentText);
  625. model.setValue("/root/temp/receivedata/drugkind","");
  626. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  627. var drugcd = model.getValue("/root/main/cond/abnrdrugcd");
  628. var drugnm = "";
  629. if(drugcd != ""){
  630. model.removenode("/root/send/calcscorcd");
  631. model.makeValue("/root/send/calcscorcd", drugcd);
  632. submit("TRMNR07506");
  633. drugnm = model.getValue("/root/hidden/mech/hngnm");
  634. if(drugnm != ""){
  635. model.setValue("/root/main/cond/abnrdrugcdnm", drugnm);
  636. }else{
  637. messageBox("약품 유효기간이 지났습니다.","E999");
  638. }
  639. }
  640. model.resetInstanceNode("/root/temp/receivedata");
  641. model.refresh();
  642. }
  643. ]]>
  644. </script>
  645. </input>
  646. <input id="ipt_abnrdrugcdnm" ref="/root/main/cond/abnrdrugcdnm" class="input_default" navindex="5" visibility="visible" style="left:829px; top:1px; width:219px; height:19px; ">
  647. <script type="javascript" ev:event="onkeypress">
  648. <![CDATA[
  649. if(event.keyCode == "13"){
  650. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/abnrdrugcd");
  651. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/abnrdrugcdnm");
  652. model.setValue("/root/temp/receivedata/srchflag", "3");
  653. model.setValue("/root/temp/receivedata/srchcnts", ipt_abnrdrugcdnm.currentText);
  654. model.setValue("/root/temp/receivedata/drugkind","");
  655. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  656. var drugcd = model.getValue("/root/main/cond/abnrdrugcd");
  657. var drugnm = "";
  658. if(drugcd != ""){
  659. model.removenode("/root/send/calcscorcd");
  660. model.makeValue("/root/send/calcscorcd", drugcd);
  661. submit("TRMNR07506");
  662. drugnm = model.getValue("/root/hidden/mech/hngnm");
  663. if(drugnm != ""){
  664. model.setValue("/root/main/cond/abnrdrugcdnm", drugnm);
  665. }else{
  666. messageBox("약품 유효기간이 지났습니다.","E999");
  667. }
  668. }
  669. model.resetInstanceNode("/root/temp/receivedata");
  670. model.refresh();
  671. }
  672. ]]>
  673. </script>
  674. </input>
  675. <select id="chk_chkprcperr" ref="/root/main/cond/chkprcperr" overflow="visible" appearance="full" rows="6" sep="▦" vcellspacing="2" style="left:820px; top:60px; width:100px; height:20px; border-style:none; ">
  676. <choices>
  677. <itemset nodeset="/root/temper/M0643list">
  678. <label ref="cdnm"/>
  679. <value ref="cdid"/>
  680. </itemset>
  681. </choices>
  682. <script type="javascript" ev:event="xforms-value-changed">
  683. <![CDATA[
  684. if( chkdd == "Y"){
  685. SetVisible("tar_prcperretccnts1", "/root/main/cond/chkprcperr", "20");
  686. }else{
  687. SetVisible("tar_prcperretccnts", "/root/main/cond/chkprcperr", "07");
  688. }
  689. ]]>
  690. </script>
  691. </select>
  692. <caption id="cap_chkprcperr" class="cell_2" style="left:820px; top:35px; width:70px; height:20px; vertical-align:middle; ">처방오류</caption>
  693. <select id="chk_chkprcpdrugerr" ref="/root/main/cond/chkprcpdrugerr" overflow="visible" appearance="full" cellspacing="30" rows="3" sep="▦" vcellspacing="2" style="left:1025px; top:60px; width:100px; height:20px; border-style:none; ">
  694. <choices>
  695. <itemset nodeset="/root/init/medidata/prcpdrugerr">
  696. <label ref="prcpdrugerr/label"/>
  697. <value ref="prcpdrugerr/value"/>
  698. </itemset>
  699. </choices>
  700. <script type="javascript" ev:event="xforms-value-changed">
  701. <![CDATA[
  702. SetVisible("tar_prcpdrugerretccnts", "/root/main/cond/chkprcpdrugerr", "07");
  703. ]]>
  704. </script>
  705. </select>
  706. <caption id="cap_chk_chkprcpdrugerr" class="cell_2" style="left:1025px; top:35px; width:70px; height:20px; vertical-align:middle; ">조제오류</caption>
  707. <select id="chk_chkprcpprcs" ref="/root/main/cond/chkprcpprcs" overflow="visible" appearance="full" cellspacing="15" cols="3" direction="acrossdown" rows="6" sep="▦" vcellspacing="5" style="left:12px; top:60px; width:100px; height:20px; border-style:none; ">
  708. <choices>
  709. <itemset nodeset="/root/init/medidata/prcpprcs">
  710. <label ref="prcpprcs/label"/>
  711. <value ref="prcpprcs/value"/>
  712. </itemset>
  713. </choices>
  714. <script type="javascript" ev:event="xforms-value-changed">
  715. <![CDATA[
  716. SetVisible("tar_prcpprcsetccnts", "/root/main/cond/chkprcpprcs", "10");
  717. ]]>
  718. </script>
  719. </select>
  720. <caption id="cap_chkprcpprcs" class="cell_2" style="left:7px; top:35px; width:112px; height:20px; vertical-align:middle; ">처방받는 과정오류</caption>
  721. <select id="chk_chkmedierr" ref="/root/main/cond/chkmedierr" overflow="visible" appearance="full" cellspacing="20" cols="*" direction="acrossdown" rows="5" sep="▦" vcellspacing="2" style="left:12px; top:198px; width:100px; height:20px; border-style:none; ">
  722. <choices>
  723. <itemset nodeset="/root/init/medidata/medierr">
  724. <label ref="medierr/label"/>
  725. <value ref="medierr/value"/>
  726. </itemset>
  727. </choices>
  728. <script type="javascript" ev:event="xforms-value-changed">
  729. <![CDATA[
  730. SetVisible("tar_medierretccnts", "/root/main/cond/chkmedierr", "14");
  731. ]]>
  732. </script>
  733. </select>
  734. <caption id="cap_chkmedierr" class="cell_2" style="left:7px; top:173px; width:84px; height:20px; vertical-align:middle; ">투약과정오류</caption>
  735. <select id="chk_chkmediseffc" ref="/root/main/cond/chkmediseffc" overflow="visible" appearance="full" cellspacing="30" cols="3" direction="acrossdown" rows="*" sep="▦" vcellspacing="7" style="left:436px; top:54px; width:100px; height:20px; border-style:none; ">
  736. <choices>
  737. <itemset nodeset="/root/init/medidata/mediseffc">
  738. <label ref="mediseffc/label"/>
  739. <value ref="mediseffc/value"/>
  740. </itemset>
  741. </choices>
  742. <script type="javascript" ev:event="xforms-value-changed">
  743. <![CDATA[
  744. SetVisible("tar_medierrseffcetccnts", "/root/main/cond/chkmediseffc", "28");
  745. ]]>
  746. </script>
  747. </select>
  748. <caption id="cap_chkmediseffc" class="cell_2" style="left:431px; top:35px; width:140px; height:20px; vertical-align:middle; ">투약오류로 인한 부작용</caption>
  749. <caption id="cap_chkarbitrationcnts" class="cell_2" style="left:9px; top:315px; width:104px; height:20px; vertical-align:middle; ">즉각적 중재 내용</caption>
  750. <textarea id="tar_medierrseffcetccnts" ref="/root/main/cond/medierrseffcetccnts" visibility="hidden" maxlength="50" style="left:486px; top:259px; width:320px; height:45px; "/>
  751. <input id="ipt_dvol" ref="/root/main/cond/medidrugvol" class="input_default" navindex="3" visibility="visible" maxlength="12" style="left:467px; top:1px; width:80px; height:19px; "/>
  752. <input id="ipt_avol" ref="/root/main/cond/abnrdrugvol" class="input_default" navindex="6" visibility="visible" maxlength="12" style="left:1052px; top:1px; width:80px; height:19px; "/>
  753. <textarea id="tar_prcperretccnts" ref="/root/main/cond/prcperretccnts" visibility="hidden" maxlength="50" appearance="textarea" style="left:820px; top:192px; width:190px; height:95px; "/>
  754. </group>
  755. </xhtml:body>
  756. </xhtml:html>