SMMQR00100_안전사고통합보고.xrw 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027
  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>안전사고 통합보고</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <init>
  10. <trgtmanflag>
  11. </trgtmanflag>
  12. <lrg>
  13. </lrg>
  14. <serdiaggrde>
  15. </serdiaggrde>
  16. <prgnoacdrslt>
  17. <items>
  18. <value>01</value>
  19. <label>환자의 신체적 손실</label>
  20. </items>
  21. <items>
  22. <value>02</value>
  23. <label>환자의 경제적 손실</label>
  24. </items>
  25. <items>
  26. <value>03</value>
  27. <label>병원의 경제적 손실</label>
  28. </items>
  29. <items>
  30. <value>04</value>
  31. <label>업무의 지연/추가</label>
  32. </items>
  33. <items>
  34. <value>05</value>
  35. <label>민원발생/의료분쟁 가능성</label>
  36. </items>
  37. <items>
  38. <value>06</value>
  39. <label>기타</label>
  40. </items>
  41. </prgnoacdrslt>
  42. <imprvactcnts>
  43. <items>
  44. <value>01</value>
  45. <label>업무지침 수정 및 추가</label>
  46. </items>
  47. <items>
  48. <value>02</value>
  49. <label>정기 교육 및 재교육</label>
  50. </items>
  51. <items>
  52. <value>03</value>
  53. <label>업무과정 개선</label>
  54. </items>
  55. <items>
  56. <value>04</value>
  57. <label>경고 및 인사상 불이익</label>
  58. </items>
  59. <items>
  60. <value>05</value>
  61. <label>개선계획 없음</label>
  62. </items>
  63. <items>
  64. <value>06</value>
  65. <label>기타</label>
  66. </items>
  67. </imprvactcnts>
  68. <acdrslt>
  69. <items>
  70. <value>01</value>
  71. <label>환자의 신체적 손실</label>
  72. </items>
  73. <items>
  74. <value>02</value>
  75. <label>의료분쟁(소송)</label>
  76. </items>
  77. <items>
  78. <value>03</value>
  79. <label>보호자의 소란 및 점거농성</label>
  80. </items>
  81. <items>
  82. <value>04</value>
  83. <label>대중매체 기사화</label>
  84. </items>
  85. <items>
  86. <value>05</value>
  87. <label>진료 지연 및 중단</label>
  88. </items>
  89. </acdrslt>
  90. <rlstyn>
  91. </rlstyn>
  92. <prcsyn>
  93. </prcsyn>
  94. <mdl/>
  95. <trgsex/>
  96. <trgtorddept/>
  97. <trgtatdoct/>
  98. <wardcd>
  99. <cd/>
  100. <nm/>
  101. <of/>
  102. </wardcd>
  103. <roomcd>
  104. <cd/>
  105. <nm/>
  106. <wd/>
  107. <gr/>
  108. <ty/>
  109. <sex/>
  110. </roomcd>
  111. <hardcd/>
  112. </init>
  113. <main>
  114. <condition>
  115. <reptid/>
  116. <reptnm/>
  117. <reptjobkind/>
  118. <reptjobkindtext/>
  119. <reptdutdept/>
  120. <reptdutdepttext/>
  121. <reptposdeptcd/>
  122. <reptcntctel/>
  123. <reptdutyearno/>
  124. <trgtmanflag/>
  125. <etctrgtmanflag/>
  126. <trgtrelemp/>
  127. <trgtrrgstno1/>
  128. <trgtrrgstno2/>
  129. <trgtnm/>
  130. <trgtsex/>
  131. <trgtsextext/>
  132. <trgtage/>
  133. <trgtcntctel/>
  134. <trgtid/>
  135. <trgtroom/>
  136. <trgtorddept/>
  137. <trgtatdoct/>
  138. <trgtdiagcd/>
  139. <trgtdiagcdnm/>
  140. <acptno/>
  141. <genrdd/>
  142. <genrtmmnt/>
  143. <genrthh/>
  144. <genrtmi/>
  145. <discvdd/>
  146. <discvtmmnt/>
  147. <discvthh/>
  148. <discvtmi/>
  149. <serdiaggrde/>
  150. <lrg/>
  151. <mdl/>
  152. <prgnoacdcnts/>
  153. <prgnoacdrsltcnts/>
  154. <imprvactetccnts/>
  155. <imprvactcnts/>
  156. <rsltyn/>
  157. <trsmyn/>
  158. <reptdd/>
  159. <repttmmnt/>
  160. <total/>
  161. <detlcnts/>
  162. <detlcnts_how/>
  163. <detlcnts_why/>
  164. <erracdyn/>
  165. <trgtwardcd/>
  166. <doctorcallyn/>
  167. <doctorcalldt/>
  168. <mediationyn/>
  169. <mediationdt/>
  170. <daychk/>
  171. <inwritingyn/>
  172. </condition>
  173. <chkcond>
  174. <chkprgnoacdrslt/>
  175. <chkimprvact/>
  176. </chkcond>
  177. <patinfo>
  178. <patinfolist/>
  179. </patinfo>
  180. <reduct>
  181. <reductlist>
  182. <acptno/>
  183. <reductdd/>
  184. <reductamt/>
  185. </reductlist>
  186. </reduct>
  187. <wardcd>
  188. <cd/>
  189. <nm/>
  190. <of/>
  191. </wardcd>
  192. <roomcd>
  193. <cd/>
  194. <nm/>
  195. <wd/>
  196. <gr/>
  197. <ty/>
  198. <sex/>
  199. </roomcd>
  200. <wardlist/>
  201. </main>
  202. <tmp>
  203. <trgtinfo/>
  204. <cond/>
  205. <userinfo/>
  206. <acptno/>
  207. <reptinfo/>
  208. <wardcd>
  209. <cd/>
  210. <nm/>
  211. <of/>
  212. </wardcd>
  213. <roomcd>
  214. <cd/>
  215. <nm/>
  216. <wd/>
  217. <gr/>
  218. <ty/>
  219. <sex/>
  220. </roomcd>
  221. <btn_value/>
  222. <trgtwardcd/>
  223. <initparam/>
  224. </tmp>
  225. <send>
  226. <cond>
  227. <recinfo/>
  228. <detlinfo/>
  229. </cond>
  230. <trgtman>
  231. <trgtid/>
  232. <trgtmanflag/>
  233. </trgtman>
  234. <acptno/>
  235. <reqdata/>
  236. <report>
  237. <recinfo/>
  238. <detlinfo/>
  239. <reductlist/>
  240. </report>
  241. <data3>
  242. <sess_posinstcd/>
  243. <ioflag/>
  244. </data3>
  245. <daychk/>
  246. <patinfo>
  247. <pid/>
  248. <orddd/>
  249. <cretno/>
  250. <ordtype/>
  251. <oprsrvno/>
  252. </patinfo>
  253. </send>
  254. <hidden>
  255. <rsltyn>N</rsltyn>
  256. <mycode/>
  257. <building/>
  258. <wardcd/>
  259. <roomcd/>
  260. </hidden>
  261. <temper>
  262. <daychk>
  263. <daychk/>
  264. </daychk>
  265. </temper>
  266. </root>
  267. </instance>
  268. <script type="javascript" ev:event="xforms-ready">
  269. <![CDATA[
  270. fInitialize();
  271. fGetHardCDList("N", 5595, 0 , "/root/init/hardcd");
  272. var cnt = getNodesetCnt(model, "/root/init/hardcd/hardcd");
  273. var adminchk = "";
  274. for(var i=1; i<=cnt; i++){
  275. var userid=model.getValue("/root/init/hardcd/hardcd[" + i + "]/hardcd");
  276. if(getUserInfo("userid")==userid){
  277. adminchk=true;
  278. break;
  279. }
  280. }
  281. if( adminchk == true){ //hardcd 5595일시 서면보고가 보이도록 추가.
  282. chk_inwriting.visible = true;
  283. }else{
  284. chk_inwriting.visible = false;
  285. }
  286. ]]>
  287. </script>
  288. <submission id="TXMQR00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/tmp"/>
  289. <submission id="TRMQR00100" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/tmp"/>
  290. <submission id="TRMQR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/trgtman" resultref="/root/tmp"/>
  291. <submission id="TRMQR00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acptno" resultref="/root/tmp/reptinfo"/>
  292. <submission id="TRMQR00104" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/serdiaggrde"/>
  293. <submission id="TRMQR00105" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/temper"/>
  294. <submission id="TRMQR00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/patinfo" resultref="/root/tmp"/>
  295. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  296. <submission id="TXMQR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/tmp"/>
  297. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  298. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  299. <submission id="TRMQR001011" method="post" ref="/root/send/acptno" resultref="/root/tmp/reptinfo"/>
  300. <submission id="TRMQR03100" method="post" ref="/root/send/data3" resultref="/root/init"/>
  301. </model>
  302. <script type="javascript" src="../../../emr/qiweb/js/SMMQR00000.js"/>
  303. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  304. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  305. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  306. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  307. <script type="javascript" src="../../../emr/qiweb/js/SMMQR00100.js"/>
  308. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  309. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  310. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  311. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  312. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  313. <script type="javascript" src="../../../emr/medirecweb/js/MMRCommon.js"/>
  314. </xhtml:head>
  315. <xhtml:body scroll="autohscroll" pagewidth="1210" pageheight="830" guideline="1,720;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  316. <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
  317. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">안전사고 통합보고</caption>
  318. </group>
  319. <group id="group5" scroll="auto" style="left:0px; top:20px; width:1190px; height:790px; ">
  320. <group id="grp_nonpatInfo" style="left:452px; top:66px; width:725px; height:25px; ">
  321. <output id="output7" style="left:272px; top:1px; width:35px; height:19px; "/>
  322. <output id="output8" style="left:272px; top:1px; width:35px; height:19px; "/>
  323. <input id="ipt_trgtnm" ref="/root/main/condition/trgtnm" class="input_default" navindex="34" maxlength="16" appearance="input" style="left:47px; top:2px; width:87px; height:19px; "/>
  324. <select1 id="cmb_trgtsex" ref="/root/main/condition/trgtsex" navindex="35" appearance="minimal" style="left:187px; top:2px; width:56px; height:19px; ">
  325. <choices>
  326. <itemset nodeset="/root/init/trgsex/P0313">
  327. <label ref="cdnm"/>
  328. <value ref="cdid"/>
  329. </itemset>
  330. </choices>
  331. </select1>
  332. <input id="ip_trgtage" ref="/root/main/condition/trgtage" class="input_default" navindex="36" format="999" appearance="input" style="left:292px; top:2px; width:35px; height:19px; "/>
  333. <caption id="caption5" class="cell_1" style="left:135px; top:0px; width:50px; height:23px; vertical-align:middle; ">성별</caption>
  334. <caption id="caption7" class="cell_1" style="left:0px; top:0px; width:45px; height:23px; vertical-align:middle; ">성명</caption>
  335. <caption id="caption8" class="cell_1" style="left:246px; top:0px; width:45px; height:23px; vertical-align:middle; ">연령</caption>
  336. <caption id="caption45" class="cell_1" style="left:329px; top:0px; width:55px; height:23px; vertical-align:middle; ">연락처</caption>
  337. <input id="ipt_trgtcntctel" ref="/root/main/condition/trgtcntctel" class="input_default" style="left:385px; top:2px; width:112px; height:19px; "/>
  338. <caption id="caption41" class="cell_1" style="left:500px; top:1px; width:65px; height:23px; vertical-align:middle; ">관련직원</caption>
  339. <input id="ipt_trgtrelemp" ref="/root/main/condition/trgtrelemp" class="input_default" navindex="3" maxlength="14" style="left:568px; top:3px; width:157px; height:19px; "/>
  340. </group>
  341. <group id="grp_nonpat" style="left:5px; top:92px; width:1179px; height:25px; ">
  342. <line id="line13" class="line_2" style="x1:0px; y1:25px; x2:1177px; y2:25px; "/>
  343. </group>
  344. <group id="grp_reductcase" visibility="hidden" style="left:5px; top:496px; width:1180px; height:219px; ">
  345. <caption id="caption13" class="tit_2" style="left:3px; top:0px; width:148px; height:13px; ">결과보고</caption>
  346. <line id="line3" class="line_1" style="x1:0px; y1:13px; x2:1177px; y2:13px; "/>
  347. <line id="line4" class="line_3" style="x1:2px; y1:212px; x2:1179px; y2:212px; "/>
  348. <line id="line5" class="line_2" style="x1:0px; y1:187px; x2:1177px; y2:187px; "/>
  349. <button id="button4" class="btn2_letter2" navindex="21" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1134px; top:20px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  350. <caption>추가</caption>
  351. <script type="javascript" ev:event="onclick">
  352. <![CDATA[
  353. grd_amt.subtotal("clear", -1, grd_amt.colRef("reductamt"));
  354. var amt = grd_amt.valueMatrix(grd_amt.rows-1 , 3); //마지막라인에 금액이 설정되어있는경우만 추가된다.
  355. if(grd_amt.rows == "1"){
  356. grd_amt.addRow(true, true);
  357. }
  358. else{
  359. if(amt > 0){
  360. grd_amt.addRow(true, true);
  361. }
  362. }
  363. ]]>
  364. </script>
  365. </button>
  366. <button id="button5" class="btn2_letter2" navindex="22" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1134px; top:41px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  367. <caption>
  368. <![CDATA[삭제]]>
  369. </caption>
  370. <script type="javascript" ev:event="DOMActivate">
  371. <![CDATA[
  372. grd_amt.deleteItem(grd_amt.row);
  373. grd_amt.subtotal("clear", -1, grd_amt.colRef("reductamt"));
  374. grd_amt.subtotal("sum", -1, grd_amt.colRef("reductamt"),"", "", 2, "총 계");
  375. ]]>
  376. </script>
  377. </button>
  378. <line id="line9" class="line_2" style="x1:0px; y1:138px; x2:857px; y2:138px; "/>
  379. <datagrid id="grd_amt" nodeset="/root/main/reduct/reductlist" caption="acptno^날짜^금액" colsep="^" colwidth="0, 114, 115" defaultrows="0" frozenrows="1" mergecellsfixedrows="byrestriccol" rowheader="seq" rowsep="|" subtotalposition="above" navindex="20" style="left:862px; top:20px; width:271px; height:165px; ">
  380. <col/>
  381. <col ref="reductdd" type="inputdate"/>
  382. <col ref="reductamt" type="input" format="#,###" maxlength="15"/>
  383. <script type="javascript" ev:event="xforms-value-changed">
  384. <![CDATA[
  385. if(grd_amt.col == "3"){
  386. grd_amt.subtotal("clear", -1, grd_amt.colRef("reductamt"));
  387. grd_amt.subtotal("sum", -1, grd_amt.colRef("reductamt"),"", "", 2, "총 계");
  388. }
  389. var data = model.getvalue("/root/main/reduct/reductlist["+ grd_amt.row +"]/reductdd");
  390. if(grd_amt.col == "2"){
  391. var findrow = grd_amt.findrow(data, 1, 2);
  392. if(findrow != grd_amt.row)
  393. {
  394. if(findrow != -1){
  395. var rtnval = messageBox("감면날짜가 ","E006");
  396. model.setValue("/root/main/reduct/reductlist["+ grd_amt.row +"]/reductdd", "");
  397. }
  398. }
  399. }
  400. ]]>
  401. </script>
  402. </datagrid>
  403. <select1 id="cmb_prcsstat" ref="/root/main/condition/rsltyn" class="combo_essential" appearance="minimal" style="left:125px; top:190px; width:187px; height:19px; ">
  404. <choices>
  405. <itemset nodeset="/root/init/prcsyn/M0449">
  406. <label ref="cdnm"/>
  407. <value ref="cdid"/>
  408. </itemset>
  409. </choices>
  410. </select1>
  411. <caption id="cap_prcsstat" class="cell_1" style="left:1px; top:189px; width:120px; height:23px; vertical-align:middle; ">처리상태</caption>
  412. <caption id="cap_prgnoacdrslt2" class="cell_1" style="left:0px; top:18px; width:120px; height:121px; vertical-align:middle; ">예측되는 사고 결과</caption>
  413. <select id="chk_prgnoacdrslt2" ref="/root/main/chkcond/chkprgnoacdrslt" disabled="false" navindex="19" overflow="visible" appearance="full" cellspacing="5" cols="1" direction="downacross" rows="*" sep="▦" vcellspacing="8" style="left:125px; top:20px; width:100px; height:20px; border-style:none; ">
  414. <choices>
  415. <itemset nodeset="/root/init/acdrslt/items">
  416. <label ref="label"/>
  417. <value ref="value"/>
  418. </itemset>
  419. </choices>
  420. </select>
  421. <textarea id="tar_prgnoacdrsltcnts2" ref="/root/main/condition/prgnoacdrsltcnts" maxlength="50" style="left:125px; top:141px; width:735px; height:44px; "/>
  422. <caption id="cap_prgnoacdrsltcnts2" class="cell_1" style="left:0px; top:140px; width:120px; height:48px; vertical-align:middle; ">
  423. <![CDATA[예측되는 사고 결과
  424. 상세내용]]>
  425. </caption>
  426. </group>
  427. <group id="grp_nonreductcase" style="left:5px; top:592px; width:1180px; height:123px; ">
  428. <line id="line6" class="line_2" style="x1:0px; y1:96px; x2:1172px; y2:98px; "/>
  429. <caption id="caption70" class="tit_2" style="left:3px; top:3px; width:148px; height:13px; ">결과보고</caption>
  430. <line id="line25" class="line_1" style="x1:0px; y1:18px; x2:1177px; y2:18px; "/>
  431. <line id="line26" class="line_3" style="x1:0px; y1:122px; x2:1172px; y2:122px; "/>
  432. <select id="chk_prgnoacdrslt" ref="/root/main/chkcond/chkprgnoacdrslt" disabled="false" navindex="23" overflow="visible" appearance="full" cellspacing="10" cols="*" direction="downacross" rows="2" sep="▦" vcellspacing="0" style="left:125px; top:25px; width:100px; height:20px; border-style:none; ">
  433. <choices>
  434. <itemset nodeset="/root/init/prgnoacdrslt/items">
  435. <label ref="label"/>
  436. <value ref="value"/>
  437. </itemset>
  438. </choices>
  439. <script type="javascript" ev:event="xforms-value-changed">
  440. <![CDATA[
  441. SetVisible("tar_prgnoacdcnts", "/root/main/chkcond/chkprgnoacdrslt", "06");
  442. ]]>
  443. </script>
  444. </select>
  445. <textarea id="tar_imprvactcnts" ref="/root/main/condition/imprvactcnts" navindex="28" maxlength="50" style="left:853px; top:63px; width:323px; height:32px; "/>
  446. <select1 id="cmb_rsltyn" ref="/root/main/condition/rsltyn" class="input_essential" navindex="29" appearance="minimal" style="left:123px; top:100px; width:187px; height:19px; ">
  447. <choices>
  448. <itemset nodeset="/root/init/rlstyn/M0448">
  449. <label ref="cdnm"/>
  450. <value ref="cdid"/>
  451. </itemset>
  452. </choices>
  453. </select1>
  454. <line id="line2" class="line_2" style="x1:0px; y1:60px; x2:1177px; y2:60px; "/>
  455. <caption id="caption12" class="cell_1" style="left:730px; top:62px; width:120px; height:36px; vertical-align:middle; ">
  456. <![CDATA[개선활동 내용
  457. 상세내용]]>
  458. </caption>
  459. <textarea id="tar_prgnoacdrsltcnts" ref="/root/main/condition/prgnoacdrsltcnts" navindex="25" maxlength="50" style="left:853px; top:25px; width:323px; height:32px; "/>
  460. <textarea id="tar_imprvactetccnts" ref="/root/main/condition/imprvactetccnts" navindex="27" visibility="hidden" maxlength="50" style="left:500px; top:63px; width:225px; height:32px; "/>
  461. <caption id="cap_prgnoacdrslt" class="cell_1" style="left:0px; top:23px; width:120px; height:38px; vertical-align:middle; ">
  462. <![CDATA[예측되는
  463. 사고 결과]]>
  464. </caption>
  465. <select id="chk_imprvactcnts" ref="/root/main/chkcond/chkimprvact" navindex="26" overflow="visible" appearance="full" cellspacing="5" cols="*" rows="2" sep="▦" vcellspacing="0" style="left:125px; top:64px; width:100px; height:20px; border-style:none; ">
  466. <choices>
  467. <itemset nodeset="/root/init/imprvactcnts/items">
  468. <label ref="label"/>
  469. <value ref="value"/>
  470. </itemset>
  471. </choices>
  472. <script type="javascript" ev:event="xforms-value-changed">
  473. <![CDATA[
  474. SetVisible("tar_imprvactetccnts", "/root/main/chkcond/chkimprvact", "06");
  475. ]]>
  476. </script>
  477. </select>
  478. <caption id="cap_imprvactcnts" class="cell_1" style="left:0px; top:62px; width:120px; height:36px; vertical-align:middle; ">
  479. <![CDATA[개선활동
  480. 내용]]>
  481. </caption>
  482. <caption id="cap_rsltyn" class="cell_1" style="left:0px; top:99px; width:120px; height:23px; vertical-align:middle; ">종결여부</caption>
  483. <caption id="cap_prgnoacdrsltcnts" class="cell_1" style="left:730px; top:24px; width:120px; height:36px; vertical-align:middle; ">
  484. <![CDATA[예측되는 사고 결과
  485. 상세내용]]>
  486. </caption>
  487. <textarea id="tar_prgnoacdcnts" ref="/root/main/condition/prgnoacdcnts" navindex="24" visibility="hidden" maxlength="50" style="left:560px; top:25px; width:165px; height:32px; "/>
  488. <select id="chk_inwriting" ref="/root/main/condition/inwritingyn" visibility="hidden" overflow="visible" appearance="full" style="left:800px; top:101px; width:75px; height:17px; font-weight:bold; background-color:#cc99ff; border-style:none; ">
  489. <choices>
  490. <item>
  491. <label>서면보고</label>
  492. <value>Y</value>
  493. </item>
  494. </choices>
  495. </select>
  496. </group>
  497. <line id="line8" class="line_2" style="x1:5px; y1:161px; x2:1182px; y2:161px; "/>
  498. <caption id="caption42" class="tit_2" style="left:10px; top:47px; width:148px; height:13px; ">사고 대상자 정보등록</caption>
  499. <line id="line16" class="line_1" style="x1:5px; y1:62px; x2:1182px; y2:62px; "/>
  500. <caption id="caption51" class="tit_2" style="left:10px; top:118px; width:148px; height:13px; vertical-align:top; ">보고사항</caption>
  501. <caption id="caption52" class="cell_1" style="left:5px; top:138px; width:90px; height:23px; vertical-align:middle; ">접수번호</caption>
  502. <line id="line19" class="line_1" style="x1:5px; y1:133px; x2:1183px; y2:133px; "/>
  503. <caption id="caption53" class="cell_1" style="left:204px; top:138px; width:83px; height:23px; text-align:center; vertical-align:middle; ">발생일시</caption>
  504. <caption id="caption54" class="cell_1" style="left:496px; top:138px; width:81px; height:23px; text-align:center; vertical-align:middle; ">발견일시</caption>
  505. <caption id="caption55" class="cell_1" style="left:5px; top:163px; width:90px; height:23px; vertical-align:middle; ">문제의 종류</caption>
  506. <line id="line20" class="line_2" style="x1:5px; y1:185px; x2:1182px; y2:185px; "/>
  507. <caption id="caption62" class="cell_1" style="left:5px; top:19px; width:90px; height:23px; vertical-align:middle; ">사번</caption>
  508. <caption id="caption63" class="cell_1" style="left:778px; top:19px; width:90px; height:23px; vertical-align:middle; ">연락처</caption>
  509. <caption id="caption64" class="cell_1" style="left:1028px; top:19px; width:80px; height:23px; vertical-align:middle; ">근무년수</caption>
  510. <caption id="caption65" class="tit_2" style="left:10px; top:0px; width:144px; height:13px; ">보고자 정보등록</caption>
  511. <line id="line23" class="line_1" style="x1:5px; y1:15px; x2:1182px; y2:15px; "/>
  512. <caption id="caption66" class="cell_1" style="left:363px; top:19px; width:90px; height:23px; vertical-align:middle; ">직종</caption>
  513. <line id="line24" class="line_3" style="x1:5px; y1:42px; x2:1182px; y2:42px; "/>
  514. <caption id="caption67" class="cell_1" style="left:183px; top:19px; width:90px; height:23px; vertical-align:middle; ">성명</caption>
  515. <caption id="caption68" class="cell_1" style="left:560px; top:19px; width:90px; height:23px; vertical-align:middle; ">근무부서</caption>
  516. <button id="button1" class="btn6_letter2" navindex="30" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:890px; top:690px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
  517. <caption>출력</caption>
  518. <script type="javascript" ev:event="DOMActivate">
  519. <![CDATA[
  520. SetRepDetlInfo();
  521. ]]>
  522. </script>
  523. </button>
  524. <button id="button2" class="btn4_letter5" navindex="33" disable.background-image="../../../com/commonweb/images/dis_btn4_letter5.gif" style="left:1085px; top:690px; width:92px; height:22px; background-image:../../../com/commonweb/images/btn4_letter5.gif; ">
  525. <caption>QI실 전송</caption>
  526. <script type="javascript" ev:event="DOMActivate">
  527. <![CDATA[
  528. var status = "";
  529. var adminchk=false;
  530. var cnt = getNodesetCnt(model, "/root/init/hardcd/hardcd");
  531. for(var i=1; i<=cnt; i++){
  532. var trgtcd=model.getValue("/root/init/hardcd/hardcd[" + i + "]/hardcd");
  533. if(getUserInfo("userid")==trgtcd){
  534. adminchk=true;
  535. break;
  536. }
  537. }
  538. status = model.getValue("/root/temp/status");
  539. if( status == "-" && adminchk==true ){
  540. messageBox("데이터 수정 후 저장만 하시면 됩니다.","E");
  541. return;
  542. }
  543. var genrthh = model.getValue("/root/main/condition/genrthh");
  544. var genrtmi = model.getValue("/root/main/condition/genrtmi");
  545. model.setValue("/root/main/condition/genrtmmnt" , genrthh+genrtmi);
  546. var discvthh = model.getValue("/root/main/condition/discvthh");
  547. var discvtmi = model.getValue("/root/main/condition/discvtmi");
  548. model.setValue("/root/main/condition/discvtmmnt", discvthh + discvtmi);
  549. var reptid = model.getValue("/root/main/condition/reptid");
  550. if(getUserInfo("userid") != reptid && reptid != "" ){
  551. messageBox("본인 외 전송불가합니다.","E");
  552. return;
  553. }
  554. var rtnval = messageBox("QI팀에 전송","S001");
  555. var lrg = model.getValue("/root/main/condition/lrg");
  556. if(rtnval == 6){ //예
  557. if(model.getValue("/root/main/condition/trsmyn") == "Y"){ //이미 전송이 된경우
  558. if(lrg == "03"){ //감면사례인경우 처리상태(종결여부)가 04번인경우가 종결이다
  559. if(model.getValue("/root/hidden/rsltyn") == "04"){ //이미 종결되었을경우
  560. messageBox("재전송 ","E001");
  561. return;
  562. }
  563. else{
  564. if(model.getValue("/root/main/condition/rsltyn") =="0"){ //현재 종결되었을 경우
  565. model.setValue("/root/main/condition/trsmyn", "Y");
  566. if(!fSetRlstYN()){
  567. return;
  568. }
  569. }
  570. else{ //현재 종결안됨, 종결상태 그대로
  571. if(model.getValue("/root/main/condition/rsltyn") == "04"){
  572. model.setValue("/root/hidden/rsltyn" , "04");
  573. }
  574. if(!fSetRlstYN()){
  575. return;
  576. }
  577. }
  578. }
  579. }
  580. else{ //감면사례가 아닌경우
  581. if(model.getValue("/root/hidden/rsltyn") == "03"){ //이미 종결되었을경우
  582. messageBox("재전송 ","E001");
  583. return;
  584. }
  585. else{
  586. if(model.getValue("/root/main/condition/rsltyn") =="03"){ //현재 종결되었을 경우
  587. model.setValue("/root/main/condition/trsmyn", "Y");
  588. if(!fSetRlstYN()){
  589. return;
  590. }
  591. }
  592. else{ //현재 종결안됨, 종결상태 그대로
  593. if(model.getValue("/root/main/condition/rsltyn") == "03"){
  594. model.setValue("/root/hidden/rsltyn" , "03");
  595. }
  596. if(!fSetRlstYN()){
  597. return;
  598. }
  599. }
  600. }
  601. }
  602. }
  603. else{ //이전에 전송이 안된경우
  604. if(!fCheck()){
  605. return;
  606. }
  607. model.setValue("/root/main/condition/trsmyn", "Y");
  608. if(lrg == "03"){ //감면사례인경우 처리상태(종결여부)가 04번인경우가 종결이다
  609. if(model.getValue("/root/main/condition/rsltyn") == "04"){
  610. model.setValue("/root/hidden/rsltyn" , "04");
  611. }
  612. }else{
  613. if(model.getValue("/root/main/condition/rsltyn") == "03"){
  614. model.setValue("/root/hidden/rsltyn" , "03");
  615. }
  616. }
  617. model.makeValue("/root/temp/status", "20");
  618. if(!fSave()){
  619. return;
  620. }
  621. }
  622. messageBox("QI팀으로 전송","I002");
  623. }else{
  624. messageBox("QI팀으로 전송하시기 바랍니다","I");
  625. }
  626. ]]>
  627. </script>
  628. </button>
  629. <button id="button3" class="btn4_letter2" navindex="32" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1025px; top:690px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  630. <caption>저장</caption>
  631. <script type="javascript" ev:event="DOMActivate">
  632. <![CDATA[
  633. //var value = child.javascript.getParameter("mycode");
  634. var genrthh = model.getValue("/root/main/condition/genrthh");
  635. var genrtmi = model.getValue("/root/main/condition/genrtmi");
  636. model.setValue("/root/main/condition/genrtmmnt" , genrthh+genrtmi);
  637. var discvthh = model.getValue("/root/main/condition/discvthh");
  638. var discvtmi = model.getValue("/root/main/condition/discvtmi");
  639. model.setValue("/root/main/condition/discvtmmnt", discvthh + discvtmi);
  640. if(!fCheck()){
  641. return;
  642. }
  643. var rtnval = messageBox("","Q002");
  644. var reptid = model.getValue("/root/main/condition/reptid");
  645. var anonyyn = "";
  646. anonyyn = model.getValue("/root/tmp/reptinfo/recinfo/anonyyn");
  647. if(rtnval == 6){ //예
  648. if(model.getValue("/root/main/condition/trsmyn") == "Y"){ //이미 전송된 경우
  649. var adminchk=false;
  650. var cnt = getNodesetCnt(model, "/root/init/hardcd/hardcd");
  651. for(var i=1; i<=cnt; i++){
  652. var trgtcd=model.getValue("/root/init/hardcd/hardcd[" + i + "]/hardcd");
  653. if(getUserInfo("userid")==trgtcd){
  654. adminchk=true;
  655. break;
  656. }
  657. }
  658. if( adminchk!=true ){
  659. messageBox("재전송 ","E001");
  660. return;
  661. }else{ //qi팀일 경우 수정가능하도록 (데이터만 수정, 상태나 종결여부 반영x)
  662. model.makeValue("/root/temp/status", "-");
  663. if(!fSave()){
  664. return;
  665. }
  666. }
  667. }else{ //신규이거나 수정(수정요청받은건)인경우
  668. if( getUserInfo("userid") == reptid || ( reptid == "" && anonybtn =="Y" ) || (reptid == "" && anonyyn =="Y")){
  669. model.setValue("/root/main/condition/trsmyn", "N");
  670. model.makeValue("/root/temp/status", "10");
  671. if(!fSave()){
  672. return;
  673. }
  674. button2.dispatch("DOMActivate");//qi실 전송
  675. }else{
  676. messageBox("본인 외 수정불가합니다.","E");
  677. }
  678. }
  679. }
  680. else{
  681. return;
  682. }
  683. ]]>
  684. </script>
  685. </button>
  686. <select1 id="rdo_lrg" ref="/root/main/condition/lrg" navindex="17" appearance="full" cellspacing="30" cols="6" rows="1" overflow="visible" style="left:98px; top:165px; width:110px; height:19px; border-style:none; ">
  687. <choices>
  688. <itemset nodeset="/root/init/lrg/M0427">
  689. <label ref="cdnm"/>
  690. <value ref="cdid"/>
  691. </itemset>
  692. </choices>
  693. <script type="javascript" ev:event="xforms-value-changed">
  694. <![CDATA[
  695. var lrg = model.getValue("/root/main/condition/lrg");
  696. model.setValue("/root/main/condition/mdl","");
  697. //2012/07/25 Start
  698. /*
  699. if( lrg == "03"){
  700. chb_sudnacc.visible = false;
  701. chb_sudnacc.disabled = true;
  702. }else{
  703. chb_sudnacc.visible = true;
  704. chb_sudnacc.disabled = false;
  705. }
  706. */
  707. //2012/07/25 End
  708. setLrg(lrg);
  709. model.refresh();
  710. ]]>
  711. </script>
  712. </select1>
  713. <select1 id="rdo_mdl" ref="/root/main/condition/mdl" navindex="18" visibility="hidden" appearance="full" cellspacing="25" cols="8" rows="1" overflow="visible" style="left:502px; top:165px; width:110px; height:19px; border-style:none; ">
  714. <choices>
  715. <itemset nodeset="/root/init/mdl">
  716. <label ref="cdnm"/>
  717. <value ref="cdid"/>
  718. </itemset>
  719. </choices>
  720. <script type="javascript" ev:event="onclick">
  721. <![CDATA[
  722. var lrg = model.getValue("/root/main/condition/lrg");
  723. var mdl = model.getValue("/root/main/condition/mdl");
  724. SetIviewer(lrg, mdl);
  725. ]]>
  726. </script>
  727. </select1>
  728. <caption id="cap_mdl" class="cell_1" visibility="hidden" style="left:408px; top:163px; width:90px; height:23px; vertical-align:middle; ">중분류</caption>
  729. <output id="opt_reptId" ref="/root/main/condition/reptid" class="output_fix" appearance="output" style="left:98px; top:21px; width:84px; height:19px; "/>
  730. <output id="opt_reptNm" ref="/root/main/condition/reptnm" class="output_fix" appearance="output" style="left:275px; top:21px; width:85px; height:19px; "/>
  731. <output id="opt_reptjobkind" ref="/root/main/condition/reptjobkindtext" class="output_fix" appearance="output" style="left:455px; top:21px; width:102px; height:19px; "/>
  732. <output id="opt_reptdutdept" ref="/root/main/condition/reptdutdepttext" class="output_fix" appearance="output" style="left:653px; top:21px; width:123px; height:19px; "/>
  733. <output id="opt_reptcntctel" ref="/root/main/condition/reptcntctel" class="output_fix" appearance="output" style="left:870px; top:21px; width:155px; height:19px; "/>
  734. <select1 id="cmb_trgtmanflag" ref="/root/main/condition/trgtmanflag" class="combo_essential" navindex="1" appearance="minimal" style="left:98px; top:68px; width:159px; height:18px; ">
  735. <choices>
  736. <itemset nodeset="/root/init/trgtmanflag/M0425">
  737. <label ref="cdnm"/>
  738. <value ref="cdid"/>
  739. </itemset>
  740. </choices>
  741. <script type="javascript" ev:event="xforms-value-changed">
  742. <![CDATA[
  743. var trgtmanflag = model.getValue("/root/main/condition/trgtmanflag");
  744. if(trgtmanflag == "06"){
  745. ipt_etctrgtmanflag.visible = true;
  746. }else{
  747. ipt_etctrgtmanflag.visible = false;
  748. }
  749. model.setValue("/root/main/condition/etctrgtmanflag","");
  750. model.setValue("/root/main/condition/trgtrelemp","");
  751. model.setValue("/root/main/condition/trgtrrgstno1","");
  752. model.setValue("/root/main/condition/trgtrrgstno2","");
  753. model.setValue("/root/main/condition/trgtnm","");
  754. model.setValue("/root/main/condition/trgtsex","");
  755. model.setValue("/root/main/condition/trgtsextext","");
  756. model.setValue("/root/main/condition/trgtage","");
  757. model.setValue("/root/main/condition/trgtcntctel","");
  758. model.setValue("/root/main/condition/trgtid","");
  759. model.setValue("/root/main/condition/trgtroom","");
  760. model.setValue("/root/main/condition/trgtorddept","");
  761. model.setValue("/root/main/condition/trgtatdoct","");
  762. model.setValue("/root/main/condition/trgtdiagcd","");
  763. model.setValue("/root/main/condition/trgtdiagcdnm","");
  764. model.refresh();
  765. setTrgtView();
  766. ]]>
  767. </script>
  768. </select1>
  769. <output id="opt_reptdutyearno" ref="/root/main/condition/reptdutyearno" class="output_fix" appearance="output" style="left:1110px; top:21px; width:70px; height:19px; "/>
  770. <output id="opt_acptno" ref="/root/main/condition/acptno" class="output_fix" appearance="output" style="left:98px; top:139px; width:101px; height:19px; "/>
  771. <input id="ipt_genrdt" ref="/root/main/condition/genrdd" class="combo_essential" navindex="9" inputtype="date" appearance="input" style="left:291px; top:139px; width:95px; height:19px; "/>
  772. <input id="ipt_discvdt" ref="/root/main/condition/discvdd" class="combo_essential" navindex="12" inputtype="date" style="left:580px; top:139px; width:95px; height:19px; "/>
  773. <select1 id="cmb_serdiaggrde" ref="/root/main/condition/serdiaggrde" class="combo_essential" navindex="15" appearance="minimal" style="left:881px; top:139px; width:208px; height:19px; ">
  774. <choices>
  775. <itemset nodeset="/root/init/serdiaggrde/M0426">
  776. <label ref="cdnm"/>
  777. <value ref="cdid"/>
  778. </itemset>
  779. </choices>
  780. <script type="javascript" ev:event="xforms-value-changed">
  781. <![CDATA[
  782. fChangegrade();
  783. ]]>
  784. </script>
  785. </select1>
  786. <input id="ipt_etctrgtmanflag" ref="/root/main/condition/etctrgtmanflag" disabled="true" navindex="2" maxlength="16" appearance="input" style="left:262px; top:68px; width:186px; height:19px; "/>
  787. <iviewer id="iviewer_rept" style="left:5px; top:187px; width:1180px; height:309px; border-style:hidden; "/>
  788. <button id="button9" class="btn4_letter3" navindex="31" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:955px; top:690px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  789. <caption>초기화</caption>
  790. <script type="javascript" ev:event="DOMActivate">
  791. <![CDATA[
  792. if(opener.javascript.getParameter("SMMQR00100_PARAM") == ""){
  793. window.reload();
  794. }else{
  795. opener.javascript.setParameter("SMMQR00100_PARAM","");
  796. window.reload();
  797. }
  798. ]]>
  799. </script>
  800. </button>
  801. <caption id="cap_trgtmanflag" class="cell_1" style="left:5px; top:67px; width:90px; height:23px; vertical-align:middle; ">대상자구분</caption>
  802. <caption id="cap_serdiaggrde" class="cell_1" style="left:786px; top:138px; width:89px; height:23px; vertical-align:middle; ">안전사고 단계</caption>
  803. <line id="line1" class="line_2" style="x1:5px; y1:90px; x2:1182px; y2:90px; "/>
  804. <button id="button8" visibility="hidden" style="left:5px; top:720px; width:15px; height:20px; ">
  805. <caption>button8</caption>
  806. <script type="javascript" ev:event="DOMActivate">
  807. <![CDATA[
  808. var hiddenrsltyn = model.getValue("/root/hidden/rsltyn");
  809. var rsltyn = model.getValue("/root/main/condition/rsltyn");
  810. var trsmyn = model.getValue("/root/main/condition/trsmyn");
  811. alert("이전 처리상태 : " + hiddenrsltyn +" ,현재선택된 처리상태 : "+ rsltyn + " , 전송여부 : "+ trsmyn);
  812. ]]>
  813. </script>
  814. </button>
  815. <caption id="caption1" style="left:716px; top:140px; width:15px; height:20px; ">시</caption>
  816. <caption id="caption9" style="left:768px; top:140px; width:15px; height:20px; ">분</caption>
  817. <caption id="caption10" style="left:425px; top:140px; width:15px; height:20px; ">시</caption>
  818. <caption id="caption11" style="left:476px; top:140px; width:15px; height:20px; ">분</caption>
  819. <input id="ipt_genrthh" ref="/root/main/condition/genrthh" class="input_essential" navindex="10" format="hh" showmask="true" validateformat="false" style="left:390px; top:139px; width:31px; height:19px; "/>
  820. <input id="ipt_genrtmi" ref="/root/main/condition/genrtmi" class="input_essential" navindex="11" format="nn" showmask="true" validateformat="false" style="left:441px; top:139px; width:31px; height:19px; "/>
  821. <input id="ipt_discvthh" ref="/root/main/condition/discvthh" class="input_essential" navindex="13" format="hh" showmask="true" validateformat="false" style="left:679px; top:139px; width:31px; height:19px; "/>
  822. <input id="ipt_discvtmi" ref="/root/main/condition/discvtmi" class="input_essential" navindex="14" format="nn" showmask="true" validateformat="false" style="left:733px; top:139px; width:31px; height:19px; "/>
  823. <!--
  824. <select id="chb_sudnacc" ref="/root/main/condition/erracdyn" overflow="visible" appearance="full" style="left:1105px; top:145px; width:100px; height:20px; border-style:none; ">
  825. <choices>
  826. <item>
  827. <label>아차사고</label>
  828. <value>Y</value>
  829. </item>
  830. </choices>
  831. </select>
  832. -->
  833. <button id="btn_anony" class="btn2_letter4" disabled="true" navindex="16" ref="/root/temp/btn_value" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1095px; top:138px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  834. <script type="javascript" ev:event="onclick">
  835. <![CDATA[
  836. fChangeValue();
  837. ]]>
  838. </script>
  839. <caption/>
  840. </button>
  841. <group id="grp_pat" style="left:2px; top:91px; width:1179px; height:25px; ">
  842. <line id="line11" class="line_2" style="x1:3px; y1:21px; x2:1170px; y2:21px; "/>
  843. <line id="line12" class="line_3" style="x1:3px; y1:23px; x2:1170px; y2:23px; "/>
  844. <caption id="caption30" class="cell_1" style="left:3px; top:1px; width:90px; height:23px; vertical-align:middle; ">ID NO.</caption>
  845. <caption id="caption31" class="cell_1" style="left:678px; top:0px; width:80px; height:23px; vertical-align:middle; ">주치의</caption>
  846. <caption id="caption32" class="cell_1" style="left:3px; top:0px; width:90px; height:23px; vertical-align:middle; ">등록번호</caption>
  847. <caption id="caption35" class="cell_1" style="left:450px; top:0px; width:80px; height:23px; vertical-align:middle; ">진료과</caption>
  848. <caption id="caption37" class="cell_1" style="left:848px; top:0px; width:100px; height:23px; vertical-align:middle; ">진단코드</caption>
  849. <caption id="caption40" class="cell_1" style="left:188px; top:0px; width:66px; height:23px; vertical-align:middle; ">병동/병실</caption>
  850. <select1 id="cmb_building" ref="/root/hidden/building" class="combo_default" visibility="hidden" appearance="minimal" style="left:253px; top:1px; width:55px; height:19px; ">
  851. <choices>
  852. <item>
  853. <label>-</label>
  854. <value>-</value>
  855. </item>
  856. <item>
  857. <label>본관</label>
  858. <value>M</value>
  859. </item>
  860. <item>
  861. <label>별관</label>
  862. <value>S</value>
  863. </item>
  864. </choices>
  865. <script type="javascript" ev:event="xforms-select">
  866. <![CDATA[
  867. var sBuilding = model.getValue("/root/hidden/building");
  868. if (sBuilding != null) {
  869. cmb_wardcd.choices.itemset.attribute("nodeset") = "/root/main/wardcd[build = '" + sBuilding + "' ]";
  870. cmb_wardcd.refresh();
  871. }
  872. ]]>
  873. </script>
  874. </select1>
  875. <select1 id="cmb_wardcd" ref="/root/main/condition/trgtwardcd" class="combo_default" navindex="4" appearance="minimal" style="left:258px; top:1px; width:130px; height:19px; ">
  876. <choices>
  877. <itemset nodeset="/root/main/wardlist/dept">
  878. <label ref="depthngnm"/>
  879. <value ref="deptcd"/>
  880. </itemset>
  881. </choices>
  882. <script type="javascript" ev:event="xforms-value-changed">
  883. <![CDATA[
  884. var swardcd = model.getValue("/root/main/condition/trgtwardcd");
  885. if (swardcd == null || swardcd == " " || swardcd == "") {
  886. cmb_roomcd.choices.itemset.attribute("nodeset") = "/root/main/roomcd"
  887. model.resetInstanceNode("/root/main/condition/trgtroom");
  888. cmb_roomcd.refresh();
  889. } else {
  890. cmb_roomcd.choices.itemset.attribute("nodeset") = "/root/main/roomcd[wd = '" + swardcd + "' ]";
  891. model.resetInstanceNode("/root/main/condition/trgtroom");
  892. cmb_roomcd.refresh();
  893. }
  894. ]]>
  895. </script>
  896. </select1>
  897. <select1 id="cmb_roomcd" ref="/root/main/condition/trgtroom" navindex="5" appearance="minimal" editmode="inputsearch" itemcount="30" style="left:390px; top:1px; width:58px; height:19px; ">
  898. <choices>
  899. <itemset nodeset="/root/main/roomcd">
  900. <label ref="nm"/>
  901. <value ref="cd"/>
  902. </itemset>
  903. </choices>
  904. </select1>
  905. <output id="ipt_trgtid" ref="/root/main/condition/trgtid" class="output_fix" appearance="output" style="left:96px; top:1px; width:67px; height:19px; "/>
  906. <button id="button6" class="icon_search" navindex="8" style="left:1155px; top:2px; width:16px; height:16px; ">
  907. <caption/>
  908. <script type="javascript" ev:event="DOMActivate">
  909. <![CDATA[
  910. // modal("../../../emr/prcpmngtweb/xrw/SPMMO03200_진단팝업.xrw", 1, 0, 0, "", "", "");
  911. modal("SPMMO03200.xrw", 1, 0, 0, "", "", "");
  912. model.setValue("/root/main/condition/trgtdiagcd", model.getValue("/root/temp/selectdiaglist/diagcd"));
  913. model.setValue("/root/main/condition/trgtdiagcdnm", model.getValue("/root/temp/selectdiaglist/diagengnm"));
  914. model.refresh();
  915. ]]>
  916. </script>
  917. </button>
  918. <output id="opt_trgtdiagcd" ref="/root/main/condition/trgtdiagcd" class="output_fix" appearance="output" style="left:950px; top:1px; width:78px; height:19px; "/>
  919. <output id="opt_trgtdiagcdnm" ref="/root/main/condition/trgtdiagcdnm" class="output_fix" appearance="output" style="left:1029px; top:1px; width:124px; height:19px; "/>
  920. <button id="button7" class="icon_search" style="left:166px; top:2px; width:16px; height:16px; ">
  921. <caption/>
  922. <script type="javascript" ev:event="DOMActivate">
  923. <![CDATA[
  924. //팝업을 사용하여 환자 기본정보 검색
  925. modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/temp", "/root/send");
  926. model.setValue("/root/main/condition/trgtnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  927. var trgsex = model.getValue("/root/main/patinfo/patinfolist/sex");
  928. model.setValue("/root/main/condition/trgtsex", trgsex);
  929. setTrgtSex(trgsex);
  930. model.setValue("/root/main/condition/trgtage", model.getValue("/root/main/patinfo/patinfolist/age"));
  931. model.setValue("/root/main/condition/trgtid" , model.getValue("/root/main/patinfo/patinfolist/pid"));
  932. //환자 상세정보 검색
  933. model.removenode("/root/tmp/trgtinfo");
  934. model.resetInstanceNode("/root/send/trgtman");
  935. model.setValue("/root/send/trgtman/trgtid" , model.getValue("/root/main/patinfo/patinfolist/pid"));
  936. model.setValue("/root/send/trgtman/trgtmanflag" , model.getValue("/root/main/condition/trgtmanflag"));
  937. submit("TRMQR00101");
  938. //2012/11/14 Start
  939. model.setValue("/root/main/condition/trgtwardcd" , model.getValue("/root/tmp/trgtinfo/trgtwardcd"));
  940. //2012/11/14 End
  941. model.setValue("/root/main/condition/trgtroom" , model.getValue("/root/tmp/trgtinfo/trgtroom"));
  942. var trgtorddept = model.getValue("/root/tmp/trgtinfo/trgtorddept")
  943. model.setValue("/root/main/condition/trgtorddept" , trgtorddept);
  944. if(trgtorddept != ""){
  945. mmbfGetUserComboList("/root/send/reqdata", "/root/init/trgtatdoct", trgtorddept, "0330");
  946. }
  947. model.setValue("/root/main/condition/trgtatdoct" , model.getValue("/root/tmp/trgtinfo/trgtatdoct"));
  948. model.setValue("/root/main/condition/trgtdiagcd" , model.getValue("/root/tmp/trgtinfo/trgtdiagcd"));
  949. model.setValue("/root/main/condition/trgtdiagcdnm" , model.getValue("/root/tmp/trgtinfo/trgtdiagcdnm"));
  950. //진료 및 치료일 경우 iviewer_rept에 Data를 보내준다
  951. var lrg = model.getValue("/root/main/condition/lrg");
  952. var mdl = model.getValue("/root/main/condition/mdl");
  953. if((lrg == "01" && mdl == "01") || lrg == "03"){
  954. iviewer_rept.window.javascript.fSetDr();
  955. }
  956. model.refresh();
  957. ]]>
  958. </script>
  959. </button>
  960. <select1 id="cmb_trgtorddept" ref="/root/main/condition/trgtorddept" class="combo_default" navindex="6" appearance="minimal" editmode="search" style="left:532px; top:2px; width:142px; height:19px; ">
  961. <choices>
  962. <itemset nodeset="/root/init/trgtorddept/dept">
  963. <label ref="depthngnm"/>
  964. <value ref="deptcd"/>
  965. </itemset>
  966. </choices>
  967. <script type="javascript" ev:event="xforms-value-changed">
  968. <![CDATA[
  969. model.removeNodeset("/root/init/trgtatdoct");
  970. model.makeNode("/root/init/trgtatdoct/usercombo");
  971. mmbfGetUserComboList("/root/send/reqdata", "/root/init/trgtatdoct", cmb_trgtorddept.value, "0330");
  972. cmb_trgtatdoct.select(1);
  973. cmb_trgtorddept.refresh();
  974. cmb_trgtatdoct.refresh();
  975. //fReqOutPatList();
  976. ]]>
  977. </script>
  978. </select1>
  979. <select1 id="cmb_trgtatdoct" ref="/root/main/condition/trgtatdoct" class="combo_search" navindex="7" appearance="minimal" style="left:761px; top:1px; width:84px; height:19px; ">
  980. <choices>
  981. <itemset nodeset="/root/init/trgtatdoct/usercombo">
  982. <label ref="usernm"/>
  983. <value ref="userid"/>
  984. </itemset>
  985. </choices>
  986. </select1>
  987. </group>
  988. <group id="grp_patInfo" style="left:450px; top:66px; width:500px; height:25px; ">
  989. <caption id="caption2" class="cell_1" style="left:2px; top:1px; width:80px; height:23px; vertical-align:middle; ">성명</caption>
  990. <caption id="caption3" class="cell_1" style="left:170px; top:1px; width:100px; height:23px; vertical-align:middle; ">성별</caption>
  991. <caption id="caption4" class="cell_1" style="left:340px; top:1px; width:80px; height:23px; vertical-align:middle; ">연령</caption>
  992. <output id="output2" style="left:272px; top:1px; width:35px; height:19px; "/>
  993. <output id="output3" style="left:272px; top:1px; width:35px; height:19px; "/>
  994. <output id="opt_trgtnm" ref="/root/main/condition/trgtnm" class="output_fix" style="left:84px; top:3px; width:84px; height:19px; "/>
  995. <output id="opt_trgtsex" ref="/root/main/condition/trgtsextext" class="output_fix" style="left:272px; top:3px; width:65px; height:19px; "/>
  996. <output id="opt_trgtage" ref="/root/main/condition/trgtage" class="output_fix" style="left:423px; top:3px; width:75px; height:19px; "/>
  997. </group>
  998. </group>
  999. </xhtml:body>
  1000. </xhtml:html>