SMMQR00300_투약.xrw 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847
  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. <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:440px; ">
  364. <select id="chk_chkarbitrationcnts" ref="/root/main/cond/chkarbitrationcnts" overflow="visible" appearance="full" cols="2" sep="▦" style="left:10px; top:342px; width:405px; height:88px; border-style:none; ">
  365. <choices>
  366. <item>
  367. <label>용량변경</label>
  368. <value>02</value>
  369. </item>
  370. <item>
  371. <label>중재를 위한 약물 투여</label>
  372. <value>01</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>05</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:300px; "/>
  407. <shape id="roundrect9" class="roundrect_example" appearance="roundrect" style="left:1020px; top:30px; width:145px; height:300px; "/>
  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:300px; "/>
  411. <shape id="roundrect1" class="roundrect_example" appearance="roundrect" style="left:3px; top:313px; width:420px; height:122px; "/>
  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:267px; top:340px; width:60px; 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:330px; top:340px; width:87px; 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:821px; top:292px; width:190px; height:35px; "/>
  557. <textarea id="tar_prcpdrugerretccnts" ref="/root/main/cond/prcpdrugerretccnts" visibility="hidden" maxlength="50" appearance="textarea" style="left:1025px; top:190px; width:135px; height:130px; "/>
  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:55px; top:395px; width:360px; height:30px; "/>
  561. <textarea id="tar_detlcnts" ref="/root/main/cond/detlcnts" class="input_essential" navindex="5" maxlength="3950" style="left:972px; top:333px; width:193px; height:79px; "/>
  562. <caption id="cap_detlcnts" class="cell_2" style="left:426px; top:332px; width:44px; height:80px; vertical-align:middle; ">
  563. <![CDATA[상세
  564. 내용
  565. 기술]]>
  566. </caption>
  567. <button id="btn_ArbitrationMedi" class="icon_search" visibility="hidden" style="left:247px; top:341px; width:16px; height:16px; ">
  568. <caption/>
  569. <script type="javascript" ev:event="DOMActivate">
  570. <![CDATA[
  571. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/arbitrationdrugcd");
  572. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/arbitrationdrugnm");
  573. model.setValue("/root/temp/receivedata/srchflag", "");
  574. model.setValue("/root/temp/receivedata/srchcnts", "");
  575. model.setValue("/root/temp/receivedata/drugkind","");
  576. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  577. var drugcd = model.getValue("/root/main/cond/arbitrationdrugcd");
  578. var drugnm = "";
  579. if(drugcd != ""){
  580. model.removenode("/root/send/calcscorcd");
  581. model.makeValue("/root/send/calcscorcd", drugcd);
  582. submit("TRMNR07506");
  583. drugnm = model.getValue("/root/hidden/mech/hngnm");
  584. if(drugnm != ""){
  585. model.setValue("/root/main/cond/arbitrationdrugnm", drugnm);
  586. }else{
  587. messageBox("약품 유효기간이 지났습니다.","E999");
  588. }
  589. }
  590. model.refresh();
  591. ]]>
  592. </script>
  593. </button>
  594. <button id="button1" class="icon_search" style="left:1135px; top:2px; width:16px; height:16px; ">
  595. <caption/>
  596. <script type="javascript" ev:event="DOMActivate">
  597. <![CDATA[
  598. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/abnrdrugcd");
  599. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/abnrdrugcdnm");
  600. model.setValue("/root/temp/receivedata/srchflag", "");
  601. model.setValue("/root/temp/receivedata/srchcnts", "");
  602. model.setValue("/root/temp/receivedata/drugkind","");
  603. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  604. var drugcd = model.getValue("/root/main/cond/abnrdrugcd");
  605. var drugnm = "";
  606. if(drugcd != ""){
  607. model.removenode("/root/send/calcscorcd");
  608. model.makeValue("/root/send/calcscorcd", drugcd);
  609. submit("TRMNR07506");
  610. drugnm = model.getValue("/root/hidden/mech/hngnm");
  611. if(drugnm != ""){
  612. model.setValue("/root/main/cond/abnrdrugcdnm", drugnm);
  613. }else{
  614. messageBox("약품 유효기간이 지났습니다.","E999");
  615. }
  616. }
  617. model.resetInstanceNode("/root/temp/receivedata");
  618. model.refresh();
  619. ]]>
  620. </script>
  621. </button>
  622. <caption id="caption2" class="cell_1" style="left:583px; top:0px; width:148px; height:23px; vertical-align:middle; ">잘못 투여한 약품 및 용량</caption>
  623. <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; ">
  624. <script type="javascript" ev:event="onkeypress">
  625. <![CDATA[
  626. if(event.keyCode == "13"){
  627. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/abnrdrugcd");
  628. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/abnrdrugcdnm");
  629. model.setValue("/root/temp/receivedata/srchflag", "2");
  630. model.setValue("/root/temp/receivedata/srchcnts", ipt_abnrdrugcd.currentText);
  631. model.setValue("/root/temp/receivedata/drugkind","");
  632. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  633. var drugcd = model.getValue("/root/main/cond/abnrdrugcd");
  634. var drugnm = "";
  635. if(drugcd != ""){
  636. model.removenode("/root/send/calcscorcd");
  637. model.makeValue("/root/send/calcscorcd", drugcd);
  638. submit("TRMNR07506");
  639. drugnm = model.getValue("/root/hidden/mech/hngnm");
  640. if(drugnm != ""){
  641. model.setValue("/root/main/cond/abnrdrugcdnm", drugnm);
  642. }else{
  643. messageBox("약품 유효기간이 지났습니다.","E999");
  644. }
  645. }
  646. model.resetInstanceNode("/root/temp/receivedata");
  647. model.refresh();
  648. }
  649. ]]>
  650. </script>
  651. </input>
  652. <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; ">
  653. <script type="javascript" ev:event="onkeypress">
  654. <![CDATA[
  655. if(event.keyCode == "13"){
  656. model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/abnrdrugcd");
  657. model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/abnrdrugcdnm");
  658. model.setValue("/root/temp/receivedata/srchflag", "3");
  659. model.setValue("/root/temp/receivedata/srchcnts", ipt_abnrdrugcdnm.currentText);
  660. model.setValue("/root/temp/receivedata/drugkind","");
  661. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  662. var drugcd = model.getValue("/root/main/cond/abnrdrugcd");
  663. var drugnm = "";
  664. if(drugcd != ""){
  665. model.removenode("/root/send/calcscorcd");
  666. model.makeValue("/root/send/calcscorcd", drugcd);
  667. submit("TRMNR07506");
  668. drugnm = model.getValue("/root/hidden/mech/hngnm");
  669. if(drugnm != ""){
  670. model.setValue("/root/main/cond/abnrdrugcdnm", drugnm);
  671. }else{
  672. messageBox("약품 유효기간이 지났습니다.","E999");
  673. }
  674. }
  675. model.resetInstanceNode("/root/temp/receivedata");
  676. model.refresh();
  677. }
  678. ]]>
  679. </script>
  680. </input>
  681. <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; ">
  682. <choices>
  683. <itemset nodeset="/root/temper/M0643list">
  684. <label ref="cdnm"/>
  685. <value ref="cdid"/>
  686. </itemset>
  687. </choices>
  688. <script type="javascript" ev:event="xforms-value-changed">
  689. <![CDATA[
  690. if( chkdd == "Y"){
  691. SetVisible("tar_prcperretccnts1", "/root/main/cond/chkprcperr", "20");
  692. }else{
  693. SetVisible("tar_prcperretccnts", "/root/main/cond/chkprcperr", "07");
  694. }
  695. ]]>
  696. </script>
  697. </select>
  698. <caption id="cap_chkprcperr" class="cell_2" style="left:820px; top:35px; width:70px; height:20px; vertical-align:middle; ">처방오류</caption>
  699. <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; ">
  700. <choices>
  701. <itemset nodeset="/root/init/medidata/prcpdrugerr">
  702. <label ref="prcpdrugerr/label"/>
  703. <value ref="prcpdrugerr/value"/>
  704. </itemset>
  705. </choices>
  706. <script type="javascript" ev:event="xforms-value-changed">
  707. <![CDATA[
  708. SetVisible("tar_prcpdrugerretccnts", "/root/main/cond/chkprcpdrugerr", "07");
  709. ]]>
  710. </script>
  711. </select>
  712. <caption id="cap_chk_chkprcpdrugerr" class="cell_2" style="left:1025px; top:35px; width:70px; height:20px; vertical-align:middle; ">조제오류</caption>
  713. <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; ">
  714. <choices>
  715. <itemset nodeset="/root/init/medidata/prcpprcs">
  716. <label ref="prcpprcs/label"/>
  717. <value ref="prcpprcs/value"/>
  718. </itemset>
  719. </choices>
  720. <script type="javascript" ev:event="xforms-value-changed">
  721. <![CDATA[
  722. SetVisible("tar_prcpprcsetccnts", "/root/main/cond/chkprcpprcs", "10");
  723. ]]>
  724. </script>
  725. </select>
  726. <caption id="cap_chkprcpprcs" class="cell_2" style="left:7px; top:35px; width:112px; height:20px; vertical-align:middle; ">처방받는 과정오류</caption>
  727. <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; ">
  728. <choices>
  729. <itemset nodeset="/root/init/medidata/medierr">
  730. <label ref="medierr/label"/>
  731. <value ref="medierr/value"/>
  732. </itemset>
  733. </choices>
  734. <script type="javascript" ev:event="xforms-value-changed">
  735. <![CDATA[
  736. SetVisible("tar_medierretccnts", "/root/main/cond/chkmedierr", "14");
  737. ]]>
  738. </script>
  739. </select>
  740. <caption id="cap_chkmedierr" class="cell_2" style="left:7px; top:173px; width:84px; height:20px; vertical-align:middle; ">투약과정오류</caption>
  741. <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; ">
  742. <choices>
  743. <itemset nodeset="/root/init/medidata/mediseffc">
  744. <label ref="mediseffc/label"/>
  745. <value ref="mediseffc/value"/>
  746. </itemset>
  747. </choices>
  748. <script type="javascript" ev:event="xforms-value-changed">
  749. <![CDATA[
  750. SetVisible("tar_medierrseffcetccnts", "/root/main/cond/chkmediseffc", "28");
  751. ]]>
  752. </script>
  753. </select>
  754. <caption id="cap_chkmediseffc" class="cell_2" style="left:431px; top:35px; width:140px; height:20px; vertical-align:middle; ">투약오류로 인한 부작용</caption>
  755. <caption id="cap_chkarbitrationcnts" class="cell_2" style="left:9px; top:320px; width:104px; height:20px; vertical-align:middle; ">즉각적 중재 내용</caption>
  756. <textarea id="tar_medierrseffcetccnts" ref="/root/main/cond/medierrseffcetccnts" visibility="hidden" maxlength="50" style="left:486px; top:260px; width:320px; height:65px; "/>
  757. <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; "/>
  758. <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; "/>
  759. <textarea id="tar_detlcnts_why" ref="/root/main/cond/detlcnts_why" class="input_essential" navindex="5" maxlength="3950" style="left:740px; top:332px; width:193px; height:79px; "/>
  760. <textarea id="tar_detlcnts_how" ref="/root/main/cond/detlcnts_how" class="input_essential" navindex="5" maxlength="3950" style="left:508px; top:332px; width:193px; height:79px; "/>
  761. <caption id="caption1" class="cell_1" style="left:471px; top:332px; width:35px; height:80px; ">
  762. <![CDATA[어
  763. 게]]>
  764. </caption>
  765. <caption id="caption3" class="cell_1" style="left:703px; top:332px; width:35px; height:80px; text-align:left; ">왜</caption>
  766. <caption id="caption4" class="cell_1" style="left:935px; top:332px; width:35px; height:80px; ">중재내용</caption>
  767. <group id="grd_time" style="left:426px; top:413px; width:743px; height:27px; ">
  768. <caption id="caption7" class="cell_1" style="left:0px; top:0px; width:150px; height:25px; text-align:center; ">담당의/당직의 호출시간</caption>
  769. <select1 id="chk_doctorcallyn" ref="/root/main/cond/doctorcallyn" appearance="full" cols="2" overflow="visible" style="left:164px; top:4px; width:150px; height:18px; border-style:none; ">
  770. <choices>
  771. <item>
  772. <label>해당없음</label>
  773. <value>N</value>
  774. </item>
  775. <item>
  776. <label/>
  777. <value>Y</value>
  778. </item>
  779. </choices>
  780. <script type="javascript" ev:event="xforms-value-changed">
  781. <![CDATA[
  782. checkedVisibleInput(ipt_doctorcall, "/root/main/cond/doctorcalldt", model.getValue("/root/main/cond/doctorcallyn"));
  783. ]]>
  784. </script>
  785. </select1>
  786. <input id="ipt_doctorcall" ref="/root/main/cond/doctorcalldt" disabled="true" format="yyyy-mm-dd hh:nn" style="left:249px; top:4px; width:114px; height:19px; "/>
  787. <select1 id="chk_mediationyn" ref="/root/main/cond/mediationyn" appearance="full" cols="2" overflow="visible" style="left:517px; top:5px; width:150px; height:18px; border-style:none; ">
  788. <choices>
  789. <item>
  790. <label>해당없음</label>
  791. <value>N</value>
  792. </item>
  793. <item>
  794. <label/>
  795. <value>Y</value>
  796. </item>
  797. </choices>
  798. <script type="javascript" ev:event="xforms-value-changed">
  799. <![CDATA[
  800. checkedVisibleInput(ipt_mediation, "/root/main/cond/mediationdt", model.getValue("/root/main/cond/mediationyn"));
  801. ]]>
  802. </script>
  803. </select1>
  804. <input id="ipt_mediation" ref="/root/main/cond/mediationdt" disabled="true" format="yyyy-mm-dd hh:nn" style="left:601px; top:5px; width:124px; height:19px; "/>
  805. <caption id="caption8" class="cell_1" style="left:373px; top:1px; width:131px; height:25px; text-align:center; ">중재시간</caption>
  806. </group>
  807. <textarea id="tar_prcperretccnts" ref="/root/main/cond/prcperretccnts" visibility="hidden" maxlength="50" appearance="textarea" style="left:820px; top:192px; width:190px; height:95px; "/>
  808. </group>
  809. </xhtml:body>
  810. </xhtml:html>