SMMNE02302_파랑새발령심폐소생술보고서.xrw 92 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091
  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. <rrgstno/>
  13. <cardarrgenrdd/>
  14. <cardarrgenrtm/>
  15. <indd/>
  16. <cretno/>
  17. <instcd/>
  18. <nursdocflag/>
  19. <selectrow/>
  20. <histno/>
  21. <patnm/>
  22. <grdrage/>
  23. <cntctel/>
  24. <addr/>
  25. <indd1/>
  26. <orddeptcd/>
  27. <medispclid/>
  28. <ininfo/>
  29. <atdoctnm/>
  30. <wardnm/>
  31. <patinfoflag/>
  32. <cardarrgenrdt/>
  33. <patgubun/>
  34. <gender/>
  35. <age/>
  36. <wardcd/>
  37. <roomcd/>
  38. <diagnm/>
  39. <atdoctcd/>
  40. <medispclid/>
  41. <orddeptcd/>
  42. <diagcd/>
  43. </patinfo>
  44. <resusinfo>
  45. <resuslist>
  46. <pid/>
  47. <cardarrgenrdd/>
  48. <cardarrgenrtm/>
  49. <cardarrgoalyn/>
  50. <cardarrdiscvpsn/>
  51. <cardarrdiscvpsnetc/>
  52. <cardarrgenrplceflag/>
  53. <cardarrgenrplcedept/>
  54. <resusteamarvbfresus/>
  55. <resusteamarvbfresusetc/>
  56. <resusteamfresus/>
  57. <resusteamfresusetc/>
  58. <cardarrestmdd/>
  59. <cardarrestmtm/>
  60. <cardarrestmflag/>
  61. <resusteamcalldd/>
  62. <resusteamcalltm/>
  63. <resusteamarvdd/>
  64. <resusteamarvtm/>
  65. <initrhythmcnfmdd/>
  66. <initrhythmcnfmtm/>
  67. <resusfromdd/>
  68. <resusfromtm/>
  69. <resustodd/>
  70. <resustotm/>
  71. <cardarrcas/>
  72. <initrhythm/>
  73. <resusendresn/>
  74. <resusendresnetc/>
  75. <cardarrrslt/>
  76. <cardarrrsltetc/>
  77. <dschdethdd/>
  78. <dschdethtm/>
  79. <dschneurologystat/>
  80. <fstrgstrid/>
  81. <fstrgstdt/>
  82. <resusteamarvbfresusnurse/>
  83. <resusteamarvbfresusnurseetc/>
  84. <cardarrgenrtm/>
  85. <cardarryn/>
  86. <resusteamarvbfresusflag/>
  87. <resusteamarvbfresustext/>
  88. <bluebirdalarmyn/>
  89. <bluebirdalarmdd/>
  90. <bluebirdalarmtm/>
  91. <cardarrgenrplceward/>
  92. <cardarrgenrplcewardflag/>
  93. <cardarrgenrplcehosin/>
  94. <cardarrgenrplcetestroom/>
  95. <cardarrgenrplcehosout/>
  96. <hosparvbfresus/>
  97. <hosparvbfresusetc/>
  98. <atdoctcalldd/>
  99. <atdoctcalltm/>
  100. <resusteamarvafresus/>
  101. <resusteamarvafresusetc/>
  102. <resusteamorddept/>
  103. <resusteamorddr/>
  104. <resusteamnum/>
  105. <patstatus/>
  106. <patstatusetc/>
  107. <curerslt/>
  108. <patinfoflag/>
  109. <patinfoflagetc/>
  110. <cardarrgenrdt/>
  111. <cardarrgenrdtchg/>
  112. <cardarrfinddd/>
  113. <cardarrfindtm/>
  114. <atdoctarrdd/>
  115. <atdoctarrtm/>
  116. <cardarrgenrplcehoscenter/>
  117. <patnm/>
  118. <saveflag/>
  119. <nursesaveid/>
  120. <nursesavenm/>
  121. <nursesavedd/>
  122. <docsaveid/>
  123. <docsavenm/>
  124. <docsavedd/>
  125. <rsltsaveid/>
  126. <rsltsavenm/>
  127. <rsltsavedd/>
  128. <lastsaveid/>
  129. <lastsavenm/>
  130. <lastsavedd/>
  131. <hosparvbfresusynflag/>
  132. <defibrstartdd/>
  133. <defibrstarttm/>
  134. <defibrjul/>
  135. <defibrtims/>
  136. <cardarrgenrplceetcbigo/>
  137. <defibrjul2/>
  138. <defibrtims2/>
  139. <defibrflag/>
  140. <fstresusexecetc/>
  141. <fstresusexecflag/>
  142. <initpatcscs/>
  143. <initpatbreth/>
  144. <initpatpulse/>
  145. </resuslist>
  146. </resusinfo>
  147. <paminfo>
  148. <list/>
  149. </paminfo>
  150. <pathistinfo>
  151. <pathistlist>
  152. <lastupdtdt/>
  153. <lastupdtrnm/>
  154. <pid/>
  155. <indd/>
  156. <cretno/>
  157. <instcd/>
  158. <cardarrgenrdd/>
  159. <cardarrgenrtm/>
  160. <histno/>
  161. </pathistlist>
  162. <patcprhistinfo>
  163. <startdd/>
  164. <starttm/>
  165. </patcprhistinfo>
  166. <patinfo>
  167. <pid/>
  168. <indd/>
  169. <cretno/>
  170. <instcd/>
  171. <rrgstno1/>
  172. <rrgstno2/>
  173. </patinfo>
  174. </pathistinfo>
  175. </main>
  176. <send>
  177. <wardcd/>
  178. </send>
  179. <srchmax>
  180. <patinfoflag/>
  181. <patinfoflagtxt/>
  182. <popflag/>
  183. </srchmax>
  184. <hidden>
  185. <orddeptlist/>
  186. <erorddeptlist/>
  187. </hidden>
  188. <init>
  189. <M0380list>
  190. <M0380>
  191. <cdnm/>
  192. <cdid/>
  193. </M0380>
  194. </M0380list>
  195. </init>
  196. <resusbase>
  197. <resuslist>
  198. <pid/>
  199. <cardarrgenrdd/>
  200. <cardarrgenrtm/>
  201. <cardarrgoalyn/>
  202. <cardarrdiscvpsn/>
  203. <cardarrdiscvpsnetc/>
  204. <cardarrgenrplceflag/>
  205. <cardarrgenrplcedept/>
  206. <resusteamarvbfresus/>
  207. <resusteamarvbfresusetc/>
  208. <resusteamfresus/>
  209. <resusteamfresusetc/>
  210. <cardarrestmdd/>
  211. <cardarrestmtm/>
  212. <cardarrestmflag/>
  213. <resusteamcalldd/>
  214. <resusteamcalltm/>
  215. <resusteamarvdd/>
  216. <resusteamarvtm/>
  217. <initrhythmcnfmdd/>
  218. <initrhythmcnfmtm/>
  219. <resusfromdd/>
  220. <resusfromtm/>
  221. <resustodd/>
  222. <resustotm/>
  223. <cardarrcas/>
  224. <initrhythm/>
  225. <resusendresn/>
  226. <resusendresnetc/>
  227. <cardarrrslt/>
  228. <cardarrrsltetc/>
  229. <dschdethdd/>
  230. <dschdethtm/>
  231. <dschneurologystat/>
  232. <fstrgstrid/>
  233. <fstrgstdt/>
  234. </resuslist>
  235. </resusbase>
  236. <saveinfo>
  237. <nurseinfo/>
  238. <docinfo/>
  239. <rsltinfo/>
  240. <lastinfo/>
  241. </saveinfo>
  242. <temp>
  243. <maxseq/>
  244. <cond>
  245. <roomcdgrup>
  246. <roomcdgruplist/>
  247. </roomcdgrup>
  248. </cond>
  249. </temp>
  250. <init2/>
  251. </root>
  252. </instance>
  253. <script type="javascript" ev:event="xforms-ready">
  254. <![CDATA[
  255. fInit("1");
  256. ]]>
  257. </script>
  258. <submission id="TRZBC00101" method="post" replace="instance"/>
  259. <submission id="TXMNE02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/resusinfo"/>
  260. <submission id="TRMNE02310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/pathistinfo"/>
  261. <submission id="TRMNE02313" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init2"/>
  262. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  263. <submission id="TXMNE02309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/resusinfo"/>
  264. <submission id="TXMNE02310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/resusinfo"/>
  265. <submission id="TRMNE02311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/srchmax" resultref="/root/temp/maxseq"/>
  266. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  267. <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
  268. <submission id="TRMNR01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/cond/roomcdgrup"/>
  269. <submission id="TRAEA01511" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/roomcmb_info"/>
  270. </model>
  271. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  272. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  273. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  274. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  275. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  276. <script type="javascript" src="../../../emr/ercareweb/js/SMMNE02301.js"/>
  277. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  278. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  279. </xhtml:head>
  280. <xhtml:body pagewidth="1080" pageheight="850" guideline="1,142;1,3;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  281. <group id="group3" scroll="auto" style="left:0px; top:24px; width:1057px; height:156px; text-align:center; ">
  282. <caption id="caption4" class="tit_2" style="left:5px; top:4px; width:148px; height:13px; ">대상자 정보</caption>
  283. <caption id="caption22" class="tit_2" style="left:810px; top:3px; width:120px; height:13px; ">과거자료 조회</caption>
  284. </group>
  285. <group id="group6" scroll="auto" style="left:0px; top:660px; width:1057px; height:150px; text-align:center; ">
  286. <!--(20101206)
  287. <caption id="caption19" class="tit_2" style="left:4px; top:8px; width:164px; height:13px; ">주치의(관리자) 입력화면</caption>
  288. -->
  289. <caption id="caption45" class="tit_2" style="left:4px; top:0px; width:164px; height:16px; ">보고결과</caption>
  290. <!--(20101206) -->
  291. <line id="line33" class="line_1" style="x1:0px; y1:18px; x2:1055px; y2:18px; "/>
  292. <caption id="caption46" class="cell_1" style="left:0px; top:23px; width:150px; height:23px; text-align:center; vertical-align:middle; ">심폐소생팀/응급처치</caption>
  293. <caption id="caption48" class="cell_1" style="left:0px; top:47px; width:150px; height:100px; text-align:center; vertical-align:middle; ">
  294. <![CDATA[처치 및 결과
  295. (육하원칙에 의해)]]>
  296. </caption>
  297. <line id="line35" class="line_2" style="x1:0px; y1:22px; x2:1055px; y2:22px; "/>
  298. <line id="line40" class="line_3" style="x1:0px; y1:148px; x2:1055px; y2:148px; "/>
  299. <input id="input14" ref="/root/main/resusinfo/resuslist/resusteamorddept" class="input_default" navindex="86" maxlength="10" style="left:282px; top:25px; width:200px; height:19px; text-align:left; ">
  300. <script type="javascript" ev:event="onkeyup">
  301. <![CDATA[
  302. if(event.keyCode == 13) {
  303. fSrchPatListInput("1");
  304. }
  305. ]]>
  306. </script>
  307. </input>
  308. <caption id="caption49" class="cell_1" style="left:154px; top:23px; width:125px; height:23px; text-align:center; vertical-align:middle; ">진 료 과</caption>
  309. <input id="input15" ref="/root/main/resusinfo/resuslist/resusteamorddr" class="input_default" navindex="87" maxlength="10" style="left:651px; top:25px; width:160px; height:19px; text-align:left; ">
  310. <script type="javascript" ev:event="onkeyup">
  311. <![CDATA[
  312. if(event.keyCode == 13) {
  313. fSrchPatListInput("1");
  314. }
  315. ]]>
  316. </script>
  317. </input>
  318. <caption id="caption50" class="cell_1" style="left:487px; top:23px; width:160px; height:23px; text-align:center; vertical-align:middle; ">전 문 의</caption>
  319. <caption id="caption51" class="cell_1" style="left:815px; top:23px; width:115px; height:23px; text-align:center; vertical-align:middle; ">참여 의료진</caption>
  320. <input id="input16" ref="/root/main/resusinfo/resuslist/resusteamnum" class="input_default" navindex="88" maxlength="10" format="#,###" style="left:935px; top:25px; width:95px; height:19px; ">
  321. <script type="javascript" ev:event="onkeyup">
  322. <![CDATA[
  323. if(event.keyCode == 13) {
  324. fSrchPatListInput("1");
  325. }
  326. ]]>
  327. </script>
  328. </input>
  329. <caption id="caption59" style="left:1034px; top:26px; width:15px; height:20px; ">명</caption>
  330. <textarea id="txt_curerslt" ref="/root/main/resusinfo/resuslist/curerslt" navindex="89" style="left:155px; top:48px; width:895px; height:98px; text-align:left; vertical-align:top; "/>
  331. </group>
  332. <group id="grp_btn" style="left:0px; top:0px; width:1057px; height:23px; ">
  333. <button id="btn_lastsave" class="btn3_letter4" navindex="91" style="left:920px; top:1px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
  334. <caption>최종저장</caption>
  335. <script type="javascript" ev:event="onclick">
  336. <![CDATA[
  337. var pStatus = "";
  338. var saveflag = "Y";
  339. var sRow = grd_pastlst.row;
  340. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdtchg", int_cardarrgenrdd.value + int_cardarrgenrtm.value);
  341. // 저장할 환자내역이 존재하는지 CHECK
  342. if(fSaveBfChk()){
  343. // 과거내역을 선택했는지 CHECK
  344. if(model.getValue("/root/main/patinfo/selectrow") != "" || sRow >= 1 ){
  345. if( messageBox("최종저장 후에는 내용 수정이 불가합니다.\n이대로 저장하시겠습니까?", "Q999") == 6 )
  346. fCardArrResusLastSave("U");
  347. }else{
  348. if( messageBox("최종저장 후에는 내용 수정이 불가합니다.\n이대로 저장하시겠습니까?", "Q999") == 6 )
  349. fCardArrResusLastSave("I");
  350. }
  351. }else{
  352. messageBox("최종 저장할 데이터가 존재하지않습니다.","E");
  353. return;
  354. }
  355. /*
  356. if( grd_pastlst.rows > 1 ){
  357. if( model.getValue("/root/main/patinfo/selectrow") != "" || sRow >= 1 ){
  358. if( messageBox("최종저장 후에는 내용 수정이 불가합니다.\n이대로 저장하시겠습니까?", "Q999") == 6 ){
  359. fCardArrResusLastSave();
  360. // 파랑새 발령 호출여부가 Y인 경우에만
  361. if( model.getValue("/root/main/resusinfo/resuslist/bluebirdalarmyn") == "Y"){
  362. btn_sms.disabled = false;
  363. if( messageBox("파랑새 SMS전송으로 진행하시겠습니까?", "Q999") == 6 ){
  364. btn_sms.dispatch("onclick");
  365. }else{
  366. return;
  367. }
  368. }else{
  369. btn_sms.disabled = true;
  370. return;
  371. }
  372. }else{
  373. return;
  374. }
  375. }else{
  376. messageBox("최종 저장할 데이터를 선택해주세요.","E");
  377. return;
  378. }
  379. }else{
  380. fPartCardArrResusSave("1");
  381. }
  382. */
  383. model.refresh();
  384. ]]>
  385. </script>
  386. <hint>
  387. <![CDATA[최종저장 후에는 수정불가능 합니다.]]>
  388. </hint>
  389. </button>
  390. <button id="button3" class="btn6_letter2" navindex="97" style="left:1000px; top:1px; width:56px; height:22px; ">
  391. <caption>출력</caption>
  392. <script type="javascript" ev:event="DOMActivate">
  393. <![CDATA[
  394. fPrint();
  395. ]]>
  396. </script>
  397. </button>
  398. <line id="line22" class="line_6" style="x1:0px; y1:22px; x2:1010px; y2:22px; "/>
  399. <button id="button10" class="btn5_letter2" visibility="hidden" style="left:230px; top:0px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  400. <caption>수정</caption>
  401. <script type="javascript" ev:event="DOMActivate">
  402. <![CDATA[
  403. fCardArrResusSave("1", model.getValue("/root/main/patinfo/nursdocflag") ,"U");
  404. ]]>
  405. </script>
  406. </button>
  407. <button id="btn_del" class="btn5_letter2" navindex="96" style="left:877px; top:2px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  408. <caption>삭제</caption>
  409. <script type="javascript" ev:event="DOMActivate">
  410. <![CDATA[
  411. var pStatus = "";
  412. var sRow = grd_pastlst.row;
  413. fSaveBfChk();
  414. if( grd_pastlst.rows > 1 ){
  415. if( model.getValue("/root/main/patinfo/selectrow") != "" || sRow >= 1 ){
  416. if( model.getValue("/root/main/resusinfo/resuslist/lastsaveid") != "" ){
  417. messageBox("최종저장 완료시, 기록을 삭제할 수 없습니다.","E");
  418. return;
  419. // if( model.getValue("/root/main/resusinfo/resuslist/lastsaveid") == getUserInfo("userid") ){
  420. // fCardArrResusSave("1", model.getValue("/root/main/patinfo/nursdocflag") ,"D");
  421. // }else{
  422. // messageBox("삭제할 권한은 최종저장자에게만 있습니다.","E");
  423. // return;
  424. // }
  425. }else{
  426. if( model.getValue("/root/main/resusinfo/resuslist/nursesaveid") == getUserInfo("userid")
  427. || model.getValue("/root/main/resusinfo/resuslist/docsaveid") == getUserInfo("userid")
  428. || model.getValue("/root/main/resusinfo/resuslist/rsltsaveid") == getUserInfo("userid") ){
  429. if( messageBox("기록을 삭제하시겠습니까?", "Q999") == 6 ){
  430. fCardArrResusSave("1", model.getValue("/root/main/patinfo/nursdocflag") ,"D");
  431. }else{
  432. return;
  433. }
  434. }else{
  435. messageBox("삭제할 권한은 저장자에게만 있습니다.","E");
  436. return;
  437. }
  438. }
  439. }else{
  440. messageBox("삭제할 데이터를 선택해주세요.","E");
  441. return;
  442. }
  443. }else{
  444. messageBox("삭제할 데이터가 없습니다.","E");
  445. return;
  446. }
  447. ]]>
  448. </script>
  449. </button>
  450. <button id="btn_new" class="btn5_letter4" navindex="95" style="left:811px; top:2px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  451. <caption>새로작성</caption>
  452. <script type="javascript" ev:event="DOMActivate">
  453. <![CDATA[
  454. model.setValue("/root/saveinfo/nurseinfo", "");
  455. model.setValue("/root/saveinfo/lastinfo", "");
  456. grp_patinfogroup.disabled = false;
  457. group2.disabled = false ;
  458. btn_lastsave.disabled = false;
  459. btn_nursesave.disabled = false;
  460. group6.disabled = false;
  461. rdo_patinfoflag.disabled = false;
  462. int_cardarrgenrdd.disabled = false;
  463. int_cardarrgenrtm.disabled = false;
  464. btn_genrclock.disabled = false;
  465. int_cardarrdiscvpsnetc.disabled = true;
  466. int_resusteamarvbfresusetc.disabled = true;
  467. int_resusteamarvbfresusnurseetc.disabled = true;
  468. int_resusteamarvafresusetc.disabled = true;
  469. int_resusendresnetc.disabled = true;
  470. int_cardarrgenrplcehosout.disabled = true;
  471. int_hosparvbfresusetc.disabled = true;
  472. cmb_cardarrgenrplceward.disabled = true;
  473. rdo_cardarrgenrplcewardflag.disabled = true;
  474. cmb_cardarrgenrplcehosin.disabled = true;
  475. cmb_cardarrgenrplcehoscenter.disabled = true;
  476. cmb_cardarrgenrplcetestroom.disabled = true;
  477. chk_resusteamarvbfresus.disabled = true;
  478. chk_resusteamarvbfresusnurse.disabled = true;
  479. grd_pastlst.row = 0 ;
  480. model.setValue("/root/main/patinfo/selectrow", "");
  481. fClearChildNode("/root/main/resusinfo/resuslist");
  482. model.setValue(xPathCardArrPatInfo+"/cardarrgenrdd", getCurrentDate());
  483. model.setValue(xPathCardArrPatInfo+"/cardarrgenrtm", getCurrentTime());
  484. model.setValue(xPathCardArrPatInfo+"/cardarrgenrdt", getCurrentDate() + getCurrentTime());
  485. int_cardarrgenrdd.disabled = false;
  486. if(model.getValue("/root/main/patinfo/nursdocflag") == "N"){
  487. fDateSetting("Init");
  488. }
  489. fInputBoxInit("1");
  490. model.refresh();
  491. ]]>
  492. </script>
  493. </button>
  494. <button id="button13" class="btn2_letter10" navindex="94" style="left:679px; top:2px; width:130px; height:19px; ">
  495. <caption>심폐소생술 용어 정의</caption>
  496. <script type="javascript" ev:event="DOMActivate">
  497. <![CDATA[
  498. open("SPMNE02300","1","15","128");
  499. ]]>
  500. </script>
  501. </button>
  502. <button id="button1" class="btn2_letter10" navindex="93" style="left:547px; top:2px; width:130px; height:19px; ">
  503. <caption>파랑새 심폐소생 보고</caption>
  504. <script type="javascript" ev:event="DOMActivate">
  505. <![CDATA[
  506. if(grd_pastlst.row <= 0) {
  507. messageBox("심폐소생보고서를 작성, 선택한 후 상세기록을 하십시오.", "E");
  508. return;
  509. }
  510. var pid= model.getValue("/root/main/patinfo/pid");
  511. if(pid == "" || pid == null) {
  512. messageBox("환자의 입원정보를 찾을 수 없습니다.", "E");
  513. return;
  514. }
  515. model.property("pid") = model.getValue("/root/main/patinfo/pid");
  516. model.property("patnm") = model.getValue("/root/main/patinfo/patnm");
  517. model.property("indd") = model.getValue("/root/main/patinfo/indd");
  518. model.property("cretno") = model.getValue("/root/main/patinfo/cretno");
  519. model.property("cardarrgenrdt") = model.getValue(xPathCardArrPatInfo+"/cardarrgenrdd") + model.getValue(xPathCardArrPatInfo+"/cardarrgenrtm");
  520. model.property("wardcd") = model.getValue("/root/main/patinfo/wardcd");
  521. model.property("roomcd") = model.getValue("/root/main/patinfo/roomcd");
  522. model.property("ordtype") = model.getValue("/root/main/patinfo/ordtype");
  523. model.property("orddrid") = model.getValue("/root/main/patinfo/medispclid");
  524. model.property("orddrnm") = model.getValue("/root/main/patinfo/orddrid ");
  525. model.property("orddeptcd") = model.getValue("/root/main/patinfo/deptcd");
  526. model.property("orddeptnm") = model.getValue("/root/main/patinfo/orddeptcd");
  527. model.property("sa") = model.getValue("/root/main/patinfo/grdrage");
  528. model.property("issdeptcd") = model.getValue("/root/main/patinfo/issdeptcd");
  529. modal("SPMNE02301");
  530. ]]>
  531. </script>
  532. </button>
  533. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:325px; height:13px; ">심폐소생술 및 파랑새 발령 보고서</caption>
  534. <button id="btn_sms" class="btn1_letter8" disabled="true" navindex="92" visibility="hidden" style="left:417px; top:0px; width:128px; height:22px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
  535. <caption>파랑새 SMS 전송</caption>
  536. <script type="javascript" ev:event="onclick">
  537. <![CDATA[
  538. //fSendSMS();
  539. model.property("pid") = model.getValue("/root/main/patinfo/pid");
  540. model.property("patnm") = model.getValue("/root/main/patinfo/patnm");
  541. model.property("gender") = model.getValue("/root/main/patinfo/gender");
  542. model.property("age") = model.getValue("/root/main/patinfo/age");
  543. model.property("atdoctcd") = model.getValue("/root/main/patinfo/atdoctcd");
  544. model.property("atdoctnm") = cmb_atdoctcd.label;
  545. model.property("cardarrgenrdt") = model.getValue(xPathCardArrPatInfo+"/cardarrgenrdt");
  546. model.property("medispclid") = model.getValue("/root/main/patinfo/medispclid");
  547. model.property("medispclnm") = cmb_medispclid.label;
  548. model.property("patinfoflag") = rdo_patinfoflag.label;
  549. model.property("diagnm") = model.getValue("/root/main/patinfo/diagnm");
  550. model.property("orddeptcd") = model.getValue("/root/main/patinfo/deptcd");
  551. model.property("orddeptnm") = cmb_dept.label;
  552. model.property("cardarryn") = model.getValue("/root/main/resusinfo/resuslist/cardarryn");
  553. model.property("indd") = model.getValue("/root/main/patinfo/indd");
  554. model.property("cretno") = model.getValue("/root/main/patinfo/cretno");
  555. model.property("histno") = model.getValue("/root/main/patinfo/histno");
  556. model.property("wardnm") = cmb_wardcd.label;
  557. var txt = "";
  558. if( rdo_cardarrgenrplceflag.value == "01"){ // 병동
  559. txt = "병동";
  560. if(cmb_cardarrgenrplceward.value != ""){
  561. txt = txt + "(" + cmb_cardarrgenrplceward.label;
  562. }
  563. if(rdo_cardarrgenrplcewardflag.value != ""){
  564. txt = txt + "-" + rdo_cardarrgenrplcewardflag.label;
  565. }
  566. txt = txt + ")";
  567. }else if( rdo_cardarrgenrplceflag.value == "02"){ // 외래
  568. txt = "외래";
  569. if(cmb_cardarrgenrplcehosin.value != ""){
  570. txt = txt + "(" + cmb_cardarrgenrplcehosin.label + ")";
  571. }
  572. }else if( rdo_cardarrgenrplceflag.value == "03"){ // 검사실
  573. txt = "검사실";
  574. if(cmb_cardarrgenrplcetestroom.value != ""){
  575. txt = txt + "(" + cmb_cardarrgenrplcetestroom.label + ")";
  576. }
  577. }else if( rdo_cardarrgenrplceflag.value == "04"){ // 원외
  578. txt = "원외";
  579. if(int_cardarrgenrplcehosout.value != ""){
  580. txt = txt + "(" + int_cardarrgenrplcehosout.label + ")";
  581. }
  582. }else if( rdo_cardarrgenrplceflag.value == "05"){ // 센터진료실
  583. txt = "센터진료실";
  584. if(cmb_cardarrgenrplcehoscenter.value != ""){
  585. txt = txt + "(" + cmb_cardarrgenrplcehoscenter.label + ")";
  586. }
  587. }
  588. model.property("cardarrgenrplce") = txt;
  589. model.property("lastsaveid") = model.getValue("/root/main/resusinfo/resuslist/lastsaveid" );
  590. model.property("lastsavenm") = model.getValue("/root/main/resusinfo/resuslist/lastsavenm" );
  591. model.property("lastsavedd") = model.getValue("/root/main/resusinfo/resuslist/lastsavedd" ).substring(0,8);
  592. model.property("lastsavetm") = model.getValue("/root/main/resusinfo/resuslist/lastsavedd" ).substring(8,14);
  593. modal("SPMNE02306");
  594. if( grd_pastlst.row != "" ){
  595. grd_pastlst.row = 1;
  596. }
  597. grd_pastlst.dispatch("onclick");
  598. ]]>
  599. </script>
  600. <hint>
  601. <![CDATA[최종저장 후 진행하시기 바랍니다(파랑새 발령 호출여부가 Y인 경우에만 전송가능)]]>
  602. </hint>
  603. </button>
  604. <caption id="sms_number" style="left:271px; top:4px; width:100px; height:15px; font-weight:bold; color:#ff0000; text-align:right; "/>
  605. </group>
  606. <group id="group2" scroll="auto" style="left:0px; top:180px; width:1058px; height:465px; text-align:center; ">
  607. <line id="line21" class="line_2" style="x1:0px; y1:244px; x2:1050px; y2:244px; "/>
  608. <select1 id="rdo_cardarrgenrplceflag" ref="/root/main/resusinfo/resuslist/cardarrgenrplceflag" navindex="36" appearance="full" cellspacing="270" cols="3" vcellspacing="5" overflow="visible" style="left:155px; top:130px; width:835px; height:65px; text-align:left; border-style:none; ">
  609. <choices>
  610. <item>
  611. <label>병 동</label>
  612. <value>01</value>
  613. </item>
  614. <item>
  615. <label>응급실</label>
  616. <value>05</value>
  617. </item>
  618. <item>
  619. <label>수술/회복실</label>
  620. <value>06</value>
  621. </item>
  622. <item>
  623. <label>외 래</label>
  624. <value>02</value>
  625. </item>
  626. <item>
  627. <label>집중치료실</label>
  628. <value>07</value>
  629. </item>
  630. <item>
  631. <label>진단/검사실</label>
  632. <value>03</value>
  633. </item>
  634. <item>
  635. <label>원 외</label>
  636. <value>04</value>
  637. </item>
  638. <item>
  639. <label>기 타</label>
  640. <value>08</value>
  641. </item>
  642. </choices>
  643. <script type="javascript" ev:event="xforms-value-changed">
  644. <![CDATA[
  645. if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "01"){ // 병 동
  646. cmb_cardarrgenrplceward.disabled = false; // 병동
  647. rdo_cardarrgenrplcewardflag.disabled = false; // 병실,병실외
  648. cmb_cardarrgenrplcehosin.disabled = true;
  649. cmb_cardarrgenrplcehoscenter.disabled = true;
  650. cmb_cardarrgenrplcetestroom.disabled = true;
  651. int_cardarrgenrplcehosout.disabled = true;
  652. int_cardarrgenrplceetcbigo.disabled = true;
  653. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  654. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  655. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  656. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  657. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  658. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "02"){ // 외 래
  659. cmb_cardarrgenrplcehosin.disabled = false;
  660. cmb_cardarrgenrplceward.disabled = true;
  661. rdo_cardarrgenrplcewardflag.disabled = true;
  662. cmb_cardarrgenrplcehoscenter.disabled = true;
  663. cmb_cardarrgenrplcetestroom.disabled = true;
  664. int_cardarrgenrplcehosout.disabled = true;
  665. int_cardarrgenrplceetcbigo.disabled = true;
  666. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  667. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  668. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  669. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  670. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  671. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  672. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "03"){ // 진단/검사실
  673. cmb_cardarrgenrplcetestroom.disabled = false;
  674. cmb_cardarrgenrplcehosin.disabled = true;
  675. cmb_cardarrgenrplceward.disabled = true;
  676. rdo_cardarrgenrplcewardflag.disabled = true;
  677. cmb_cardarrgenrplcehoscenter.disabled = true;
  678. int_cardarrgenrplcehosout.disabled = true;
  679. int_cardarrgenrplceetcbigo.disabled = true;
  680. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  681. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  682. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  683. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  684. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  685. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  686. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "04"){ // 원외
  687. int_cardarrgenrplcehosout.disabled = false;
  688. cmb_cardarrgenrplcehosin.disabled = true;
  689. cmb_cardarrgenrplceward.disabled = true;
  690. rdo_cardarrgenrplcewardflag.disabled = true;
  691. cmb_cardarrgenrplcehoscenter.disabled = true;
  692. cmb_cardarrgenrplcetestroom.disabled = true;
  693. int_cardarrgenrplceetcbigo.disabled = true;
  694. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  695. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  696. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  697. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  698. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  699. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  700. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "05"){ //응급의료센터
  701. int_cardarrgenrplcehosout.disabled = true;
  702. cmb_cardarrgenrplcehosin.disabled = true;
  703. cmb_cardarrgenrplceward.disabled = true;
  704. rdo_cardarrgenrplcewardflag.disabled = true;
  705. cmb_cardarrgenrplcehoscenter.disabled = true;
  706. cmb_cardarrgenrplcetestroom.disabled = true;
  707. int_cardarrgenrplceetcbigo.disabled = true;
  708. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  709. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  710. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  711. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  712. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  713. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  714. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  715. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "06"){ // 수술/회복실
  716. int_cardarrgenrplcehosout.disabled = true;
  717. cmb_cardarrgenrplcehosin.disabled = true;
  718. cmb_cardarrgenrplceward.disabled = true;
  719. rdo_cardarrgenrplcewardflag.disabled = true;
  720. cmb_cardarrgenrplcehoscenter.disabled = true;
  721. cmb_cardarrgenrplcetestroom.disabled = true;
  722. int_cardarrgenrplceetcbigo.disabled = true;
  723. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  724. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  725. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  726. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  727. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  728. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  729. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  730. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "07"){ // 중환자실
  731. cmb_cardarrgenrplcehoscenter.disabled = false;
  732. int_cardarrgenrplcehosout.disabled = true;
  733. cmb_cardarrgenrplcehosin.disabled = true;
  734. cmb_cardarrgenrplceward.disabled = true;
  735. rdo_cardarrgenrplcewardflag.disabled = true;
  736. cmb_cardarrgenrplcetestroom.disabled = true;
  737. int_cardarrgenrplceetcbigo.disabled = true;
  738. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  739. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  740. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  741. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  742. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  743. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  744. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "08"){ // 기 타
  745. int_cardarrgenrplceetcbigo.disabled = false;
  746. int_cardarrgenrplcehosout.disabled = true;
  747. cmb_cardarrgenrplcehosin.disabled = true;
  748. cmb_cardarrgenrplceward.disabled = true;
  749. rdo_cardarrgenrplcewardflag.disabled = true;
  750. cmb_cardarrgenrplcehoscenter.disabled = true;
  751. cmb_cardarrgenrplcetestroom.disabled = true;
  752. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  753. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  754. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  755. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  756. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  757. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  758. }else{
  759. int_cardarrgenrplcehosout.disabled = true;
  760. cmb_cardarrgenrplcehosin.disabled = true;
  761. cmb_cardarrgenrplceward.disabled = true;
  762. rdo_cardarrgenrplcewardflag.disabled = true;
  763. cmb_cardarrgenrplcehoscenter.disabled = true;
  764. cmb_cardarrgenrplcetestroom.disabled = true;
  765. int_cardarrgenrplceetcbigo.disabled = true;
  766. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  767. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  768. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  769. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  770. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  771. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  772. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  773. }
  774. model.refresh();
  775. ]]>
  776. </script>
  777. </select1>
  778. <line id="line24" class="line_1" style="x1:0px; y1:23px; x2:1055px; y2:23px; "/>
  779. <caption id="caption27" class="tit_2" style="left:5px; top:7px; width:113px; height:13px; ">보고내용</caption>
  780. <caption id="caption28" class="cell_1" style="left:0px; top:78px; width:150px; height:23px; text-align:center; vertical-align:middle; ">목 격 여 부</caption>
  781. <caption id="caption29" class="cell_1" style="left:0px; top:103px; width:150px; height:23px; text-align:center; vertical-align:middle; ">발견자(목격자)</caption>
  782. <caption id="caption30" class="cell_1" style="left:0px; top:128px; width:150px; height:68px; text-align:center; vertical-align:middle; ">발 생 장 소</caption>
  783. <select1 id="radio1" ref="/root/main/resusinfo/resuslist/cardarrgoalyn" navindex="33" appearance="full" cellspacing="8" cols="3" overflow="visible" style="left:155px; top:81px; width:430px; height:20px; text-align:left; letter-spacing:1; border-style:none; ">
  784. <choices>
  785. <item>
  786. <label>목격(감시장치사용중)</label>
  787. <value>1</value>
  788. </item>
  789. <item>
  790. <label>목격(감시장치없음)</label>
  791. <value>2</value>
  792. </item>
  793. <item>
  794. <label>목격 못함</label>
  795. <value>3</value>
  796. </item>
  797. </choices>
  798. </select1>
  799. <select1 id="radio2" ref="/root/main/resusinfo/resuslist/cardarrdiscvpsn" navindex="34" appearance="full" cellspacing="7" cols="5" overflow="visible" style="left:155px; top:106px; width:340px; height:20px; text-align:left; letter-spacing:1; border-style:none; ">
  800. <choices>
  801. <item>
  802. <label>가족</label>
  803. <value>01</value>
  804. </item>
  805. <item>
  806. <label>주변일반인</label>
  807. <value>02</value>
  808. </item>
  809. <item>
  810. <label>간호사</label>
  811. <value>06</value>
  812. </item>
  813. <item>
  814. <label>의사</label>
  815. <value>07</value>
  816. </item>
  817. <item>
  818. <label>기타</label>
  819. <value>09</value>
  820. </item>
  821. </choices>
  822. <script type="javascript" ev:event="xforms-value-changed">
  823. <![CDATA[
  824. if(model.getValue("/root/main/resusinfo/resuslist/cardarrdiscvpsn") == "09"){
  825. int_cardarrdiscvpsnetc.disabled = false;
  826. } else {
  827. int_cardarrdiscvpsnetc.value = "";
  828. int_cardarrdiscvpsnetc.disabled = true;
  829. }
  830. ]]>
  831. </script>
  832. </select1>
  833. <input id="int_cardarrdiscvpsnetc" ref="/root/main/resusinfo/resuslist/cardarrdiscvpsnetc" class="input_default" navindex="35" style="left:477px; top:105px; width:573px; height:19px; text-align:left; "/>
  834. <select1 id="cmb_cardarrgenrplceward" ref="/root/main/resusinfo/resuslist/cardarrgenrplceward" class="combo_default" navindex="37" appearance="minimal" style="left:213px; top:131px; width:130px; height:19px; text-align:left; ">
  835. <choices>
  836. <itemset nodeset="/root/init2/ward[ wardtype = 'W' or wardtype = '' ]">
  837. <label ref="wardnm"/>
  838. <value ref="wardcd"/>
  839. </itemset>
  840. </choices>
  841. </select1>
  842. <select1 id="cmb_cardarrgenrplcehosin" ref="/root/main/resusinfo/resuslist/cardarrgenrplcehosin" class="combo_default" navindex="39" appearance="minimal" style="left:213px; top:153px; width:245px; height:19px; text-align:left; ">
  843. <choices>
  844. <itemset nodeset="/root/init2/dept">
  845. <label ref="depthngnm"/>
  846. <value ref="deptcd"/>
  847. </itemset>
  848. </choices>
  849. </select1>
  850. <select id="chk_cardarrgenrplcedept" ref="/root/main/resusinfo/resuslist/cardarrgenrplcedept" navindex="60" visibility="hidden" overflow="visible" appearance="full" style="left:970px; top:316px; width:70px; height:15px; border-style:none; ">
  851. <choices>
  852. <item>
  853. <label>응급센타</label>
  854. <value>1</value>
  855. </item>
  856. </choices>
  857. <script type="javascript" ev:event="xforms-select">
  858. <![CDATA[
  859. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcedept","");
  860. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcedept","1");
  861. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag","13");
  862. ]]>
  863. </script>
  864. </select>
  865. <select1 id="cmb_cardarrgenrplcetestroom" ref="/root/main/resusinfo/resuslist/cardarrgenrplcetestroom" class="combo_default" navindex="43" appearance="minimal" itemcount="30" style="left:915px; top:152px; width:135px; height:19px; text-align:left; ">
  866. <choices>
  867. <itemset nodeset="/root/init2/dept">
  868. <label ref="depthngnm"/>
  869. <value ref="deptcd"/>
  870. </itemset>
  871. </choices>
  872. </select1>
  873. <caption id="caption34" class="cell_1" style="left:0px; top:223px; width:150px; height:66px; text-align:center; vertical-align:middle; ">CPR팀 도착 전 처치</caption>
  874. <select id="chk_resusteamarvbfresus" ref="/root/main/resusinfo/resuslist/resusteamarvbfresus" navindex="48" overflow="visible" appearance="full" cellspacing="8" cols="7" style="left:282px; top:226px; width:525px; height:15px; text-align:left; border-style:none; ">
  875. <choices>
  876. <item>
  877. <label>흉부압박</label>
  878. <value>01</value>
  879. </item>
  880. <item>
  881. <label>호흡보조</label>
  882. <value>02</value>
  883. </item>
  884. <item>
  885. <label>제세동</label>
  886. <value>03</value>
  887. </item>
  888. <item>
  889. <label>전문기도확보</label>
  890. <value>04</value>
  891. </item>
  892. <item>
  893. <label>정맥로확보</label>
  894. <value>05</value>
  895. </item>
  896. <item>
  897. <label>약물투여</label>
  898. <value>06</value>
  899. </item>
  900. <item>
  901. <label>기타</label>
  902. <value>09</value>
  903. </item>
  904. </choices>
  905. <script type="javascript" ev:event="xforms-select">
  906. <![CDATA[
  907. var checkval = "";
  908. for(var i=0; i<7; i++){
  909. if( chk_resusteamarvbfresus.item(i).selected == true){
  910. if(i == "6"){
  911. int_resusteamarvbfresusetc.disabled = false;
  912. }
  913. checkval += "1";
  914. }else {
  915. checkval += "0";
  916. }
  917. }
  918. model.makeValue("hidden/list/resusteamarvbfresus", checkval);
  919. ]]>
  920. </script>
  921. <script type="javascript" ev:event="xforms-deselect">
  922. <![CDATA[
  923. var checkval = "";
  924. for(var i=0; i<7; i++){
  925. if( chk_resusteamarvbfresus.item(i).selected == true){
  926. checkval += "1";
  927. }else {
  928. if(i == "6"){
  929. int_resusteamarvbfresusetc.value = "";
  930. int_resusteamarvbfresusetc.disabled = true;
  931. }
  932. checkval += "0";
  933. }
  934. }
  935. model.makeValue("hidden/list/resusteamarvbfresus", checkval);
  936. ]]>
  937. </script>
  938. </select>
  939. <input id="int_resusteamarvbfresusetc" ref="/root/main/resusinfo/resuslist/resusteamarvbfresusetc" class="input_default" navindex="49" style="left:810px; top:224px; width:240px; height:19px; text-align:left; "/>
  940. <caption id="caption35" class="cell_1" style="left:0px; top:339px; width:150px; height:23px; text-align:center; vertical-align:middle; ">CPR팀 도착 후 처치</caption>
  941. <select id="chk_resusteamarvafresus" ref="/root/main/resusinfo/resuslist/resusteamarvafresus" navindex="61" overflow="visible" appearance="full" cellspacing="8" cols="7" style="left:155px; top:343px; width:525px; height:15px; text-align:left; border-style:none; ">
  942. <choices>
  943. <item>
  944. <label>흉부압박</label>
  945. <value>01</value>
  946. </item>
  947. <item>
  948. <label>호흡보조</label>
  949. <value>02</value>
  950. </item>
  951. <item>
  952. <label>제세동</label>
  953. <value>03</value>
  954. </item>
  955. <item>
  956. <label>전문기도확보</label>
  957. <value>04</value>
  958. </item>
  959. <item>
  960. <label>정맥로확보</label>
  961. <value>05</value>
  962. </item>
  963. <item>
  964. <label>약물투여</label>
  965. <value>06</value>
  966. </item>
  967. <item>
  968. <label>기타</label>
  969. <value>09</value>
  970. </item>
  971. </choices>
  972. <script type="javascript" ev:event="xforms-select">
  973. <![CDATA[
  974. var checkval = "";
  975. for(var i=0; i<7; i++){
  976. if( chk_resusteamarvafresus.item(i).selected == true){
  977. if(i == "6"){
  978. int_resusteamarvafresusetc.disabled = false;
  979. }
  980. checkval += "1";
  981. }else {
  982. checkval += "0";
  983. }
  984. }
  985. model.makeValue("hidden/list/resusteamarvafresusetc", checkval);
  986. ]]>
  987. </script>
  988. <script type="javascript" ev:event="xforms-deselect">
  989. <![CDATA[
  990. var checkval = "";
  991. for(var i=0; i<7; i++){
  992. if( chk_resusteamarvafresus.item(i).selected == true){
  993. checkval += "1";
  994. }else {
  995. if(i == "6"){
  996. int_resusteamarvafresusetc.value = "";
  997. int_resusteamarvafresusetc.disabled = true;
  998. }
  999. checkval += "0";
  1000. }
  1001. }
  1002. model.makeValue("hidden/list/resusteamarvafresusetc", checkval);
  1003. ]]>
  1004. </script>
  1005. </select>
  1006. <input id="int_resusteamarvafresusetc" ref="/root/main/resusinfo/resuslist/resusteamarvafresusetc" class="input_default" navindex="62" style="left:685px; top:340px; width:365px; height:19px; text-align:left; "/>
  1007. <line id="line29" class="line_3" style="x1:0px; y1:459px; x2:1055px; y2:459px; "/>
  1008. <caption id="caption36" class="cell_1" style="left:673px; top:28px; width:120px; height:23px; text-align:center; vertical-align:middle; ">심정지 추정시간</caption>
  1009. <caption id="caption37" class="cell_1" style="left:315px; top:53px; width:145px; height:23px; text-align:center; vertical-align:middle; ">파랑새 발령 호출시간</caption>
  1010. <caption id="caption38" class="cell_1" style="left:673px; top:53px; width:120px; height:23px; text-align:center; vertical-align:middle; ">CPR팀 도착시간</caption>
  1011. <caption id="caption39" class="cell_1" style="left:0px; top:315px; width:150px; height:23px; text-align:center; vertical-align:middle; ">담당의(주치의) 호출시간</caption>
  1012. <caption id="caption40" class="cell_1" style="left:695px; top:363px; width:120px; height:23px; text-align:center; vertical-align:middle; ">소생술 시작시간</caption>
  1013. <caption id="caption41" class="cell_1" style="left:0px; top:387px; width:150px; height:23px; text-align:center; vertical-align:middle; ">제세동 시작시간</caption>
  1014. <input id="int_cardarrestmdd" ref="/root/main/resusinfo/resuslist/cardarrestmdd" class="input_default" navindex="22" inputtype="date" style="left:798px; top:29px; width:100px; height:19px; "/>
  1015. <button id="btn_cardarrestmclock" class="icon_clock" navindex="24" style="left:956px; top:31px; width:16px; height:16px; ">
  1016. <caption/>
  1017. <script type="javascript" ev:event="DOMActivate">
  1018. <![CDATA[
  1019. if(model.getValue("/root/main/resusinfo/resuslist/cardarrestmdd") == ""){
  1020. model.setValue("/root/main/resusinfo/resuslist/cardarrestmdd", getCurrentDate());
  1021. int_cardarrestmdd.refresh();
  1022. }
  1023. model.setValue("/root/main/resusinfo/resuslist/cardarrestmtm", fCurrentDate());
  1024. int_cardarrestmtm.refresh();
  1025. ]]>
  1026. </script>
  1027. </button>
  1028. <input id="int_cardarrestmtm" ref="/root/main/resusinfo/resuslist/cardarrestmtm" class="input_default" navindex="23" format="hh:nn" style="left:902px; top:29px; width:50px; height:19px; "/>
  1029. <input id="int_bluebirdalarmdd" ref="/root/main/resusinfo/resuslist/bluebirdalarmdd" class="input_default" navindex="27" inputtype="date" style="left:465px; top:55px; width:105px; height:19px; "/>
  1030. <button id="btn_bluebirdalarmclock" class="icon_clock" navindex="29" style="left:628px; top:56px; width:16px; height:16px; ">
  1031. <caption/>
  1032. <script type="javascript" ev:event="DOMActivate">
  1033. <![CDATA[
  1034. if(model.getValue("/root/main/resusinfo/resuslist/bluebirdalarmdd") == ""){
  1035. model.setValue("/root/main/resusinfo/resuslist/bluebirdalarmdd", getCurrentDate());
  1036. int_bluebirdalarmdd.refresh();
  1037. }
  1038. model.setValue("/root/main/resusinfo/resuslist/bluebirdalarmtm", fCurrentDate());
  1039. int_bluebirdalarmtm.refresh();
  1040. ]]>
  1041. </script>
  1042. </button>
  1043. <input id="int_bluebirdalarmtm" ref="/root/main/resusinfo/resuslist/bluebirdalarmtm" class="input_default" navindex="28" format="hh:nn" style="left:574px; top:55px; width:50px; height:19px; "/>
  1044. <input id="int_resusteamarvdd" ref="/root/main/resusinfo/resuslist/resusteamarvdd" class="input_default" navindex="30" inputtype="date" style="left:798px; top:55px; width:100px; height:19px; "/>
  1045. <button id="btn_resusteamarvtm" class="icon_clock" navindex="32" style="left:956px; top:56px; width:16px; height:16px; ">
  1046. <caption/>
  1047. <script type="javascript" ev:event="DOMActivate">
  1048. <![CDATA[
  1049. if(model.getValue("/root/main/resusinfo/resuslist/resusteamarvdd") == ""){
  1050. model.setValue("/root/main/resusinfo/resuslist/resusteamarvdd", getCurrentDate());
  1051. int_resusteamarvdd.refresh();
  1052. }
  1053. model.setValue("/root/main/resusinfo/resuslist/resusteamarvtm", fCurrentDate());
  1054. int_resusteamarvtm.refresh();
  1055. ]]>
  1056. </script>
  1057. </button>
  1058. <input id="int_resusteamarvtm" ref="/root/main/resusinfo/resuslist/resusteamarvtm" class="input_default" navindex="31" format="hh:nn" style="left:902px; top:55px; width:50px; height:19px; "/>
  1059. <input id="int_atdoctcalldd" ref="/root/main/resusinfo/resuslist/atdoctcalldd" class="input_default" navindex="54" inputtype="date" style="left:155px; top:317px; width:100px; height:19px; "/>
  1060. <button id="btn_initrhythmcnfmtm" class="icon_clock" navindex="56" style="left:312px; top:318px; width:16px; height:16px; ">
  1061. <caption/>
  1062. <script type="javascript" ev:event="DOMActivate">
  1063. <![CDATA[
  1064. if(model.getValue("/root/main/resusinfo/resuslist/atdoctcalldd") == ""){
  1065. model.setValue("/root/main/resusinfo/resuslist/atdoctcalldd", getCurrentDate());
  1066. int_atdoctcalldd.refresh();
  1067. }
  1068. model.setValue("/root/main/resusinfo/resuslist/atdoctcalltm", fCurrentDate());
  1069. int_atdoctcalltm.refresh();
  1070. ]]>
  1071. </script>
  1072. </button>
  1073. <input id="int_atdoctcalltm" ref="/root/main/resusinfo/resuslist/atdoctcalltm" class="input_default" navindex="55" format="hh:nn" style="left:258px; top:317px; width:50px; height:19px; "/>
  1074. <input id="int_resusfromdd" ref="/root/main/resusinfo/resuslist/resusfromdd" class="input_default" navindex="66" inputtype="date" style="left:820px; top:365px; width:100px; height:19px; "/>
  1075. <button id="btn_resusfromtm" class="icon_clock" navindex="68" style="left:977px; top:366px; width:16px; height:16px; ">
  1076. <caption/>
  1077. <script type="javascript" ev:event="DOMActivate">
  1078. <![CDATA[
  1079. if(model.getValue("/root/main/resusinfo/resuslist/resusfromdd") == ""){
  1080. model.setValue("/root/main/resusinfo/resuslist/resusfromdd", getCurrentDate());
  1081. int_resusfromdd.refresh();
  1082. }
  1083. model.setValue("/root/main/resusinfo/resuslist/resusfromtm", fCurrentDate());
  1084. int_resusfromtm.refresh();
  1085. ]]>
  1086. </script>
  1087. </button>
  1088. <input id="int_resusfromtm" ref="/root/main/resusinfo/resuslist/resusfromtm" class="input_default" navindex="67" format="hh:nn" style="left:923px; top:365px; width:50px; height:19px; "/>
  1089. <select1 id="rdo_cardarryn" ref="/root/main/resusinfo/resuslist/cardarryn" navindex="18" appearance="full" cellspacing="31" cols="3" overflow="visible" style="left:155px; top:29px; width:110px; height:20px; text-align:left; border-style:none; ">
  1090. <choices>
  1091. <item>
  1092. <label>Y</label>
  1093. <value>Y</value>
  1094. </item>
  1095. <item>
  1096. <label>N</label>
  1097. <value>N</value>
  1098. </item>
  1099. </choices>
  1100. <script type="javascript" ev:event="xforms-value-changed">
  1101. <![CDATA[
  1102. if( model.getValue("/root/main/resusinfo/resuslist/cardarryn") == "Y"){
  1103. int_cardarrfinddd.disabled = false;
  1104. int_cardarrfindtm.disabled = false;
  1105. btn_cardarrfindclock.disabled = false;
  1106. int_cardarrestmdd.disabled = false;
  1107. int_cardarrestmtm.disabled = false;
  1108. btn_cardarrestmclock.disabled = false;
  1109. }else{
  1110. int_cardarrfinddd.disabled = true;
  1111. int_cardarrfindtm.disabled = true;
  1112. btn_cardarrfindclock.disabled = true;
  1113. int_cardarrestmdd.disabled = true;
  1114. int_cardarrestmtm.disabled = true;
  1115. btn_cardarrestmclock.disabled = true;
  1116. model.setValue("/root/main/resusinfo/resuslist/cardarrfinddd" , "" );
  1117. model.setValue("/root/main/resusinfo/resuslist/cardarrfindtm" , "" );
  1118. model.setValue("/root/main/resusinfo/resuslist/cardarrestmdd" , "" );
  1119. model.setValue("/root/main/resusinfo/resuslist/cardarrestmtm" , "" );
  1120. }
  1121. model.refresh();
  1122. ]]>
  1123. </script>
  1124. </select1>
  1125. <caption id="caption3" class="cell_1" style="left:0px; top:28px; width:150px; height:23px; text-align:center; vertical-align:middle; ">심정지 여부</caption>
  1126. <input id="int_cardarrfindtm" ref="/root/main/resusinfo/resuslist/cardarrfindtm" class="input_default" navindex="20" format="hh:nn" style="left:574px; top:29px; width:50px; height:19px; "/>
  1127. <input id="int_cardarrfinddd" ref="/root/main/resusinfo/resuslist/cardarrfinddd" class="input_default" navindex="19" inputtype="date" style="left:465px; top:29px; width:105px; height:19px; "/>
  1128. <caption id="caption5" class="cell_1" style="left:315px; top:28px; width:145px; height:23px; text-align:center; vertical-align:middle; ">심정지 발견시간</caption>
  1129. <button id="btn_cardarrfindclock" class="icon_clock" navindex="21" style="left:628px; top:31px; width:16px; height:16px; ">
  1130. <caption/>
  1131. <script type="javascript" ev:event="DOMActivate">
  1132. <![CDATA[
  1133. if(model.getValue("/root/main/resusinfo/resuslist/cardarrfinddd") == ""){
  1134. model.setValue("/root/main/resusinfo/resuslist/cardarrfinddd", getCurrentDate());
  1135. int_cardarrfinddd.refresh();
  1136. }
  1137. model.setValue("/root/main/resusinfo/resuslist/cardarrfindtm", fCurrentDate());
  1138. int_cardarrfindtm.refresh();
  1139. ]]>
  1140. </script>
  1141. </button>
  1142. <caption id="caption7" class="cell_1" style="left:0px; top:53px; width:150px; height:23px; text-align:center; vertical-align:middle; ">파랑새 발령 호출여부</caption>
  1143. <select1 id="rdo_bluebirdalarmyn" ref="/root/main/resusinfo/resuslist/bluebirdalarmyn" navindex="26" appearance="full" cellspacing="31" cols="3" overflow="visible" style="left:155px; top:55px; width:110px; height:20px; text-align:left; border-style:none; ">
  1144. <choices>
  1145. <item>
  1146. <label>Y</label>
  1147. <value>Y</value>
  1148. </item>
  1149. <item>
  1150. <label>N</label>
  1151. <value>N</value>
  1152. </item>
  1153. </choices>
  1154. <script type="javascript" ev:event="xforms-value-changed">
  1155. <![CDATA[
  1156. if( model.getValue("/root/main/resusinfo/resuslist/bluebirdalarmyn") == "Y"){
  1157. int_bluebirdalarmdd.disabled = false;
  1158. int_bluebirdalarmtm.disabled = false;
  1159. btn_bluebirdalarmclock.disabled = false;
  1160. }else{
  1161. int_bluebirdalarmdd.disabled = true;
  1162. int_bluebirdalarmtm.disabled = true;
  1163. btn_bluebirdalarmclock.disabled = true;
  1164. model.setValue("/root/main/resusinfo/resuslist/bluebirdalarmdd", "" );
  1165. model.setValue("/root/main/resusinfo/resuslist/bluebirdalarmtm", "" );
  1166. }
  1167. model.refresh();
  1168. ]]>
  1169. </script>
  1170. </select1>
  1171. <select id="chk_hosparvbfresus" ref="/root/main/resusinfo/resuslist/hosparvbfresus" navindex="45" overflow="visible" appearance="full" cellspacing="8" cols="7" style="left:282px; top:201px; width:525px; height:15px; text-align:left; border-style:none; ">
  1172. <choices>
  1173. <item>
  1174. <label>흉부압박</label>
  1175. <value>01</value>
  1176. </item>
  1177. <item>
  1178. <label>호흡보조</label>
  1179. <value>02</value>
  1180. </item>
  1181. <item>
  1182. <label>제세동</label>
  1183. <value>03</value>
  1184. </item>
  1185. <item>
  1186. <label>전문기도확보</label>
  1187. <value>04</value>
  1188. </item>
  1189. <item>
  1190. <label>정맥로확보</label>
  1191. <value>05</value>
  1192. </item>
  1193. <item>
  1194. <label>약물투여</label>
  1195. <value>06</value>
  1196. </item>
  1197. <item>
  1198. <label>기타</label>
  1199. <value>09</value>
  1200. </item>
  1201. </choices>
  1202. <script type="javascript" ev:event="xforms-select">
  1203. <![CDATA[
  1204. var checkval = "";
  1205. for(var i=0; i<7; i++){
  1206. if( chk_hosparvbfresus.item(i).selected == true){
  1207. if(i == "6"){
  1208. int_hosparvbfresusetc.disabled = false;
  1209. }
  1210. checkval += "1";
  1211. }else {
  1212. checkval += "0";
  1213. }
  1214. }
  1215. model.makeValue("hidden/list/hosparvbfresus", checkval);
  1216. ]]>
  1217. </script>
  1218. <script type="javascript" ev:event="xforms-deselect">
  1219. <![CDATA[
  1220. var checkval = "";
  1221. for(var i=0; i<7; i++){
  1222. if( chk_hosparvbfresus.item(i).selected == true){
  1223. checkval += "1";
  1224. }else {
  1225. if(i == "6"){
  1226. int_hosparvbfresusetc.value = "";
  1227. int_hosparvbfresusetc.disabled = true;
  1228. }
  1229. checkval += "0";
  1230. }
  1231. }
  1232. model.makeValue("hidden/list/hosparvbfresus", checkval);
  1233. ]]>
  1234. </script>
  1235. </select>
  1236. <caption id="caption12" class="cell_1" style="left:0px; top:198px; width:150px; height:23px; text-align:center; vertical-align:middle; ">병원 도착 전 처치</caption>
  1237. <input id="int_hosparvbfresusetc" ref="/root/main/resusinfo/resuslist/hosparvbfresusetc" class="input_default" navindex="46" style="left:810px; top:200px; width:240px; height:19px; text-align:left; "/>
  1238. <select id="chk_resusteamarvbfresusnurse" ref="/root/main/resusinfo/resuslist/resusteamarvbfresusnurse" navindex="50" overflow="visible" appearance="full" cellspacing="8" cols="7" style="left:282px; top:250px; width:525px; height:15px; text-align:left; border-style:none; ">
  1239. <choices>
  1240. <item>
  1241. <label>흉부압박</label>
  1242. <value>01</value>
  1243. </item>
  1244. <item>
  1245. <label>호흡보조</label>
  1246. <value>02</value>
  1247. </item>
  1248. <item>
  1249. <label>제세동</label>
  1250. <value>03</value>
  1251. </item>
  1252. <item>
  1253. <label>전문기도확보</label>
  1254. <value>04</value>
  1255. </item>
  1256. <item>
  1257. <label>정맥로확보</label>
  1258. <value>05</value>
  1259. </item>
  1260. <item>
  1261. <label>약물투여</label>
  1262. <value>06</value>
  1263. </item>
  1264. <item>
  1265. <label>기타</label>
  1266. <value>09</value>
  1267. </item>
  1268. </choices>
  1269. <script type="javascript" ev:event="xforms-select">
  1270. <![CDATA[
  1271. var checkval = "";
  1272. for(var i=0; i<7; i++){
  1273. if( chk_resusteamarvbfresusnurse.item(i).selected == true){
  1274. if(i == "6"){
  1275. int_resusteamarvbfresusnurseetc.disabled = false;
  1276. }
  1277. checkval += "1";
  1278. }else {
  1279. checkval += "0";
  1280. }
  1281. }
  1282. model.makeValue("hidden/list/resusteamarvbfresusnurse", checkval);
  1283. ]]>
  1284. </script>
  1285. <script type="javascript" ev:event="xforms-deselect">
  1286. <![CDATA[
  1287. var checkval = "";
  1288. for(var i=0; i<7; i++){
  1289. if( chk_resusteamarvbfresusnurse.item(i).selected == true){
  1290. checkval += "1";
  1291. }else {
  1292. if(i == "6"){
  1293. int_resusteamarvbfresusnurseetc.value = "";
  1294. int_resusteamarvbfresusnurseetc.disabled = true;
  1295. }
  1296. checkval += "0";
  1297. }
  1298. }
  1299. model.makeValue("hidden/list/resusteamarvbfresusnurse", checkval);
  1300. ]]>
  1301. </script>
  1302. </select>
  1303. <input id="int_resusteamarvbfresusnurseetc" ref="/root/main/resusinfo/resuslist/resusteamarvbfresusnurseetc" class="input_default" navindex="51" style="left:810px; top:247px; width:240px; height:19px; text-align:left; "/>
  1304. <input id="int_cardarrgenrplcehosout" ref="/root/main/resusinfo/resuslist/cardarrgenrplcehosout" class="input_default" navindex="40" style="left:213px; top:175px; width:245px; height:19px; text-align:left; "/>
  1305. <caption id="caption13" class="cell_1" style="left:153px; top:224px; width:125px; height:23px; text-align:center; vertical-align:middle; "/>
  1306. <caption id="caption15" class="cell_1" style="left:153px; top:247px; width:125px; height:23px; text-align:center; vertical-align:middle; "/>
  1307. <line id="line3" class="line_2" style="x1:0px; y1:52px; x2:1050px; y2:52px; "/>
  1308. <line id="line4" class="line_2" style="x1:0px; y1:76px; x2:1050px; y2:76px; "/>
  1309. <line id="line5" class="line_2" style="x1:0px; y1:101px; x2:1050px; y2:101px; "/>
  1310. <line id="line7" class="line_2" style="x1:0px; y1:126px; x2:1050px; y2:126px; "/>
  1311. <line id="line16" class="line_2" style="x1:0px; y1:196px; x2:1050px; y2:196px; "/>
  1312. <line id="line17" class="line_2" style="x1:0px; y1:221px; x2:1050px; y2:221px; "/>
  1313. <line id="line18" class="line_2" style="x1:0px; y1:268px; x2:1050px; y2:268px; "/>
  1314. <line id="line19" class="line_2" style="x1:0px; y1:337px; x2:1055px; y2:337px; "/>
  1315. <line id="line20" class="line_2" style="x1:0px; y1:361px; x2:1055px; y2:361px; "/>
  1316. <caption id="caption8" class="cell_1" style="left:487px; top:315px; width:160px; height:23px; text-align:center; vertical-align:middle; ">담당의(주치의) 도착시간</caption>
  1317. <input id="int_atdoctarrdd" ref="/root/main/resusinfo/resuslist/atdoctarrdd" class="input_default" navindex="57" inputtype="date" style="left:651px; top:317px; width:110px; height:19px; "/>
  1318. <button id="button6" class="icon_clock" navindex="59" style="left:816px; top:318px; width:16px; height:16px; ">
  1319. <caption/>
  1320. <script type="javascript" ev:event="DOMActivate">
  1321. <![CDATA[
  1322. if(model.getValue("/root/main/resusinfo/resuslist/atdoctarrdd") == ""){
  1323. model.setValue("/root/main/resusinfo/resuslist/atdoctarrdd", getCurrentDate());
  1324. int_atdoctarrdd.refresh();
  1325. }
  1326. model.setValue("/root/main/resusinfo/resuslist/atdoctarrtm", fCurrentDate());
  1327. int_atdoctarrtm.refresh();
  1328. ]]>
  1329. </script>
  1330. </button>
  1331. <input id="int_atdoctarrtm" ref="/root/main/resusinfo/resuslist/atdoctarrtm" class="input_default" navindex="58" format="hh:nn" style="left:765px; top:317px; width:46px; height:19px; "/>
  1332. <button id="btn_nursesave" class="btn4_letter4" navindex="90" style="left:974px; top:0px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
  1333. <caption>임시저장</caption>
  1334. <script type="javascript" ev:event="onclick">
  1335. <![CDATA[
  1336. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdtchg", int_cardarrgenrdd.value + int_cardarrgenrtm.value);
  1337. if( model.getValue("/root/main/resusinfo/resuslist/nursesaveid") != "" ){
  1338. if( model.getValue("/root/main/resusinfo/resuslist/nursesaveid") == getUserInfo("userid") ){
  1339. if( messageBox("기록을 저장하시겠습니까?", "Q999") == 6 ){
  1340. fPartCardArrResusSave("1");
  1341. }else{
  1342. return;
  1343. }
  1344. }else{
  1345. messageBox("수정권한이 없습니다( 입력자만 수정가능 )","E");
  1346. return;
  1347. }
  1348. }else{
  1349. if( messageBox("기록을 저장하시겠습니까?", "Q999") == 6 ){
  1350. fPartCardArrResusSave("1");
  1351. }else{
  1352. return;
  1353. }
  1354. }
  1355. ]]>
  1356. </script>
  1357. </button>
  1358. <caption id="caption32" class="cell_1" style="left:153px; top:198px; width:125px; height:23px; text-align:center; vertical-align:middle; "/>
  1359. <select1 id="rdo_hosparvbfresusynflag" ref="/root/main/resusinfo/resuslist/hosparvbfresusynflag" navindex="44" appearance="full" cols="3" vcellspacing="8" overflow="visible" style="left:155px; top:196px; width:120px; height:20px; text-align:left; border-style:none; ">
  1360. <choices>
  1361. <item>
  1362. <label>해당X</label>
  1363. <value>X</value>
  1364. </item>
  1365. <item>
  1366. <label>무</label>
  1367. <value>N</value>
  1368. </item>
  1369. <item>
  1370. <label>유</label>
  1371. <value>Y</value>
  1372. </item>
  1373. </choices>
  1374. <script type="javascript" ev:event="xforms-value-changed">
  1375. <![CDATA[
  1376. // '유'일 경우에만 abled
  1377. if( model.getValue("/root/main/resusinfo/resuslist/hosparvbfresusynflag") == "Y"){
  1378. chk_hosparvbfresus.disabled = false;
  1379. int_hosparvbfresusetc.disabled = false;
  1380. }else{ // '해당없음', '무'일 경우에
  1381. chk_hosparvbfresus.disabled = true;
  1382. int_hosparvbfresusetc.disabled = true;
  1383. model.setValue("/root/main/resusinfo/resuslist/hosparvbfresus" , "");
  1384. model.setValue("/root/main/resusinfo/resuslist/hosparvbfresusetc", "");
  1385. }
  1386. model.refresh();
  1387. ]]>
  1388. </script>
  1389. </select1>
  1390. <caption id="caption44" class="cell_1" style="left:695px; top:387px; width:120px; height:23px; text-align:center; vertical-align:middle; ">소생술 종료시간</caption>
  1391. <input id="int_resustotm" ref="/root/main/resusinfo/resuslist/resustotm" class="input_default" navindex="78" format="hh:nn" style="left:923px; top:389px; width:50px; height:19px; "/>
  1392. <button id="button2" class="icon_clock" navindex="79" style="left:977px; top:391px; width:16px; height:16px; ">
  1393. <caption/>
  1394. <script type="javascript" ev:event="DOMActivate">
  1395. <![CDATA[
  1396. if(model.getValue("/root/main/resusinfo/resuslist/resustodd") == ""){
  1397. model.setValue("/root/main/resusinfo/resuslist/resustodd", getCurrentDate());
  1398. int_resustodd.refresh();
  1399. }
  1400. model.setValue("/root/main/resusinfo/resuslist/resustotm", fCurrentDate());
  1401. int_resustotm.refresh();
  1402. ]]>
  1403. </script>
  1404. </button>
  1405. <input id="int_resustodd" ref="/root/main/resusinfo/resuslist/resustodd" class="input_default" navindex="77" inputtype="date" style="left:820px; top:389px; width:100px; height:19px; "/>
  1406. <select1 id="rdo_cardarrrslt" ref="/root/main/resusinfo/resuslist/cardarrrslt" navindex="82" appearance="full" cellspacing="15" cols="4" vcellspacing="2" overflow="visible" style="left:156px; top:438px; width:288px; height:20px; text-align:left; letter-spacing:1; border-style:none; ">
  1407. <choices>
  1408. <item>
  1409. <label>자발순환회복</label>
  1410. <value>05</value>
  1411. </item>
  1412. <item>
  1413. <label>자발순환회복못함(사망)</label>
  1414. <value>01</value>
  1415. </item>
  1416. </choices>
  1417. <script type="javascript" ev:event="xforms-value-changed">
  1418. <![CDATA[
  1419. if(model.getValue("/root/main/resusinfo/resuslist/cardarrrslt") == "01"){
  1420. int_dethdd.disabled= false;
  1421. int_dethtm.disabled= false;
  1422. btn_dschdethtm.disabled= false;
  1423. } else {
  1424. int_dethdd.disabled= true;
  1425. int_dethtm.disabled= true;
  1426. btn_dschdethtm.disabled= true;
  1427. model.setValue("/root/main/resusinfo/resuslist/dschdethdd", "");
  1428. model.setValue("/root/main/resusinfo/resuslist/dschdethtm", "");
  1429. }
  1430. model.refresh();
  1431. ]]>
  1432. </script>
  1433. </select1>
  1434. <button id="btn_dschdethtm" class="icon_clock" navindex="85" style="left:816px; top:440px; width:16px; height:16px; ">
  1435. <caption/>
  1436. <script type="javascript" ev:event="DOMActivate">
  1437. <![CDATA[
  1438. if(model.getValue("/root/main/resusinfo/resuslist/dschdethdd") == ""){
  1439. model.setValue("/root/main/resusinfo/resuslist/dschdethdd", getCurrentDate());
  1440. int_dethdd.refresh();
  1441. }
  1442. model.setValue("/root/main/resusinfo/resuslist/dschdethtm", fCurrentDate());
  1443. int_dethtm.refresh();
  1444. ]]>
  1445. </script>
  1446. </button>
  1447. <input id="int_dethdd" ref="/root/main/resusinfo/resuslist/dschdethdd" class="input_default" navindex="83" inputtype="date" style="left:651px; top:438px; width:110px; height:19px; "/>
  1448. <caption id="caption23" class="cell_1" style="left:1px; top:411px; width:150px; height:23px; text-align:center; vertical-align:middle; ">소생술 종료사유</caption>
  1449. <select1 id="rdo_resusendresn" ref="/root/main/resusinfo/resuslist/resusendresn" navindex="80" appearance="full" cellspacing="20" cols="4" overflow="visible" style="left:156px; top:414px; width:445px; height:16px; text-align:left; letter-spacing:1; border-style:none; ">
  1450. <choices>
  1451. <item>
  1452. <label>자발순환회복</label>
  1453. <value>01</value>
  1454. </item>
  1455. <item>
  1456. <label>심폐소생술 반응없음</label>
  1457. <value>02</value>
  1458. </item>
  1459. <item>
  1460. <label>DNR</label>
  1461. <value>03</value>
  1462. </item>
  1463. <item>
  1464. <label>기타</label>
  1465. <value>09</value>
  1466. </item>
  1467. </choices>
  1468. <script type="javascript" ev:event="xforms-value-changed">
  1469. <![CDATA[
  1470. if(model.getValue("/root/main/resusinfo/resuslist/resusendresn") == "09"){
  1471. int_resusendresnetc.disabled = false;
  1472. } else {
  1473. int_resusendresnetc.value = "";
  1474. int_resusendresnetc.disabled = true;
  1475. }
  1476. ]]>
  1477. </script>
  1478. </select1>
  1479. <input id="int_resusendresnetc" ref="/root/main/resusinfo/resuslist/resusendresnetc" class="input_default" navindex="81" style="left:566px; top:412px; width:484px; height:19px; text-align:left; "/>
  1480. <caption id="caption24" class="cell_1" style="left:1px; top:435px; width:150px; height:23px; text-align:center; vertical-align:middle; ">소생술 결과</caption>
  1481. <caption id="caption25" class="cell_1" style="left:487px; top:435px; width:160px; height:23px; text-align:center; vertical-align:middle; ">사 망 일 시</caption>
  1482. <input id="int_dethtm" ref="/root/main/resusinfo/resuslist/dschdethtm" class="input_default" navindex="84" format="hh:nn" style="left:765px; top:438px; width:46px; height:19px; "/>
  1483. <line id="line9" class="line_2" style="x1:0px; y1:409px; x2:1055px; y2:409px; "/>
  1484. <line id="line10" class="line_2" style="x1:0px; y1:433px; x2:1055px; y2:433px; "/>
  1485. <bool id="bool_cardarrestmflag" navindex="25" checkvalue="Y,N" ref="/root/main/resusinfo/resuslist/cardarrestmflag" style="left:978px; top:31px; width:20px; height:15px; ">
  1486. <script type="javascript" ev:event="xforms-value-changed">
  1487. <![CDATA[
  1488. if( model.getValue("/root/main/resusinfo/resuslist/cardarrestmflag") == "Y" ){ //추정불가
  1489. model.setValue("/root/main/resusinfo/resuslist/cardarrestmdd", "");
  1490. model.setValue("/root/main/resusinfo/resuslist/cardarrestmtm", "");
  1491. int_cardarrestmdd.disabled = true;
  1492. int_cardarrestmtm.disabled = true;
  1493. btn_cardarrestmclock.disabled = true;
  1494. }else{
  1495. int_cardarrestmdd.disabled = false;
  1496. int_cardarrestmtm.disabled = false;
  1497. btn_cardarrestmclock.disabled = false;
  1498. }
  1499. int_cardarrestmdd.refresh();
  1500. int_cardarrestmtm.refresh();
  1501. btn_cardarrestmclock.refresh();
  1502. ]]>
  1503. </script>
  1504. </bool>
  1505. <caption id="caption21" style="left:995px; top:32px; width:50px; height:15px; ">
  1506. <![CDATA[추정불가]]>
  1507. <script type="javascript" ev:event="onclick">
  1508. <![CDATA[
  1509. if( model.getValue("/root/main/resusinfo/resuslist/cardarrestmflag") =="Y"){
  1510. model.setValue("/root/main/resusinfo/resuslist/cardarrestmflag", "N");
  1511. }else{
  1512. model.setValue("/root/main/resusinfo/resuslist/cardarrestmflag", "Y");
  1513. }
  1514. model.refresh();
  1515. ]]>
  1516. </script>
  1517. </caption>
  1518. <input id="int_cardarrgenrplceetcbigo" ref="/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo" class="input_default" navindex="42" style="left:560px; top:175px; width:255px; height:19px; text-align:left; "/>
  1519. <input id="cmb_cardarrgenrplcehoscenter" ref="/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter" class="input_default" navindex="41" style="left:560px; top:153px; width:255px; height:19px; text-align:left; "/>
  1520. <select1 id="rdo_fstresusexecflag" ref="/root/main/resusinfo/resuslist/fstresusexecflag" navindex="52" appearance="full" cellspacing="30" cols="5" overflow="visible" style="left:204px; top:295px; width:402px; height:20px; text-align:left; border-style:none; ">
  1521. <choices>
  1522. <item>
  1523. <label>전문의</label>
  1524. <value>01</value>
  1525. </item>
  1526. <item>
  1527. <label>전공의</label>
  1528. <value>02</value>
  1529. </item>
  1530. <item>
  1531. <label>인 턴</label>
  1532. <value>06</value>
  1533. </item>
  1534. <item>
  1535. <label>간호사</label>
  1536. <value>07</value>
  1537. </item>
  1538. <item>
  1539. <label>기 타</label>
  1540. <value>09</value>
  1541. </item>
  1542. </choices>
  1543. <script type="javascript" ev:event="xforms-value-changed">
  1544. <![CDATA[
  1545. if(model.getValue("/root/main/resusinfo/resuslist/fstresusexecflag") == "09"){
  1546. int_fstresusexecetc.disabled = false;
  1547. } else {
  1548. int_fstresusexecetc.value = "";
  1549. int_fstresusexecetc.disabled = true;
  1550. }
  1551. int_fstresusexecetc.refresh();
  1552. ]]>
  1553. </script>
  1554. </select1>
  1555. <input id="int_fstresusexecetc" ref="/root/main/resusinfo/resuslist/fstresusexecetc" class="input_default" navindex="53" style="left:605px; top:293px; width:445px; height:19px; text-align:left; "/>
  1556. <caption id="caption19" class="cell_1" style="left:0px; top:291px; width:150px; height:23px; text-align:center; vertical-align:middle; ">최초 소생술 시행자</caption>
  1557. <caption id="caption20" style="left:158px; top:296px; width:40px; height:15px; ">의 사 (</caption>
  1558. <caption id="caption47" style="left:426px; top:291px; width:15px; height:25px; ">)</caption>
  1559. <line id="line11" class="line_2" style="x1:0px; y1:313px; x2:1055px; y2:313px; "/>
  1560. <input id="int_initrhythmcnfmtm" ref="/root/main/resusinfo/resuslist/initrhythmcnfmtm" class="input_default" navindex="64" format="hh:nn" style="left:270px; top:364px; width:50px; height:19px; "/>
  1561. <button id="button4" class="icon_clock" navindex="65" style="left:324px; top:365px; width:16px; height:16px; ">
  1562. <caption/>
  1563. <script type="javascript" ev:event="DOMActivate">
  1564. <![CDATA[
  1565. if(model.getValue("/root/main/resusinfo/resuslist/initrhythmcnfmdd") == ""){
  1566. model.setValue("/root/main/resusinfo/resuslist/initrhythmcnfmdd", getCurrentDate());
  1567. int_initrhythmcnfmdd.refresh();
  1568. }
  1569. model.setValue("/root/main/resusinfo/resuslist/initrhythmcnfmtm", fCurrentDate());
  1570. int_initrhythmcnfmtm.refresh();
  1571. ]]>
  1572. </script>
  1573. </button>
  1574. <input id="int_initrhythmcnfmdd" ref="/root/main/resusinfo/resuslist/initrhythmcnfmdd" class="input_default" navindex="63" inputtype="date" style="left:156px; top:364px; width:110px; height:19px; "/>
  1575. <caption id="caption26" class="cell_1" style="left:0px; top:363px; width:150px; height:23px; text-align:center; vertical-align:middle; ">초기리듬 확인시간</caption>
  1576. <button id="button5" class="icon_clock" navindex="71" style="left:324px; top:390px; width:16px; height:16px; ">
  1577. <caption/>
  1578. <script type="javascript" ev:event="DOMActivate">
  1579. <![CDATA[
  1580. if(model.getValue("/root/main/resusinfo/resuslist/defibrstartdd") == ""){
  1581. model.setValue("/root/main/resusinfo/resuslist/defibrstartdd", getCurrentDate());
  1582. int_defibrstartdd.refresh();
  1583. }
  1584. model.setValue("/root/main/resusinfo/resuslist/defibrstarttm", fCurrentDate());
  1585. int_defibrstarttm.refresh();
  1586. ]]>
  1587. </script>
  1588. </button>
  1589. <input id="int_defibrstarttm" ref="/root/main/resusinfo/resuslist/defibrstarttm" class="input_default" navindex="70" format="hh:nn" style="left:270px; top:388px; width:50px; height:19px; "/>
  1590. <bool id="bool_defibrflag" navindex="76" checkvalue="Y,N" ref="/root/main/resusinfo/resuslist/defibrflag" style="left:612px; top:390px; width:20px; height:15px; ">
  1591. <script type="javascript" ev:event="xforms-value-changed">
  1592. <![CDATA[
  1593. if( model.getValue("/root/main/resusinfo/resuslist/defibrflag") =="Y"){
  1594. model.setValue("/root/main/resusinfo/resuslist/defibrstartdd", "" );
  1595. model.setValue("/root/main/resusinfo/resuslist/defibrstarttm", "" );
  1596. model.setValue("/root/main/resusinfo/resuslist/defibrjul", "" );
  1597. model.setValue("/root/main/resusinfo/resuslist/defibrtims", "" );
  1598. model.setValue("/root/main/resusinfo/resuslist/defibrjul2", "" );
  1599. model.setValue("/root/main/resusinfo/resuslist/defibrtims2", "" );
  1600. int_defibrstartdd.disabled = true;
  1601. int_defibrstarttm.disabled = true;
  1602. ipt_defibrjul.disabled = true;
  1603. ipt_defibrtims.disabled = true;
  1604. ipt_defibrjul2.disabled = true;
  1605. ipt_defibrtims2.disabled = true;
  1606. button5.disabled = true;
  1607. }else{
  1608. int_defibrstartdd.disabled = false;
  1609. int_defibrstarttm.disabled = false;
  1610. ipt_defibrjul.disabled = false;
  1611. ipt_defibrtims.disabled = false;
  1612. ipt_defibrjul2.disabled = false;
  1613. ipt_defibrtims2.disabled = false;
  1614. button5.disabled = false;
  1615. }
  1616. model.refresh();
  1617. ]]>
  1618. </script>
  1619. </bool>
  1620. <caption id="caption43" visibility="visible" style="left:588px; top:391px; width:20px; height:15px; text-align:center; ">회</caption>
  1621. <input id="ipt_defibrtims" ref="/root/main/resusinfo/resuslist/defibrtims" navindex="73" format="#,###" maxbyte="4" style="left:413px; top:388px; width:45px; height:19px; "/>
  1622. <caption id="caption52" style="left:629px; top:391px; width:60px; height:15px; ">
  1623. <![CDATA[시행안함]]>
  1624. <script type="javascript" ev:event="onclick">
  1625. <![CDATA[
  1626. if( model.getValue("/root/main/resusinfo/resuslist/defibrflag") =="Y"){
  1627. model.setValue("/root/main/resusinfo/resuslist/defibrflag", "N");
  1628. int_defibrstartdd.disabled = false;
  1629. int_defibrstarttm.disabled = false;
  1630. ipt_defibrjul.disabled = false;
  1631. ipt_defibrtims.disabled = false;
  1632. ipt_defibrjul2.disabled = false;
  1633. ipt_defibrtims2.disabled = false;
  1634. button2.disabled = false;
  1635. }else{
  1636. model.setValue("/root/main/resusinfo/resuslist/defibrflag", "Y");
  1637. model.setValue("/root/main/resusinfo/resuslist/defibrstartdd", "" );
  1638. model.setValue("/root/main/resusinfo/resuslist/defibrstarttm", "" );
  1639. model.setValue("/root/main/resusinfo/resuslist/defibrjul", "" );
  1640. model.setValue("/root/main/resusinfo/resuslist/defibrtims", "" );
  1641. model.setValue("/root/main/resusinfo/resuslist/defibrjul2", "" );
  1642. model.setValue("/root/main/resusinfo/resuslist/defibrtims2", "" );
  1643. int_defibrstartdd.disabled = true;
  1644. int_defibrstarttm.disabled = true;
  1645. ipt_defibrjul.disabled = true;
  1646. ipt_defibrtims.disabled = true;
  1647. ipt_defibrjul2.disabled = true;
  1648. ipt_defibrtims2.disabled = true;
  1649. button2.disabled = true;
  1650. }
  1651. model.refresh();
  1652. ]]>
  1653. </script>
  1654. </caption>
  1655. <input id="ipt_defibrjul" ref="/root/main/resusinfo/resuslist/defibrjul" navindex="72" format="#,###" maxbyte="4" style="left:350px; top:388px; width:45px; height:19px; "/>
  1656. <caption id="caption53" style="left:392px; top:391px; width:20px; height:15px; text-align:center; ">J</caption>
  1657. <input id="int_defibrstartdd" ref="/root/main/resusinfo/resuslist/defibrstartdd" class="input_default" navindex="69" inputtype="date" style="left:156px; top:388px; width:110px; height:19px; "/>
  1658. <caption id="caption54" style="left:457px; top:391px; width:20px; height:15px; text-align:center; ">회</caption>
  1659. <input id="ipt_defibrtims2" ref="/root/main/resusinfo/resuslist/defibrtims2" navindex="75" visibility="visible" format="#,###" maxbyte="4" style="left:544px; top:388px; width:45px; height:19px; "/>
  1660. <caption id="caption55" visibility="visible" style="left:525px; top:391px; width:20px; height:15px; text-align:center; ">J</caption>
  1661. <input id="ipt_defibrjul2" ref="/root/main/resusinfo/resuslist/defibrjul2" navindex="74" visibility="visible" format="#,###" maxbyte="4" style="left:483px; top:388px; width:45px; height:19px; "/>
  1662. <line id="line12" class="line_2" style="x1:1px; y1:385px; x2:1056px; y2:385px; "/>
  1663. <select1 id="rdo_cardarrgenrplcewardflag" ref="/root/main/resusinfo/resuslist/cardarrgenrplcewardflag" navindex="38" appearance="full" cols="2" overflow="visible" style="left:351px; top:132px; width:105px; height:20px; border-style:none; ">
  1664. <choices>
  1665. <item>
  1666. <label>병실</label>
  1667. <value>1</value>
  1668. </item>
  1669. <item>
  1670. <label>병실 외</label>
  1671. <value>2</value>
  1672. </item>
  1673. </choices>
  1674. </select1>
  1675. <caption id="caption56" class="cell_1" style="left:154px; top:266px; width:125px; height:23px; text-align:center; vertical-align:middle; "/>
  1676. <select id="chk_resusteamarvbfresusflag" ref="/root/main/resusinfo/resuslist/resusteamarvbfresusflag" navindex="47" overflow="visible" appearance="full" cellspacing="15" cols="1" vcellspacing="5" style="left:155px; top:225px; width:115px; height:63px; text-align:left; border-style:none; ">
  1677. <choices>
  1678. <item>
  1679. <label>담당의(주치의)</label>
  1680. <value>1</value>
  1681. </item>
  1682. <item>
  1683. <label>간호사</label>
  1684. <value>2</value>
  1685. </item>
  1686. <item>
  1687. <label>기타직종</label>
  1688. <value>9</value>
  1689. </item>
  1690. </choices>
  1691. <script type="javascript" ev:event="xforms-value-changed">
  1692. <![CDATA[
  1693. var txt = model.getValue("/root/main/resusinfo/resuslist/resusteamarvbfresusflag");
  1694. var tmp1 = txt.split(" ");
  1695. var doctorchk = 0;
  1696. var nursechk = 0;
  1697. for( var i = 0; i < tmp1.length; i++ ){
  1698. if( tmp1[i] == "1" ){
  1699. chk_resusteamarvbfresus.disabled = false;
  1700. // int_resusteamarvbfresusetc.disabled = false;
  1701. doctorchk++;
  1702. }
  1703. if( tmp1[i] == "2" ){
  1704. chk_resusteamarvbfresusnurse.disabled = false;
  1705. // int_resusteamarvbfresusnurseetc.disabled = false;
  1706. nursechk++;
  1707. }
  1708. }
  1709. if( doctorchk < 1 ){
  1710. chk_resusteamarvbfresus.disabled = true;
  1711. int_resusteamarvbfresusetc.disabled = true;
  1712. chk_resusteamarvbfresus.value = "";
  1713. int_resusteamarvbfresusetc.value = "";
  1714. model.setValue("/root/main/resusinfo/resuslist/resusteamarvbfresus", "");
  1715. model.setValue("/root/main/resusinfo/resuslist/resusteamarvbfresusetc", "");
  1716. }
  1717. if( nursechk < 1 ){
  1718. chk_resusteamarvbfresusnurse.disabled = true;
  1719. int_resusteamarvbfresusnurseetc.disabled = true;
  1720. chk_resusteamarvbfresusnurse.value = "";
  1721. int_resusteamarvbfresusnurseetc.value = "";
  1722. model.setValue("/root/main/resusinfo/resuslist/resusteamarvbfresusnurse", "");
  1723. model.setValue("/root/main/resusinfo/resuslist/resusteamarvbfresusnurseetc", "");
  1724. }
  1725. model.refresh();
  1726. ]]>
  1727. </script>
  1728. </select>
  1729. <input id="int_resusteamarvbfresustext" ref="/root/main/resusinfo/resuslist/resusteamarvbfresustext" class="input_default" navindex="51" style="left:282px; top:270px; width:768px; height:19px; text-align:left; "/>
  1730. <line id="line13" class="line_2" style="x1:3px; y1:290px; x2:1048px; y2:290px; "/>
  1731. </group>
  1732. <group id="group1" scroll="auto" style="left:810px; top:45px; width:243px; height:133px; text-align:center; ">
  1733. <datagrid id="grd_pastlst" nodeset="/root/main/pathistinfo/pathistlist" caption="기록저장일시^기록자" colsep="^" colwidth="130, 89" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:3px; width:242px; height:127px; ">
  1734. <col ref="lastupdtrdt" format="yyyy-mm-dd hh:nn:ss"/>
  1735. <col ref="lastupdtrnm"/>
  1736. <col ref="lastupdtrid" visibility="hidden"/>
  1737. <col ref="cardarrgenrdt" visibility="hidden"/>
  1738. <script type="javascript" ev:event="onclick">
  1739. <![CDATA[
  1740. var cnt = getNodesetCount("/root/main/pathistinfo/pathistlist");
  1741. if( cnt > 0 ){
  1742. model.setValue("/root/main/patinfo/selectrow", grd_pastlst.row);
  1743. //int_cardarrgenrdd.disabled = true;
  1744. fSelectHistData("1");
  1745. }
  1746. ]]>
  1747. </script>
  1748. </datagrid>
  1749. <line id="line36" class="line_1" style="x1:0px; y1:0px; x2:242px; y2:0px; "/>
  1750. </group>
  1751. <output id="output1" ref="/root/saveinfo/nurseinfo" style="left:666px; top:181px; width:305px; height:19px; font-weight:bold; color:#008000; text-align:center; vertical-align:middle; background-color:#ffff99; "/>
  1752. <group id="grp_patinfogroup" style="left:0px; top:45px; width:803px; height:135px; ">
  1753. <line id="line8" class="line_1" style="x1:0px; y1:0px; x2:803px; y2:0px; "/>
  1754. <select1 id="cmb_medispclid" ref="/root/main/patinfo/medispclid" navindex="10" appearance="minimal" editmode="inputsearch" style="left:324px; top:82px; width:133px; height:19px; text-align:left; ">
  1755. <choices>
  1756. <itemset nodeset="/root/init/userlist/usercombo">
  1757. <label ref="usernm"/>
  1758. <value ref="userid"/>
  1759. </itemset>
  1760. </choices>
  1761. </select1>
  1762. <button id="btn_genrclock" class="icon_clock" navindex="15" style="left:236px; top:110px; width:16px; height:16px; ">
  1763. <caption/>
  1764. <script type="javascript" ev:event="DOMActivate">
  1765. <![CDATA[
  1766. if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrdd") == ""){
  1767. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdd", getCurrentDate());
  1768. int_cardarrgenrdd.refresh();
  1769. }
  1770. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrtm", fCurrentDate());
  1771. int_cardarrgenrtm.refresh();
  1772. ]]>
  1773. </script>
  1774. </button>
  1775. <input id="int_cardarrgenrdd" ref="/root/main/patinfo/cardarrgenrdd" navindex="13" inputtype="date" style="left:83px; top:108px; width:95px; height:19px; text-align:center; ">
  1776. <script type="javascript" ev:event="xforms-value-changed">
  1777. <![CDATA[
  1778. fDateSetting("Change");
  1779. //model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdtchg", int_cardarrgenrdd.value + int_cardarrgenrtm.value);
  1780. ]]>
  1781. </script>
  1782. <script type="javascript" ev:event="DOMFocusOut">
  1783. <![CDATA[
  1784. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdtchg", int_cardarrgenrdd.value + int_cardarrgenrtm.value);
  1785. ]]>
  1786. </script>
  1787. </input>
  1788. <caption id="caption42" class="cell_1" style="left:461px; top:80px; width:76px; height:23px; text-align:center; vertical-align:middle; ">담 당 의</caption>
  1789. <caption id="caption31" class="cell_1" style="left:654px; top:54px; width:45px; height:23px; text-align:center; vertical-align:middle; ">병 동</caption>
  1790. <select1 id="cmb_atdoctcd" ref="/root/main/patinfo/atdoctcd" navindex="11" appearance="minimal" editmode="inputsearch" style="left:542px; top:82px; width:108px; height:19px; text-align:left; ">
  1791. <choices>
  1792. <itemset nodeset="/root/init/userlist2/usercombo">
  1793. <label ref="usernm"/>
  1794. <value ref="userid"/>
  1795. </itemset>
  1796. </choices>
  1797. </select1>
  1798. <caption id="caption10" class="cell_1" style="left:654px; top:81px; width:45px; height:23px; text-align:center; vertical-align:middle; ">병 실</caption>
  1799. <select1 id="rdo_patinfoflag" ref="/root/main/patinfo/patinfoflag" navindex="1" appearance="full" cellspacing="6" cols="3" overflow="visible" style="left:83px; top:8px; width:295px; height:42px; text-align:left; line-spacing:3; border-style:none; ">
  1800. <choices>
  1801. <item>
  1802. <label>입원환자</label>
  1803. <value>1</value>
  1804. </item>
  1805. <item>
  1806. <label>외래 내원환자</label>
  1807. <value>2</value>
  1808. </item>
  1809. <item>
  1810. <label>응급실 내원환자</label>
  1811. <value>3</value>
  1812. </item>
  1813. <item>
  1814. <label>보호자</label>
  1815. <value>4</value>
  1816. </item>
  1817. <item>
  1818. <label>방문객</label>
  1819. <value>5</value>
  1820. </item>
  1821. <item>
  1822. <label>기타</label>
  1823. <value>6</value>
  1824. </item>
  1825. </choices>
  1826. <script type="javascript" ev:event="xforms-value-changed">
  1827. <![CDATA[
  1828. if( model.getValue("/root/main/patinfo/patinfoflag") == "4" || model.getValue("/root/main/patinfo/patinfoflag") == "5" || model.getValue("/root/main/patinfo/patinfoflag") == "6"){
  1829. btn_nopid.visible = true;
  1830. int_patnm.disabled = false;
  1831. model.setValue("/root/main/patinfo/patgubun", "2");
  1832. }else{
  1833. int_patnm.disabled = true;
  1834. btn_nopid.visible = false;
  1835. model.setValue("/root/main/patinfo/patgubun", "1");
  1836. }
  1837. model.refresh();
  1838. ]]>
  1839. </script>
  1840. </select1>
  1841. <caption id="caption1" class="cell_1" style="left:0px; top:80px; width:80px; height:23px; text-align:center; vertical-align:middle; ">진 료 과</caption>
  1842. <caption id="caption11" class="cell_1" style="left:257px; top:106px; width:63px; height:23px; text-align:center; vertical-align:middle; ">진 단 명</caption>
  1843. <line id="line14" class="line_2" style="x1:3px; y1:104px; x2:802px; y2:104px; "/>
  1844. <textarea id="int_patinfoflagetc" ref="/root/main/resusinfo/resuslist/patinfoflagetc" navindex="2" style="left:375px; top:5px; width:425px; height:45px; text-align:left; vertical-align:top; "/>
  1845. <caption id="caption33" class="cell_1" style="left:257px; top:80px; width:63px; height:23px; text-align:center; vertical-align:middle; ">전 문 의</caption>
  1846. <caption id="caption2" class="cell_1" style="left:0px; top:106px; width:80px; height:23px; text-align:center; vertical-align:middle; ">발생일시</caption>
  1847. <select1 id="cmb_roomcd" ref="/root/main/patinfo/roomcd" navindex="12" appearance="minimal" editmode="search" style="left:702px; top:82px; width:95px; height:19px; text-align:left; ">
  1848. <choices>
  1849. <itemset nodeset="/root/temp/cond/roomcdgrup/roomcdgruplist">
  1850. <label ref="roomnm"/>
  1851. <value ref="roomcd"/>
  1852. </itemset>
  1853. </choices>
  1854. </select1>
  1855. <line id="line1" class="line_2" style="x1:0px; y1:52px; x2:802px; y2:52px; "/>
  1856. <caption id="caption14" class="cell_1" style="left:196px; top:54px; width:59px; height:23px; text-align:center; vertical-align:middle; ">환 자 명</caption>
  1857. <input id="input1" ref="/root/main/patinfo/age" class="input_default" navindex="7" style="left:592px; top:56px; width:58px; height:19px; "/>
  1858. <line id="line2" class="line_2" style="x1:0px; y1:78px; x2:802px; y2:78px; "/>
  1859. <select1 id="cmb_wardcd" ref="/root/main/patinfo/wardcd" navindex="8" appearance="minimal" editmode="search" style="left:702px; top:56px; width:95px; height:19px; text-align:left; ">
  1860. <choices>
  1861. <itemset nodeset="/root/init/ward/">
  1862. <label ref="wardnm"/>
  1863. <value ref="wardcd"/>
  1864. </itemset>
  1865. </choices>
  1866. <script type="javascript" ev:event="xforms-value-changed">
  1867. <![CDATA[
  1868. fGetCareComRoomList(cmb_wardcd.value);// 병실정보를 가져온다.
  1869. ]]>
  1870. </script>
  1871. </select1>
  1872. <caption id="caption16" class="cell_1" style="left:0px; top:5px; width:80px; height:46px; text-align:center; vertical-align:middle; ">
  1873. <![CDATA[대상자
  1874. 구 분]]>
  1875. </caption>
  1876. <input id="input3" ref="/root/main/patinfo/diagnm" class="input_default" navindex="16" style="left:324px; top:108px; width:451px; height:19px; text-align:left; "/>
  1877. <input id="int_cardarrgenrtm" ref="/root/main/patinfo/cardarrgenrtm" class="input_default" navindex="14" format="hh:nn" style="left:181px; top:108px; width:50px; height:19px; text-align:center; ">
  1878. <script type="javascript" ev:event="DOMFocusOut">
  1879. <![CDATA[
  1880. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdtchg", int_cardarrgenrdd.value + int_cardarrgenrtm.value);
  1881. ]]>
  1882. </script>
  1883. </input>
  1884. <caption id="caption17" class="cell_1" style="left:0px; top:54px; width:80px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  1885. <input id="int_patnm" ref="/root/main/patinfo/patnm" class="input_default" navindex="4" maxlength="10" style="left:259px; top:56px; width:118px; height:19px; font-weight:bold; ">
  1886. <script type="javascript" ev:event="onkeyup">
  1887. <![CDATA[
  1888. ]]>
  1889. </script>
  1890. </input>
  1891. <select1 id="cmb_gender" ref="/root/main/patinfo/gender" navindex="6" appearance="minimal" style="left:462px; top:56px; width:73px; height:19px; ">
  1892. <choices>
  1893. <item>
  1894. <label>남</label>
  1895. <value>M</value>
  1896. </item>
  1897. <item>
  1898. <label>여</label>
  1899. <value>F</value>
  1900. </item>
  1901. </choices>
  1902. </select1>
  1903. <caption id="caption9" class="cell_1" style="left:539px; top:54px; width:50px; height:23px; text-align:center; vertical-align:middle; ">나 이</caption>
  1904. <caption id="caption18" class="cell_1" style="left:405px; top:54px; width:53px; height:23px; text-align:center; vertical-align:middle; ">성 별</caption>
  1905. <line id="line6" class="line_3" style="x1:0px; y1:130px; x2:802px; y2:130px; "/>
  1906. <select1 id="cmb_dept" ref="/root/main/patinfo/orddeptcd" navindex="9" appearance="minimal" editmode="search" style="left:83px; top:82px; width:170px; height:19px; text-align:left; ">
  1907. <choices>
  1908. <itemset nodeset="/root/init/dept">
  1909. <label ref="depthngnm"/>
  1910. <value ref="deptcd"/>
  1911. </itemset>
  1912. </choices>
  1913. <script type="javascript" ev:event="xforms-value-changed">
  1914. <![CDATA[
  1915. model.removeNodeset("/root/init/userlist");
  1916. model.removeNodeset("/root/init/userlist2");
  1917. model.makeNode("/root/init/userlist/usercombo");
  1918. model.makeNode("/root/init/userlist2/usercombo");
  1919. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cmb_dept.value, "0330", "", "M", "", "", "P");
  1920. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist2", cmb_dept.value, "0330", "", "A", "", "", "P");
  1921. if (model.getValue("/root/main/patinfo/orddeptcd") == "-") {
  1922. model.makeValue("/root/init/userlist/usercombo/userid", "-");
  1923. model.makeValue("/root/init/userlist/usercombo/usernm", "전체");
  1924. model.makeValue("/root/init/userlist2/usercombo/userid", "-");
  1925. model.makeValue("/root/init/userlist2/usercombo/usernm", "전체");
  1926. } else {
  1927. addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
  1928. addComboInstance("/root/init/userlist2", "userid^usernm", "-^전체", "usercombo");//의사콤보 전체항목 추가
  1929. }
  1930. model.setValue("/root/main/patinfo/medispclid", "-");
  1931. model.setValue("/root/main/patinfo/atdoctcd", "-");
  1932. cmb_medispclid.refresh();
  1933. cmb_atdoctcd.refresh();
  1934. ]]>
  1935. </script>
  1936. </select1>
  1937. </group>
  1938. <output id="output4" ref="/root/saveinfo/lastinfo" style="left:330px; top:24px; width:470px; height:19px; font-weight:bold; color:#ff0000; text-align:right; line-spacing:1; background-color:#ffffff; "/>
  1939. <input id="ipt_pid" ref="/root/main/patinfo/pid" class="input_essential" navindex="3" maxlength="10" style="left:83px; top:101px; width:109px; height:19px; font-weight:bold; color:#0000ff; ">
  1940. <script type="javascript" ev:event="onkeyup">
  1941. <![CDATA[
  1942. if(event.keyCode == 13) {
  1943. // btn_new.dispatch("DOMActivate");
  1944. grp_patinfogroup.disabled = false;
  1945. fClearChildNode("/root/main/resusinfo/resuslist");
  1946. model.setValue("/root/main/patinfo/diagnm" ,"");
  1947. fSrchPatListInput("1");
  1948. var cnt = getNodesetCount("/root/main/pathistinfo/pathistlist");
  1949. if( cnt >= 1 ){
  1950. grd_pastlst.row = 1;
  1951. grd_pastlst.dispatch("onclick");
  1952. }
  1953. }
  1954. ]]>
  1955. </script>
  1956. </input>
  1957. <button id="btn_nopid" class="icon_search" navindex="5" visibility="hidden" style="left:380px; top:102px; width:16px; height:16px; ">
  1958. <caption/>
  1959. <script type="javascript" ev:event="DOMActivate">
  1960. <![CDATA[
  1961. var cnt = 0;
  1962. model.setValue("/root/srchmax/popflag", "Y");
  1963. modal("SPMNE02305");
  1964. btn_new.dispatch("DOMActivate");
  1965. if( model.getValue("/root/main/patinfo/pid") != "" ){
  1966. fSrchPatListInput("1");
  1967. cnt = getNodesetCount("/root/main/pathistinfo/pathistlist" );
  1968. if( cnt >= 1 ){
  1969. grd_pastlst.row = 1;
  1970. grd_pastlst.dispatch("onclick");
  1971. }
  1972. }
  1973. model.setValue("/root/srchmax/popflag", "N");
  1974. model.refresh();
  1975. ]]>
  1976. </script>
  1977. </button>
  1978. <button id="btn_diagnm" class="icon_search" navindex="17" style="left:780px; top:155px; width:16px; height:16px; ">
  1979. <caption/>
  1980. <script type="javascript" ev:event="DOMActivate">
  1981. <![CDATA[
  1982. var paminfo = model.getValue("/root/main/patinfo/pid") +"▦" + getCurrentDate();
  1983. setParameter("SPMMO03100_patinfo", paminfo);
  1984. modal("SPMMO03100");
  1985. if ( getParameter( "SPMMO03100_rtn_useyn" ) == "Y" ) {
  1986. addSetDiag(getParameter( "SPMMO03100_rtn" ));
  1987. setParameter( "SPMMO03100_rtn_useyn", "" );
  1988. setParameter( "SPMMO03100_rtn", "" );
  1989. }
  1990. model.refresh();
  1991. ]]>
  1992. </script>
  1993. </button>
  1994. </xhtml:body>
  1995. </xhtml:html>