SMMNE02303_심폐소생술보고서(New).xrw 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180
  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>심폐소생술보고서</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patinfo>
  11. <pid/>
  12. <cardarrgenrdd/>
  13. <cardarrgenrtm/>
  14. <indd/>
  15. <cretno/>
  16. <instcd/>
  17. <selectrow/>
  18. <histno/>
  19. <patnm/>
  20. <grdrage/>
  21. <cntctel/>
  22. <addr/>
  23. <indd1/>
  24. <orddeptcd/>
  25. <medispclid/>
  26. <ininfo/>
  27. <atdoctnm/>
  28. <wardnm/>
  29. <cardarrgenrdt/>
  30. <gender/>
  31. <age/>
  32. <wardcd/>
  33. <roomcd/>
  34. <diagnm/>
  35. <atdoctcd/>
  36. <medispclid/>
  37. <orddeptcd/>
  38. <nursdocflag/>
  39. </patinfo>
  40. <resusinfo>
  41. <resuslist>
  42. <pid/>
  43. <cardarrgenrdd/>
  44. <cardarrgenrtm/>
  45. <cardarrdiscvpsn/>
  46. <cardarrdiscvpsnetc/>
  47. <cardarrgenrplceflag>10</cardarrgenrplceflag>
  48. <cardarrestmdd/>
  49. <cardarrestmtm/>
  50. <cardarrestmflag/>
  51. <resusteamcalldd/>
  52. <resusteamcalltm/>
  53. <resusteamarvdd/>
  54. <resusteamarvtm/>
  55. <resustodd/>
  56. <resustotm/>
  57. <resusendresn/>
  58. <resusendresnetc/>
  59. <cardarrrslt/>
  60. <dschdethdd/>
  61. <dschdethtm/>
  62. <fstrgstrid/>
  63. <fstrgstdt/>
  64. <defibrstartdd/>
  65. <defibrstarttm/>
  66. <defibrjul/>
  67. <defibrtims/>
  68. <defibrjul2/>
  69. <defibrtims2/>
  70. <cardarrfinddd/>
  71. <cardarrfindtm/>
  72. <bluebirdalarmyn>Y</bluebirdalarmyn>
  73. <defibrflag/>
  74. <fstresusexecflag/>
  75. <fstresusexecetc/>
  76. <initpatbreth/>
  77. <initpatcscs/>
  78. <initpatpulse/>
  79. <fstresusstrtdd/>
  80. <fstresusstrttm/>
  81. <memo/>
  82. <freeairway1/>
  83. <freeairway2/>
  84. <freeairwaydd/>
  85. <freeairwaytm/>
  86. <resusteamfresus/>
  87. <freeairwayflag/>
  88. </resuslist>
  89. </resusinfo>
  90. <paminfo>
  91. <list/>
  92. </paminfo>
  93. <pathistinfo>
  94. <pathistlist>
  95. <lastupdtdt/>
  96. <lastupdtrnm/>
  97. <pid/>
  98. <indd/>
  99. <cretno/>
  100. <instcd/>
  101. <cardarrgenrdd/>
  102. <cardarrgenrtm/>
  103. <histno/>
  104. </pathistlist>
  105. <patcprhistinfo>
  106. <startdd/>
  107. <starttm/>
  108. </patcprhistinfo>
  109. <patinfo>
  110. <pid/>
  111. <indd/>
  112. <cretno/>
  113. <instcd/>
  114. </patinfo>
  115. </pathistinfo>
  116. </main>
  117. <send>
  118. <reqdata/>
  119. <wardcd/>
  120. </send>
  121. <hidden>
  122. <orddeptlist/>
  123. <erorddeptlist/>
  124. </hidden>
  125. <init>
  126. <M0380list>
  127. <M0380>
  128. <cdnm/>
  129. <cdid/>
  130. </M0380>
  131. </M0380list>
  132. <userlist/>
  133. </init>
  134. <resusbase>
  135. <resuslist>
  136. <pid/>
  137. <cardarrgenrdd/>
  138. <cardarrgenrtm/>
  139. <cardarrdiscvpsn/>
  140. <cardarrdiscvpsnetc/>
  141. <cardarrgenrplceflag>01</cardarrgenrplceflag>
  142. <cardarrestmdd/>
  143. <cardarrestmtm/>
  144. <cardarrestmflag/>
  145. <resusteamcalldd/>
  146. <resusteamcalltm/>
  147. <resusteamarvdd/>
  148. <resusteamarvtm/>
  149. <resustodd/>
  150. <resustotm/>
  151. <resusendresn/>
  152. <resusendresnetc/>
  153. <cardarrrslt/>
  154. <dschdethdd/>
  155. <dschdethtm/>
  156. <fstrgstrid/>
  157. <fstrgstdt/>
  158. <defibrstartdd/>
  159. <defibrstarttm/>
  160. <defibrjul/>
  161. <defibrtims/>
  162. <defibrjul2/>
  163. <defibrtims2/>
  164. <cardarrfinddd/>
  165. <cardarrfindtm/>
  166. <bluebirdalarmyn>Y</bluebirdalarmyn>
  167. <defibrflag/>
  168. <fstresusexecflag/>
  169. <fstresusexecetc/>
  170. <initpatbreth/>
  171. <initpatcscs/>
  172. <initpatpulse/>
  173. <fstresusstrtdd/>
  174. <fstresusstrttm/>
  175. <memo/>
  176. <freeairway1/>
  177. <freeairway2/>
  178. <freeairwaydd/>
  179. <freeairwaytm/>
  180. <resusteamfresus/>
  181. <freeairwayflag/>
  182. </resuslist>
  183. </resusbase>
  184. <init2/>
  185. </root>
  186. </instance>
  187. <script type="javascript" ev:event="xforms-ready">
  188. <![CDATA[
  189. fInit("1");
  190. ]]>
  191. </script>
  192. <submission id="TRZBC00101" method="post" replace="instance"/>
  193. <submission id="TXMNE02300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/resusinfo"/>
  194. <submission id="TRMNE02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/pathistinfo"/>
  195. <submission id="TRMNE02303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
  196. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  197. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  198. <submission id="TRMNE02313" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init2"/>
  199. <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
  200. </model>
  201. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  202. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  203. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  204. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  205. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  206. <script type="javascript" src="../../../emr/ercareweb/js/SMMNE02303.js"/>
  207. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  208. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  209. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  210. </xhtml:head>
  211. <xhtml:body pagewidth="990" pageheight="490" guideline="1,3;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  212. <group id="group1" scroll="auto" style="left:0px; top:107px; width:183px; height:350px; text-align:center; ">
  213. <caption id="caption22" class="tit_2" style="left:0px; top:5px; width:120px; height:13px; ">과거자료 조회</caption>
  214. <datagrid id="datagrid2" nodeset="/root/main/pathistinfo/pathistlist" caption="기록저장일시^기록자" colsep="^" colwidth="104, 60" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:24px; width:182px; height:323px; ">
  215. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn"/>
  216. <col ref="lastupdtrnm"/>
  217. <script type="javascript" ev:event="onclick">
  218. <![CDATA[
  219. model.setValue("/root/main/patinfo/selectrow", datagrid2.row);
  220. int_cardarrgenrdd.disabled = true;
  221. fSelectHistData("1");
  222. //저장버튼 숨김
  223. button4.visible = false;
  224. button10.visible = true;
  225. button11.visible = true;
  226. ]]>
  227. </script>
  228. </datagrid>
  229. <line id="line36" class="line_1" style="x1:0px; y1:20px; x2:182px; y2:20px; "/>
  230. <line id="line10" class="line_3" style="x1:3px; y1:348px; x2:182px; y2:348px; "/>
  231. </group>
  232. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:13px; ">심폐소생술보고서</caption>
  233. <group id="group2" scroll="auto" style="left:190px; top:107px; width:777px; height:349px; text-align:center; ">
  234. <line id="line24" class="line_1" style="x1:0px; y1:20px; x2:774px; y2:20px; "/>
  235. <caption id="caption27" class="tit_2" style="left:5px; top:5px; width:113px; height:13px; ">보고내용</caption>
  236. <caption id="caption41" class="cell_1" style="left:0px; top:200px; width:120px; height:23px; text-align:center; vertical-align:middle; ">심폐소생술 종료시간</caption>
  237. <line id="line31" class="line_2" style="x1:0px; y1:73px; x2:774px; y2:73px; "/>
  238. <line id="line32" class="line_2" style="x1:0px; y1:98px; x2:774px; y2:98px; "/>
  239. <line id="line33" class="line_2" style="x1:0px; y1:173px; x2:774px; y2:173px; "/>
  240. <line id="line34" class="line_2" style="x1:0px; y1:148px; x2:775px; y2:148px; "/>
  241. <input id="int_cardarrestmdd" ref="/root/main/resusinfo/resuslist/cardarrestmdd" class="input_default" navindex="10" inputtype="date" style="left:123px; top:26px; width:90px; height:19px; "/>
  242. <button id="btn_cardarrestmtm" class="icon_clock" style="left:266px; top:28px; width:16px; height:16px; ">
  243. <caption/>
  244. <script type="javascript" ev:event="DOMActivate">
  245. <![CDATA[
  246. if(model.getValue("/root/main/resusinfo/resuslist/cardarrestmdd") == ""){
  247. model.setValue("/root/main/resusinfo/resuslist/cardarrestmdd", getCurrentDate());
  248. int_cardarrestmdd.refresh();
  249. }
  250. model.setValue("/root/main/resusinfo/resuslist/cardarrestmtm", getCurrentTime().substr(0,4));
  251. int_cardarrestmtm.refresh();
  252. ]]>
  253. </script>
  254. </button>
  255. <input id="int_cardarrestmtm" ref="/root/main/resusinfo/resuslist/cardarrestmtm" class="input_default" navindex="11" format="hh:nn" style="left:217px; top:26px; width:45px; height:19px; "/>
  256. <input id="int_resusteamcalldd" ref="/root/main/resusinfo/resuslist/resusteamcalldd" class="input_default" navindex="14" inputtype="date" style="left:123px; top:77px; width:90px; height:19px; "/>
  257. <button id="btn_resusteamcalltm" class="icon_clock" style="left:266px; top:78px; width:16px; height:16px; ">
  258. <caption/>
  259. <script type="javascript" ev:event="DOMActivate">
  260. <![CDATA[
  261. if(model.getValue("/root/main/resusinfo/resuslist/resusteamcalldd") == ""){
  262. model.setValue("/root/main/resusinfo/resuslist/resusteamcalldd", getCurrentDate());
  263. int_resusteamcalldd.refresh();
  264. }
  265. model.setValue("/root/main/resusinfo/resuslist/resusteamcalltm", getCurrentTime().substr(0,4));
  266. int_resusteamcalltm.refresh();
  267. ]]>
  268. </script>
  269. </button>
  270. <input id="int_resusteamcalltm" ref="/root/main/resusinfo/resuslist/resusteamcalltm" class="input_default" navindex="15" format="hh:nn" style="left:217px; top:77px; width:45px; height:19px; "/>
  271. <input id="int_resusteamarvdd" ref="/root/main/resusinfo/resuslist/resusteamarvdd" class="input_default" navindex="16" inputtype="date" style="left:123px; top:101px; width:90px; height:19px; "/>
  272. <button id="btn_resusteamarvtm" class="icon_clock" style="left:266px; top:103px; width:16px; height:16px; ">
  273. <caption/>
  274. <script type="javascript" ev:event="DOMActivate">
  275. <![CDATA[
  276. if(model.getValue("/root/main/resusinfo/resuslist/resusteamarvdd") == ""){
  277. model.setValue("/root/main/resusinfo/resuslist/resusteamarvdd", getCurrentDate());
  278. int_resusteamarvdd.refresh();
  279. }
  280. model.setValue("/root/main/resusinfo/resuslist/resusteamarvtm", getCurrentTime().substr(0,4));
  281. int_resusteamarvtm.refresh();
  282. ]]>
  283. </script>
  284. </button>
  285. <input id="int_resusteamarvtm" ref="/root/main/resusinfo/resuslist/resusteamarvtm" class="input_default" navindex="17" format="hh:nn" style="left:217px; top:101px; width:45px; height:19px; "/>
  286. <input id="int_resustodd" ref="/root/main/resusinfo/resuslist/resustodd" class="input_default" navindex="30" inputtype="date" style="left:123px; top:202px; width:90px; height:19px; "/>
  287. <button id="btn_resustotm" class="icon_clock" style="left:266px; top:203px; width:16px; height:16px; ">
  288. <caption/>
  289. <script type="javascript" ev:event="DOMActivate">
  290. <![CDATA[
  291. if(model.getValue("/root/main/resusinfo/resuslist/resustodd") == ""){
  292. model.setValue("/root/main/resusinfo/resuslist/resustodd", getCurrentDate());
  293. int_resustodd.refresh();
  294. }
  295. model.setValue("/root/main/resusinfo/resuslist/resustotm", getCurrentTime().substr(0,4));
  296. int_resustotm.refresh();
  297. ]]>
  298. </script>
  299. </button>
  300. <input id="int_resustotm" ref="/root/main/resusinfo/resuslist/resustotm" class="input_default" navindex="31" format="hh:nn" style="left:217px; top:202px; width:45px; height:19px; "/>
  301. <input id="int_defibrstarttm" ref="/root/main/resusinfo/resuslist/defibrstarttm" class="input_default" navindex="21" format="hh:nn" style="left:217px; top:152px; width:45px; height:19px; "/>
  302. <button id="button2" class="icon_clock" style="left:266px; top:153px; width:16px; height:16px; ">
  303. <caption/>
  304. <script type="javascript" ev:event="DOMActivate">
  305. <![CDATA[
  306. if(model.getValue("/root/main/resusinfo/resuslist/defibrstartdd") == ""){
  307. model.setValue("/root/main/resusinfo/resuslist/defibrstartdd", getCurrentDate());
  308. int_defibrstartdd.refresh();
  309. }
  310. model.setValue("/root/main/resusinfo/resuslist/defibrstarttm", getCurrentTime().substr(0,4));
  311. int_defibrstarttm.refresh();
  312. ]]>
  313. </script>
  314. </button>
  315. <input id="int_defibrstartdd" ref="/root/main/resusinfo/resuslist/defibrstartdd" class="input_default" navindex="20" inputtype="date" style="left:123px; top:152px; width:90px; height:19px; "/>
  316. <caption id="caption36" class="cell_1" style="left:0px; top:25px; width:120px; height:23px; text-align:center; vertical-align:middle; ">심정지 추정시간</caption>
  317. <caption id="caption37" class="cell_1" style="left:0px; top:75px; width:120px; height:23px; text-align:center; vertical-align:middle; ">CPR팀 호출시간</caption>
  318. <caption id="caption38" class="cell_1" style="left:0px; top:100px; width:120px; height:23px; text-align:center; vertical-align:middle; ">CPR팀 도착시간</caption>
  319. <caption id="caption3" class="cell_1" style="left:0px; top:150px; width:120px; height:23px; text-align:center; vertical-align:middle; ">제세동 시작시간</caption>
  320. <line id="line29" class="line_3" style="x1:0px; y1:348px; x2:775px; y2:348px; "/>
  321. <caption id="caption5" style="left:339px; top:155px; width:20px; height:15px; text-align:center; ">J</caption>
  322. <caption id="caption7" style="left:410px; top:155px; width:20px; height:15px; text-align:center; ">회</caption>
  323. <input id="int_cardarrfindtm" ref="/root/main/resusinfo/resuslist/cardarrfindtm" class="input_default" navindex="13" format="hh:nn" style="left:217px; top:52px; width:45px; height:19px; "/>
  324. <caption id="caption4" class="cell_1" style="left:0px; top:50px; width:120px; height:23px; text-align:center; vertical-align:middle; ">환자 발견시간</caption>
  325. <button id="btn_cardarrfindclock" class="icon_clock" style="left:266px; top:53px; width:16px; height:16px; ">
  326. <caption/>
  327. <script type="javascript" ev:event="DOMActivate">
  328. <![CDATA[
  329. if(model.getValue("/root/main/resusinfo/resuslist/cardarrfinddd") == ""){
  330. model.setValue("/root/main/resusinfo/resuslist/cardarrfinddd", getCurrentDate());
  331. int_cardarrfinddd.refresh();
  332. }
  333. model.setValue("/root/main/resusinfo/resuslist/cardarrfindtm", getCurrentTime().substr(0,4));
  334. int_cardarrfindtm.refresh();
  335. ]]>
  336. </script>
  337. </button>
  338. <input id="int_cardarrfinddd" ref="/root/main/resusinfo/resuslist/cardarrfinddd" class="input_default" navindex="12" inputtype="date" style="left:123px; top:52px; width:90px; height:19px; "/>
  339. <caption id="caption8" class="cell_1" style="left:360px; top:100px; width:100px; height:23px; text-align:center; vertical-align:middle; ">파랑새 발령 여부</caption>
  340. <select1 id="rdo_bluebirdalarmyn" ref="/root/main/resusinfo/resuslist/bluebirdalarmyn" navindex="44" appearance="full" cellspacing="45" cols="3" overflow="visible" style="left:464px; top:102px; width:110px; height:20px; text-align:left; border-style:none; ">
  341. <choices>
  342. <item>
  343. <label>Y</label>
  344. <value>Y</value>
  345. </item>
  346. <item>
  347. <label>N</label>
  348. <value>N</value>
  349. </item>
  350. </choices>
  351. <script type="javascript" ev:event="xforms-value-changed">
  352. <![CDATA[
  353. if( model.getValue("/root/main/resusinfo/resuslist/bluebirdalarmyn") == "Y"){
  354. if( model.getValue("/root/main/resusinfo/resuslist/resusteamcalldd") == "" ){
  355. model.setValue("/root/main/resusinfo/resuslist/resusteamcalldd", getCurrentDate());
  356. }if(model.getValue("/root/main/resusinfo/resuslist/resusteamarvdd") == ""){
  357. model.setValue("/root/main/resusinfo/resuslist/resusteamarvdd", getCurrentDate());
  358. }
  359. int_resusteamcalldd.disabled = false;
  360. int_resusteamcalltm.disabled = false;
  361. btn_resusteamcalltm.disabled = false;
  362. int_resusteamarvdd.disabled = false;
  363. int_resusteamarvtm.disabled = false;
  364. btn_resusteamarvtm.disabled = false;
  365. }else{
  366. model.setValue("/root/main/resusinfo/resuslist/resusteamcalldd", "");
  367. model.setValue("/root/main/resusinfo/resuslist/resusteamcalltm", "");
  368. model.setValue("/root/main/resusinfo/resuslist/resusteamarvdd", "");
  369. model.setValue("/root/main/resusinfo/resuslist/resusteamarvtm", "");
  370. int_resusteamcalldd.disabled = true;
  371. int_resusteamcalltm.disabled = true;
  372. btn_resusteamcalltm.disabled = true;
  373. int_resusteamarvdd.disabled = true;
  374. int_resusteamarvtm.disabled = true;
  375. btn_resusteamarvtm.disabled = true;
  376. }
  377. int_resusteamcalldd.refresh();
  378. int_resusteamcalltm.refresh();
  379. btn_resusteamcalltm.refresh();
  380. int_resusteamarvdd.refresh();
  381. int_resusteamarvtm.refresh();
  382. btn_resusteamarvtm.refresh();
  383. ]]>
  384. </script>
  385. </select1>
  386. <select1 id="rdo_cardarrrslt" ref="/root/main/resusinfo/resuslist/cardarrrslt" navindex="34" appearance="full" cellspacing="15" cols="4" overflow="visible" style="left:125px; top:254px; width:260px; height:16px; text-align:left; border-style:none; ">
  387. <choices>
  388. <item>
  389. <label>자발순환회복</label>
  390. <value>05</value>
  391. </item>
  392. <item>
  393. <label>자발순환회복못함(사망)</label>
  394. <value>01</value>
  395. </item>
  396. </choices>
  397. <script type="javascript" ev:event="xforms-value-changed">
  398. <![CDATA[
  399. if( model.getValue("/root/main/resusinfo/resuslist/cardarrrslt") == "01" ){
  400. int_dethdd.disabled = false;
  401. int_dethtm.disabled = false;
  402. button5.disabled = false;
  403. }else{
  404. model.setValue("/root/main/resusinfo/resuslist/dschdethdd", "");
  405. model.setValue("/root/main/resusinfo/resuslist/dschdethtm", "");
  406. int_dethdd.disabled = true;
  407. int_dethtm.disabled = true;
  408. button5.disabled = true;
  409. }
  410. int_dethdd.refresh();
  411. int_dethtm.refresh();
  412. button5.refresh();
  413. ]]>
  414. </script>
  415. </select1>
  416. <button id="button5" class="icon_clock" disabled="true" style="left:276px; top:279px; width:16px; height:16px; ">
  417. <caption/>
  418. <script type="javascript" ev:event="DOMActivate">
  419. <![CDATA[
  420. if(model.getValue("/root/main/resusinfo/resuslist/dschdethdd") == ""){
  421. model.setValue("/root/main/resusinfo/resuslist/dschdethdd", getCurrentDate());
  422. int_dethdd.refresh();
  423. }
  424. model.setValue("/root/main/resusinfo/resuslist/dschdethtm", getCurrentTime().substr(0,4));
  425. int_dethtm.refresh();
  426. ]]>
  427. </script>
  428. </button>
  429. <input id="int_dethdd" ref="/root/main/resusinfo/resuslist/dschdethdd" class="input_default" disabled="true" navindex="35" inputtype="date" style="left:123px; top:277px; width:95px; height:19px; "/>
  430. <input id="int_resusendresnetc" ref="/root/main/resusinfo/resuslist/resusendresnetc" class="input_default" disabled="true" navindex="33" style="left:485px; top:227px; width:289px; height:19px; text-align:left; "/>
  431. <select1 id="rdo_resusendresn" ref="/root/main/resusinfo/resuslist/resusendresn" navindex="32" appearance="full" cellspacing="15" cols="4" overflow="visible" style="left:125px; top:229px; width:360px; height:16px; text-align:left; border-style:none; ">
  432. <choices>
  433. <item>
  434. <label>자발순환회복</label>
  435. <value>01</value>
  436. </item>
  437. <item>
  438. <label>심폐소생술 반응없음</label>
  439. <value>02</value>
  440. </item>
  441. <item>
  442. <label>DNR</label>
  443. <value>03</value>
  444. </item>
  445. <item>
  446. <label>기타</label>
  447. <value>09</value>
  448. </item>
  449. </choices>
  450. <script type="javascript" ev:event="xforms-value-changed">
  451. <![CDATA[
  452. if(model.getValue("/root/main/resusinfo/resuslist/resusendresn") == "09"){
  453. int_resusendresnetc.disabled = false;
  454. } else {
  455. model.setValue("/root/main/resusinfo/resuslist/resusendresnetc", "");
  456. int_resusendresnetc.disabled = true;
  457. }
  458. ]]>
  459. </script>
  460. </select1>
  461. <caption id="caption11" class="cell_1" style="left:0px; top:225px; width:120px; height:23px; text-align:center; vertical-align:middle; ">심폐소생술 종료사유</caption>
  462. <caption id="caption15" class="cell_1" style="left:0px; top:250px; width:120px; height:23px; text-align:center; vertical-align:middle; ">심폐소생술 결과</caption>
  463. <caption id="caption18" class="cell_1" style="left:0px; top:275px; width:120px; height:23px; text-align:center; vertical-align:middle; ">
  464. <![CDATA[사 망 일 시]]>
  465. <hint>
  466. <![CDATA[소생술 결과가 사망일 경우에만 자발순환회복못함(사망)일자 활성화]]>
  467. </hint>
  468. </caption>
  469. <input id="int_dethtm" ref="/root/main/resusinfo/resuslist/dschdethtm" class="input_default" disabled="true" navindex="36" format="hh:nn" style="left:222px; top:277px; width:50px; height:19px; "/>
  470. <line id="line5" class="line_2" style="x1:0px; y1:248px; x2:774px; y2:248px; "/>
  471. <line id="line7" class="line_2" style="x1:0px; y1:274px; x2:774px; y2:274px; "/>
  472. <caption id="caption19" visibility="visible" style="left:498px; top:155px; width:20px; height:15px; text-align:center; ">J</caption>
  473. <caption id="caption20" visibility="visible" style="left:564px; top:154px; width:20px; height:15px; text-align:center; ">회</caption>
  474. <bool id="bool_cardarrestmflag" checkvalue="Y,N" ref="/root/main/resusinfo/resuslist/cardarrestmflag" style="left:286px; top:28px; width:20px; height:15px; ">
  475. <script type="javascript" ev:event="xforms-value-changed">
  476. <![CDATA[
  477. if( model.getValue("/root/main/resusinfo/resuslist/cardarrestmflag") =="Y"){
  478. model.setValue("/root/main/resusinfo/resuslist/cardarrestmdd", "");
  479. model.setValue("/root/main/resusinfo/resuslist/cardarrestmtm", "");
  480. int_cardarrestmdd.disabled = true;
  481. int_cardarrestmtm.disabled = true;
  482. btn_cardarrestmtm.disabled = true;
  483. }else{
  484. int_cardarrestmdd.disabled = false;
  485. int_cardarrestmtm.disabled = false;
  486. btn_cardarrestmtm.disabled = false;
  487. }
  488. int_cardarrestmdd.refresh();
  489. int_cardarrestmtm.refresh();
  490. btn_cardarrestmtm.refresh();
  491. ]]>
  492. </script>
  493. </bool>
  494. <caption id="caption21" style="left:305px; top:27px; width:60px; height:20px; ">
  495. <![CDATA[추정불가]]>
  496. <script type="javascript" ev:event="onclick">
  497. <![CDATA[
  498. if( model.getValue("/root/main/resusinfo/resuslist/cardarrestmflag") =="Y"){
  499. model.setValue("/root/main/resusinfo/resuslist/cardarrestmflag", "N");
  500. int_cardarrestmdd.disabled = false;
  501. int_cardarrestmtm.disabled = false;
  502. btn_cardarrestmtm.disabled = false;
  503. }else{
  504. model.setValue("/root/main/resusinfo/resuslist/cardarrestmflag", "Y");
  505. model.setValue("/root/main/resusinfo/resuslist/cardarrestmdd", "");
  506. model.setValue("/root/main/resusinfo/resuslist/cardarrestmtm", "");
  507. int_cardarrestmdd.disabled = true;
  508. int_cardarrestmtm.disabled = true;
  509. btn_cardarrestmtm.disabled = true;
  510. }
  511. model.refresh();
  512. ]]>
  513. </script>
  514. </caption>
  515. <bool id="bool_defibrflag" checkvalue="Y,N" ref="/root/main/resusinfo/resuslist/defibrflag" style="left:588px; top:153px; width:20px; height:15px; ">
  516. <script type="javascript" ev:event="xforms-value-changed">
  517. <![CDATA[
  518. if( model.getValue("/root/main/resusinfo/resuslist/defibrflag") =="Y"){
  519. model.setValue("/root/main/resusinfo/resuslist/defibrstartdd", "" );
  520. model.setValue("/root/main/resusinfo/resuslist/defibrstarttm", "" );
  521. model.setValue("/root/main/resusinfo/resuslist/defibrjul", "" );
  522. model.setValue("/root/main/resusinfo/resuslist/defibrtims", "" );
  523. model.setValue("/root/main/resusinfo/resuslist/defibrjul2", "" );
  524. model.setValue("/root/main/resusinfo/resuslist/defibrtims2", "" );
  525. int_defibrstartdd.disabled = true;
  526. int_defibrstarttm.disabled = true;
  527. ipt_defibrjul.disabled = true;
  528. ipt_defibrtims.disabled = true;
  529. ipt_defibrjul2.disabled = true;
  530. ipt_defibrtims2.disabled = true;
  531. button2.disabled = true;
  532. }else{
  533. int_defibrstartdd.disabled = false;
  534. int_defibrstarttm.disabled = false;
  535. ipt_defibrjul.disabled = false;
  536. ipt_defibrtims.disabled = false;
  537. ipt_defibrjul2.disabled = false;
  538. ipt_defibrtims2.disabled = false;
  539. button2.disabled = false;
  540. }
  541. model.refresh();
  542. ]]>
  543. </script>
  544. </bool>
  545. <caption id="caption23" style="left:605px; top:154px; width:60px; height:15px; ">
  546. <![CDATA[시행안함]]>
  547. <script type="javascript" ev:event="onclick">
  548. <![CDATA[
  549. if( model.getValue("/root/main/resusinfo/resuslist/defibrflag") =="Y"){
  550. model.setValue("/root/main/resusinfo/resuslist/defibrflag", "N");
  551. int_defibrstartdd.disabled = false;
  552. int_defibrstarttm.disabled = false;
  553. ipt_defibrjul.disabled = false;
  554. ipt_defibrtims.disabled = false;
  555. ipt_defibrjul2.disabled = false;
  556. ipt_defibrtims2.disabled = false;
  557. button2.disabled = false;
  558. }else{
  559. model.setValue("/root/main/resusinfo/resuslist/defibrflag", "Y");
  560. model.setValue("/root/main/resusinfo/resuslist/defibrstartdd", "" );
  561. model.setValue("/root/main/resusinfo/resuslist/defibrstarttm", "" );
  562. model.setValue("/root/main/resusinfo/resuslist/defibrjul", "" );
  563. model.setValue("/root/main/resusinfo/resuslist/defibrtims", "" );
  564. model.setValue("/root/main/resusinfo/resuslist/defibrjul2", "" );
  565. model.setValue("/root/main/resusinfo/resuslist/defibrtims2", "" );
  566. int_defibrstartdd.disabled = true;
  567. int_defibrstarttm.disabled = true;
  568. ipt_defibrjul.disabled = true;
  569. ipt_defibrtims.disabled = true;
  570. ipt_defibrjul2.disabled = true;
  571. ipt_defibrtims2.disabled = true;
  572. button2.disabled = true;
  573. }
  574. model.refresh();
  575. ]]>
  576. </script>
  577. </caption>
  578. <line id="line12" class="line_2" style="x1:0px; y1:48px; x2:774px; y2:48px; "/>
  579. <caption id="caption24" class="cell_1" style="left:360px; top:25px; width:100px; height:23px; text-align:center; vertical-align:middle; ">환자 초기상태</caption>
  580. <caption id="caption25" class="cell_1" style="left:461px; top:25px; width:35px; height:23px; text-align:center; vertical-align:middle; ">의식</caption>
  581. <caption id="caption26" class="cell_1" style="left:566px; top:25px; width:35px; height:23px; text-align:center; vertical-align:middle; ">호흡</caption>
  582. <caption id="caption31" class="cell_1" style="left:671px; top:25px; width:35px; height:23px; text-align:center; vertical-align:middle; ">맥박</caption>
  583. <select1 id="rdo_initpatcscs" ref="/root/main/resusinfo/resuslist/initpatcscs" navindex="38" appearance="full" cols="2" overflow="visible" style="left:499px; top:27px; width:65px; height:20px; text-align:left; border-style:none; ">
  584. <choices>
  585. <item>
  586. <label>유</label>
  587. <value>Y</value>
  588. </item>
  589. <item>
  590. <label>무</label>
  591. <value>N</value>
  592. </item>
  593. </choices>
  594. </select1>
  595. <select1 id="rdo_initpatbreth" ref="/root/main/resusinfo/resuslist/initpatbreth" navindex="39" appearance="full" cols="2" overflow="visible" style="left:604px; top:27px; width:65px; height:20px; text-align:left; border-style:none; ">
  596. <choices>
  597. <item>
  598. <label>유</label>
  599. <value>Y</value>
  600. </item>
  601. <item>
  602. <label>무</label>
  603. <value>N</value>
  604. </item>
  605. </choices>
  606. </select1>
  607. <select1 id="rdo_initpatpulse" ref="/root/main/resusinfo/resuslist/initpatpulse" navindex="40" appearance="full" cols="2" overflow="visible" style="left:709px; top:27px; width:65px; height:20px; text-align:left; border-style:none; ">
  608. <choices>
  609. <item>
  610. <label>유</label>
  611. <value>Y</value>
  612. </item>
  613. <item>
  614. <label>무</label>
  615. <value>N</value>
  616. </item>
  617. </choices>
  618. </select1>
  619. <line id="line15" class="line_2" style="x1:0px; y1:298px; x2:774px; y2:298px; "/>
  620. <caption id="caption50" class="cell_1" style="left:0px; top:300px; width:120px; height:48px; text-align:center; vertical-align:middle; ">
  621. <![CDATA[text 입력]]>
  622. <hint>
  623. <![CDATA[소생술 결과가 사망일 경우에만 자발순환회복못함(사망)일자 활성화]]>
  624. </hint>
  625. </caption>
  626. <input id="int_fstresusstrttm" ref="/root/main/resusinfo/resuslist/fstresusstrttm" class="input_default" navindex="19" format="hh:nn" style="left:217px; top:127px; width:45px; height:19px; "/>
  627. <button id="button6" class="icon_clock" style="left:266px; top:128px; width:16px; height:16px; ">
  628. <caption/>
  629. <script type="javascript" ev:event="DOMActivate">
  630. <![CDATA[
  631. if(model.getValue("/root/main/resusinfo/resuslist/fstresusstrtdd") == ""){
  632. model.setValue("/root/main/resusinfo/resuslist/fstresusstrtdd", getCurrentDate());
  633. int_fstresusstrtdd.refresh();
  634. }
  635. model.setValue("/root/main/resusinfo/resuslist/fstresusstrttm", getCurrentTime().substr(0,4));
  636. int_fstresusstrttm.refresh();
  637. ]]>
  638. </script>
  639. </button>
  640. <line id="line14" class="line_2" style="x1:0px; y1:123px; x2:774px; y2:123px; "/>
  641. <input id="int_fstresusstrtdd" ref="/root/main/resusinfo/resuslist/fstresusstrtdd" class="input_default" navindex="18" inputtype="date" style="left:123px; top:127px; width:90px; height:19px; "/>
  642. <caption id="caption48" class="cell_1" style="left:0px; top:125px; width:120px; height:23px; text-align:center; vertical-align:middle; ">심폐소생술 시작시간</caption>
  643. <line id="line30" class="line_2" style="x1:0px; y1:223px; x2:774px; y2:223px; "/>
  644. <textarea id="textarea1" ref="/root/main/resusinfo/resuslist/memo" navindex="37" maxlength="3900" style="left:123px; top:301px; width:650px; height:45px; text-align:left; vertical-align:top; "/>
  645. <input id="int_fstresusexecetc" ref="/root/main/resusinfo/resuslist/fstresusexecetc" class="input_default" disabled="true" navindex="46" style="left:679px; top:126px; width:95px; height:19px; text-align:left; "/>
  646. <caption id="caption45" class="cell_1" style="left:360px; top:125px; width:135px; height:23px; text-align:center; vertical-align:middle; ">최초 심폐소생술 시행자</caption>
  647. <select id="chk_fstresusexecflag" ref="/root/main/resusinfo/resuslist/fstresusexecflag" navindex="45" overflow="visible" appearance="full" cellspacing="15" cols="3" style="left:499px; top:128px; width:179px; height:15px; border-style:none; ">
  648. <choices>
  649. <item>
  650. <label>의사</label>
  651. <value>01</value>
  652. </item>
  653. <item>
  654. <label>간호사</label>
  655. <value>04</value>
  656. </item>
  657. <item>
  658. <label>기타</label>
  659. <value>05</value>
  660. </item>
  661. </choices>
  662. <script type="javascript" ev:event="xforms-value-changed">
  663. <![CDATA[
  664. var checkval = "";
  665. for(var i=0; i<3; i++){
  666. if( chk_fstresusexecflag.item(i).selected == true){
  667. if(i == "2"){
  668. int_fstresusexecetc.disabled = false;
  669. }
  670. checkval += "1";
  671. }else {
  672. checkval += "0";
  673. }
  674. }
  675. ]]>
  676. </script>
  677. </select>
  678. <caption id="caption30" class="cell_1" style="left:360px; top:50px; width:100px; height:23px; text-align:center; vertical-align:middle; ">심정지 발생장소</caption>
  679. <select1 id="rdo_cardarrgenrplceflag" ref="/root/main/resusinfo/resuslist/cardarrgenrplceflag" navindex="41" appearance="full" cellspacing="30" cols="3" overflow="visible" style="left:464px; top:53px; width:141px; height:15px; text-align:left; border-style:none; ">
  680. <choices>
  681. <item>
  682. <label>원내</label>
  683. <value>10</value>
  684. </item>
  685. <item>
  686. <label>원외</label>
  687. <value>04</value>
  688. </item>
  689. </choices>
  690. </select1>
  691. <caption id="caption29" class="cell_1" style="left:360px; top:75px; width:100px; height:23px; text-align:center; vertical-align:middle; ">최초 발견자</caption>
  692. <select1 id="rdo_cardarrdiscvpsn" ref="/root/main/resusinfo/resuslist/cardarrdiscvpsn" navindex="42" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:464px; top:77px; width:190px; height:15px; text-align:left; border-style:none; ">
  693. <choices>
  694. <item>
  695. <label>일반인</label>
  696. <value>02</value>
  697. </item>
  698. <item>
  699. <label>의료인</label>
  700. <value>07</value>
  701. </item>
  702. <item>
  703. <label>기타</label>
  704. <value>09</value>
  705. </item>
  706. </choices>
  707. <script type="javascript" ev:event="xforms-value-changed">
  708. <![CDATA[
  709. if(model.getValue("/root/main/resusinfo/resuslist/cardarrdiscvpsn") == "09"){
  710. int_cardarrdiscvpsnetc.disabled = false;
  711. } else {
  712. model.setValue("/root/main/resusinfo/resuslist/cardarrdiscvpsnetc", "");
  713. int_cardarrdiscvpsnetc.disabled = true;
  714. }
  715. ]]>
  716. </script>
  717. </select1>
  718. <input id="int_cardarrdiscvpsnetc" ref="/root/main/resusinfo/resuslist/cardarrdiscvpsnetc" class="input_default" disabled="true" navindex="43" style="left:654px; top:76px; width:120px; height:19px; text-align:left; "/>
  719. <caption id="caption52" style="left:285px; top:180px; width:177px; height:15px; ">( Fr cm 고정 )</caption>
  720. <input id="ipt_freeairway1" ref="/root/main/resusinfo/resuslist/freeairway1" navindex="28" maxlength="4" style="left:300px; top:177px; width:35px; height:19px; "/>
  721. <input id="ipt_freeairway2" ref="/root/main/resusinfo/resuslist/freeairway2" navindex="29" maxlength="4" style="left:365px; top:177px; width:35px; height:19px; "/>
  722. <caption id="caption46" class="cell_1" style="left:0px; top:175px; width:120px; height:23px; text-align:center; vertical-align:middle; ">전문기도 확보시간</caption>
  723. <button id="button7" class="icon_clock" style="left:266px; top:178px; width:16px; height:16px; ">
  724. <caption/>
  725. <script type="javascript" ev:event="DOMActivate">
  726. <![CDATA[
  727. if(model.getValue("/root/main/resusinfo/resuslist/freeairwaydd") == ""){
  728. model.setValue("/root/main/resusinfo/resuslist/freeairwaydd", getCurrentDate());
  729. ipt_freeairwaydd.refresh();
  730. }
  731. model.setValue("/root/main/resusinfo/resuslist/freeairwaytm", getCurrentTime().substr(0,4));
  732. ipt_freeairwaytm.refresh();
  733. ]]>
  734. </script>
  735. </button>
  736. <input id="ipt_freeairwaytm" ref="/root/main/resusinfo/resuslist/freeairwaytm" class="input_default" navindex="27" format="hh:nn" style="left:217px; top:177px; width:45px; height:19px; "/>
  737. <input id="ipt_freeairwaydd" ref="/root/main/resusinfo/resuslist/freeairwaydd" class="input_default" navindex="26" inputtype="date" style="left:123px; top:177px; width:90px; height:19px; "/>
  738. <line id="line16" class="line_2" style="x1:0px; y1:198px; x2:774px; y2:198px; "/>
  739. <select1 id="ipt_defibrjul" ref="/root/main/resusinfo/resuslist/defibrjul" navindex="22" appearance="minimal" style="left:290px; top:152px; width:50px; height:19px; ">
  740. <choices>
  741. <item>
  742. <label>120</label>
  743. <value>120</value>
  744. </item>
  745. <item>
  746. <label>150</label>
  747. <value>150</value>
  748. </item>
  749. <item>
  750. <label>200</label>
  751. <value>200</value>
  752. </item>
  753. </choices>
  754. </select1>
  755. <select1 id="ipt_defibrtims" ref="/root/main/resusinfo/resuslist/defibrtims" navindex="23" appearance="minimal" style="left:370px; top:152px; width:40px; height:19px; ">
  756. <choices>
  757. <item>
  758. <label>1</label>
  759. <value>1</value>
  760. </item>
  761. <item>
  762. <label>2</label>
  763. <value>2</value>
  764. </item>
  765. <item>
  766. <label>3</label>
  767. <value>3</value>
  768. </item>
  769. <item>
  770. <label>4</label>
  771. <value>4</value>
  772. </item>
  773. <item>
  774. <label>5</label>
  775. <value>5</value>
  776. </item>
  777. <item>
  778. <label>6</label>
  779. <value>6</value>
  780. </item>
  781. <item>
  782. <label>7</label>
  783. <value>7</value>
  784. </item>
  785. <item>
  786. <label>8</label>
  787. <value>8</value>
  788. </item>
  789. <item>
  790. <label>9</label>
  791. <value>9</value>
  792. </item>
  793. <item>
  794. <label>10</label>
  795. <value>10</value>
  796. </item>
  797. <item>
  798. <label>기타</label>
  799. <value>999</value>
  800. </item>
  801. </choices>
  802. </select1>
  803. <select1 id="ipt_defibrjul2" ref="/root/main/resusinfo/resuslist/defibrjul2" navindex="24" appearance="minimal" style="left:450px; top:152px; width:50px; height:19px; ">
  804. <choices>
  805. <item>
  806. <label>120</label>
  807. <value>120</value>
  808. </item>
  809. <item>
  810. <label>150</label>
  811. <value>150</value>
  812. </item>
  813. <item>
  814. <label>200</label>
  815. <value>200</value>
  816. </item>
  817. </choices>
  818. </select1>
  819. <select1 id="ipt_defibrtims2" ref="/root/main/resusinfo/resuslist/defibrtims2" navindex="25" appearance="minimal" style="left:526px; top:152px; width:40px; height:19px; ">
  820. <choices>
  821. <item>
  822. <label>1</label>
  823. <value>1</value>
  824. </item>
  825. <item>
  826. <label>2</label>
  827. <value>2</value>
  828. </item>
  829. <item>
  830. <label>3</label>
  831. <value>3</value>
  832. </item>
  833. <item>
  834. <label>4</label>
  835. <value>4</value>
  836. </item>
  837. <item>
  838. <label>5</label>
  839. <value>5</value>
  840. </item>
  841. <item>
  842. <label>6</label>
  843. <value>6</value>
  844. </item>
  845. <item>
  846. <label>7</label>
  847. <value>7</value>
  848. </item>
  849. <item>
  850. <label>8</label>
  851. <value>8</value>
  852. </item>
  853. <item>
  854. <label>9</label>
  855. <value>9</value>
  856. </item>
  857. <item>
  858. <label>10</label>
  859. <value>10</value>
  860. </item>
  861. <item>
  862. <label>기타</label>
  863. <value>999</value>
  864. </item>
  865. </choices>
  866. </select1>
  867. <select id="chk_resusteamfresus" ref="/root/main/resusinfo/resuslist/resusteamfresus" overflow="visible" appearance="full" style="left:286px; top:120px; width:75px; height:34px; border-style:none; ">
  868. <choices>
  869. <item>
  870. <label>흉부압박</label>
  871. <value>01</value>
  872. </item>
  873. <item>
  874. <label>호흡보조</label>
  875. <value>02</value>
  876. </item>
  877. </choices>
  878. <script type="javascript" ev:event="xforms-value-changed">
  879. <![CDATA[
  880. ]]>
  881. </script>
  882. <script type="javascript" ev:event="xforms-select">
  883. <![CDATA[
  884. var checkval = "";
  885. for(var i=0; i<2; i++){
  886. if( chk_resusteamfresus.item(i).selected == true){
  887. checkval += "1";
  888. }else {
  889. checkval += "0";
  890. }
  891. }
  892. model.makeValue("hidden/list/resusteamfresus", checkval);
  893. ]]>
  894. </script>
  895. </select>
  896. <bool id="bool_freeairwayflag" checkvalue="Y,N" ref="/root/main/resusinfo/resuslist/freeairwayflag" style="left:463px; top:179px; width:20px; height:15px; ">
  897. <script type="javascript" ev:event="xforms-value-changed">
  898. <![CDATA[
  899. if( model.getValue("/root/main/resusinfo/resuslist/freeairwayflag") =="Y"){
  900. model.setValue("/root/main/resusinfo/resuslist/freeairwaydd", "");
  901. model.setValue("/root/main/resusinfo/resuslist/freeairwaytm", "");
  902. model.setValue("/root/main/resusinfo/resuslist/freeairway1", "");
  903. model.setValue("/root/main/resusinfo/resuslist/freeairway2", "");
  904. ipt_freeairwaydd.disabled = true;
  905. ipt_freeairwaytm.disabled = true;
  906. ipt_freeairway1.disabled = true;
  907. ipt_freeairway2.disabled = true;
  908. button7.disabled = true;
  909. }else{
  910. ipt_freeairwaydd.disabled = false;
  911. ipt_freeairwaytm.disabled = false;
  912. ipt_freeairway1.disabled = false;
  913. ipt_freeairway2.disabled = false;
  914. button7.disabled = false;
  915. }
  916. model.refresh();
  917. ]]>
  918. </script>
  919. </bool>
  920. <caption id="caption9" style="left:480px; top:180px; width:60px; height:15px; ">
  921. <![CDATA[시행안함]]>
  922. <script type="javascript" ev:event="onclick">
  923. <![CDATA[
  924. if( model.getValue("/root/main/resusinfo/resuslist/freeairwayflag") =="Y"){
  925. model.setValue("/root/main/resusinfo/resuslist/freeairwayflag", "N");
  926. ipt_freeairwaydd.disabled = false;
  927. ipt_freeairwaytm.disabled = false;
  928. ipt_freeairway1.disabled = false;
  929. ipt_freeairway2.disabled = false;
  930. button7.disabled = false;
  931. }else{
  932. model.setValue("/root/main/resusinfo/resuslist/freeairwayflag", "Y");
  933. model.setValue("/root/main/resusinfo/resuslist/freeairwaydd", "");
  934. model.setValue("/root/main/resusinfo/resuslist/freeairwaytm", "");
  935. model.setValue("/root/main/resusinfo/resuslist/freeairway1", "");
  936. model.setValue("/root/main/resusinfo/resuslist/freeairway2", "");
  937. ipt_freeairwaydd.disabled = true;
  938. ipt_freeairwaytm.disabled = true;
  939. ipt_freeairway1.disabled = true;
  940. ipt_freeairway2.disabled = true;
  941. button7.disabled = true;
  942. }
  943. model.refresh();
  944. ]]>
  945. </script>
  946. </caption>
  947. </group>
  948. <group id="group3" scroll="auto" style="left:0px; top:43px; width:967px; height:57px; text-align:center; ">
  949. <line id="line8" class="line_1" style="x1:0px; y1:0px; x2:963px; y2:0px; "/>
  950. <line id="line6" class="line_3" style="x1:0px; y1:54px; x2:963px; y2:54px; "/>
  951. <caption id="caption14" class="cell_1" style="left:0px; top:5px; width:120px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  952. <caption id="caption2" class="cell_1" style="left:0px; top:30px; width:120px; height:23px; text-align:center; vertical-align:middle; ">심폐소생술시행일자</caption>
  953. <input id="ipt_pid" ref="/root/main/patinfo/pid" class="input_default" navindex="1" maxlength="10" style="left:122px; top:6px; width:93px; height:19px; font-weight:bold; color:#0000ff; ">
  954. <script type="javascript" ev:event="onkeyup">
  955. <![CDATA[
  956. if(event.keyCode == 13) {
  957. fSrchPatListInput("1");
  958. }
  959. ]]>
  960. </script>
  961. </input>
  962. <line id="line1" class="line_2" style="x1:0px; y1:27px; x2:963px; y2:27px; "/>
  963. <button id="btn_genrclock" class="icon_clock" style="left:199px; top:34px; width:16px; height:16px; ">
  964. <caption/>
  965. <script type="javascript" ev:event="DOMActivate">
  966. <![CDATA[
  967. if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrdd") == ""){
  968. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdd", getCurrentDate());
  969. int_cardarrgenrdd.refresh();
  970. }
  971. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrtm", getCurrentTime().substr(0,4));
  972. int_cardarrgenrtm.refresh();
  973. ]]>
  974. </script>
  975. </button>
  976. <input id="int_cardarrgenrdd" ref="/root/main/patinfo/cardarrgenrdd" navindex="6" inputtype="date" style="left:122px; top:31px; width:93px; height:19px; ">
  977. <script type="javascript" ev:event="xforms-value-changed">
  978. <![CDATA[
  979. fDateSetting("Change");
  980. ]]>
  981. </script>
  982. </input>
  983. <select1 id="cmb_medispclid" ref="/root/main/patinfo/medispclid" navindex="8" appearance="minimal" editmode="inputsearch" style="left:547px; top:31px; width:159px; height:19px; text-align:left; ">
  984. <choices>
  985. <itemset nodeset="/root/init/userlist/medispclid/usercombo">
  986. <label ref="usernm"/>
  987. <value ref="userid"/>
  988. </itemset>
  989. </choices>
  990. </select1>
  991. <caption id="caption12" class="cell_1" style="left:708px; top:5px; width:90px; height:23px; text-align:center; vertical-align:middle; ">병 동</caption>
  992. <caption id="caption42" class="cell_1" style="left:708px; top:29px; width:90px; height:23px; text-align:center; vertical-align:middle; ">담 당 의</caption>
  993. <caption id="caption13" class="cell_1" style="left:217px; top:29px; width:90px; height:23px; text-align:center; vertical-align:middle; ">진 료 과</caption>
  994. <select1 id="cmb_atdoctcd" ref="/root/main/patinfo/atdoctcd" navindex="9" appearance="minimal" editmode="inputsearch" style="left:800px; top:31px; width:160px; height:19px; text-align:left; ">
  995. <choices>
  996. <itemset nodeset="/root/init/userlist/atdoctid/usercombo">
  997. <label ref="usernm"/>
  998. <value ref="userid"/>
  999. </itemset>
  1000. </choices>
  1001. </select1>
  1002. <caption id="caption16" class="cell_1" style="left:470px; top:29px; width:75px; height:23px; text-align:center; vertical-align:middle; ">전 문 의</caption>
  1003. <caption id="caption17" class="cell_1" style="left:217px; top:5px; width:90px; height:23px; text-align:center; vertical-align:middle; ">환 자 명</caption>
  1004. <input id="input5" ref="/root/main/patinfo/age" class="input_default" navindex="4" style="left:660px; top:6px; width:46px; height:19px; "/>
  1005. <select1 id="cmb_wardcd" ref="/root/main/patinfo/wardcd" navindex="5" appearance="minimal" editmode="search" style="left:800px; top:6px; width:160px; height:19px; text-align:left; ">
  1006. <choices>
  1007. <itemset nodeset="/root/init/ward/">
  1008. <label ref="wardnm"/>
  1009. <value ref="wardcd"/>
  1010. </itemset>
  1011. </choices>
  1012. <script type="javascript" ev:event="xforms-value-changed">
  1013. <![CDATA[
  1014. //fGetCareComRoomList(cmb_wardcd.value);// 병실정보를 가져온다.
  1015. ]]>
  1016. </script>
  1017. </select1>
  1018. <input id="int_cardarrgenrtm" ref="/root/main/patinfo/cardarrgenrtm" class="input_default" visibility="hidden" format="hh:nn" style="left:145px; top:31px; width:50px; height:19px; "/>
  1019. <input id="int_patnm" ref="/root/main/patinfo/patnm" class="input_default" navindex="2" maxlength="10" style="left:309px; top:6px; width:159px; height:19px; font-weight:bold; "/>
  1020. <caption id="caption43" class="cell_1" style="left:470px; top:5px; width:75px; height:23px; text-align:center; vertical-align:middle; ">성 별</caption>
  1021. <caption id="caption44" class="cell_1" style="left:600px; top:5px; width:58px; height:23px; text-align:center; vertical-align:middle; ">나 이</caption>
  1022. <select1 id="cmb_gender" ref="/root/main/patinfo/gender" navindex="3" appearance="minimal" style="left:547px; top:6px; width:51px; height:19px; ">
  1023. <choices>
  1024. <item>
  1025. <label>남</label>
  1026. <value>M</value>
  1027. </item>
  1028. <item>
  1029. <label>여</label>
  1030. <value>F</value>
  1031. </item>
  1032. </choices>
  1033. </select1>
  1034. <select1 id="cmb_dept" ref="/root/main/patinfo/orddeptcd" navindex="7" appearance="minimal" editmode="search" style="left:309px; top:31px; width:159px; height:19px; text-align:left; ">
  1035. <choices>
  1036. <itemset nodeset="/root/init/dept/">
  1037. <label ref="depthngnm"/>
  1038. <value ref="deptcd"/>
  1039. </itemset>
  1040. </choices>
  1041. <script type="javascript" ev:event="xforms-value-changed">
  1042. <![CDATA[
  1043. model.removeNodeset("/root/init/userlist");
  1044. model.makeNode("/root/init/userlist/medispclid/usercombo");
  1045. model.makeNode("/root/init/userlist/atdoctid/usercombo");
  1046. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist/medispclid", cmb_dept.value, "0330");
  1047. //mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist/medispclid", cmb_dept.value, "0330", "", "M");
  1048. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist/atdoctid", cmb_dept.value, "0330", "", "T");
  1049. addComboItem("cmb_medispclid", "-", "", "above"); //의사콤보 전체항목 추가
  1050. addComboItem("cmb_atdoctcd", "-", "", "above"); //의사콤보 전체항목 추가
  1051. ]]>
  1052. </script>
  1053. </select1>
  1054. </group>
  1055. <button id="button1" class="btn2_letter7" style="left:810px; top:23px; width:97px; height:19px; ">
  1056. <caption>심폐소생술보고</caption>
  1057. <script type="javascript" ev:event="DOMActivate">
  1058. <![CDATA[
  1059. modal("SMMNE04900"); //심폐소생보고내역 조회
  1060. ]]>
  1061. </script>
  1062. </button>
  1063. <button id="button3" class="btn2_letter2" style="left:642px; top:23px; width:42px; height:19px; ">
  1064. <caption>출력</caption>
  1065. <script type="javascript" ev:event="DOMActivate">
  1066. <![CDATA[
  1067. window.print();
  1068. ]]>
  1069. </script>
  1070. </button>
  1071. <button id="button13" class="btn2_letter3" style="left:910px; top:23px; width:53px; height:19px; ">
  1072. <caption>도움말</caption>
  1073. <script type="javascript" ev:event="DOMActivate">
  1074. <![CDATA[
  1075. open("SPMNE02300","1","15","128");
  1076. ]]>
  1077. </script>
  1078. </button>
  1079. <caption id="caption1" class="tit_2" style="left:4px; top:29px; width:164px; height:13px; ">대상자 정보</caption>
  1080. <group id="group4" style="left:710px; top:456px; width:255px; height:23px; ">
  1081. <button id="button4" class="btn4_letter2" style="left:198px; top:0px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
  1082. <caption>저장</caption>
  1083. <script type="javascript" ev:event="onclick">
  1084. <![CDATA[
  1085. if(datagrid2.row < 1 ) {
  1086. if( fCardArrResusSave("1", model.getValue("/root/main/patinfo/nursdocflag"), "I") == true ){
  1087. button12.dispatch("DOMActivate");
  1088. }
  1089. }else{
  1090. messageBox("이력데이터는 다시 저장 할 수 없습니다.", "E");
  1091. return;
  1092. }
  1093. ]]>
  1094. </script>
  1095. </button>
  1096. <button id="button10" class="btn4_letter2" visibility="hidden" style="left:140px; top:0px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  1097. <caption>수정</caption>
  1098. <script type="javascript" ev:event="DOMActivate">
  1099. <![CDATA[
  1100. fCardArrResusSave("1", model.getValue("/root/main/patinfo/nursdocflag") ,"U");
  1101. ]]>
  1102. </script>
  1103. </button>
  1104. <button id="button11" class="btn4_letter2" visibility="hidden" style="left:82px; top:0px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  1105. <caption>삭제</caption>
  1106. <script type="javascript" ev:event="DOMActivate">
  1107. <![CDATA[
  1108. fCardArrResusSave("1", model.getValue("/root/main/patinfo/nursdocflag") ,"D");
  1109. button12.dispatch("DOMActivate");
  1110. ]]>
  1111. </script>
  1112. </button>
  1113. <button id="button12" class="btn3_letter4" style="left:0px; top:0px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  1114. <caption>새로작성</caption>
  1115. <script type="javascript" ev:event="DOMActivate">
  1116. <![CDATA[
  1117. datagrid2.row = 0 ;
  1118. model.setValue("/root/main/patinfo/selectrow", "");
  1119. fClearChildNode("/root/main/resusinfo/resuslist");
  1120. model.refresh();
  1121. model.setValue("/root/main/patinfo/cardarrgenrdd", getCurrentDate());
  1122. model.setValue("/root/main/patinfo/cardarrgenrtm", getCurrentTime());
  1123. int_cardarrgenrdd.disabled = false;
  1124. if(model.getValue("/root/main/patinfo/nursdocflag") == "N"){
  1125. fDateSetting("Init");
  1126. }
  1127. fInputBoxInit();
  1128. button4.visible = true;
  1129. button10.visible = false;
  1130. button11.visible = false;
  1131. ]]>
  1132. </script>
  1133. </button>
  1134. </group>
  1135. <button id="button8" class="btn2_letter9" navindex="66" style="left:688px; top:23px; width:119px; height:19px; ">
  1136. <caption>파랑새 심폐소생보고</caption>
  1137. <script type="javascript" ev:event="DOMActivate">
  1138. <![CDATA[
  1139. if(datagrid2.row <= 0) {
  1140. messageBox("심폐소생보고서를 작성, 선택한 후 상세기록을 하십시오.", "E");
  1141. return;
  1142. }
  1143. var pid= model.getValue("/root/main/patinfo/pid");
  1144. if(pid == "" || pid == null) {
  1145. messageBox("환자의 입원정보를 찾을 수 없습니다.", "E");
  1146. return;
  1147. }
  1148. model.property("pid") = model.getValue("/root/main/patinfo/pid");
  1149. model.property("patnm") = model.getValue("/root/main/patinfo/patnm");
  1150. model.property("indd") = model.getValue("/root/main/patinfo/indd");
  1151. model.property("cretno") = model.getValue("/root/main/patinfo/cretno");
  1152. model.property("cardarrgenrdt") = model.getValue("/root/main/patinfo/cardarrgenrdd") + model.getValue("/root/main/patinfo/cardarrgenrtm");
  1153. model.property("wardcd") = model.getValue("/root/main/patinfo/wardcd");
  1154. model.property("roomcd") = model.getValue("/root/main/patinfo/roomcd");
  1155. model.property("ordtype") = model.getValue("/root/main/patinfo/ordtype");
  1156. model.property("orddrid") = model.getValue("/root/main/patinfo/medispclid");
  1157. model.property("orddrnm") = model.getValue("/root/main/patinfo/orddrid ");
  1158. model.property("orddeptcd") = model.getValue("/root/main/patinfo/deptcd");
  1159. model.property("orddeptnm") = model.getValue("/root/main/patinfo/orddeptcd");
  1160. model.property("sa") = model.getValue("/root/main/patinfo/grdrage");
  1161. model.property("issdeptcd") = model.getValue("/root/main/patinfo/issdeptcd");
  1162. modal("SPMNE02301");
  1163. ]]>
  1164. </script>
  1165. </button>
  1166. </xhtml:body>
  1167. </xhtml:html>