SMMNE02300_심폐소생술보고서(원내).xrw 76 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671
  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. <cardarrgenrdt/>
  32. <gender/>
  33. <age/>
  34. <wardcd/>
  35. <roomcd/>
  36. <diagnm/>
  37. <atdoctcd/>
  38. <medispclid/>
  39. <orddeptcd/>
  40. </patinfo>
  41. <resusinfo>
  42. <resuslist>
  43. <pid/>
  44. <cardarrgenrdd/>
  45. <cardarrgenrtm/>
  46. <cardarrgoalyn/>
  47. <cardarrdiscvpsn/>
  48. <cardarrdiscvpsnetc/>
  49. <cardarrgenrplceflag/>
  50. <cardarrgenrplcedept/>
  51. <resusteamarvbfresus/>
  52. <resusteamarvbfresusetc/>
  53. <resusteamfresus/>
  54. <resusteamfresusetc/>
  55. <cardarrestmdd/>
  56. <cardarrestmtm/>
  57. <cardarrestmflag/>
  58. <resusteamcalldd/>
  59. <resusteamcalltm/>
  60. <resusteamarvdd/>
  61. <resusteamarvtm/>
  62. <initrhythmcnfmdd/>
  63. <initrhythmcnfmtm/>
  64. <resusfromdd/>
  65. <resusfromtm/>
  66. <resustodd/>
  67. <resustotm/>
  68. <cardarrcas/>
  69. <initrhythm/>
  70. <resusendresn/>
  71. <resusendresnetc/>
  72. <cardarrrslt/>
  73. <cardarrrsltetc/>
  74. <dschdethdd/>
  75. <dschdethtm/>
  76. <dschneurologystat/>
  77. <fstrgstrid/>
  78. <fstrgstdt/>
  79. <defibrstartdd/>
  80. <defibrstarttm/>
  81. <defibrjul/>
  82. <defibrtims/>
  83. <defibrjul2/>
  84. <defibrtims2/>
  85. <cardarrfinddd/>
  86. <cardarrfindtm/>
  87. <bluebirdalarmyn/>
  88. <cardarrgenrplceward/>
  89. <cardarrgenrplcehosin/>
  90. <cardarrgenrplcetestroom/>
  91. <cardarrgenrplcehosout/>
  92. <hosparvbfresus/>
  93. <hosparvbfresusetc/>
  94. <hosparvbfresusynflag/>
  95. <cardarrgenrplcewardflag/>
  96. <cardarrgenrplcehoscenter/>
  97. <defibrflag/>
  98. <resusteamfresusflag/>
  99. <resusteamcallflag/>
  100. <fstresusexecflag/>
  101. <fstresusexecetc/>
  102. <cardarrgenrplceetcbigo/>
  103. <initpatbreth/>
  104. <initpatcscs/>
  105. <initpatpulse/>
  106. <fstresusstrtdd/>
  107. <fstresusstrttm/>
  108. <memo/>
  109. <freeairway1/>
  110. <freeairway2/>
  111. <freeairway3/>
  112. <freeairway4/>
  113. <freeairway5/>
  114. <freeairway6/>
  115. </resuslist>
  116. </resusinfo>
  117. <paminfo>
  118. <list/>
  119. </paminfo>
  120. <pathistinfo>
  121. <pathistlist>
  122. <lastupdtdt/>
  123. <lastupdtrnm/>
  124. <pid/>
  125. <indd/>
  126. <cretno/>
  127. <instcd/>
  128. <cardarrgenrdd/>
  129. <cardarrgenrtm/>
  130. <histno/>
  131. </pathistlist>
  132. <patcprhistinfo>
  133. <startdd/>
  134. <starttm/>
  135. </patcprhistinfo>
  136. <patinfo>
  137. <pid/>
  138. <indd/>
  139. <cretno/>
  140. <instcd/>
  141. <rrgstno1/>
  142. <rrgstno2/>
  143. </patinfo>
  144. </pathistinfo>
  145. </main>
  146. <send>
  147. <reqdata/>
  148. <wardcd/>
  149. </send>
  150. <hidden>
  151. <orddeptlist/>
  152. <erorddeptlist/>
  153. </hidden>
  154. <init>
  155. <M0380list>
  156. <M0380>
  157. <cdnm/>
  158. <cdid/>
  159. </M0380>
  160. </M0380list>
  161. <userlist/>
  162. </init>
  163. <resusbase>
  164. <resuslist>
  165. <pid/>
  166. <cardarrgenrdd/>
  167. <cardarrgenrtm/>
  168. <cardarrgoalyn/>
  169. <cardarrdiscvpsn/>
  170. <cardarrdiscvpsnetc/>
  171. <cardarrgenrplceflag/>
  172. <cardarrgenrplcedept/>
  173. <resusteamarvbfresus/>
  174. <resusteamarvbfresusetc/>
  175. <resusteamfresus/>
  176. <resusteamfresusetc/>
  177. <cardarrestmdd/>
  178. <cardarrestmtm/>
  179. <cardarrestmflag/>
  180. <resusteamcalldd/>
  181. <resusteamcalltm/>
  182. <resusteamarvdd/>
  183. <resusteamarvtm/>
  184. <initrhythmcnfmdd/>
  185. <initrhythmcnfmtm/>
  186. <resusfromdd/>
  187. <resusfromtm/>
  188. <resustodd/>
  189. <resustotm/>
  190. <cardarrcas/>
  191. <initrhythm/>
  192. <resusendresn/>
  193. <resusendresnetc/>
  194. <cardarrrslt/>
  195. <cardarrrsltetc/>
  196. <dschdethdd/>
  197. <dschdethtm/>
  198. <dschneurologystat/>
  199. <fstrgstrid/>
  200. <fstrgstdt/>
  201. <defibrstartdd/>
  202. <defibrstarttm/>
  203. <defibrjul/>
  204. <defibrtims/>
  205. <defibrjul2/>
  206. <defibrtims2/>
  207. <cardarrfinddd/>
  208. <cardarrfindtm/>
  209. <bluebirdalarmyn/>
  210. <cardarrgenrplceward/>
  211. <cardarrgenrplcehosin/>
  212. <cardarrgenrplcetestroom/>
  213. <cardarrgenrplcehosout/>
  214. <hosparvbfresus/>
  215. <hosparvbfresusetc/>
  216. <hosparvbfresusynflag/>
  217. <cardarrgenrplcewardflag/>
  218. <cardarrgenrplcehoscenter/>
  219. <defibrflag/>
  220. <resusteamfresusflag/>
  221. <resusteamcallflag/>
  222. <fstresusexecflag/>
  223. <fstresusexecetc/>
  224. <cardarrgenrplceetcbigo/>
  225. <initpatbreth/>
  226. <initpatcscs/>
  227. <initpatpulse/>
  228. <fstresusstrtdd/>
  229. <fstresusstrttm/>
  230. <memo/>
  231. <freeairway1/>
  232. <freeairway2/>
  233. <freeairway3/>
  234. <freeairway4/>
  235. <freeairway5/>
  236. <freeairway6/>
  237. </resuslist>
  238. </resusbase>
  239. <init2/>
  240. </root>
  241. </instance>
  242. <script type="javascript" ev:event="xforms-ready">
  243. <![CDATA[
  244. fInit("1");
  245. ]]>
  246. </script>
  247. <submission id="TRZBC00101" method="post" replace="instance"/>
  248. <submission id="TXMNE02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/resusinfo"/>
  249. <submission id="TRMNE02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/pathistinfo"/>
  250. <submission id="TRMNE02303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
  251. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  252. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  253. <submission id="TRMNE02313" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init2"/>
  254. <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
  255. </model>
  256. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  257. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  258. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  259. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  260. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  261. <script type="javascript" src="../../../emr/ercareweb/js/SMMNE02300.js"/>
  262. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  263. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  264. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  265. </xhtml:head>
  266. <xhtml:body pagewidth="1090" pageheight="800" guideline="1,3;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  267. <group id="group1" scroll="auto" style="left:0px; top:97px; width:243px; height:695px; text-align:center; ">
  268. <caption id="caption22" class="tit_2" style="left:0px; top:5px; width:120px; height:13px; ">과거자료 조회</caption>
  269. <datagrid id="datagrid2" nodeset="/root/main/pathistinfo/pathistlist" caption="기록저장일시^기록자" colsep="^" colwidth="130, 89" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:24px; width:242px; height:671px; ">
  270. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn"/>
  271. <col ref="lastupdtrnm"/>
  272. <script type="javascript" ev:event="onclick">
  273. <![CDATA[
  274. model.setValue("/root/main/patinfo/selectrow", datagrid2.row);
  275. int_cardarrgenrdd.disabled = true;
  276. fSelectHistData("1");
  277. button4.visible = false; // 저장버튼 숨김.
  278. button10.visible = true;
  279. button11.visible = true;
  280. ]]>
  281. </script>
  282. </datagrid>
  283. <line id="line36" class="line_1" style="x1:0px; y1:20px; x2:242px; y2:20px; "/>
  284. <line id="line10" class="line_3" style="x1:3px; y1:693px; x2:242px; y2:693px; "/>
  285. </group>
  286. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:13px; ">심폐소생술보고서</caption>
  287. <group id="group2" scroll="auto" style="left:250px; top:97px; width:820px; height:695px; text-align:center; ">
  288. <select1 id="rdo_cardarrgenrplceflag" ref="/root/main/resusinfo/resuslist/cardarrgenrplceflag" navindex="23" appearance="full" cellspacing="270" cols="2" vcellspacing="5" overflow="visible" style="left:130px; top:102px; width:635px; height:86px; text-align:left; border-style:none; ">
  289. <choices>
  290. <item>
  291. <label>병 동</label>
  292. <value>01</value>
  293. </item>
  294. <item>
  295. <label>응급의료센터</label>
  296. <value>05</value>
  297. </item>
  298. <item>
  299. <label>외 래</label>
  300. <value>02</value>
  301. </item>
  302. <item>
  303. <label>수술/회복실</label>
  304. <value>06</value>
  305. </item>
  306. <item>
  307. <label>중환자실</label>
  308. <value>07</value>
  309. </item>
  310. <item>
  311. <label>진단/검사실</label>
  312. <value>03</value>
  313. </item>
  314. <item>
  315. <label>원 외</label>
  316. <value>04</value>
  317. </item>
  318. <item>
  319. <label>기 타</label>
  320. <value>08</value>
  321. </item>
  322. </choices>
  323. <script type="javascript" ev:event="xforms-value-changed">
  324. <![CDATA[
  325. if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "01"){ // 병 동
  326. cmb_cardarrgenrplceward.disabled = false; // 병동
  327. rdo_cardarrgenrplcewardflag.disabled = false; // 병실,병실외
  328. cmb_cardarrgenrplcehosin.disabled = true;
  329. cmb_cardarrgenrplcehoscenter.disabled = true;
  330. cmb_cardarrgenrplcetestroom.disabled = true;
  331. int_cardarrgenrplcehosout.disabled = true;
  332. int_cardarrgenrplceetcbigo.disabled = true;
  333. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  334. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  335. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  336. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  337. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  338. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "02"){ // 외 래
  339. cmb_cardarrgenrplcehosin.disabled = false;
  340. cmb_cardarrgenrplceward.disabled = true;
  341. rdo_cardarrgenrplcewardflag.disabled = true;
  342. cmb_cardarrgenrplcehoscenter.disabled = true;
  343. cmb_cardarrgenrplcetestroom.disabled = true;
  344. int_cardarrgenrplcehosout.disabled = true;
  345. int_cardarrgenrplceetcbigo.disabled = true;
  346. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  347. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  348. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  349. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  350. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  351. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  352. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "03"){ // 진단/검사실
  353. cmb_cardarrgenrplcetestroom.disabled = false;
  354. cmb_cardarrgenrplcehosin.disabled = true;
  355. cmb_cardarrgenrplceward.disabled = true;
  356. rdo_cardarrgenrplcewardflag.disabled = true;
  357. cmb_cardarrgenrplcehoscenter.disabled = true;
  358. int_cardarrgenrplcehosout.disabled = true;
  359. int_cardarrgenrplceetcbigo.disabled = true;
  360. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  361. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  362. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  363. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  364. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  365. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  366. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "04"){ // 원외
  367. int_cardarrgenrplcehosout.disabled = false;
  368. cmb_cardarrgenrplcehosin.disabled = true;
  369. cmb_cardarrgenrplceward.disabled = true;
  370. rdo_cardarrgenrplcewardflag.disabled = true;
  371. cmb_cardarrgenrplcehoscenter.disabled = true;
  372. cmb_cardarrgenrplcetestroom.disabled = true;
  373. int_cardarrgenrplceetcbigo.disabled = true;
  374. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  375. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  376. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  377. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  378. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  379. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  380. // 원외의 경우에만 병원 도착전 처치 활성화
  381. chk_hosparvbfresus.disabled = false;
  382. bool_hosparvbfresusynflag.disabled = false;
  383. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "05"){ //응급의료센터
  384. int_cardarrgenrplcehosout.disabled = true;
  385. cmb_cardarrgenrplcehosin.disabled = true;
  386. cmb_cardarrgenrplceward.disabled = true;
  387. rdo_cardarrgenrplcewardflag.disabled = true;
  388. cmb_cardarrgenrplcehoscenter.disabled = true;
  389. cmb_cardarrgenrplcetestroom.disabled = true;
  390. int_cardarrgenrplceetcbigo.disabled = true;
  391. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  392. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  393. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  394. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  395. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  396. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  397. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  398. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "06"){ // 수술/회복실
  399. int_cardarrgenrplcehosout.disabled = true;
  400. cmb_cardarrgenrplcehosin.disabled = true;
  401. cmb_cardarrgenrplceward.disabled = true;
  402. rdo_cardarrgenrplcewardflag.disabled = true;
  403. cmb_cardarrgenrplcehoscenter.disabled = true;
  404. cmb_cardarrgenrplcetestroom.disabled = true;
  405. int_cardarrgenrplceetcbigo.disabled = true;
  406. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  407. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  408. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  409. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  410. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  411. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  412. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  413. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "07"){ // 중환자실
  414. cmb_cardarrgenrplcehoscenter.disabled = false;
  415. int_cardarrgenrplcehosout.disabled = true;
  416. cmb_cardarrgenrplcehosin.disabled = true;
  417. cmb_cardarrgenrplceward.disabled = true;
  418. rdo_cardarrgenrplcewardflag.disabled = true;
  419. cmb_cardarrgenrplcetestroom.disabled = true;
  420. int_cardarrgenrplceetcbigo.disabled = true;
  421. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  422. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  423. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  424. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  425. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  426. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  427. }else if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") == "08"){ // 기 타
  428. int_cardarrgenrplceetcbigo.disabled = false;
  429. int_cardarrgenrplcehosout.disabled = true;
  430. cmb_cardarrgenrplcehosin.disabled = true;
  431. cmb_cardarrgenrplceward.disabled = true;
  432. rdo_cardarrgenrplcewardflag.disabled = true;
  433. cmb_cardarrgenrplcehoscenter.disabled = true;
  434. cmb_cardarrgenrplcetestroom.disabled = true;
  435. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  436. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  437. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  438. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  439. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  440. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  441. }else{
  442. int_cardarrgenrplceetcbigo.disabled = true;
  443. int_cardarrgenrplcehosout.disabled = true;
  444. cmb_cardarrgenrplcehosin.disabled = true;
  445. cmb_cardarrgenrplceward.disabled = true;
  446. rdo_cardarrgenrplcewardflag.disabled = true;
  447. cmb_cardarrgenrplcehoscenter.disabled = true;
  448. cmb_cardarrgenrplcetestroom.disabled = true;
  449. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceward", "");
  450. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcewardflag", "");
  451. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter", "");
  452. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosin", "");
  453. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcehosout", "");
  454. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcetestroom", "");
  455. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo", "");
  456. }
  457. // 원외의 경우에만 병원 도착전 처치 활성화
  458. if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag") != "04"){
  459. chk_hosparvbfresus.disabled = true;
  460. int_hosparvbfresusetc.disabled = true;
  461. bool_hosparvbfresusynflag.disabled = true;
  462. bool_hosparvbfresusynflag.value = "N";
  463. model.setValue("/root/main/resusinfo/resuslist/hosparvbfresus", "" );
  464. model.setValue("/root/main/resusinfo/resuslist/hosparvbfresusetc", "" );
  465. model.setValue("/root/main/resusinfo/resuslist/hosparvbfresusynflag", "" );
  466. model.setValue("/root/main/resusinfo/resuslist/freeairway1", "" );
  467. model.setValue("/root/main/resusinfo/resuslist/freeairway2", "" );
  468. }
  469. model.refresh();
  470. ]]>
  471. </script>
  472. </select1>
  473. <line id="line24" class="line_1" style="x1:0px; y1:20px; x2:809px; y2:20px; "/>
  474. <line id="line25" class="line_2" style="x1:0px; y1:75px; x2:809px; y2:75px; "/>
  475. <line id="line26" class="line_2" style="x1:0px; y1:100px; x2:809px; y2:100px; "/>
  476. <caption id="caption27" class="tit_2" style="left:5px; top:5px; width:113px; height:13px; ">보고내용</caption>
  477. <select1 id="radio1" ref="/root/main/resusinfo/resuslist/cardarrgoalyn" navindex="20" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:130px; top:54px; width:375px; height:20px; text-align:left; border-style:none; ">
  478. <choices>
  479. <item>
  480. <label>목격(감시장치사용중)</label>
  481. <value>1</value>
  482. </item>
  483. <item>
  484. <label>목격(감시장치없음)</label>
  485. <value>2</value>
  486. </item>
  487. <item>
  488. <label>목격 못함</label>
  489. <value>3</value>
  490. </item>
  491. </choices>
  492. </select1>
  493. <select1 id="rdo_cardarrdiscvpsn" ref="/root/main/resusinfo/resuslist/cardarrdiscvpsn" navindex="21" appearance="full" cellspacing="15" cols="5" overflow="visible" style="left:130px; top:80px; width:340px; height:20px; text-align:left; border-style:none; ">
  494. <choices>
  495. <item>
  496. <label>가족</label>
  497. <value>01</value>
  498. </item>
  499. <item>
  500. <label>주변일반인</label>
  501. <value>02</value>
  502. </item>
  503. <item>
  504. <label>간호사</label>
  505. <value>06</value>
  506. </item>
  507. <item>
  508. <label>의사</label>
  509. <value>07</value>
  510. </item>
  511. <item>
  512. <label>기타</label>
  513. <value>09</value>
  514. </item>
  515. </choices>
  516. <script type="javascript" ev:event="xforms-value-changed">
  517. <![CDATA[
  518. if(model.getValue("/root/main/resusinfo/resuslist/cardarrdiscvpsn") == "09"){
  519. int_cardarrdiscvpsnetc.disabled = false;
  520. } else {
  521. int_cardarrdiscvpsnetc.value = "";
  522. int_cardarrdiscvpsnetc.disabled = true;
  523. }
  524. ]]>
  525. </script>
  526. </select1>
  527. <input id="int_cardarrdiscvpsnetc" ref="/root/main/resusinfo/resuslist/cardarrdiscvpsnetc" class="input_default" navindex="22" style="left:462px; top:79px; width:348px; height:19px; text-align:left; "/>
  528. <select id="chk_cardarrgenrplcedept" ref="/root/main/resusinfo/resuslist/cardarrgenrplcedept" visibility="hidden" overflow="visible" appearance="full" style="left:670px; top:56px; width:70px; height:15px; border-style:none; ">
  529. <choices>
  530. <item>
  531. <label>응급센타</label>
  532. <value>1</value>
  533. </item>
  534. </choices>
  535. <script type="javascript" ev:event="xforms-select">
  536. <![CDATA[
  537. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcedept","");
  538. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplcedept","1");
  539. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrplceflag","13");
  540. ]]>
  541. </script>
  542. </select>
  543. <select id="chk_resusteamarvbfresus" ref="/root/main/resusinfo/resuslist/resusteamarvbfresus" navindex="32" overflow="visible" appearance="full" cellspacing="60" cols="4" vcellspacing="3" style="left:130px; top:239px; width:475px; height:35px; text-align:left; border-style:none; ">
  544. <choices>
  545. <item>
  546. <label>흉부압박</label>
  547. <value>01</value>
  548. </item>
  549. <item>
  550. <label>호흡보조</label>
  551. <value>02</value>
  552. </item>
  553. <item>
  554. <label>제세동</label>
  555. <value>03</value>
  556. </item>
  557. <item>
  558. <label>전문기도확보</label>
  559. <value>04</value>
  560. </item>
  561. <item>
  562. <label>정맥로확보</label>
  563. <value>05</value>
  564. </item>
  565. <item>
  566. <label>약물투여</label>
  567. <value>06</value>
  568. </item>
  569. <item>
  570. <label>기타</label>
  571. <value>09</value>
  572. </item>
  573. </choices>
  574. <script type="javascript" ev:event="xforms-select">
  575. <![CDATA[
  576. var checkval = "";
  577. for(var i=0; i<7; i++){
  578. if( chk_resusteamarvbfresus.item(i).selected == true){
  579. if(i == "6"){
  580. int_resusteamarvbfresusetc.disabled = false;
  581. }else if ( i == "3"){
  582. ipt_freairway3.disabled = false;
  583. ipt_freairway4.disabled = false;
  584. }
  585. checkval += "1";
  586. }else {
  587. checkval += "0";
  588. }
  589. }
  590. model.makeValue("hidden/list/resusteamarvbfresus", checkval);
  591. ]]>
  592. </script>
  593. <script type="javascript" ev:event="xforms-deselect">
  594. <![CDATA[
  595. var checkval = "";
  596. for(var i=0; i<7; i++){
  597. if( chk_resusteamarvbfresus.item(i).selected == true){
  598. checkval += "1";
  599. }else {
  600. if(i == "6"){
  601. int_resusteamarvbfresusetc.value = "";
  602. int_resusteamarvbfresusetc.disabled = true;
  603. }else if ( i == "3"){
  604. ipt_freairway3.value = "";
  605. ipt_freairway4.value = "";
  606. ipt_freairway3.disabled = true;
  607. ipt_freairway4.disabled = true;
  608. }
  609. checkval += "0";
  610. }
  611. }
  612. model.makeValue("hidden/list/resusteamarvbfresus", checkval);
  613. ]]>
  614. </script>
  615. </select>
  616. <input id="int_resusteamarvbfresusetc" ref="/root/main/resusinfo/resuslist/resusteamarvbfresusetc" class="input_default" navindex="33" style="left:454px; top:259px; width:325px; height:19px; text-align:left; "/>
  617. <line id="line28" class="line_2" style="x1:0px; y1:280px; x2:809px; y2:280px; "/>
  618. <caption id="caption41" class="cell_1" style="left:0px; top:503px; width:125px; height:23px; text-align:center; vertical-align:middle; ">소생술 종료시간</caption>
  619. <line id="line31" class="line_2" style="x1:0px; y1:354px; x2:809px; y2:354px; "/>
  620. <line id="line32" class="line_2" style="x1:0px; y1:378px; x2:809px; y2:378px; "/>
  621. <line id="line33" class="line_2" style="x1:0px; y1:448px; x2:809px; y2:448px; "/>
  622. <line id="line34" class="line_2" style="x1:0px; y1:424px; x2:810px; y2:424px; "/>
  623. <input id="int_cardarrestmdd" ref="/root/main/resusinfo/resuslist/cardarrestmdd" class="input_default" navindex="36" inputtype="date" style="left:128px; top:307px; width:110px; height:19px; "/>
  624. <button id="btn_cardarrestmtm" class="icon_clock" navindex="38" style="left:296px; top:307px; width:16px; height:16px; ">
  625. <caption/>
  626. <script type="javascript" ev:event="DOMActivate">
  627. <![CDATA[
  628. if(model.getValue("/root/main/resusinfo/resuslist/cardarrestmdd") == ""){
  629. model.setValue("/root/main/resusinfo/resuslist/cardarrestmdd", getCurrentDate());
  630. int_cardarrestmdd.refresh();
  631. }
  632. model.setValue("/root/main/resusinfo/resuslist/cardarrestmtm", getCurrentTime().substr(0,4));
  633. int_cardarrestmtm.refresh();
  634. ]]>
  635. </script>
  636. </button>
  637. <input id="int_cardarrestmtm" ref="/root/main/resusinfo/resuslist/cardarrestmtm" class="input_default" navindex="37" format="hh:nn" style="left:242px; top:307px; width:50px; height:19px; "/>
  638. <input id="int_resusteamcalldd" ref="/root/main/resusinfo/resuslist/resusteamcalldd" class="input_default" navindex="39" inputtype="date" style="left:128px; top:357px; width:110px; height:19px; "/>
  639. <button id="btn_resusteamcalltm" class="icon_clock" navindex="41" style="left:296px; top:358px; width:16px; height:16px; ">
  640. <caption/>
  641. <script type="javascript" ev:event="DOMActivate">
  642. <![CDATA[
  643. if(model.getValue("/root/main/resusinfo/resuslist/resusteamcalldd") == ""){
  644. model.setValue("/root/main/resusinfo/resuslist/resusteamcalldd", getCurrentDate());
  645. int_resusteamcalldd.refresh();
  646. }
  647. model.setValue("/root/main/resusinfo/resuslist/resusteamcalltm", getCurrentTime().substr(0,4));
  648. int_resusteamcalltm.refresh();
  649. ]]>
  650. </script>
  651. </button>
  652. <input id="int_resusteamcalltm" ref="/root/main/resusinfo/resuslist/resusteamcalltm" class="input_default" navindex="40" format="hh:nn" style="left:242px; top:357px; width:50px; height:19px; "/>
  653. <input id="int_resusteamarvdd" ref="/root/main/resusinfo/resuslist/resusteamarvdd" class="input_default" navindex="42" inputtype="date" style="left:128px; top:427px; width:110px; height:19px; "/>
  654. <button id="btn_resusteamarvtm" class="icon_clock" navindex="44" style="left:296px; top:428px; width:16px; height:16px; ">
  655. <caption/>
  656. <script type="javascript" ev:event="DOMActivate">
  657. <![CDATA[
  658. if(model.getValue("/root/main/resusinfo/resuslist/resusteamarvdd") == ""){
  659. model.setValue("/root/main/resusinfo/resuslist/resusteamarvdd", getCurrentDate());
  660. int_resusteamarvdd.refresh();
  661. }
  662. model.setValue("/root/main/resusinfo/resuslist/resusteamarvtm", getCurrentTime().substr(0,4));
  663. int_resusteamarvtm.refresh();
  664. ]]>
  665. </script>
  666. </button>
  667. <input id="int_resusteamarvtm" ref="/root/main/resusinfo/resuslist/resusteamarvtm" class="input_default" navindex="43" format="hh:nn" style="left:242px; top:427px; width:50px; height:19px; "/>
  668. <input id="int_initrhythmcnfmdd" ref="/root/main/resusinfo/resuslist/initrhythmcnfmdd" class="input_default" navindex="45" inputtype="date" style="left:128px; top:403px; width:110px; height:19px; "/>
  669. <button id="btn_initrhythmcnfmtm" class="icon_clock" navindex="47" style="left:296px; top:404px; width:16px; height:16px; ">
  670. <caption/>
  671. <script type="javascript" ev:event="DOMActivate">
  672. <![CDATA[
  673. if(model.getValue("/root/main/resusinfo/resuslist/initrhythmcnfmdd") == ""){
  674. model.setValue("/root/main/resusinfo/resuslist/initrhythmcnfmdd", getCurrentDate());
  675. int_initrhythmcnfmdd.refresh();
  676. }
  677. model.setValue("/root/main/resusinfo/resuslist/initrhythmcnfmtm", getCurrentTime().substr(0,4));
  678. int_initrhythmcnfmtm.refresh();
  679. ]]>
  680. </script>
  681. </button>
  682. <input id="int_initrhythmcnfmtm" ref="/root/main/resusinfo/resuslist/initrhythmcnfmtm" class="input_default" navindex="46" format="hh:nn" style="left:242px; top:403px; width:50px; height:19px; "/>
  683. <input id="int_resusfromdd" ref="/root/main/resusinfo/resuslist/resusfromdd" class="input_default" navindex="48" inputtype="date" style="left:128px; top:453px; width:110px; height:19px; "/>
  684. <button id="btn_resusfromtm" class="icon_clock" navindex="50" style="left:296px; top:454px; width:16px; height:16px; ">
  685. <caption/>
  686. <script type="javascript" ev:event="DOMActivate">
  687. <![CDATA[
  688. if(model.getValue("/root/main/resusinfo/resuslist/resusfromdd") == ""){
  689. model.setValue("/root/main/resusinfo/resuslist/resusfromdd", getCurrentDate());
  690. int_resusfromdd.refresh();
  691. }
  692. model.setValue("/root/main/resusinfo/resuslist/resusfromtm", getCurrentTime().substr(0,4));
  693. int_resusfromtm.refresh();
  694. ]]>
  695. </script>
  696. </button>
  697. <input id="int_resusfromtm" ref="/root/main/resusinfo/resuslist/resusfromtm" class="input_default" navindex="49" format="hh:nn" style="left:242px; top:453px; width:50px; height:19px; "/>
  698. <input id="int_resustodd" ref="/root/main/resusinfo/resuslist/resustodd" class="input_default" navindex="56" inputtype="date" style="left:128px; top:504px; width:110px; height:19px; "/>
  699. <button id="btn_resustotm" class="icon_clock" navindex="58" style="left:296px; top:506px; width:16px; height:16px; ">
  700. <caption/>
  701. <script type="javascript" ev:event="DOMActivate">
  702. <![CDATA[
  703. if(model.getValue("/root/main/resusinfo/resuslist/resustodd") == ""){
  704. model.setValue("/root/main/resusinfo/resuslist/resustodd", getCurrentDate());
  705. int_resustodd.refresh();
  706. }
  707. model.setValue("/root/main/resusinfo/resuslist/resustotm", getCurrentTime().substr(0,4));
  708. int_resustotm.refresh();
  709. ]]>
  710. </script>
  711. </button>
  712. <input id="int_resustotm" ref="/root/main/resusinfo/resuslist/resustotm" class="input_default" navindex="57" format="hh:nn" style="left:242px; top:504px; width:50px; height:19px; "/>
  713. <input id="int_defibrstarttm" ref="/root/main/resusinfo/resuslist/defibrstarttm" class="input_default" navindex="52" format="hh:nn" style="left:242px; top:480px; width:50px; height:19px; "/>
  714. <button id="button2" class="icon_clock" navindex="53" style="left:296px; top:482px; width:16px; height:16px; ">
  715. <caption/>
  716. <script type="javascript" ev:event="DOMActivate">
  717. <![CDATA[
  718. if(model.getValue("/root/main/resusinfo/resuslist/defibrstartdd") == ""){
  719. model.setValue("/root/main/resusinfo/resuslist/defibrstartdd", getCurrentDate());
  720. int_defibrstartdd.refresh();
  721. }
  722. model.setValue("/root/main/resusinfo/resuslist/defibrstarttm", getCurrentTime().substr(0,4));
  723. int_defibrstarttm.refresh();
  724. ]]>
  725. </script>
  726. </button>
  727. <input id="int_defibrstartdd" ref="/root/main/resusinfo/resuslist/defibrstartdd" class="input_default" navindex="51" inputtype="date" style="left:128px; top:480px; width:110px; height:19px; "/>
  728. <caption id="caption40" class="cell_1" style="left:0px; top:450px; width:126px; height:28px; text-align:center; vertical-align:middle; ">
  729. <![CDATA[CPR팀
  730. 소생술 시작시간]]>
  731. </caption>
  732. <caption id="caption36" class="cell_1" style="left:0px; top:306px; width:125px; height:23px; text-align:center; vertical-align:middle; ">심정지 추정시간</caption>
  733. <caption id="caption37" class="cell_1" style="left:0px; top:354px; width:125px; height:23px; text-align:center; vertical-align:middle; ">CPR팀 호출시간</caption>
  734. <caption id="caption38" class="cell_1" style="left:0px; top:426px; width:125px; height:23px; text-align:center; vertical-align:middle; ">CPR팀 도착시간</caption>
  735. <caption id="caption39" class="cell_1" style="left:0px; top:402px; width:125px; height:23px; text-align:center; vertical-align:middle; ">초기리듬 확인시간</caption>
  736. <caption id="caption30" class="cell_1" style="left:0px; top:103px; width:125px; height:89px; text-align:center; vertical-align:middle; ">
  737. <![CDATA[심 정 지
  738. 발 생 장 소]]>
  739. </caption>
  740. <caption id="caption34" class="cell_1" style="left:0px; top:237px; width:125px; height:43px; text-align:center; vertical-align:middle; ">CPR팀 도착전소생술</caption>
  741. <line id="line27" class="line_2" style="x1:0px; y1:237px; x2:809px; y2:237px; "/>
  742. <caption id="caption28" class="cell_1" style="left:0px; top:50px; width:126px; height:28px; text-align:center; vertical-align:middle; ">
  743. <![CDATA[최초발견자의
  744. 상황목격여부]]>
  745. </caption>
  746. <caption id="caption29" class="cell_1" style="left:0px; top:79px; width:125px; height:23px; text-align:center; vertical-align:middle; ">최초 발견자</caption>
  747. <line id="line3" class="line_2" style="x1:2px; y1:501px; x2:811px; y2:501px; "/>
  748. <caption id="caption3" class="cell_1" style="left:0px; top:479px; width:125px; height:23px; text-align:center; vertical-align:middle; ">제세동 시작시간</caption>
  749. <line id="line29" class="line_3" style="x1:0px; y1:693px; x2:810px; y2:693px; "/>
  750. <input id="ipt_defibrjul" ref="/root/main/resusinfo/resuslist/defibrjul" navindex="54" format="#,###" maxbyte="4" style="left:325px; top:480px; width:50px; height:19px; "/>
  751. <caption id="caption5" style="left:374px; top:483px; width:20px; height:15px; text-align:center; ">J</caption>
  752. <caption id="caption7" style="left:445px; top:483px; width:20px; height:15px; text-align:center; ">회</caption>
  753. <input id="ipt_defibrtims" ref="/root/main/resusinfo/resuslist/defibrtims" navindex="55" format="#,###" maxbyte="4" style="left:396px; top:480px; width:50px; height:19px; "/>
  754. <input id="int_cardarrfindtm" ref="/root/main/resusinfo/resuslist/cardarrfindtm" class="input_default" navindex="17" format="hh:nn" style="left:242px; top:26px; width:50px; height:19px; "/>
  755. <caption id="caption4" class="cell_1" style="left:0px; top:25px; width:125px; height:23px; text-align:center; vertical-align:middle; ">환자 발견시간</caption>
  756. <button id="btn_cardarrfindclock" class="icon_clock" navindex="18" style="left:296px; top:28px; width:16px; height:16px; ">
  757. <caption/>
  758. <script type="javascript" ev:event="DOMActivate">
  759. <![CDATA[
  760. if(model.getValue("/root/main/resusinfo/resuslist/cardarrfinddd") == ""){
  761. model.setValue("/root/main/resusinfo/resuslist/cardarrfinddd", getCurrentDate());
  762. int_cardarrfinddd.refresh();
  763. }
  764. model.setValue("/root/main/resusinfo/resuslist/cardarrfindtm", getCurrentTime().substr(0,4));
  765. int_cardarrfindtm.refresh();
  766. ]]>
  767. </script>
  768. </button>
  769. <input id="int_cardarrfinddd" ref="/root/main/resusinfo/resuslist/cardarrfinddd" class="input_default" navindex="16" inputtype="date" style="left:128px; top:26px; width:110px; height:19px; "/>
  770. <caption id="caption8" class="cell_1" style="left:410px; top:25px; width:160px; height:23px; text-align:center; vertical-align:middle; ">파랑새 발령 여부</caption>
  771. <select1 id="rdo_bluebirdalarmyn" ref="/root/main/resusinfo/resuslist/bluebirdalarmyn" navindex="19" appearance="full" cellspacing="31" cols="3" overflow="visible" style="left:577px; top:27px; width:110px; height:20px; text-align:left; border-style:none; ">
  772. <choices>
  773. <item>
  774. <label>Y</label>
  775. <value>Y</value>
  776. </item>
  777. <item>
  778. <label>N</label>
  779. <value>N</value>
  780. </item>
  781. </choices>
  782. </select1>
  783. <line id="line2" class="line_2" style="x1:0px; y1:48px; x2:809px; y2:48px; "/>
  784. <select id="chk_hosparvbfresus" ref="/root/main/resusinfo/resuslist/hosparvbfresus" navindex="30" overflow="visible" appearance="full" cellspacing="60" cols="4" vcellspacing="3" style="left:130px; top:195px; width:478px; height:40px; text-align:left; border-style:none; ">
  785. <choices>
  786. <item>
  787. <label>흉부압박</label>
  788. <value>01</value>
  789. </item>
  790. <item>
  791. <label>호흡보조</label>
  792. <value>02</value>
  793. </item>
  794. <item>
  795. <label>제세동</label>
  796. <value>03</value>
  797. </item>
  798. <item>
  799. <label>전문기도확보</label>
  800. <value>04</value>
  801. </item>
  802. <item>
  803. <label>정맥로확보</label>
  804. <value>05</value>
  805. </item>
  806. <item>
  807. <label>약물투여</label>
  808. <value>06</value>
  809. </item>
  810. <item>
  811. <label>기타</label>
  812. <value>09</value>
  813. </item>
  814. </choices>
  815. <script type="javascript" ev:event="xforms-select">
  816. <![CDATA[
  817. var checkval = "";
  818. for(var i=0; i<7; i++){
  819. if( chk_hosparvbfresus.item(i).selected == true){
  820. if(i == "6"){
  821. int_hosparvbfresusetc.disabled = false;
  822. }else if ( i == "3"){
  823. ipt_freairway1.disabled = false;
  824. ipt_freairway2.disabled = false;
  825. }
  826. checkval += "1";
  827. }else {
  828. checkval += "0";
  829. }
  830. }
  831. model.makeValue("hidden/list/hosparvbfresus", checkval);
  832. ]]>
  833. </script>
  834. <script type="javascript" ev:event="xforms-deselect">
  835. <![CDATA[
  836. var checkval = "";
  837. for(var i=0; i<7; i++){
  838. if( chk_hosparvbfresus.item(i).selected == true){
  839. checkval += "1";
  840. }else {
  841. if(i == "6"){
  842. int_hosparvbfresusetc.value = "";
  843. int_hosparvbfresusetc.disabled = true;
  844. }else if ( i == "3"){
  845. ipt_freairway1.value = "";
  846. ipt_freairway2.value = "";
  847. ipt_freairway1.disabled = true;
  848. ipt_freairway2.disabled = true;
  849. }
  850. checkval += "0";
  851. }
  852. }
  853. model.makeValue("hidden/list/hosparvbfresus", checkval);
  854. ]]>
  855. </script>
  856. </select>
  857. <caption id="caption9" class="cell_1" style="left:0px; top:193px; width:125px; height:43px; text-align:center; vertical-align:middle; ">
  858. <![CDATA[병원 도착 전 처치]]>
  859. <hint>
  860. <![CDATA[발생장소가 원외일 경우에만 활성화]]>
  861. </hint>
  862. </caption>
  863. <input id="int_cardarrgenrplcehosout" ref="/root/main/resusinfo/resuslist/cardarrgenrplcehosout" class="input_default" navindex="28" style="left:205px; top:167px; width:245px; height:19px; text-align:left; "/>
  864. <select1 id="cmb_cardarrgenrplceward" ref="/root/main/resusinfo/resuslist/cardarrgenrplceward" class="combo_default" navindex="24" appearance="minimal" style="left:205px; top:103px; width:135px; height:19px; text-align:left; ">
  865. <choices>
  866. <itemset nodeset="/root/init2/ward[ wardtype = 'W' or wardtype = '' ]">
  867. <label ref="wardnm"/>
  868. <value ref="wardcd"/>
  869. </itemset>
  870. </choices>
  871. </select1>
  872. <select1 id="cmb_cardarrgenrplcehosin" ref="/root/main/resusinfo/resuslist/cardarrgenrplcehosin" class="combo_default" navindex="26" appearance="minimal" style="left:205px; top:125px; width:245px; height:19px; text-align:left; ">
  873. <choices>
  874. <itemset nodeset="/root/init2/dept">
  875. <label ref="depthngnm"/>
  876. <value ref="deptcd"/>
  877. </itemset>
  878. </choices>
  879. </select1>
  880. <select1 id="rdo_cardarrrslt" ref="/root/main/resusinfo/resuslist/cardarrrslt" navindex="61" appearance="full" cellspacing="15" cols="4" overflow="visible" style="left:130px; top:600px; width:295px; height:16px; text-align:left; border-style:none; ">
  881. <choices>
  882. <item>
  883. <label>자발순환회복</label>
  884. <value>05</value>
  885. </item>
  886. <item>
  887. <label>자발순환회복못함(사망)</label>
  888. <value>01</value>
  889. </item>
  890. </choices>
  891. <script type="javascript" ev:event="xforms-value-changed">
  892. <![CDATA[
  893. if( model.getValue("/root/main/resusinfo/resuslist/cardarrrslt") == "01" ){
  894. int_dethdd.disabled = false;
  895. int_dethtm.disabled = false;
  896. button5.disabled = false;
  897. }else{
  898. model.setValue("/root/main/resusinfo/resuslist/dschdethdd", "" );
  899. model.setValue("/root/main/resusinfo/resuslist/dschdethtm", "" );
  900. int_dethdd.disabled = true;
  901. int_dethtm.disabled = true;
  902. button5.disabled = true;
  903. }
  904. model.refresh();
  905. ]]>
  906. </script>
  907. </select1>
  908. <button id="button5" class="icon_clock" navindex="64" style="left:296px; top:624px; width:16px; height:16px; ">
  909. <caption/>
  910. <script type="javascript" ev:event="DOMActivate">
  911. <![CDATA[
  912. if(model.getValue("/root/main/resusinfo/resuslist/dschdethdd") == ""){
  913. model.setValue("/root/main/resusinfo/resuslist/dschdethdd", getCurrentDate());
  914. int_dethdd.refresh();
  915. }
  916. model.setValue("/root/main/resusinfo/resuslist/dschdethtm", getCurrentTime().substr(0,4));
  917. int_dethtm.refresh();
  918. ]]>
  919. </script>
  920. </button>
  921. <input id="int_dethdd" ref="/root/main/resusinfo/resuslist/dschdethdd" class="input_default" navindex="62" inputtype="date" style="left:128px; top:622px; width:110px; height:19px; "/>
  922. <input id="int_resusendresnetc" ref="/root/main/resusinfo/resuslist/resusendresnetc" class="input_default" navindex="60" style="left:490px; top:574px; width:314px; height:19px; "/>
  923. <select1 id="rdo_resusendresn" ref="/root/main/resusinfo/resuslist/resusendresn" navindex="59" appearance="full" cellspacing="15" cols="4" overflow="visible" style="left:130px; top:576px; width:360px; height:16px; text-align:left; border-style:none; ">
  924. <choices>
  925. <item>
  926. <label>자발순환회복</label>
  927. <value>01</value>
  928. </item>
  929. <item>
  930. <label>심폐소생술 반응없음</label>
  931. <value>02</value>
  932. </item>
  933. <item>
  934. <label>DNR</label>
  935. <value>03</value>
  936. </item>
  937. <item>
  938. <label>기타</label>
  939. <value>09</value>
  940. </item>
  941. </choices>
  942. <script type="javascript" ev:event="xforms-value-changed">
  943. <![CDATA[
  944. if(model.getValue("/root/main/resusinfo/resuslist/resusendresn") == "09"){
  945. int_resusendresnetc.disabled = false;
  946. } else {
  947. int_resusendresnetc.value = "";
  948. int_resusendresnetc.disabled = true;
  949. }
  950. ]]>
  951. </script>
  952. </select1>
  953. <caption id="caption11" class="cell_1" style="left:0px; top:571px; width:125px; height:23px; text-align:center; vertical-align:middle; ">소생술 종료사유</caption>
  954. <caption id="caption15" class="cell_1" style="left:0px; top:595px; width:125px; height:23px; text-align:center; vertical-align:middle; ">소생술 결과</caption>
  955. <caption id="caption18" class="cell_1" style="left:0px; top:620px; width:125px; height:23px; text-align:center; vertical-align:middle; ">
  956. <![CDATA[사 망 일 시]]>
  957. <hint>
  958. <![CDATA[소생술 결과가 사망일 경우에만 자발순환회복못함(사망)일자 활성화]]>
  959. </hint>
  960. </caption>
  961. <input id="int_dethtm" ref="/root/main/resusinfo/resuslist/dschdethtm" class="input_default" navindex="63" format="hh:nn" style="left:242px; top:622px; width:50px; height:19px; "/>
  962. <line id="line4" class="line_2" style="x1:0px; y1:526px; x2:809px; y2:526px; "/>
  963. <line id="line5" class="line_2" style="x1:0px; y1:597px; x2:809px; y2:597px; "/>
  964. <line id="line7" class="line_2" style="x1:0px; y1:619px; x2:809px; y2:619px; "/>
  965. <line id="line9" class="line_2" style="x1:0px; y1:191px; x2:809px; y2:191px; "/>
  966. <select1 id="cmb_cardarrgenrplcehoscenter1" ref="/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter" class="combo_default" navindex="27" visibility="hidden" appearance="minimal" itemcount="30" style="left:20px; top:164px; width:90px; height:19px; text-align:left; ">
  967. <choices>
  968. <itemset nodeset="/root/init2/ward[ wardtype = 'S' or wardtype = '' ]">
  969. <label ref="wardnm"/>
  970. <value ref="wardcd"/>
  971. </itemset>
  972. </choices>
  973. </select1>
  974. <input id="ipt_defibrtims2" ref="/root/main/resusinfo/resuslist/defibrtims2" navindex="55" visibility="visible" format="#,###" maxbyte="4" style="left:550px; top:480px; width:50px; height:19px; "/>
  975. <input id="ipt_defibrjul2" ref="/root/main/resusinfo/resuslist/defibrjul2" navindex="54" visibility="visible" format="#,###" maxbyte="4" style="left:479px; top:480px; width:50px; height:19px; "/>
  976. <caption id="caption19" visibility="visible" style="left:528px; top:483px; width:20px; height:15px; text-align:center; ">J</caption>
  977. <caption id="caption20" visibility="visible" style="left:599px; top:483px; width:20px; height:15px; text-align:center; ">회</caption>
  978. <bool id="bool_cardarrestmflag" checkvalue="Y,N" ref="/root/main/resusinfo/resuslist/cardarrestmflag" style="left:321px; top:308px; width:20px; height:15px; ">
  979. <script type="javascript" ev:event="xforms-value-changed">
  980. <![CDATA[
  981. if( model.getValue("/root/main/resusinfo/resuslist/cardarrestmflag") =="Y"){
  982. model.setValue("/root/main/resusinfo/resuslist/cardarrestmdd", "");
  983. model.setValue("/root/main/resusinfo/resuslist/cardarrestmtm", "");
  984. int_cardarrestmdd.disabled = true;
  985. int_cardarrestmtm.disabled = true;
  986. btn_cardarrestmtm.disabled = true;
  987. }else{
  988. int_cardarrestmdd.disabled = false;
  989. int_cardarrestmtm.disabled = false;
  990. btn_cardarrestmtm.disabled = false;
  991. }
  992. int_cardarrestmdd.refresh();
  993. int_cardarrestmtm.refresh();
  994. btn_cardarrestmtm.refresh();
  995. ]]>
  996. </script>
  997. </bool>
  998. <caption id="caption21" style="left:340px; top:305px; width:60px; height:20px; font-weight:bold; ">
  999. <![CDATA[추정불가]]>
  1000. <script type="javascript" ev:event="onclick">
  1001. <![CDATA[
  1002. if( model.getValue("/root/main/resusinfo/resuslist/cardarrestmflag") =="Y"){
  1003. model.setValue("/root/main/resusinfo/resuslist/cardarrestmflag", "N");
  1004. int_cardarrestmdd.disabled = false;
  1005. int_cardarrestmtm.disabled = false;
  1006. btn_cardarrestmtm.disabled = false;
  1007. }else{
  1008. model.setValue("/root/main/resusinfo/resuslist/cardarrestmflag", "Y");
  1009. model.setValue("/root/main/resusinfo/resuslist/cardarrestmdd", "");
  1010. model.setValue("/root/main/resusinfo/resuslist/cardarrestmtm", "");
  1011. int_cardarrestmdd.disabled = true;
  1012. int_cardarrestmtm.disabled = true;
  1013. btn_cardarrestmtm.disabled = true;
  1014. }
  1015. model.refresh();
  1016. ]]>
  1017. </script>
  1018. </caption>
  1019. <input id="int_hosparvbfresusetc" ref="/root/main/resusinfo/resuslist/hosparvbfresusetc" class="input_default" navindex="31" style="left:454px; top:216px; width:271px; height:19px; text-align:left; "/>
  1020. <bool id="bool_defibrflag" checkvalue="Y,N" ref="/root/main/resusinfo/resuslist/defibrflag" style="left:623px; top:482px; width:20px; height:15px; ">
  1021. <script type="javascript" ev:event="xforms-value-changed">
  1022. <![CDATA[
  1023. if( model.getValue("/root/main/resusinfo/resuslist/defibrflag") =="Y"){
  1024. model.setValue("/root/main/resusinfo/resuslist/defibrstartdd", "" );
  1025. model.setValue("/root/main/resusinfo/resuslist/defibrstarttm", "" );
  1026. model.setValue("/root/main/resusinfo/resuslist/defibrjul", "" );
  1027. model.setValue("/root/main/resusinfo/resuslist/defibrtims", "" );
  1028. model.setValue("/root/main/resusinfo/resuslist/defibrjul2", "" );
  1029. model.setValue("/root/main/resusinfo/resuslist/defibrtims2", "" );
  1030. int_defibrstartdd.disabled = true;
  1031. int_defibrstarttm.disabled = true;
  1032. ipt_defibrjul.disabled = true;
  1033. ipt_defibrtims.disabled = true;
  1034. ipt_defibrjul2.disabled = true;
  1035. ipt_defibrtims2.disabled = true;
  1036. button2.disabled = true;
  1037. }else{
  1038. int_defibrstartdd.disabled = false;
  1039. int_defibrstarttm.disabled = false;
  1040. ipt_defibrjul.disabled = false;
  1041. ipt_defibrtims.disabled = false;
  1042. ipt_defibrjul2.disabled = false;
  1043. ipt_defibrtims2.disabled = false;
  1044. button2.disabled = false;
  1045. }
  1046. model.refresh();
  1047. ]]>
  1048. </script>
  1049. </bool>
  1050. <caption id="caption23" style="left:640px; top:483px; width:60px; height:15px; ">
  1051. <![CDATA[시행안함]]>
  1052. <script type="javascript" ev:event="onclick">
  1053. <![CDATA[
  1054. if( model.getValue("/root/main/resusinfo/resuslist/defibrflag") =="Y"){
  1055. model.setValue("/root/main/resusinfo/resuslist/defibrflag", "N");
  1056. int_defibrstartdd.disabled = false;
  1057. int_defibrstarttm.disabled = false;
  1058. ipt_defibrjul.disabled = false;
  1059. ipt_defibrtims.disabled = false;
  1060. ipt_defibrjul2.disabled = false;
  1061. ipt_defibrtims2.disabled = false;
  1062. button2.disabled = false;
  1063. }else{
  1064. model.setValue("/root/main/resusinfo/resuslist/defibrflag", "Y");
  1065. model.setValue("/root/main/resusinfo/resuslist/defibrstartdd", "" );
  1066. model.setValue("/root/main/resusinfo/resuslist/defibrstarttm", "" );
  1067. model.setValue("/root/main/resusinfo/resuslist/defibrjul", "" );
  1068. model.setValue("/root/main/resusinfo/resuslist/defibrtims", "" );
  1069. model.setValue("/root/main/resusinfo/resuslist/defibrjul2", "" );
  1070. model.setValue("/root/main/resusinfo/resuslist/defibrtims2", "" );
  1071. int_defibrstartdd.disabled = true;
  1072. int_defibrstarttm.disabled = true;
  1073. ipt_defibrjul.disabled = true;
  1074. ipt_defibrtims.disabled = true;
  1075. ipt_defibrjul2.disabled = true;
  1076. ipt_defibrtims2.disabled = true;
  1077. button2.disabled = true;
  1078. }
  1079. model.refresh();
  1080. ]]>
  1081. </script>
  1082. </caption>
  1083. <line id="line11" class="line_2" style="x1:0px; y1:476px; x2:810px; y2:476px; "/>
  1084. <bool id="bool_resusteamcallflag" checkvalue="Y,N" ref="/root/main/resusinfo/resuslist/resusteamcallflag" style="left:321px; top:359px; width:20px; height:15px; ">
  1085. <script type="javascript" ev:event="xforms-value-changed">
  1086. <![CDATA[
  1087. if( model.getValue("/root/main/resusinfo/resuslist/resusteamcallflag") =="Y"){
  1088. model.setValue("/root/main/resusinfo/resuslist/resusteamcalldd", "");
  1089. model.setValue("/root/main/resusinfo/resuslist/resusteamcalltm", "");
  1090. int_resusteamcalldd.disabled = true;
  1091. int_resusteamcalltm.disabled = true;
  1092. btn_resusteamcalltm.disabled = true;
  1093. }else{
  1094. int_resusteamcalldd.disabled = false;
  1095. int_resusteamcalltm.disabled = false;
  1096. btn_resusteamcalltm.disabled = false;
  1097. }
  1098. int_resusteamcalldd.refresh();
  1099. int_resusteamcalltm.refresh();
  1100. btn_resusteamcalltm.refresh();
  1101. ]]>
  1102. </script>
  1103. </bool>
  1104. <caption id="caption10" style="left:340px; top:360px; width:60px; height:15px; ">
  1105. <![CDATA[호출안함]]>
  1106. <script type="javascript" ev:event="onclick">
  1107. <![CDATA[
  1108. if( model.getValue("/root/main/resusinfo/resuslist/resusteamcallflag") =="Y"){
  1109. model.setValue("/root/main/resusinfo/resuslist/resusteamcallflag", "N");
  1110. int_resusteamcalldd.disabled = false;
  1111. int_resusteamcalltm.disabled = false;
  1112. btn_resusteamcalltm.disabled = false;
  1113. }else{
  1114. model.setValue("/root/main/resusinfo/resuslist/resusteamcallflag", "Y");
  1115. model.setValue("/root/main/resusinfo/resuslist/resusteamcalldd", "");
  1116. model.setValue("/root/main/resusinfo/resuslist/resusteamcalltm", "");
  1117. int_resusteamcalldd.disabled = true;
  1118. int_resusteamcalltm.disabled = true;
  1119. btn_resusteamcalltm.disabled = true;
  1120. }
  1121. model.refresh();
  1122. ]]>
  1123. </script>
  1124. </caption>
  1125. <line id="line12" class="line_2" style="x1:0px; y1:330px; x2:809px; y2:330px; "/>
  1126. <caption id="caption24" class="cell_1" style="left:0px; top:330px; width:125px; height:23px; text-align:center; vertical-align:middle; ">초기 환자상태</caption>
  1127. <caption id="caption25" class="cell_1" style="left:128px; top:330px; width:75px; height:23px; text-align:center; vertical-align:middle; ">의 식</caption>
  1128. <caption id="caption26" class="cell_1" style="left:318px; top:330px; width:75px; height:23px; text-align:center; vertical-align:middle; ">호 흡</caption>
  1129. <caption id="caption31" class="cell_1" style="left:503px; top:330px; width:75px; height:23px; text-align:center; vertical-align:middle; ">맥 박</caption>
  1130. <select1 id="rdo_initpatcscs" ref="/root/main/resusinfo/resuslist/initpatcscs" navindex="19" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:208px; top:333px; width:100px; height:20px; text-align:left; border-style:none; ">
  1131. <choices>
  1132. <item>
  1133. <label>유</label>
  1134. <value>Y</value>
  1135. </item>
  1136. <item>
  1137. <label>무</label>
  1138. <value>N</value>
  1139. </item>
  1140. </choices>
  1141. </select1>
  1142. <select1 id="rdo_initpatbreth" ref="/root/main/resusinfo/resuslist/initpatbreth" navindex="19" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:398px; top:333px; width:100px; height:20px; text-align:left; border-style:none; ">
  1143. <choices>
  1144. <item>
  1145. <label>유</label>
  1146. <value>Y</value>
  1147. </item>
  1148. <item>
  1149. <label>무</label>
  1150. <value>N</value>
  1151. </item>
  1152. </choices>
  1153. </select1>
  1154. <select1 id="rdo_initpatpulse" ref="/root/main/resusinfo/resuslist/initpatpulse" navindex="19" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:583px; top:333px; width:100px; height:20px; text-align:left; border-style:none; ">
  1155. <choices>
  1156. <item>
  1157. <label>유</label>
  1158. <value>Y</value>
  1159. </item>
  1160. <item>
  1161. <label>무</label>
  1162. <value>N</value>
  1163. </item>
  1164. </choices>
  1165. </select1>
  1166. <bool id="bool_hosparvbfresusynflag" checkvalue="Y,N" ref="/root/main/resusinfo/resuslist/hosparvbfresusynflag" style="left:731px; top:215px; width:21px; height:20px; ">
  1167. <script type="javascript" ev:event="xforms-value-changed">
  1168. <![CDATA[
  1169. if( model.getValue("/root/main/resusinfo/resuslist/hosparvbfresusynflag") == "Y"){
  1170. chk_hosparvbfresus.disabled = true;
  1171. int_hosparvbfresusetc.disabled = true;
  1172. model.setValue("/root/main/resusinfo/resuslist/hosparvbfresus", "" );
  1173. model.setValue("/root/main/resusinfo/resuslist/hosparvbfresusetc", "" );
  1174. }else{
  1175. chk_hosparvbfresus.disabled = false;
  1176. int_hosparvbfresusetc.disabled = false;
  1177. }
  1178. model.refresh();
  1179. ]]>
  1180. </script>
  1181. </bool>
  1182. <caption id="caption33" style="left:752px; top:218px; width:56px; height:15px; ">
  1183. <![CDATA[처치없음]]>
  1184. <script type="javascript" ev:event="onclick">
  1185. <![CDATA[
  1186. if( model.getValue("/root/main/resusinfo/resuslist/hosparvbfresusynflag") =="Y"){
  1187. model.setValue("/root/main/resusinfo/resuslist/hosparvbfresusynflag", "N");
  1188. chk_hosparvbfresus.disabled = false;
  1189. int_hosparvbfresusetc.disabled = false;
  1190. }else{
  1191. model.setValue("/root/main/resusinfo/resuslist/hosparvbfresusynflag", "Y");
  1192. chk_hosparvbfresus.disabled = true;
  1193. int_hosparvbfresusetc.disabled = true;
  1194. model.setValue("/root/main/resusinfo/resuslist/hosparvbfresus", "" );
  1195. model.setValue("/root/main/resusinfo/resuslist/hosparvbfresusetc", "" );
  1196. }
  1197. model.refresh();
  1198. ]]>
  1199. </script>
  1200. </caption>
  1201. <input id="cmb_cardarrgenrplcetestroom" ref="/root/main/resusinfo/resuslist/cardarrgenrplcetestroom" class="input_default" navindex="28" style="left:555px; top:146px; width:255px; height:19px; text-align:left; "/>
  1202. <input id="int_cardarrgenrplceetcbigo" ref="/root/main/resusinfo/resuslist/cardarrgenrplceetcbigo" class="input_default" navindex="28" style="left:555px; top:167px; width:255px; height:19px; text-align:left; "/>
  1203. <input id="cmb_cardarrgenrplcehoscenter" ref="/root/main/resusinfo/resuslist/cardarrgenrplcehoscenter" class="input_default" navindex="28" style="left:205px; top:146px; width:245px; height:19px; text-align:left; "/>
  1204. <select1 id="rdo_cardarrgenrplcewardflag" ref="/root/main/resusinfo/resuslist/cardarrgenrplcewardflag" appearance="full" cols="2" overflow="visible" style="left:345px; top:105px; width:105px; height:20px; border-style:none; ">
  1205. <choices>
  1206. <item>
  1207. <label>병실</label>
  1208. <value>1</value>
  1209. </item>
  1210. <item>
  1211. <label>병실 외</label>
  1212. <value>2</value>
  1213. </item>
  1214. </choices>
  1215. </select1>
  1216. <caption id="caption49" style="left:148px; top:170px; width:34px; height:15px; font-weight:bold; background-color:#ffffff; ">원 외</caption>
  1217. <line id="line15" class="line_2" style="x1:0px; y1:643px; x2:809px; y2:643px; "/>
  1218. <caption id="caption50" class="cell_1" style="left:0px; top:645px; width:125px; height:48px; text-align:center; vertical-align:middle; ">
  1219. <![CDATA[text 입력]]>
  1220. <hint>
  1221. <![CDATA[소생술 결과가 사망일 경우에만 자발순환회복못함(사망)일자 활성화]]>
  1222. </hint>
  1223. </caption>
  1224. <caption id="caption51" style="left:610px; top:195px; width:177px; height:20px; ">( Fr cm 고정 )</caption>
  1225. <caption id="caption52" style="left:610px; top:243px; width:177px; height:15px; ">( Fr cm 고정 )</caption>
  1226. <input id="ipt_freairway1" ref="/root/main/resusinfo/resuslist/freeairway1" disabled="true" maxlength="4" style="left:625px; top:195px; width:35px; height:19px; "/>
  1227. <input id="ipt_freairway3" ref="/root/main/resusinfo/resuslist/freeairway3" disabled="true" maxlength="4" style="left:625px; top:238px; width:35px; height:19px; "/>
  1228. <input id="ipt_freairway2" ref="/root/main/resusinfo/resuslist/freeairway2" disabled="true" maxlength="4" style="left:690px; top:195px; width:35px; height:19px; "/>
  1229. <input id="ipt_freairway4" ref="/root/main/resusinfo/resuslist/freeairway4" disabled="true" maxlength="4" style="left:690px; top:238px; width:35px; height:19px; "/>
  1230. <input id="int_fstresusstrttm" ref="/root/main/resusinfo/resuslist/fstresusstrttm" class="input_default" navindex="49" format="hh:nn" style="left:243px; top:380px; width:50px; height:19px; "/>
  1231. <caption id="caption53" style="left:610px; top:533px; width:177px; height:15px; ">( Fr cm 고정 )</caption>
  1232. <button id="button6" class="icon_clock" navindex="50" style="left:296px; top:381px; width:16px; height:16px; ">
  1233. <caption/>
  1234. <script type="javascript" ev:event="DOMActivate">
  1235. <![CDATA[
  1236. if(model.getValue("/root/main/resusinfo/resuslist/fstresusstrtdd") == ""){
  1237. model.setValue("/root/main/resusinfo/resuslist/fstresusstrtdd", getCurrentDate());
  1238. int_fstresusstrtdd.refresh();
  1239. }
  1240. model.setValue("/root/main/resusinfo/resuslist/fstresusstrttm", getCurrentTime().substr(0,4));
  1241. int_fstresusstrttm.refresh();
  1242. ]]>
  1243. </script>
  1244. </button>
  1245. <line id="line14" class="line_2" style="x1:0px; y1:400px; x2:809px; y2:400px; "/>
  1246. <input id="int_fstresusstrtdd" ref="/root/main/resusinfo/resuslist/fstresusstrtdd" class="input_default" navindex="48" inputtype="date" style="left:128px; top:380px; width:110px; height:19px; "/>
  1247. <caption id="caption48" class="cell_1" style="left:0px; top:378px; width:125px; height:23px; text-align:center; vertical-align:middle; ">처음 소생술 시작시간</caption>
  1248. <caption id="caption45" class="cell_1" style="left:0px; top:282px; width:125px; height:23px; text-align:center; vertical-align:middle; ">최초 소생술 시행자</caption>
  1249. <input id="int_fstresusexecetc" ref="/root/main/resusinfo/resuslist/fstresusexecetc" class="input_default" navindex="35" style="left:495px; top:283px; width:284px; height:19px; text-align:left; "/>
  1250. <caption id="caption46" style="left:129px; top:287px; width:40px; height:15px; ">의 사 (</caption>
  1251. <caption id="caption47" style="left:369px; top:282px; width:10px; height:25px; ">)</caption>
  1252. <select id="chk_fstresusexecflag" ref="/root/main/resusinfo/resuslist/fstresusexecflag" overflow="visible" appearance="full" cellspacing="16" cols="5" style="left:175px; top:285px; width:320px; height:15px; border-style:none; ">
  1253. <choices>
  1254. <item>
  1255. <label>전문의</label>
  1256. <value>01</value>
  1257. </item>
  1258. <item>
  1259. <label>전공의</label>
  1260. <value>02</value>
  1261. </item>
  1262. <item>
  1263. <label>인턴</label>
  1264. <value>03</value>
  1265. </item>
  1266. <item>
  1267. <label>간호사</label>
  1268. <value>04</value>
  1269. </item>
  1270. <item>
  1271. <label>기타</label>
  1272. <value>05</value>
  1273. </item>
  1274. </choices>
  1275. <script type="javascript" ev:event="xforms-value-changed">
  1276. <![CDATA[
  1277. var checkval = "";
  1278. for(var i=0; i<5; i++){
  1279. if( chk_fstresusexecflag.item(i).selected == true){
  1280. if(i == "4"){
  1281. int_fstresusexecetc.disabled = false;
  1282. }
  1283. checkval += "1";
  1284. }else {
  1285. checkval += "0";
  1286. }
  1287. }
  1288. ]]>
  1289. </script>
  1290. </select>
  1291. <line id="line13" class="line_2" style="x1:0px; y1:304px; x2:809px; y2:304px; "/>
  1292. <line id="line30" class="line_2" style="x1:0px; y1:568px; x2:809px; y2:568px; "/>
  1293. <input id="ipt_freairway5" ref="/root/main/resusinfo/resuslist/freeairway5" disabled="true" maxlength="4" style="left:625px; top:527px; width:35px; height:19px; "/>
  1294. <select id="chk_resusteamfresus" ref="/root/main/resusinfo/resuslist/resusteamfresus" navindex="34" overflow="visible" appearance="full" cellspacing="60" cols="4" vcellspacing="5" style="left:130px; top:526px; width:475px; height:39px; text-align:left; border-style:none; ">
  1295. <choices>
  1296. <item>
  1297. <label>흉부압박</label>
  1298. <value>01</value>
  1299. </item>
  1300. <item>
  1301. <label>호흡보조</label>
  1302. <value>02</value>
  1303. </item>
  1304. <item>
  1305. <label>제세동</label>
  1306. <value>03</value>
  1307. </item>
  1308. <item>
  1309. <label>전문기도확보</label>
  1310. <value>04</value>
  1311. </item>
  1312. <item>
  1313. <label>정맥로확보</label>
  1314. <value>05</value>
  1315. </item>
  1316. <item>
  1317. <label>약물투여</label>
  1318. <value>06</value>
  1319. </item>
  1320. <item>
  1321. <label>기타</label>
  1322. <value>09</value>
  1323. </item>
  1324. </choices>
  1325. <script type="javascript" ev:event="xforms-select">
  1326. <![CDATA[
  1327. var checkval = "";
  1328. for(var i=0; i<7; i++){
  1329. if( chk_resusteamfresus.item(i).selected == true){
  1330. if(i == "6"){
  1331. int_resusteamfresusetc.disabled = false;
  1332. }else if ( i == "3"){
  1333. ipt_freairway5.disabled = false;
  1334. ipt_freairway6.disabled = false;
  1335. }
  1336. checkval += "1";
  1337. }else {
  1338. checkval += "0";
  1339. }
  1340. }
  1341. model.makeValue("hidden/list/resusteamfresus", checkval);
  1342. ipt_freairway5.refresh();
  1343. ipt_freairway6.refresh();
  1344. ]]>
  1345. </script>
  1346. <script type="javascript" ev:event="xforms-deselect">
  1347. <![CDATA[
  1348. var checkval = "";
  1349. for(var i=0; i<7; i++){
  1350. if( chk_resusteamfresus.item(i).selected == true){
  1351. checkval += "1";
  1352. }else {
  1353. if(i == "6"){
  1354. int_resusteamfresusetc.value = "";
  1355. int_resusteamfresusetc.disabled = true;
  1356. }else if ( i == "3"){
  1357. ipt_freairway5.value = "";
  1358. ipt_freairway6.value = "";
  1359. ipt_freairway5.disabled = true;
  1360. ipt_freairway6.disabled = true;
  1361. }
  1362. checkval += "0";
  1363. }
  1364. }
  1365. model.makeValue("hidden/list/resusteamfresus", checkval);
  1366. ]]>
  1367. </script>
  1368. </select>
  1369. <input id="int_resusteamfresusetc" ref="/root/main/resusinfo/resuslist/resusteamfresusetc" class="input_default" navindex="35" style="left:455px; top:548px; width:270px; height:19px; text-align:left; "/>
  1370. <input id="ipt_freairway6" ref="/root/main/resusinfo/resuslist/freeairway6" disabled="true" maxlength="4" style="left:690px; top:527px; width:35px; height:19px; "/>
  1371. <caption id="caption32" style="left:755px; top:552px; width:50px; height:15px; ">
  1372. <![CDATA[시도안함]]>
  1373. <script type="javascript" ev:event="onclick">
  1374. <![CDATA[
  1375. if( model.getValue("/root/main/resusinfo/resuslist/resusteamfresusflag") =="Y"){
  1376. model.setValue("/root/main/resusinfo/resuslist/resusteamfresusflag", "N");
  1377. chk_resusteamfresus.disabled = false;
  1378. int_resusteamfresusetc.disabled = false;
  1379. }else{
  1380. model.setValue("/root/main/resusinfo/resuslist/resusteamfresusflag", "Y");
  1381. chk_resusteamfresus.disabled = true;
  1382. int_resusteamfresusetc.disabled = true;
  1383. model.setValue("/root/main/resusinfo/resuslist/resusteamfresus", "");
  1384. model.setValue("/root/main/resusinfo/resuslist/resusteamfresusetc", "");
  1385. }
  1386. model.refresh();
  1387. ]]>
  1388. </script>
  1389. </caption>
  1390. <caption id="caption35" class="cell_1" style="left:0px; top:528px; width:125px; height:42px; text-align:center; vertical-align:middle; ">CPR팀 소생술</caption>
  1391. <bool id="bool_resusteamfresusflag" checkvalue="Y,N" ref="/root/main/resusinfo/resuslist/resusteamfresusflag" style="left:736px; top:549px; width:25px; height:20px; ">
  1392. <script type="javascript" ev:event="xforms-value-changed">
  1393. <![CDATA[
  1394. if( model.getValue("/root/main/resusinfo/resuslist/resusteamfresusflag") =="Y"){
  1395. chk_resusteamfresus.disabled = true;
  1396. int_resusteamfresusetc.disabled = true;
  1397. model.setValue("/root/main/resusinfo/resuslist/resusteamfresus", "");
  1398. model.setValue("/root/main/resusinfo/resuslist/resusteamfresusetc", "");
  1399. }else{
  1400. chk_resusteamfresus.disabled = false;
  1401. int_resusteamfresusetc.disabled = false;
  1402. }
  1403. model.refresh();
  1404. ]]>
  1405. </script>
  1406. </bool>
  1407. <textarea id="textarea1" ref="/root/main/resusinfo/resuslist/memo" maxbyte="700" style="left:128px; top:646px; width:685px; height:45px; text-align:left; vertical-align:top; "/>
  1408. </group>
  1409. <group id="group3" scroll="auto" style="left:0px; top:23px; width:1067px; height:77px; text-align:center; ">
  1410. <line id="line8" class="line_1" style="x1:0px; y1:20px; x2:1060px; y2:20px; "/>
  1411. <line id="line6" class="line_3" style="x1:0px; y1:74px; x2:1060px; y2:74px; "/>
  1412. <caption id="caption14" class="cell_1" style="left:0px; top:25px; width:120px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  1413. <caption id="caption2" class="cell_1" style="left:0px; top:50px; width:120px; height:23px; text-align:center; vertical-align:middle; ">소생술 시행일자</caption>
  1414. <input id="ipt_pid" ref="/root/main/patinfo/pid" class="input_default" navindex="1" maxlength="10" style="left:124px; top:26px; width:123px; height:19px; font-weight:bold; color:#0000ff; ">
  1415. <script type="javascript" ev:event="onkeyup">
  1416. <![CDATA[
  1417. if(event.keyCode == 13) {
  1418. fSrchPatListInput("1");
  1419. }
  1420. ]]>
  1421. </script>
  1422. </input>
  1423. <line id="line1" class="line_2" style="x1:0px; y1:47px; x2:1058px; y2:47px; "/>
  1424. <button id="btn_genrclock" class="icon_clock" navindex="13" style="left:299px; top:54px; width:16px; height:16px; ">
  1425. <caption/>
  1426. <script type="javascript" ev:event="DOMActivate">
  1427. <![CDATA[
  1428. if(model.getValue("/root/main/resusinfo/resuslist/cardarrgenrdd") == ""){
  1429. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrdd", getCurrentDate());
  1430. int_cardarrgenrdd.refresh();
  1431. }
  1432. model.setValue("/root/main/resusinfo/resuslist/cardarrgenrtm", getCurrentTime().substr(0,4));
  1433. int_cardarrgenrtm.refresh();
  1434. ]]>
  1435. </script>
  1436. </button>
  1437. <input id="int_cardarrgenrdd" ref="/root/main/patinfo/cardarrgenrdd" navindex="6" inputtype="date" style="left:124px; top:51px; width:123px; height:19px; ">
  1438. <script type="javascript" ev:event="xforms-value-changed">
  1439. <![CDATA[
  1440. fDateSetting("Change");
  1441. ]]>
  1442. </script>
  1443. </input>
  1444. <select1 id="cmb_medispclid" ref="/root/main/patinfo/medispclid" navindex="9" appearance="minimal" editmode="inputsearch" style="left:659px; top:51px; width:154px; height:19px; text-align:left; ">
  1445. <choices>
  1446. <itemset nodeset="/root/init/userlist/medispclid/usercombo">
  1447. <label ref="usernm"/>
  1448. <value ref="userid"/>
  1449. </itemset>
  1450. </choices>
  1451. </select1>
  1452. <caption id="caption12" class="cell_1" style="left:815px; top:25px; width:118px; height:23px; text-align:center; vertical-align:middle; ">병 동</caption>
  1453. <caption id="caption42" class="cell_1" style="left:815px; top:49px; width:118px; height:23px; text-align:center; vertical-align:middle; ">담 당 의</caption>
  1454. <caption id="caption13" class="cell_1" style="left:250px; top:49px; width:120px; height:23px; text-align:center; vertical-align:middle; ">진 료 과</caption>
  1455. <select1 id="cmb_atdoctcd" ref="/root/main/patinfo/atdoctcd" navindex="10" appearance="minimal" editmode="inputsearch" style="left:936px; top:51px; width:120px; height:19px; text-align:left; ">
  1456. <choices>
  1457. <itemset nodeset="/root/init/userlist/atdoctid/usercombo">
  1458. <label ref="usernm"/>
  1459. <value ref="userid"/>
  1460. </itemset>
  1461. </choices>
  1462. </select1>
  1463. <caption id="caption16" class="cell_1" style="left:566px; top:49px; width:90px; height:23px; text-align:center; vertical-align:middle; ">전 문 의</caption>
  1464. <caption id="caption17" class="cell_1" style="left:250px; top:25px; width:120px; height:23px; text-align:center; vertical-align:middle; ">환 자 명</caption>
  1465. <input id="input5" ref="/root/main/patinfo/age" class="input_default" navindex="4" style="left:718px; top:26px; width:95px; height:19px; "/>
  1466. <select1 id="cmb_wardcd" ref="/root/main/patinfo/wardcd" navindex="5" appearance="minimal" editmode="search" style="left:936px; top:26px; width:120px; height:19px; text-align:left; ">
  1467. <choices>
  1468. <itemset nodeset="/root/init/ward/">
  1469. <label ref="wardnm"/>
  1470. <value ref="wardcd"/>
  1471. </itemset>
  1472. </choices>
  1473. <script type="javascript" ev:event="xforms-value-changed">
  1474. <![CDATA[
  1475. //fGetCareComRoomList(cmb_wardcd.value);// 병실정보를 가져온다.
  1476. ]]>
  1477. </script>
  1478. </select1>
  1479. <input id="int_cardarrgenrtm" ref="/root/main/patinfo/cardarrgenrtm" class="input_default" navindex="7" visibility="hidden" format="hh:nn" style="left:165px; top:50px; width:50px; height:19px; "/>
  1480. <input id="int_patnm" ref="/root/main/patinfo/patnm" class="input_default" navindex="2" maxlength="10" style="left:374px; top:26px; width:123px; height:19px; font-weight:bold; "/>
  1481. <caption id="caption43" class="cell_1" style="left:500px; top:25px; width:65px; height:23px; text-align:center; vertical-align:middle; ">성 별</caption>
  1482. <caption id="caption44" class="cell_1" style="left:657px; top:25px; width:58px; height:23px; text-align:center; vertical-align:middle; ">나 이</caption>
  1483. <select1 id="cmb_gender" ref="/root/main/patinfo/gender" navindex="3" appearance="minimal" style="left:568px; top:26px; width:86px; height:19px; ">
  1484. <choices>
  1485. <item>
  1486. <label>남</label>
  1487. <value>M</value>
  1488. </item>
  1489. <item>
  1490. <label>여</label>
  1491. <value>F</value>
  1492. </item>
  1493. </choices>
  1494. </select1>
  1495. <select1 id="cmb_dept" ref="/root/main/patinfo/orddeptcd" navindex="8" appearance="minimal" editmode="search" style="left:374px; top:51px; width:189px; height:19px; text-align:left; ">
  1496. <choices>
  1497. <itemset nodeset="/root/init/dept/">
  1498. <label ref="depthngnm"/>
  1499. <value ref="deptcd"/>
  1500. </itemset>
  1501. </choices>
  1502. <script type="javascript" ev:event="xforms-value-changed">
  1503. <![CDATA[
  1504. model.removeNodeset("/root/init/userlist");
  1505. model.makeNode("/root/init/userlist/medispclid/usercombo");
  1506. model.makeNode("/root/init/userlist/atdoctid/usercombo");
  1507. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist/medispclid", cmb_dept.value, "0330");
  1508. //mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist/medispclid", cmb_dept.value, "0330", "", "M");
  1509. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist/atdoctid", cmb_dept.value, "0330", "", "T");
  1510. addComboItem("cmb_medispclid", "-", "", "above"); //의사콤보 전체항목 추가
  1511. addComboItem("cmb_atdoctcd", "-", "", "above"); //의사콤보 전체항목 추가
  1512. ]]>
  1513. </script>
  1514. </select1>
  1515. <caption id="caption1" class="tit_2" style="left:4px; top:4px; width:164px; height:13px; ">대상자 정보</caption>
  1516. </group>
  1517. <button id="button1" class="btn2_letter9" navindex="66" style="left:740px; top:3px; width:119px; height:19px; ">
  1518. <caption>파랑새 심폐소생보고</caption>
  1519. <script type="javascript" ev:event="DOMActivate">
  1520. <![CDATA[
  1521. if(datagrid2.row <= 0) {
  1522. messageBox("심폐소생보고서를 작성, 선택한 후 상세기록을 하십시오.", "E");
  1523. return;
  1524. }
  1525. var pid= model.getValue("/root/main/patinfo/pid");
  1526. if(pid == "" || pid == null) {
  1527. messageBox("환자의 입원정보를 찾을 수 없습니다.", "E");
  1528. return;
  1529. }
  1530. model.property("pid") = model.getValue("/root/main/patinfo/pid");
  1531. model.property("patnm") = model.getValue("/root/main/patinfo/patnm");
  1532. model.property("indd") = model.getValue("/root/main/patinfo/indd");
  1533. model.property("cretno") = model.getValue("/root/main/patinfo/cretno");
  1534. model.property("cardarrgenrdt") = model.getValue(xPathCardArrPatInfo+"/cardarrgenrdd") + model.getValue(xPathCardArrPatInfo+"/cardarrgenrtm");
  1535. model.property("wardcd") = model.getValue("/root/main/patinfo/wardcd");
  1536. model.property("roomcd") = model.getValue("/root/main/patinfo/roomcd");
  1537. model.property("ordtype") = model.getValue("/root/main/patinfo/ordtype");
  1538. model.property("orddrid") = model.getValue("/root/main/patinfo/medispclid");
  1539. model.property("orddrnm") = model.getValue("/root/main/patinfo/orddrid ");
  1540. model.property("orddeptcd") = model.getValue("/root/main/patinfo/deptcd");
  1541. model.property("orddeptnm") = model.getValue("/root/main/patinfo/orddeptcd");
  1542. model.property("sa") = model.getValue("/root/main/patinfo/grdrage");
  1543. model.property("issdeptcd") = model.getValue("/root/main/patinfo/issdeptcd");
  1544. modal("SPMNE02301");
  1545. ]]>
  1546. </script>
  1547. </button>
  1548. <button id="button3" class="btn6_letter2" navindex="65" style="left:680px; top:1px; width:56px; height:22px; ">
  1549. <caption>출력</caption>
  1550. <script type="javascript" ev:event="DOMActivate">
  1551. <![CDATA[
  1552. window.print();
  1553. ]]>
  1554. </script>
  1555. </button>
  1556. <line id="line22" class="line_6" style="x1:0px; y1:24px; x2:1060px; y2:24px; "/>
  1557. <button id="button4" class="btn5_letter2" navindex="71" style="left:1020px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
  1558. <caption>저장</caption>
  1559. <script type="javascript" ev:event="onclick">
  1560. <![CDATA[
  1561. if(datagrid2.row < 1 ) {
  1562. fCardArrResusSave("1", model.getValue("/root/main/patinfo/nursdocflag"), "I");
  1563. button12.dispatch("DOMActivate");
  1564. }else{
  1565. messageBox("이력데이터는 다시 저장 할 수 없습니다.", "E");
  1566. return;
  1567. }
  1568. ]]>
  1569. </script>
  1570. </button>
  1571. <button id="button10" class="btn2_letter2" navindex="70" visibility="hidden" style="left:975px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  1572. <caption>수정</caption>
  1573. <script type="javascript" ev:event="DOMActivate">
  1574. <![CDATA[
  1575. fCardArrResusSave("1", model.getValue("/root/main/patinfo/nursdocflag") ,"U");
  1576. ]]>
  1577. </script>
  1578. </button>
  1579. <button id="button11" class="btn2_letter2" navindex="69" visibility="hidden" style="left:930px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  1580. <caption>삭제</caption>
  1581. <script type="javascript" ev:event="DOMActivate">
  1582. <![CDATA[
  1583. fCardArrResusSave("1", model.getValue("/root/main/patinfo/nursdocflag") ,"D");
  1584. button12.dispatch("DOMActivate");
  1585. ]]>
  1586. </script>
  1587. </button>
  1588. <button id="button12" class="btn2_letter4" navindex="68" style="left:863px; top:3px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  1589. <caption>새로작성</caption>
  1590. <script type="javascript" ev:event="DOMActivate">
  1591. <![CDATA[
  1592. datagrid2.row = 0 ;
  1593. model.setValue("/root/main/patinfo/selectrow", "");
  1594. fClearChildNode("/root/main/resusinfo/resuslist");
  1595. model.refresh();
  1596. model.setValue(xPathCardArrPatInfo+"/cardarrgenrdd", getCurrentDate());
  1597. model.setValue(xPathCardArrPatInfo+"/cardarrgenrtm", getCurrentTime());
  1598. int_cardarrgenrdd.disabled = false;
  1599. if(model.getValue("/root/main/patinfo/nursdocflag") == "N"){
  1600. fDateSetting("Init");
  1601. }
  1602. fInputBoxInit();
  1603. button4.visible = true;
  1604. button10.visible = false;
  1605. button11.visible = false;
  1606. ]]>
  1607. </script>
  1608. </button>
  1609. <button id="button13" class="btn2_letter9" navindex="67" visibility="hidden" style="left:495px; top:20px; width:119px; height:19px; ">
  1610. <caption>심폐소생술 용어정의</caption>
  1611. <script type="javascript" ev:event="DOMActivate">
  1612. <![CDATA[
  1613. open("SPMNE02300","1","15","128");
  1614. ]]>
  1615. </script>
  1616. </button>
  1617. </xhtml:body>
  1618. </xhtml:html>