SMMNE04700_응급환자대장.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>응급환자대장</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <srchinfo>
  11. <cond>
  12. <fromdd/>
  13. <todd/>
  14. <srchflag>I</srchflag>
  15. </cond>
  16. </srchinfo>
  17. <callvisitinfo>
  18. <callvisitlsit>
  19. <bedposcnts/>
  20. <fsexamflag/>
  21. <serdiagflag/>
  22. <recovwardcd/>
  23. <unstablevs/>
  24. <pid/>
  25. <patnm/>
  26. <sex/>
  27. <age/>
  28. <diagnm/>
  29. <mainorddept/>
  30. <maindocnm/>
  31. <outrmcdnm/>
  32. <opdd/>
  33. <indt/>
  34. <maincalldt/>
  35. <fstexamorddt/>
  36. <decidt/>
  37. <outrmdt/>
  38. <outmodin/>
  39. <callmodin/>
  40. <visitmodcall/>
  41. <dschdclrmodin/>
  42. <outmoddschdclr/>
  43. <difnm1/>
  44. <difcall1/>
  45. <difvisit1/>
  46. <difgab1/>
  47. <difnm2/>
  48. <difcall2/>
  49. <difvisit2/>
  50. <difgab2/>
  51. <difnm3/>
  52. <difcall3/>
  53. <difvisit3/>
  54. <difgab3/>
  55. <difnm4/>
  56. <difcall4/>
  57. <difvisit4/>
  58. <difgab4/>
  59. <difnm5/>
  60. <difcall5/>
  61. <difvisit5/>
  62. <difgab5/>
  63. <indd/>
  64. <instcd/>
  65. <cretno/>
  66. <visitno/>
  67. <outrmcd/>
  68. <mainarrivdt/>
  69. </callvisitlsit>
  70. </callvisitinfo>
  71. <injulist>
  72. <injuhscd/>
  73. <injuidno/>
  74. <injuindt/>
  75. <injuintm/>
  76. <injusexx/>
  77. <injuagee/>
  78. <injujobb/>
  79. <injujobbetc/>
  80. <injueduc/>
  81. <injusala/>
  82. <injuinsu/>
  83. <injuinsuetc/>
  84. <injumeth/>
  85. <injumethetc/>
  86. <injuemrt/>
  87. <injuemrtetc/>
  88. <injuotdt/>
  89. <injuottm/>
  90. <injudcrt/>
  91. <injudcrtetc/>
  92. <injudcdt/>
  93. <injudctm/>
  94. <injuinte/>
  95. <injuinteetc/>
  96. <injualco/>
  97. <injumech/>
  98. <injuondt/>
  99. <injuontm/>
  100. <injuplac1/>
  101. <injuplac1etc/>
  102. <injuplac2/>
  103. <injuplac3/>
  104. <injuplac3etc/>
  105. <injuhomet/>
  106. <injuhometetc/>
  107. <injuiact/>
  108. <injuiactetc/>
  109. <injusport/>
  110. <injusportetc/>
  111. <injufactu/>
  112. <injufactudesc/>
  113. <injufactd/>
  114. <injufactddesc/>
  115. <injudd01/>
  116. <injudd02/>
  117. <injudd03/>
  118. <injudd04/>
  119. <injudd05/>
  120. <injudd06/>
  121. <injudd07/>
  122. <injudd08/>
  123. <injudd09/>
  124. <injudd10/>
  125. <injunarr/>
  126. <injutrol/>
  127. <injutroletc/>
  128. <injutcounter/>
  129. <injutcounteretc/>
  130. <injutrtype/>
  131. <injutrtypeetc/>
  132. <injupe1/>
  133. <injupe2/>
  134. <injupe3/>
  135. <injupe4/>
  136. <injupe5/>
  137. <injupe6/>
  138. <injupe98/>
  139. <injupeetc/>
  140. <injupomacd/>
  141. <injuponame/>
  142. <injupocomp/>
  143. <injusfact1/>
  144. <injusfact1etc/>
  145. <injusfact2/>
  146. <injusfact2etc/>
  147. <injusfact3/>
  148. <injusfact3etc/>
  149. <injusfactdt/>
  150. <injushxnum/>
  151. <injusymp1/>
  152. <injusymp2/>
  153. <injusymp3/>
  154. <injucmsp/>
  155. <injucmdp/>
  156. <injucmpc/>
  157. <injucmbr/>
  158. <injucmtmpt/>
  159. <injucmavpu/>
  160. <injugcse/>
  161. <injugcsv/>
  162. <injugcsm/>
  163. <injuopyn/>
  164. <injuop01/>
  165. <injuop02/>
  166. <injuop03/>
  167. <injuop04/>
  168. <injuop05/>
  169. <injuop06/>
  170. <injuop07/>
  171. <injuop08/>
  172. <injuop09/>
  173. <injuop10/>
  174. <injuemriss/>
  175. <injurts/>
  176. <injuiss/>
  177. <injuprec010/>
  178. <injuprec011/>
  179. <injuprec012/>
  180. <injuprec013/>
  181. <injuprec014/>
  182. <injuprec015/>
  183. <injuprec020/>
  184. <injuprec021/>
  185. <injuprec022/>
  186. <injuprec023/>
  187. <injuprec030/>
  188. <injuprec031/>
  189. <injuprec032/>
  190. <injuprec033/>
  191. <injuprec034/>
  192. <injuprec035/>
  193. <injuprec04/>
  194. <injuprec05/>
  195. <injuprec06/>
  196. <injuprec07/>
  197. <injuprec08/>
  198. <injuprec09/>
  199. <injuprec100/>
  200. <injuprec101/>
  201. <injuprec102/>
  202. <injuprec103/>
  203. <injuprec104/>
  204. <injuprec11/>
  205. <injuprec98/>
  206. <injuprec99/>
  207. <injupreetc/>
  208. <injuicd101/>
  209. <injuicd102/>
  210. <injuicd103/>
  211. <injuicd104/>
  212. <injuicd105/>
  213. <injuicd106/>
  214. <injuicd107/>
  215. <injuicd108/>
  216. <injuicd109/>
  217. <injuicd1010/>
  218. <injukdate/>
  219. <injuktime/>
  220. <injutaarea/>
  221. <injutacolptn/>
  222. <injutacolptnetc/>
  223. <injutadrug/>
  224. <injutanhx1/>
  225. <injutanhx2/>
  226. <injutanhx3/>
  227. <injutanhx4/>
  228. <injutanhx5/>
  229. <injutanhx6/>
  230. <injutanhx7/>
  231. <injutanhx8/>
  232. <injutanhx9/>
  233. <injutanhx10/>
  234. <injutanhx11/>
  235. <injutanhx98/>
  236. <injutanhx99/>
  237. <injutahxetc/>
  238. <injutaht/>
  239. <injutast/>
  240. <injutasn/>
  241. <injutacpl/>
  242. <injutaobs/>
  243. <injutaobsg/>
  244. </injulist>
  245. </main>
  246. <send/>
  247. <item/>
  248. <hidden>
  249. <item>
  250. <label/>
  251. <value/>
  252. </item>
  253. <orddeptlist/>
  254. <erorddeptlist/>
  255. </hidden>
  256. <init>
  257. <P0021list>
  258. <P0021>
  259. <cdnm/>
  260. <cdid/>
  261. </P0021>
  262. </P0021list>
  263. </init>
  264. </root>
  265. </instance>
  266. <script type="javascript" ev:event="xforms-ready">
  267. <![CDATA[
  268. model.removeNodeset("/root/main/callvisitinfo/callvisitlsit");
  269. var setDate = getDateCalc(getCurrentDate() , 1);
  270. model.setValue("/root/main/srchinfo/cond/fromdd", setDate);
  271. model.setValue("/root/main/srchinfo/cond/todd", setDate);
  272. zbcfGetCodeList(new Array("P0021"), new Array("/root/init/P0021list") );
  273. fSrchERRgstList();
  274. ]]>
  275. </script>
  276. <script type="javascript">
  277. <![CDATA[
  278. function fSrchERRgstList(){
  279. model.removenode("/root/send");
  280. var srchHeader = "fromdd▦todd▦srchflag▩";
  281. var srchData = model.getValue("/root/main/srchinfo/cond/fromdd")+"▦"
  282. + model.getValue("/root/main/srchinfo/cond/todd")+"▦"
  283. + model.getValue("/root/main/srchinfo/cond/srchflag")+"▩"
  284. model.makeValue("/root/send/cond", srchHeader + srchData);
  285. submit("TRMNE04701");
  286. }
  287. ]]>
  288. </script>
  289. <submission id="TRZBC00101" method="post" replace="instance"/>
  290. <submission id="TRMNE04701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/callvisitinfo"/>
  291. <submission id="TRMMO07503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/injulist"/>
  292. </model>
  293. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  294. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  295. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  296. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  297. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  298. </xhtml:head>
  299. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  300. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  301. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:216px; height:14px; ">응급환자대장</caption>
  302. </group>
  303. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  304. <group id="group2" style="left:0px; top:6px; width:1194px; height:39px; vertical-align:top; ">
  305. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  306. <line id="line13" class="line_4" style="x1:956px; y1:8px; x2:956px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  307. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:91px; height:17px; ">조회기간 :</caption>
  308. <input id="input_refFrDT" ref="/root/main/srchinfo/cond/fromdd" class="input_s_essential" inputtype="date" style="left:104px; top:8px; width:100px; height:19px; "/>
  309. <caption id="caption5" class="search_no_b" style="left:206px; top:8px; width:15px; height:17px; ">~</caption>
  310. <input id="input_refToDT" ref="/root/main/srchinfo/cond/todd" class="input_s_essential" inputtype="date" style="left:220px; top:8px; width:100px; height:19px; ">
  311. <script type="javascript" ev:event="xforms-value-changed">
  312. <![CDATA[
  313. //var getDate = getDateAddc(input_refToDT.value, 1);
  314. //model.setValue("/root/main/srchinfo/cond/todd",getDate);
  315. ]]>
  316. </script>
  317. </input>
  318. <select1 id="rdo_srchflag" ref="/root/main/srchinfo/cond/srchflag" appearance="full" cols="2" overflow="visible" style="left:355px; top:10px; width:145px; height:20px; border-style:none; ">
  319. <choices>
  320. <item>
  321. <label>내원기준</label>
  322. <value>I</value>
  323. </item>
  324. <item>
  325. <label>퇴실기준</label>
  326. <value>O</value>
  327. </item>
  328. </choices>
  329. <script type="javascript" ev:event="xforms-select">
  330. <![CDATA[
  331. if ( rdo_srchflag.value == "I" ) {
  332. btn_report.disabled = false;
  333. } else {
  334. btn_report.disabled = true;
  335. }
  336. ]]>
  337. </script>
  338. </select1>
  339. <button id="btn_srch" class="btn1_letter2" style="left:972px; top:8px; width:56px; height:22px; ">
  340. <caption>조회</caption>
  341. <script type="javascript" ev:event="DOMActivate">
  342. <![CDATA[
  343. fSrchERRgstList();
  344. ]]>
  345. </script>
  346. </button>
  347. <button id="btn_excel" class="btn1_letter4" style="left:1035px; top:8px; width:80px; height:22px; ">
  348. <caption>엑셀저장</caption>
  349. <script type="javascript" ev:event="DOMActivate">
  350. <![CDATA[
  351. var fromdd = model.getValue("/root/main/srchinfo/cond/fromdd");
  352. var todd = model.getValue("/root/main/srchinfo/cond/todd");
  353. var fileName = window.fileDialog("save", ",", false, "응급환자대장_(" + fromdd + "-" + todd + ")", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  354. if (fileName != "") {
  355. grd_callvisitlsit.saveExcel(fileName, "SheetName", true, true, "", "", false);
  356. }
  357. ]]>
  358. </script>
  359. </button>
  360. </group>
  361. <line id="line4" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  362. <!--(20101206) 경북대
  363. <datagrid id="grd_callvisitlsit" nodeset="/root/main/callvisitinfo/callvisitlsit" class="datagrid2" caption="Bed^초재진여부^Triage&#xA;Level^중증^Unstable&#xA;V/S^Unit No^Name^Sex^Age^주증상 및 진단명^주진료과^주치의^진료결과^수술일시^입실일시^초진일시^호출일시^진료일시^결정일시^퇴실일시^입실-퇴실^입실-호출^호출-도착^입실-결정^결정-퇴실^타과진료1^호출1^도착1^Gap1^타과진료2^호출2^도착2^Gap2^타과진료3^호출3^도착3^Gap3^타과진료4^호출4^도착4^Gap4^타과진료5^호출5^도착5^Gap5" colsep="^" colwidth="53, 92, 50, 37, 60, 80, 90, 35, 35, 170, 60, 70, 90, 100, 100, 100, 100, 100, 100, 100, 60, 60, 60, 60, 60, 60, 100, 100, 50, 60, 100, 100, 50, 60, 100, 100, 50, 60, 100, 100, 50, 60, 100, 100, 50" ellipsis="true" explorerbar="sortmove" frozencols="9" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:74px; width:1194px; height:656px; ">
  364. -->
  365. <datagrid id="grd_callvisitlsit" nodeset="/root/main/callvisitinfo/callvisitlsit" class="datagrid2" caption="Bed^초재진여부^Triage&#xA;Level^중증^Unstable&#xA;V/S^Unit No^Name^Sex^Age^주증상 및 진단명^주진료과^전문의^담당의^호출&#xA;진료과^호출의사^진료결과^수술일시^입실일시^초진일시^호출일시^진료일시^결정일시^퇴실일시^입실-퇴실^입실-호출^호출-도착^입실-결정^결정-퇴실^타과진료1^호출1^도착1^Gap1^타과진료2^호출2^도착2^Gap2^타과진료3^호출3^도착3^Gap3^타과진료4^호출4^도착4^Gap4^타과진료5^호출5^도착5^Gap5" colsep="^" colwidth="53, 92, 50, 37, 60, 80, 90, 35, 35, 170, 63, 50, 45, 60, 64, 90, 100, 100, 100, 100, 100, 100, 100, 60, 60, 60, 60, 60, 60, 100, 100, 50, 60, 100, 100, 50, 60, 100, 100, 50, 60, 100, 100, 50, 60, 100, 100, 50" ellipsis="true" explorerbar="sortmove" frozencols="9" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:74px; width:1194px; height:656px; ">
  366. <!--(20101206) 경북대 -->
  367. <col ref="bedposcnts" style="text-align:center; "/>
  368. <col disabled="true" ref="fsexamflag" type="combo">
  369. <choices>
  370. <itemset nodeset="/root/init/P0021list/P0021">
  371. <label ref="cdnm"/>
  372. <value ref="cdid"/>
  373. </itemset>
  374. </choices>
  375. </col>
  376. <col ref="serdiagflag" style="text-align:center; "/>
  377. <col ref="recovwardcd" style="text-align:center; "/>
  378. <col ref="unstablevs" style="text-align:center; "/>
  379. <col ref="pid" style="text-align:center; "/>
  380. <col ref="patnm" style="text-align:center; "/>
  381. <col ref="sex" style="text-align:center; "/>
  382. <col ref="age" style="text-align:center; "/>
  383. <col ref="diagnm"/>
  384. <!--(20110129) -->
  385. <col ref="juorddeptcd" style="text-align:center; "/>
  386. <col ref="juorddrid" style="text-align:center; "/>
  387. <col ref="damorddrid" style="text-align:center; "/>
  388. <!--(20110129) -->
  389. <col ref="mainorddept" style="text-align:center; "/>
  390. <col ref="maindocnm" style="text-align:center; "/>
  391. <col ref="outrmcdnm"/>
  392. <col ref="opdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  393. <col ref="indt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  394. <col ref="fstexamorddt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  395. <col ref="maincalldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  396. <col ref="mainarrivdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  397. <col ref="decidt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  398. <col ref="outrmdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  399. <col ref="outmodin" style="text-align:right; "/>
  400. <col ref="callmodin" style="text-align:right; "/>
  401. <col ref="visitmodcall" style="text-align:right; "/>
  402. <col ref="dschdclrmodin" style="text-align:right; "/>
  403. <col ref="outmoddschdclr" style="text-align:right; "/>
  404. <col ref="difnm1" style="text-align:center; "/>
  405. <col ref="difcall1" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  406. <col ref="difvisit1" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  407. <col ref="difgab1" style="text-align:right; "/>
  408. <col ref="difnm2" style="text-align:center; "/>
  409. <col ref="difcall2" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  410. <col ref="difvisit2" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  411. <col ref="difgab2" style="text-align:right; "/>
  412. <col ref="difnm3" style="text-align:center; "/>
  413. <col ref="difcall3" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  414. <col ref="difvisit3" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  415. <col ref="difgab3" style="text-align:right; "/>
  416. <col ref="difnm4" style="text-align:center; "/>
  417. <col ref="difcall4" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  418. <col ref="difvisit4" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  419. <col ref="difgab4" style="text-align:right; "/>
  420. <col ref="difnm5" style="text-align:center; "/>
  421. <col ref="difcall5" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  422. <col ref="difvisit5" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  423. <col ref="difgab5" style="text-align:right; "/>
  424. <script type="javascript" ev:event="ondblclick">
  425. <![CDATA[
  426. if (isDataCell() == true) {
  427. var currow = grd_callvisitlsit.row;
  428. setParameter("SPMMO07500_pid", model.getValue("/root/main/callvisitinfo/callvisitlsit[" + currow + "]/pid"));
  429. setParameter("SPMMO07500_orddd", model.getValue("/root/main/callvisitinfo/callvisitlsit[" + currow + "]/indd"));
  430. setParameter("SPMMO07500_cretno", model.getValue("/root/main/callvisitinfo/callvisitlsit[" + currow + "]/cretno"));
  431. open("SPMMO07500", 1, 0, 0, "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; min:hidden, max:hidden;");
  432. }
  433. ]]>
  434. </script>
  435. </datagrid>
  436. <caption id="caption22" class="tit_2" style="left:5px; top:55px; width:139px; height:14px; ">응급환자대장 리스트</caption>
  437. <line id="line1" class="line_3" style="x1:0px; y1:737px; x2:1194px; y2:737px; "/>
  438. </group>
  439. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  440. <caption id="caption1" style="left:1165px; top:5px; width:30px; height:20px; text-align:right; ">[표]</caption>
  441. </group>
  442. <button id="btn_report" class="btn1_letter2" style="left:1121px; top:27px; width:56px; height:22px; ">
  443. <caption>출력</caption>
  444. <script type="javascript" ev:event="DOMActivate">
  445. <![CDATA[
  446. if ( rdo_srchflag.value == "I" )
  447. exeReportPreview("RPMNE04700", "XMLSTR");
  448. ]]>
  449. </script>
  450. </button>
  451. <button id="button1" class="btn4_letter6" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:845px; top:26px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  452. <caption>전송엑셀변환</caption>
  453. <script type="javascript" ev:event="DOMActivate">
  454. <![CDATA[
  455. model.makeValue("/root/send/reqdata/fromdd", model.getValue("/root/main/srchinfo/cond/fromdd"));
  456. model.makeValue("/root/send/reqdata/todd", model.getValue("/root/main/srchinfo/cond/todd"));
  457. submit("TRMMO07503");
  458. var SheetName = model.getValue("/root/cond/fromdd");
  459. if(isNull(SheetName)) SheetName = "Sheet1";
  460. var fileName = window.fileDialog("save", ",", false, SheetName + " 손상기", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  461. if (fileName != ""){
  462. //그리드의 내용을 Excel 파일로 저장하는 함수로.. 파일이름을 받아온것을 가지고 저장하러 간다.
  463. grd_injulist.saveExcel(fileName, SheetName, false, false, "", "");
  464. }
  465. ]]>
  466. </script>
  467. </button>
  468. <datagrid id="grd_injulist" nodeset="/root/main/injulist" visibility="hidden" scroll="autovscroll" autoresize="false" caption="의료기관코드^환자코드^내원일자^내원시간^성별^연령^직업^직업 해당없음^학력^소득^보험유형^보험유형 기타내용^내원수단^내원수단 기타내용^응급진료결과^응급진료결과 기타내용^퇴실일자^퇴실시간^입원후결과^입원후결과 기타내용 ^퇴원일자^퇴원시간^손상의도성(내원사유)^손상의도성(내원사유) 기타내용 ^음주관련여부^손상기전^손상발생일자^손상발생시간^손상발생장소^손상발생장소 기타내용 ^실내외 손상발생장소^건물 및 인접지역 내 세부장소^건물 및 인접지역 내 세부장소 기타내용^주거지유형^주거지유형 기타내용^손상시 활동^손상시 활동 기타내용^스포츠·운동의 유형^스포츠·운동의 유형 기타내용^일차적 손상유발물질^일차적 손상유발물질 내용입력^직접적 손상유발물질^직접적 손상유발물질 내용입력^손상 주진단명^기타 진단명2^기타 진단명3^기타 진단명4^기타 진단명5^기타 진단명6^기타 진단명7^기타 진단명8^기타 진단명9^기타 진단명10^손상내용입력^운수사고 당시 환자의 역할^운수사고 당시 환자의 역할 기타내용^운수사고의 상대편^운수사고의 상대편 기타내용^운수사고 발생장소(도로종류)^운수사고 발생장소(도로종류) 기타내용^보호장비_안전벨트^보호장비_안전의자^보호장비_헬맷 착용^보호장비_관절보호^보호장비_에어백 장착^보호장비_에어백 작동^보호장비_기타 ^보호장비_기타내용 ^중독물질코드(분류)^중독물질 명칭^중독물질(주성분)^자살위험인자 1^자살위험인자 1 기타내용^자살위험인자 2^자살위험인자 2 기타내용^자살위험인자 3^자살위험인자 3 기타내용^자살시도 과거력(자살시도 횟수 포함)^주증상1^주증상2^주증상3^수축기혈압^이완기혈압^분당맥박수^분당호흡수^체온^AVPU^GCS(VPM, Total)_EYE^GCS(VPM, Total)_VERBAL^GCS(VPM, Total)_MOTOR^수술유무^수술내역1^수술내역2^수술내역3^수술내역4^수술내역5^수술내역6^수술내역7^수술내역8^수술내역9^수술내역10^EMR-ISS^RTS^ISS^기도유지^도수조작^기도유지기^후두마스크^기도삽관^흡인기^호흡유지^구조호흡^산소투여(비관/마스크)^백밸브 마스크^순환유지^정맥로 확보^쇽방지 하의^흉부압박^제세동^경추고정^척추고정^사지고정^출혈압박^통증조절^약물투여^심폐소생술^모니터링^심전도^산소포화도^생체징후 모니터링^의식확인^지도의사교신^기타^미상^기타내용^사망원인1^사망원인2^사망원인3^사망원인4^사망원인5^사망원인6^사망원인7^사망원인8^사망원인9^사망원인10^사망일자^사망시간^손상장소 시군구^차량충돌 사고기전^차량충돌 사고기전 기타내용^약물복용유무^과거력_없음^과거력_고혈압^과거력_당뇨^과거력_결핵^과거력_간질환^과거력_뇌혈관질환^과거력_심장질환^과거력_암^과거력_치매^과거력_간질^과거력_혈액응고장애^과거력_기타^과거력_없음^과거력 기타내용^사고 후 내원소요시간^사고 후 수술까지 시간^합병증 발생유무^장애유무^장애등급" colsep="^" colwidth="10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:185px; top:150px; width:663px; height:230px; ">
  469. <col ref="injuhscd"/>
  470. <col ref="injuidno"/>
  471. <col ref="injuindt"/>
  472. <col ref="injuintm"/>
  473. <col ref="injusexx"/>
  474. <col ref="injuagee"/>
  475. <col ref="injujobb"/>
  476. <col ref="injujobbetc"/>
  477. <col ref="injueduc"/>
  478. <col ref="injusala"/>
  479. <col ref="injuinsu"/>
  480. <col ref="injuinsuetc"/>
  481. <col ref="injumeth"/>
  482. <col ref="injumethetc"/>
  483. <col ref="injuemrt"/>
  484. <col ref="injuemrtetc"/>
  485. <col ref="injuotdt"/>
  486. <col ref="injuottm"/>
  487. <col ref="injudcrt"/>
  488. <col ref="injudcrtetc"/>
  489. <col ref="injudcdt"/>
  490. <col ref="injudctm"/>
  491. <col ref="injuinte"/>
  492. <col ref="injuinteetc"/>
  493. <col ref="injualco"/>
  494. <col ref="injumech"/>
  495. <col ref="injuondt"/>
  496. <col ref="injuontm"/>
  497. <col ref="injuplac1"/>
  498. <col ref="injuplac1etc"/>
  499. <col ref="injuplac2"/>
  500. <col ref="injuplac3"/>
  501. <col ref="injuplac3etc"/>
  502. <col ref="injuhomet"/>
  503. <col ref="injuhometetc"/>
  504. <col ref="injuiact"/>
  505. <col ref="injuiactetc"/>
  506. <col ref="injusport"/>
  507. <col ref="injusportetc"/>
  508. <col ref="injufactu"/>
  509. <col ref="injufactudesc"/>
  510. <col ref="injufactd"/>
  511. <col ref="injufactddesc"/>
  512. <col ref="injudd01"/>
  513. <col ref="injudd02"/>
  514. <col ref="injudd03"/>
  515. <col ref="injudd04"/>
  516. <col ref="injudd05"/>
  517. <col ref="injudd06"/>
  518. <col ref="injudd07"/>
  519. <col ref="injudd08"/>
  520. <col ref="injudd09"/>
  521. <col ref="injudd10"/>
  522. <col ref="injunarr"/>
  523. <col ref="injutrol"/>
  524. <col ref="injutroletc"/>
  525. <col ref="injutcounter"/>
  526. <col ref="injutcounteretc"/>
  527. <col ref="injutrtype"/>
  528. <col ref="injutrtypeetc"/>
  529. <col ref="injupe1"/>
  530. <col ref="injupe2"/>
  531. <col ref="injupe3"/>
  532. <col ref="injupe4"/>
  533. <col ref="injupe5"/>
  534. <col ref="injupe6"/>
  535. <col ref="injupe98"/>
  536. <col ref="injupeetc"/>
  537. <col ref="injupomacd"/>
  538. <col ref="injuponame"/>
  539. <col ref="injupocomp"/>
  540. <col ref="injusfact1"/>
  541. <col ref="injusfact1etc"/>
  542. <col ref="injusfact2"/>
  543. <col ref="injusfact2etc"/>
  544. <col ref="injusfact3"/>
  545. <col ref="injusfact3etc"/>
  546. <col ref="injushxnum"/>
  547. <col ref="injusymp1"/>
  548. <col ref="injusymp2"/>
  549. <col ref="injusymp3"/>
  550. <col ref="injucmsp"/>
  551. <col ref="injucmdp"/>
  552. <col ref="injucmpc"/>
  553. <col ref="injucmbr"/>
  554. <col ref="injucmtmpt"/>
  555. <col ref="injucmavpu"/>
  556. <col ref="injugcse"/>
  557. <col ref="injugcsv"/>
  558. <col ref="injugcsm"/>
  559. <col ref="injuopyn"/>
  560. <col ref="injuop01"/>
  561. <col ref="injuop02"/>
  562. <col ref="injuop03"/>
  563. <col ref="injuop04"/>
  564. <col ref="injuop05"/>
  565. <col ref="injuop06"/>
  566. <col ref="injuop07"/>
  567. <col ref="injuop08"/>
  568. <col ref="injuop09"/>
  569. <col ref="injuop10"/>
  570. <col ref="injuemriss"/>
  571. <col ref="injurts"/>
  572. <col ref="injuiss"/>
  573. <col ref="injuprec010"/>
  574. <col ref="injuprec011"/>
  575. <col ref="injuprec012"/>
  576. <col ref="injuprec013"/>
  577. <col ref="injuprec014"/>
  578. <col ref="injuprec015"/>
  579. <col ref="injuprec020"/>
  580. <col ref="injuprec021"/>
  581. <col ref="injuprec022"/>
  582. <col ref="injuprec023"/>
  583. <col ref="injuprec030"/>
  584. <col ref="injuprec031"/>
  585. <col ref="injuprec032"/>
  586. <col ref="injuprec033"/>
  587. <col ref="injuprec034"/>
  588. <col ref="injuprec035"/>
  589. <col ref="injuprec04"/>
  590. <col ref="injuprec05"/>
  591. <col ref="injuprec06"/>
  592. <col ref="injuprec07"/>
  593. <col ref="injuprec08"/>
  594. <col ref="injuprec09"/>
  595. <col ref="injuprec100"/>
  596. <col ref="injuprec101"/>
  597. <col ref="injuprec102"/>
  598. <col ref="injuprec103"/>
  599. <col ref="injuprec104"/>
  600. <col ref="injuprec11"/>
  601. <col ref="injuprec98"/>
  602. <col ref="injuprec99"/>
  603. <col ref="injupreetc"/>
  604. <col ref="injuicd101"/>
  605. <col ref="injuicd102"/>
  606. <col ref="injuicd103"/>
  607. <col ref="injuicd104"/>
  608. <col ref="injuicd105"/>
  609. <col ref="injuicd106"/>
  610. <col ref="injuicd107"/>
  611. <col ref="injuicd108"/>
  612. <col ref="injuicd109"/>
  613. <col ref="injuicd1010"/>
  614. <col ref="injukdate"/>
  615. <col ref="injuktime"/>
  616. <col ref="injutaarea"/>
  617. <col ref="injutacolptn"/>
  618. <col ref="injutacolptnetc"/>
  619. <col ref="injutadrug"/>
  620. <col ref="injutanhx1"/>
  621. <col ref="injutanhx2"/>
  622. <col ref="injutanhx3"/>
  623. <col ref="injutanhx4"/>
  624. <col ref="injutanhx5"/>
  625. <col ref="injutanhx6"/>
  626. <col ref="injutanhx7"/>
  627. <col ref="injutanhx8"/>
  628. <col ref="injutanhx9"/>
  629. <col ref="injutanhx10"/>
  630. <col ref="injutanhx11"/>
  631. <col ref="injutanhx98"/>
  632. <col ref="injutanhx99"/>
  633. <col ref="injutahxetc"/>
  634. <col ref="injutaht"/>
  635. <col ref="injutast"/>
  636. <col ref="injutacpl"/>
  637. <col ref="injutaobs"/>
  638. <col ref="injutaobsg"/>
  639. </datagrid>
  640. </xhtml:body>
  641. </xhtml:html>