SPMNE04400_응급실Triage.bak.xrw 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811
  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>응급실Triage</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <ertriage>
  11. <ertriage>
  12. <status/>
  13. <acptddno/>
  14. <acptddtm/>
  15. <acptdd/>
  16. <acptno/>
  17. <histno/>
  18. <instcd/>
  19. <histcd/>
  20. <rgstflag/>
  21. <pid/>
  22. <orddd/>
  23. <cretno/>
  24. <sex>M</sex>
  25. <age/>
  26. <serdiagflag>1</serdiagflag>
  27. <mainsympcd/>
  28. <mainsympcdno/>
  29. <mainsympnm/>
  30. <attackdd/>
  31. <attacktm/>
  32. <cscsflag>-</cscsflag>
  33. <painflag>-</painflag>
  34. <chospathflag>-</chospathflag>
  35. <choswayflag>-</choswayflag>
  36. <chosresnflag>-</chosresnflag>
  37. <intenflag>-</intenflag>
  38. <injmechflag>-</injmechflag>
  39. <acdownflag/>
  40. <cntctel/>
  41. <highbp/>
  42. <lowbp/>
  43. <mntpulsecnt/>
  44. <mntbrethcnt/>
  45. <chosbdtp/>
  46. <oxyconcen/>
  47. <algyflag/>
  48. <pasthistflag/>
  49. <proceqmtflag/>
  50. <patnm/>
  51. <algyetccnts/>
  52. <pasthistetccnts/>
  53. <fstexamorddd/>
  54. <fstexamordtm/>
  55. <mainsympcd1/>
  56. <mainsympcdno1/>
  57. <mainsympnm1/>
  58. <mainsympcd2/>
  59. <mainsympcdno2/>
  60. <mainsympnm2/>
  61. <etcsymp/>
  62. <acdowndetailflag/>
  63. <mainsymtermcd/>
  64. <inhosptype>-</inhosptype>
  65. <dsid/>
  66. <reid/>
  67. <preday/>
  68. <prehour/>
  69. <premin/>
  70. </ertriage>
  71. </ertriage>
  72. <cond>
  73. <acptdd/>
  74. </cond>
  75. <erpatinfo>
  76. <erpatlist>
  77. <acptdd/>
  78. <acptno/>
  79. <histno/>
  80. <patnm/>
  81. </erpatlist>
  82. </erpatinfo>
  83. </main>
  84. <send>
  85. <reqdata/>
  86. <savedata/>
  87. </send>
  88. <hidden/>
  89. <init>
  90. <M0117/>
  91. <M0118/>
  92. <M0119/>
  93. <M0120/>
  94. <M0121/>
  95. <M0122/>
  96. <M0123/>
  97. <M0124/>
  98. <M0125/>
  99. <M0126/>
  100. <M0535/>
  101. </init>
  102. <temp>
  103. <ertriage/>
  104. </temp>
  105. <paminfo>
  106. <list/>
  107. </paminfo>
  108. <patflag>
  109. <list/>
  110. </patflag>
  111. <temps>
  112. <ertriage/>
  113. </temps>
  114. <blockflag>
  115. <reqdata>
  116. <mainsymtermcd/>
  117. </reqdata>
  118. </blockflag>
  119. <codeinfo/>
  120. </root>
  121. </instance>
  122. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  123. <script type="javascript" ev:event="xforms-ready">
  124. <![CDATA[
  125. //fInitialize_SPMMO06100();
  126. fInitialize_SPMNE04400();
  127. ]]>
  128. </script>
  129. <script type="javascript" ev:event="xforms-model-destruct">
  130. <![CDATA[
  131. //setParameter("SPMMO06100_param", "");
  132. setParameter("SPMNE04400_param", "");
  133. ]]>
  134. </script>
  135. <submission id="TXMNE04401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/ertriage"/>
  136. <submission id="TRMNE04402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/erpatinfo"/>
  137. <submission id="TRMNE04401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ertriage"/>
  138. <submission id="TRMNE04403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ertriage"/>
  139. <submission id="TRMNE04404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/blockflag/reqdata" resultref="/root/blockflag2"/>
  140. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/codeinfo/codelist"/>
  141. </model>
  142. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  143. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  144. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  145. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  146. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  147. <script type="javascript" src="../../../emr/ercareweb/js/SPMNE04400.js"/>
  148. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  149. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  150. </xhtml:head>
  151. <xhtml:body pagewidth="1025" pageheight="570" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  152. <group id="grp_triage" style="left:0px; top:0px; width:1005px; height:560px; ">
  153. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:124px; height:14px; ">응급실Triage</caption>
  154. <line id="line3" class="line_1" style="x1:0px; y1:15px; x2:797px; y2:15px; "/>
  155. <caption id="caption3" class="cell_1" style="left:70px; top:21px; width:74px; height:23px; vertical-align:middle; ">접수번호</caption>
  156. <caption id="caption5" class="cell_1" style="left:70px; top:45px; width:74px; height:23px; vertical-align:middle; ">접수시간</caption>
  157. <caption id="caption1" class="cell_1" style="left:269px; top:21px; width:74px; height:23px; vertical-align:middle; ">환자명</caption>
  158. <caption id="caption2" class="cell_1" style="left:449px; top:45px; width:74px; height:23px; vertical-align:middle; ">연 락 처</caption>
  159. <caption id="caption4" class="cell_1" style="left:449px; top:21px; width:74px; height:23px; vertical-align:middle; ">나이/성별</caption>
  160. <input id="input1" ref="/root/main/ertriage/ertriage/acptddno" disabled="true" style="left:146px; top:23px; width:121px; height:19px; "/>
  161. <input id="input2" ref="/root/main/ertriage/ertriage/acptddtm" disabled="true" format="yyyy-mm-dd hh:mm:ss" style="left:146px; top:47px; width:121px; height:19px; "/>
  162. <caption id="caption7" class="tit_2" style="left:0px; top:82px; width:180px; height:13px; vertical-align:middle; ">병력 및 이학적 검사 입력부</caption>
  163. <caption id="caption8" class="cell_1" style="left:0px; top:101px; width:101px; height:23px; vertical-align:middle; ">주증상</caption>
  164. <caption id="caption9" class="cell_1" style="left:0px; top:223px; width:101px; height:23px; vertical-align:middle; ">발병일자</caption>
  165. <caption id="caption10" class="cell_1" style="left:0px; top:247px; width:101px; height:23px; vertical-align:middle; ">의식</caption>
  166. <caption id="caption11" class="cell_1" style="left:0px; top:310px; width:101px; height:23px; vertical-align:middle; ">수축기혈압</caption>
  167. <caption id="caption12" class="cell_1" style="left:0px; top:334px; width:101px; height:23px; vertical-align:middle; ">분당맥박수</caption>
  168. <caption id="caption13" class="cell_1" style="left:0px; top:358px; width:101px; height:23px; vertical-align:middle; ">내원시 체온</caption>
  169. <caption id="caption14" class="cell_1" visibility="hidden" style="left:0px; top:373px; width:101px; height:48px; vertical-align:middle; ">알러지</caption>
  170. <caption id="caption15" class="cell_1" visibility="hidden" style="left:0px; top:422px; width:101px; height:47px; vertical-align:middle; ">과거력</caption>
  171. <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:797px; y2:96px; "/>
  172. <caption id="caption16" class="cell_1" style="left:0px; top:271px; width:101px; height:38px; vertical-align:middle; ">통증</caption>
  173. <caption id="caption17" class="cell_1" style="left:275px; top:310px; width:101px; height:23px; vertical-align:middle; ">이완기혈압</caption>
  174. <caption id="caption18" class="cell_1" style="left:275px; top:334px; width:101px; height:23px; vertical-align:middle; ">분당호흡수</caption>
  175. <caption id="caption19" class="cell_1" style="left:275px; top:358px; width:101px; height:23px; vertical-align:middle; ">산소포화도</caption>
  176. <caption id="caption20" class="cell_1" style="left:275px; top:223px; width:101px; height:23px; vertical-align:middle; ">발병시간</caption>
  177. <caption id="caption21" class="cell_1" style="left:0px; top:438px; width:101px; height:23px; vertical-align:middle; ">의도성여부</caption>
  178. <caption id="caption22" class="cell_1" style="left:0px; top:462px; width:101px; height:23px; vertical-align:middle; ">손상기전</caption>
  179. <caption id="caption23" class="cell_1" style="left:0px; top:486px; width:101px; height:23px; vertical-align:middle; ">내원경로</caption>
  180. <caption id="caption24" class="cell_1" style="left:0px; top:390px; width:101px; height:23px; vertical-align:middle; ">내원수단</caption>
  181. <caption id="caption25" class="cell_1" style="left:0px; top:414px; width:101px; height:23px; vertical-align:middle; ">내원사유</caption>
  182. <caption id="caption26" class="tit_2" style="left:405px; top:421px; width:80px; height:13px; vertical-align:middle; ">보호장구</caption>
  183. <input id="input11" ref="/root/main/ertriage/ertriage/mainsympcd" disabled="true" visibility="hidden" style="left:507px; top:103px; width:100px; height:19px; "/>
  184. <caption id="caption27" class="cell_1" style="left:269px; top:45px; width:74px; height:23px; vertical-align:middle; ">등록번호</caption>
  185. <input id="ipt_hngnm" ref="/root/main/ertriage/ertriage/patnm" disabled="true" style="left:345px; top:23px; width:102px; height:19px; ">
  186. <script type="javascript" ev:event="onkeypress">
  187. <![CDATA[
  188. fNextMoveCtrl("ipt_age");
  189. ]]>
  190. </script>
  191. </input>
  192. <input id="ipt_age" ref="/root/main/ertriage/ertriage/age" disabled="true" autonext="false" imemode="disabled" maxlength="3" format="#" style="left:525px; top:23px; width:41px; height:19px; ">
  193. <script type="javascript" ev:event="onkeypress">
  194. <![CDATA[
  195. fNextMoveCtrl("cmb_sex");
  196. ]]>
  197. </script>
  198. </input>
  199. <input id="ipt_tel" ref="/root/main/ertriage/ertriage/cntctel" style="left:525px; top:47px; width:98px; height:19px; ">
  200. <script type="javascript" ev:event="onkeypress">
  201. <![CDATA[
  202. fNextMoveCtrl("ipt_attackdd");
  203. ]]>
  204. </script>
  205. </input>
  206. <input id="ipt_mainsynm" ref="/root/main/ertriage/ertriage/mainsympnm" disabled="true" style="left:103px; top:103px; width:382px; height:19px; "/>
  207. <input id="input3" ref="/root/main/ertriage/ertriage/mainsympcdno" disabled="true" visibility="hidden" style="left:609px; top:103px; width:100px; height:19px; "/>
  208. <select1 id="cmb_cscs" ref="/root/main/ertriage/ertriage/cscsflag" appearance="minimal" style="left:103px; top:249px; width:167px; height:19px; ">
  209. <choices>
  210. <itemset nodeset="/root/init/M0117/M0117">
  211. <label ref="cdnm"/>
  212. <value ref="cdid"/>
  213. </itemset>
  214. </choices>
  215. <script type="javascript" ev:event="onkeypress">
  216. <![CDATA[
  217. fNextMoveCtrl("cmb_pain");
  218. ]]>
  219. </script>
  220. </select1>
  221. <select1 id="cmb_pain" ref="/root/main/ertriage/ertriage/painflag" appearance="minimal" style="left:103px; top:289px; width:182px; height:19px; ">
  222. <choices>
  223. <itemset>
  224. <label ref="cdnm"/>
  225. <value ref="cdid"/>
  226. </itemset>
  227. </choices>
  228. <script type="javascript" ev:event="onkeypress">
  229. <![CDATA[
  230. fNextMoveCtrl("ipt_highbp");
  231. ]]>
  232. </script>
  233. </select1>
  234. <button id="button14" class="btn2_letter6" style="left:490px; top:312px; width:86px; height:19px; ">
  235. <caption>측정하지 않음</caption>
  236. <script type="javascript" ev:event="DOMActivate">
  237. <![CDATA[
  238. model.setValue("/root/main/ertriage/ertriage/highbp", "-1");
  239. model.setValue("/root/main/ertriage/ertriage/lowbp", "-1");
  240. model.setValue("/root/main/ertriage/ertriage/mntpulsecnt", "-1");
  241. model.setValue("/root/main/ertriage/ertriage/mntbrethcnt", "-1");
  242. model.setValue("/root/main/ertriage/ertriage/chosbdtp", "-1");
  243. model.refresh();
  244. ]]>
  245. </script>
  246. </button>
  247. <input id="ipt_highbp" ref="/root/main/ertriage/ertriage/highbp" autonext="false" maxlength="3" style="left:103px; top:313px; width:107px; height:19px; focus-rect:hidden; ">
  248. <script type="javascript" ev:event="onkeypress">
  249. <![CDATA[
  250. fNextMoveCtrl("ipt_lowbp");
  251. ]]>
  252. </script>
  253. </input>
  254. <input id="ipt_lowbp" ref="/root/main/ertriage/ertriage/lowbp" autonext="false" maxlength="3" style="left:378px; top:312px; width:107px; height:19px; ">
  255. <script type="javascript" ev:event="onkeypress">
  256. <![CDATA[
  257. fNextMoveCtrl("ipt_mntpulsecnt");
  258. ]]>
  259. </script>
  260. </input>
  261. <input id="ipt_mntpulsecnt" ref="/root/main/ertriage/ertriage/mntpulsecnt" autonext="false" maxlength="3" style="left:103px; top:337px; width:107px; height:19px; ">
  262. <script type="javascript" ev:event="onkeypress">
  263. <![CDATA[
  264. fNextMoveCtrl("ipt_mntbrethcnt");
  265. ]]>
  266. </script>
  267. </input>
  268. <input id="ipt_mntbrethcnt" ref="/root/main/ertriage/ertriage/mntbrethcnt" autonext="false" maxlength="3" style="left:378px; top:337px; width:107px; height:19px; ">
  269. <script type="javascript" ev:event="onkeypress">
  270. <![CDATA[
  271. fNextMoveCtrl("ipt_chosbdtp");
  272. ]]>
  273. </script>
  274. </input>
  275. <input id="ipt_chosbdtp" ref="/root/main/ertriage/ertriage/chosbdtp" autonext="false" maxlength="4" style="left:103px; top:360px; width:107px; height:19px; ">
  276. <script type="javascript" ev:event="onkeypress">
  277. <![CDATA[
  278. fNextMoveCtrl("ipt_oxyconcen");
  279. ]]>
  280. </script>
  281. </input>
  282. <input id="ipt_oxyconcen" ref="/root/main/ertriage/ertriage/oxyconcen" autonext="false" maxlength="30" style="left:378px; top:360px; width:107px; height:19px; ">
  283. <script type="javascript" ev:event="onkeypress">
  284. <![CDATA[
  285. fNextMoveCtrl("cmb_choswayflag");
  286. ]]>
  287. </script>
  288. </input>
  289. <select id="chk_algyflag" ref="/root/main/ertriage/ertriage/algyflag" visibility="hidden" overflow="visible" appearance="full" cellspacing="10" cols="9" rows="1" sep="|" style="left:105px; top:376px; width:550px; height:20px; border-style:none; ">
  290. <choices>
  291. <itemset nodeset="/root/init/M0123/M0123">
  292. <label ref="cdnm"/>
  293. <value ref="cdid"/>
  294. </itemset>
  295. </choices>
  296. <script type="javascript" ev:event="onkeypress">
  297. <![CDATA[
  298. fNextMoveCtrl("chk_pasthistflag");
  299. ]]>
  300. </script>
  301. <script type="javascript" ev:event="xforms-select">
  302. <![CDATA[
  303. fSelctAlgy();
  304. ]]>
  305. </script>
  306. <script type="javascript" ev:event="xforms-deselect">
  307. <![CDATA[
  308. fSelctAlgy();
  309. ]]>
  310. </script>
  311. </select>
  312. <select id="chk_pasthistflag" ref="/root/main/ertriage/ertriage/pasthistflag" visibility="hidden" overflow="visible" appearance="full" cellspacing="10" cols="9" rows="1" sep="|" style="left:105px; top:425px; width:550px; height:20px; border-style:none; ">
  313. <choices>
  314. <itemset nodeset="/root/init/M0124/M0124">
  315. <label ref="cdnm"/>
  316. <value ref="cdid"/>
  317. </itemset>
  318. </choices>
  319. <script type="javascript" ev:event="onkeypress">
  320. <![CDATA[
  321. fNextMoveCtrl("chk_pasthistflag");
  322. ]]>
  323. </script>
  324. <script type="javascript" ev:event="xforms-select">
  325. <![CDATA[
  326. fSelctPastHist();
  327. ]]>
  328. </script>
  329. <script type="javascript" ev:event="xforms-deselect">
  330. <![CDATA[
  331. fSelctPastHist();
  332. ]]>
  333. </script>
  334. </select>
  335. <select1 id="cmb_sex" ref="/root/main/ertriage/ertriage/sex" disabled="true" appearance="minimal" style="left:568px; top:23px; width:55px; height:19px; ">
  336. <choices>
  337. <item>
  338. <label>남</label>
  339. <value>M</value>
  340. </item>
  341. <item>
  342. <label>여</label>
  343. <value>F</value>
  344. </item>
  345. </choices>
  346. <script type="javascript" ev:event="onkeypress">
  347. <![CDATA[
  348. fNextMoveCtrl("ipt_pid");
  349. ]]>
  350. </script>
  351. </select1>
  352. <select1 id="cmb_choswayflag" ref="/root/main/ertriage/ertriage/choswayflag" appearance="minimal" style="left:103px; top:392px; width:132px; height:19px; ">
  353. <choices>
  354. <itemset nodeset="/root/init/M0119/M0119">
  355. <label ref="cdnm"/>
  356. <value ref="cdid"/>
  357. </itemset>
  358. </choices>
  359. <script type="javascript" ev:event="onkeypress">
  360. <![CDATA[
  361. fNextMoveCtrl("cmb_chosresnflag");
  362. ]]>
  363. </script>
  364. <script type="javascript" ev:event="xforms-value-changed">
  365. <![CDATA[
  366. fValueChng_choswayflag();
  367. ]]>
  368. </script>
  369. </select1>
  370. <input id="ipt_dsid" ref="/root/main/ertriage/ertriage/dsid" disabled="true" maxlength="20" style="left:301px; top:392px; width:135px; height:19px; "/>
  371. <button id="btn_dsidsetting" class="btn2_letter2" disabled="true" style="left:438px; top:392px; width:42px; height:19px; ">
  372. <caption>미상</caption>
  373. <script type="javascript" ev:event="DOMActivate">
  374. <![CDATA[
  375. ipt_dsid.value = "99999999999999999999";
  376. ipt_dsid.refresh();
  377. ]]>
  378. </script>
  379. </button>
  380. <input id="ipt_reid" ref="/root/main/ertriage/ertriage/reid" disabled="true" maxlength="20" style="left:619px; top:392px; width:135px; height:19px; "/>
  381. <button id="btn_reidsetting" class="btn2_letter2" disabled="true" style="left:756px; top:391px; width:42px; height:19px; ">
  382. <caption>미상</caption>
  383. <script type="javascript" ev:event="DOMActivate">
  384. <![CDATA[
  385. ipt_reid.value = "99999999999999999999";
  386. ipt_reid.refresh();
  387. ]]>
  388. </script>
  389. </button>
  390. <select1 id="cmb_intenflag" ref="/root/main/ertriage/ertriage/intenflag" disabled="true" appearance="minimal" style="left:103px; top:442px; width:287px; height:19px; ">
  391. <choices>
  392. <itemset nodeset="/root/init/M0121/M0121">
  393. <label ref="cdnm"/>
  394. <value ref="cdid"/>
  395. </itemset>
  396. </choices>
  397. <script type="javascript" ev:event="onkeypress">
  398. <![CDATA[
  399. fNextMoveCtrl("cmb_injmechflag");
  400. ]]>
  401. </script>
  402. <script type="javascript" ev:event="xforms-value-changed">
  403. <![CDATA[
  404. //byCY 5살이하 의도성여부 자살/자해선택 Blocking
  405. if(model.getValue("/root/main/ertriage/ertriage/age") <= 5 && model.getValue("/root/main/ertriage/ertriage/age") != "-"
  406. && model.getValue("/root/main/ertriage/ertriage/age") != "" // 나이가 입력되지 않을 경우 및 응급등록되지 않은 환자 blocking제외 추가_서미영ITC요청(20100121)
  407. && model.getValue("/root/main/ertriage/ertriage/pid") != "" && model.getValue("/root/main/ertriage/ertriage/pid") != "-") {
  408. if(model.getValue("/root/main/ertriage/ertriage/intenflag") == "2") {
  409. model.setValue("/root/main/ertriage/ertriage/intenflag","-");
  410. messageBox("5세 이하인 경우는 자살/자해를 선택할 수 없습니다","I");
  411. cmb_intenflag.refresh();
  412. }
  413. }
  414. //byCY
  415. ]]>
  416. </script>
  417. </select1>
  418. <select1 id="cmb_injmechflag" ref="/root/main/ertriage/ertriage/injmechflag" disabled="true" appearance="minimal" style="left:103px; top:465px; width:287px; height:19px; ">
  419. <choices>
  420. <itemset nodeset="/root/init/M0122/M0122">
  421. <label ref="cdnm"/>
  422. <value ref="cdid"/>
  423. </itemset>
  424. </choices>
  425. <script type="javascript" ev:event="onkeypress">
  426. <![CDATA[
  427. fNextMoveCtrl("cmb_chospathflag");
  428. ]]>
  429. </script>
  430. <script type="javascript" ev:event="xforms-value-changed">
  431. <![CDATA[
  432. fValueChng_injmechflag();
  433. fValueChng_acdownflag();
  434. ]]>
  435. </script>
  436. </select1>
  437. <select1 id="cmb_chospathflag" ref="/root/main/ertriage/ertriage/chospathflag" appearance="minimal" style="left:103px; top:488px; width:287px; height:19px; ">
  438. <choices>
  439. <itemset nodeset="/root/init/M0118/M0118">
  440. <label ref="cdnm"/>
  441. <value ref="cdid"/>
  442. </itemset>
  443. </choices>
  444. <script type="javascript" ev:event="onkeypress">
  445. <![CDATA[
  446. if(cmb_chospathflag.value == "2"){
  447. fNextMoveCtrl("cmb_inhosptype");
  448. }else{
  449. fNextMoveCtrl("chk_acdownflag");
  450. }
  451. ]]>
  452. </script>
  453. <script type="javascript" ev:event="xforms-value-changed">
  454. <![CDATA[
  455. fValueChng_chospathflag();
  456. ]]>
  457. </script>
  458. </select1>
  459. <select1 id="cmb_inhosptype" ref="/root/main/ertriage/ertriage/inhosptype" disabled="true" appearance="minimal" style="left:103px; top:511px; width:287px; height:19px; ">
  460. <choices>
  461. <itemset nodeset="/root/init/M0535/M0535">
  462. <label ref="cdnm"/>
  463. <value ref="cdid"/>
  464. </itemset>
  465. </choices>
  466. <script type="javascript" ev:event="onkeypress">
  467. <![CDATA[
  468. fNextMoveCtrl("chk_acdownflag");
  469. ]]>
  470. </script>
  471. </select1>
  472. <select id="chk_acdownflag" ref="/root/main/ertriage/ertriage/acdownflag" disabled="true" overflow="visible" appearance="full" style="left:496px; top:420px; width:107px; height:17px; border-style:none; ">
  473. <choices>
  474. <item>
  475. <label>교통사고당사자</label>
  476. <value>Y</value>
  477. </item>
  478. </choices>
  479. <script type="javascript" ev:event="xforms-value-changed">
  480. <![CDATA[
  481. fValueChng_acdownflag();
  482. ]]>
  483. </script>
  484. </select>
  485. <select id="chk_proceqmtflag" ref="/root/main/ertriage/ertriage/proceqmtflag" disabled="true" overflow="visible" appearance="full" cellspacing="15" cols="3" rows="3" sep="|" vcellspacing="8" style="left:400px; top:461px; width:397px; height:65px; border-style:none; ">
  486. <choices>
  487. <itemset nodeset="/root/init/M0125/M0125">
  488. <label ref="cdnm"/>
  489. <value ref="cdid"/>
  490. </itemset>
  491. </choices>
  492. </select>
  493. <input id="ipt_algyetccnt" ref="/root/main/ertriage/ertriage/algyetccnts" disabled="true" visibility="hidden" style="left:105px; top:399px; width:550px; height:19px; "/>
  494. <input id="ipt_pasthistetccnt" ref="/root/main/ertriage/ertriage/pasthistetccnts" disabled="true" visibility="hidden" style="left:105px; top:448px; width:550px; height:19px; "/>
  495. <shape id="roundrect1" appearance="roundrect" style="left:801px; top:21px; width:198px; height:45px; "/>
  496. <line id="line4" class="line_1" style="x1:801px; y1:15px; x2:999px; y2:15px; "/>
  497. <caption id="caption28" class="tit_2" style="left:802px; top:1px; width:180px; height:13px; vertical-align:middle; ">Triage환자리스트</caption>
  498. <caption id="caption29" class="search_name" style="left:808px; top:36px; width:87px; height:17px; ">접수일자 :</caption>
  499. <input id="ipt_pid" ref="/root/main/ertriage/ertriage/pid" disabled="true" autonext="false" imemode="disabled" maxlength="10" style="left:345px; top:47px; width:102px; height:19px; ">
  500. <script type="javascript" ev:event="onkeypress">
  501. <![CDATA[
  502. fNextMoveCtrl("ipt_tel");
  503. ]]>
  504. </script>
  505. </input>
  506. <caption id="caption30" class="cell_1" style="left:0px; top:199px; width:101px; height:23px; vertical-align:middle; ">초진진료일자</caption>
  507. <caption id="caption31" class="cell_1" style="left:275px; top:199px; width:101px; height:23px; vertical-align:middle; ">초진진료시간</caption>
  508. <line id="line2" class="line_1" style="x1:0px; y1:385px; x2:797px; y2:385px; "/>
  509. <line id="line5" class="line_3" style="x1:0px; y1:534px; x2:797px; y2:534px; "/>
  510. <input id="input7" ref="/root/main/ertriage/ertriage/mainsympcdno1" disabled="true" visibility="hidden" style="left:609px; top:127px; width:100px; height:19px; "/>
  511. <input id="input8" ref="/root/main/ertriage/ertriage/mainsympcdno2" disabled="true" visibility="hidden" style="left:609px; top:152px; width:100px; height:19px; "/>
  512. <input id="input9" ref="/root/main/ertriage/ertriage/mainsympcd1" disabled="true" visibility="hidden" style="left:507px; top:127px; width:100px; height:19px; "/>
  513. <caption id="caption32" class="cell_1" style="left:0px; top:126px; width:101px; height:23px; vertical-align:middle; ">주증상1</caption>
  514. <input id="input12" ref="/root/main/ertriage/ertriage/mainsympcd2" disabled="true" visibility="hidden" style="left:507px; top:152px; width:100px; height:19px; "/>
  515. <caption id="caption33" class="cell_1" style="left:0px; top:151px; width:101px; height:23px; vertical-align:middle; ">주증상2</caption>
  516. <caption id="caption34" class="cell_1" style="left:0px; top:175px; width:101px; height:23px; vertical-align:middle; ">기타증상</caption>
  517. <input id="ipt_mainsynm1" ref="/root/main/ertriage/ertriage/mainsympnm1" disabled="true" style="left:103px; top:127px; width:382px; height:19px; "/>
  518. <input id="ipt_mainsynm2" ref="/root/main/ertriage/ertriage/mainsympnm2" disabled="true" style="left:103px; top:152px; width:382px; height:19px; "/>
  519. <select1 id="rdo_acdowndetailflag" ref="/root/main/ertriage/ertriage/acdowndetailflag" disabled="true" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:401px; top:443px; width:332px; height:15px; border-style:none; ">
  520. <choices>
  521. <item>
  522. <label>보행자</label>
  523. <value>1</value>
  524. </item>
  525. <item>
  526. <label>운전자</label>
  527. <value>2</value>
  528. </item>
  529. <item>
  530. <label>승객</label>
  531. <value>3</value>
  532. </item>
  533. <item>
  534. <label>기타</label>
  535. <value>4</value>
  536. </item>
  537. <item>
  538. <label>미상</label>
  539. <value>9</value>
  540. </item>
  541. </choices>
  542. </select1>
  543. <shape id="rectangle1" appearance="rectangle" style="left:100px; top:309px; width:388px; height:75px; border-color:#ff0000; border-width:3; "/>
  544. <shape id="roundrect3" class="roundrect_example" appearance="roundrect" style="left:0px; top:535px; width:797px; height:24px; background-color:#fffbf2; border-color:#7cbbdd; "/>
  545. <shape id="rectangle2" appearance="rectangle" style="left:7px; top:540px; width:20px; height:15px; border-color:#ff0000; border-width:3; "/>
  546. <caption id="caption35" style="left:37px; top:538px; width:695px; height:20px; font-weight:bold; ">
  547. <![CDATA[항목은 만 입력해 주십시오. [ 예 :특수문자(* / % $ &) 입력불가]]]>
  548. </caption>
  549. <caption id="caption36" style="left:85px; top:539px; width:28px; height:15px; font-weight:bold; color:#ff0000; ">숫자</caption>
  550. <input id="input10" ref="/root/main/ertriage/ertriage/mainsymtermcd" visibility="hidden" style="left:225px; top:75px; width:100px; height:19px; "/>
  551. <select1 id="cmb_chosresnflag" ref="/root/main/ertriage/ertriage/chosresnflag" appearance="minimal" style="left:103px; top:417px; width:287px; height:19px; ">
  552. <choices>
  553. <itemset nodeset="/root/init/M0120/M0120">
  554. <label ref="cdnm"/>
  555. <value ref="cdid"/>
  556. </itemset>
  557. </choices>
  558. <script type="javascript" ev:event="onkeypress">
  559. <![CDATA[
  560. fNextMoveCtrl("cmb_intenflag");
  561. ]]>
  562. </script>
  563. <script type="javascript" ev:event="xforms-value-changed">
  564. <![CDATA[
  565. if(cmb_chosresnflag.value == "3") {
  566. cmb_chosresnflag.value = "-"
  567. messageBox("진료외 방문에 해당하는 주호소를 선택하십시요.","C000");
  568. }
  569. fChngChosResnFlag();
  570. fValueChng_injmechflag();
  571. fValueChng_acdownflag();
  572. ]]>
  573. </script>
  574. </select1>
  575. <caption id="caption37" class="cell_1" style="left:0px; top:510px; width:101px; height:23px; vertical-align:middle; ">의료기관정보</caption>
  576. <caption id="caption38" class="cell_1" style="left:238px; top:390px; width:61px; height:23px; vertical-align:middle; ">재난번호</caption>
  577. <caption id="caption39" class="cell_1" style="left:482px; top:390px; width:135px; height:23px; vertical-align:middle; ">구급활동일지 일련번호</caption>
  578. <input id="ipt_fstexamorddd" ref="/root/main/ertriage/ertriage/fstexamorddd" inputtype="date" style="left:103px; top:201px; width:108px; height:19px; "/>
  579. <input id="ipt_fstexamordtm" ref="/root/main/ertriage/ertriage/fstexamordtm" autonext="false" format="hh:nn" style="left:378px; top:201px; width:67px; height:19px; ">
  580. <script type="javascript" ev:event="onkeypress">
  581. <![CDATA[
  582. fNextMoveCtrl("cmb_cscs");
  583. ]]>
  584. </script>
  585. </input>
  586. <button id="btn_curtime" class="btn2_letter4" style="left:448px; top:201px; width:64px; height:19px; ">
  587. <caption>현재시간</caption>
  588. <script type="javascript" ev:event="DOMActivate">
  589. <![CDATA[
  590. model.makeValue("/root/main/ertriage/ertriage/fstexamorddd", getCurrentDate());
  591. model.makeValue("/root/main/ertriage/ertriage/fstexamordtm", getCurrentTime().substring(0,4));
  592. model.refresh();
  593. ]]>
  594. </script>
  595. </button>
  596. <input id="ipt_attackdd" ref="/root/main/ertriage/ertriage/attackdd" class="input" inputtype="date" style="left:103px; top:225px; width:107px; height:19px; ">
  597. <script type="javascript" ev:event="onkeypress">
  598. <![CDATA[
  599. fNextMoveCtrl("ipt_attacktm");
  600. ]]>
  601. </script>
  602. </input>
  603. <input id="ipt_attacktm" ref="/root/main/ertriage/ertriage/attacktm" autonext="false" format="hh:nn" style="left:378px; top:225px; width:67px; height:19px; ">
  604. <script type="javascript" ev:event="onkeypress">
  605. <![CDATA[
  606. fNextMoveCtrl("cmb_cscs");
  607. ]]>
  608. </script>
  609. </input>
  610. <button id="button5" class="btn2_letter2" style="left:605px; top:225px; width:42px; height:19px; ">
  611. <caption>미상</caption>
  612. <script type="javascript" ev:event="DOMActivate">
  613. <![CDATA[
  614. model.setValue("/root/main/ertriage/ertriage/attackdd", "11111111");
  615. model.setValue("/root/main/ertriage/ertriage/attacktm", "1111");
  616. model.refresh();
  617. ]]>
  618. </script>
  619. </button>
  620. <button id="button4" class="btn2_letter4" style="left:650px; top:225px; width:64px; height:19px; ">
  621. <caption>중증응급</caption>
  622. <script type="javascript" ev:event="DOMActivate">
  623. <![CDATA[
  624. var pid = model.getValue(sERTRIAGE_PATH + "/pid");
  625. var indd = model.getValue(sERTRIAGE_PATH + "/orddd");
  626. var cretno = model.getValue(sERTRIAGE_PATH + "/cretno");
  627. var hngnm = model.getValue(sERTRIAGE_PATH + "/patnm");
  628. if(pid == "" || indd == "" || cretno == "" || hngnm == ""){
  629. return;
  630. }
  631. /*
  632. setParameter("SPMMO15100_pid", pid);
  633. setParameter("SPMMO15100_indd", indd);
  634. setParameter("SPMMO15100_cretno", cretno);
  635. setParameter("SPMMO15100_hngnm", hngnm);
  636. open("SPMMO15100");
  637. */
  638. setParameter("SPMNE04600_pid", pid);
  639. setParameter("SPMNE04600_indd", indd);
  640. setParameter("SPMNE04600_cretno", cretno);
  641. setParameter("SPMNE04600_hngnm", hngnm);
  642. open("SPMNE04600");
  643. ]]>
  644. </script>
  645. </button>
  646. <select1 id="rdo_painflag1" ref="/root/main/ertriage/ertriage/painflag1" appearance="full" cols="4" overflow="visible" style="left:103px; top:273px; width:627px; height:15px; border-style:none; ">
  647. <choices>
  648. <itemset nodeset="/root/codeinfo/codeinfo/codelist[cdgrupid ='186' and supcdid='-']">
  649. <label ref="cdnm"/>
  650. <value ref="cdid"/>
  651. </itemset>
  652. </choices>
  653. <script type="javascript" ev:event="xforms-value-changed">
  654. <![CDATA[
  655. var painflag1= rdo_painflag1.value;//model.getValue("/root/main/ertriage/ertriage/painflag1");
  656. model.setValue("/root/main/ertriage/ertriage/painflag","");
  657. if ( !isNull(painflag1) && painflag1 != "-" ){
  658. cmb_pain.choices.itemset.attribute("nodeset") = "/root/codeinfo/codeinfo/codelist[cdgrupid ='186' and supcdid='"+ painflag1 +"']";
  659. }
  660. cmb_pain.refresh();
  661. ]]>
  662. </script>
  663. </select1>
  664. <caption id="caption82" style="left:480px; top:225px; width:15px; height:20px; ">일</caption>
  665. <caption id="caption83" style="left:525px; top:225px; width:26px; height:20px; ">시간</caption>
  666. <caption id="caption84" style="left:580px; top:225px; width:26px; height:20px; ">분전</caption>
  667. <input id="ipt_preday" ref="/root/main/ertriage/ertriage/preday" format="9999" style="left:450px; top:225px; width:30px; height:19px; text-align:right; ">
  668. <script type="javascript" ev:event="xforms-value-changed">
  669. <![CDATA[
  670. fCalcAttackDate();
  671. ]]>
  672. </script>
  673. </input>
  674. <input id="ipt_prehour" ref="/root/main/ertriage/ertriage/prehour" format="hh" style="left:495px; top:225px; width:30px; height:19px; text-align:right; ">
  675. <script type="javascript" ev:event="xforms-value-changed">
  676. <![CDATA[
  677. fCalcAttackDate();
  678. ]]>
  679. </script>
  680. </input>
  681. <input id="ipt_premin" ref="/root/main/ertriage/ertriage/premin" format="nn" style="left:550px; top:225px; width:30px; height:19px; text-align:right; ">
  682. <script type="javascript" ev:event="xforms-value-changed">
  683. <![CDATA[
  684. fCalcAttackDate();
  685. ]]>
  686. </script>
  687. </input>
  688. </group>
  689. <caption id="cap_serdiag" ref="/root/main/ertriage/ertriage/serdiagflag" style="left:2px; top:21px; width:66px; height:46px; font-size:22pt; text-align:center; border-style:solid; ">
  690. <script type="javascript" ev:event="onclick">
  691. <![CDATA[
  692. fChngSerDiagFlag();
  693. ]]>
  694. </script>
  695. </caption>
  696. <button id="btn_prcpclsnm" class="icon_search" style="left:488px; top:104px; width:16px; height:16px; ">
  697. <caption/>
  698. <script type="javascript" ev:event="DOMActivate">
  699. <![CDATA[
  700. fOpenUMLSCC();
  701. ]]>
  702. </script>
  703. </button>
  704. <button id="btn_prcpclsnm1" class="icon_search" style="left:488px; top:129px; width:16px; height:16px; ">
  705. <caption/>
  706. <script type="javascript" ev:event="DOMActivate">
  707. <![CDATA[
  708. fOpenUMLSCC1();
  709. ]]>
  710. </script>
  711. </button>
  712. <button id="btn_prcpclsnm2" class="icon_search" style="left:488px; top:154px; width:16px; height:16px; ">
  713. <caption/>
  714. <script type="javascript" ev:event="DOMActivate">
  715. <![CDATA[
  716. fOpenUMLSCC2();
  717. ]]>
  718. </script>
  719. </button>
  720. <input id="ipt_etcsymp" ref="/root/main/ertriage/ertriage/etcsymp" disabled="false" style="left:103px; top:176px; width:382px; height:19px; "/>
  721. <button id="btn_presave" class="btn4_letter3" style="left:531px; top:72px; width:68px; height:22px; ">
  722. <caption>초기화</caption>
  723. <script type="javascript" ev:event="DOMActivate">
  724. <![CDATA[
  725. fPreRgstTriage();
  726. ]]>
  727. </script>
  728. </button>
  729. <button id="button1" class="btn4_letter4" style="left:600px; top:72px; width:80px; height:22px; ">
  730. <caption>등록전환</caption>
  731. <script type="javascript" ev:event="DOMActivate">
  732. <![CDATA[
  733. fChngRgstERTriagePatInfo();
  734. ]]>
  735. </script>
  736. </button>
  737. <button id="button2" class="btn4_letter2" style="left:738px; top:72px; width:56px; height:22px; ">
  738. <caption>취소</caption>
  739. <script type="javascript" ev:event="DOMActivate">
  740. <![CDATA[
  741. window.close();
  742. ]]>
  743. </script>
  744. </button>
  745. <button id="button3" class="btn4_letter2" style="left:681px; top:72px; width:56px; height:22px; ">
  746. <caption>저장</caption>
  747. <script type="javascript" ev:event="DOMActivate">
  748. <![CDATA[
  749. fSaveERTriagePatInfo();
  750. ]]>
  751. </script>
  752. </button>
  753. <input id="input4" ref="/root/main/cond/acptdd" inputtype="date" style="left:900px; top:35px; width:87px; height:19px; ">
  754. <script type="javascript" ev:event="xforms-value-changed">
  755. <![CDATA[
  756. fReqERTriagePatList();
  757. ]]>
  758. </script>
  759. </input>
  760. <datagrid id="grd_ertraigepatlist" nodeset="/root/main/erpatinfo/erpatlist" caption="등록번호^접수일자^접수번호^이력번호^환자명" colsep="^" colwidth="87, 0, 0, 0, 95" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:801px; top:71px; width:198px; height:489px; ">
  761. <col ref="pid"/>
  762. <col ref="acptdd" format="yyyy-mm-dd"/>
  763. <col ref="acptno"/>
  764. <col ref="histno"/>
  765. <col ref="patnm"/>
  766. <script type="javascript" ev:event="onclick">
  767. <![CDATA[
  768. var iRow = grd_ertraigepatlist.row;
  769. if(iRow > 0){
  770. fReqERTriagePatInfo(iRow);
  771. }
  772. //var fMainsympcd = model.getValue("/root/main/ertriage/ertriage/mainsympcd");
  773. //model.makeValue("/root/blockflag/reqdata/mainsympcd",fMainsympcd);
  774. //submit("TRMNE04404", false);
  775. fCtrlSetting();
  776. ]]>
  777. </script>
  778. </datagrid>
  779. <button id="button6" class="btn5_letter7" style="left:335px; top:73px; width:97px; height:19px; ">
  780. <caption>손상 정보 등록</caption>
  781. <script type="javascript" ev:event="DOMActivate">
  782. <![CDATA[
  783. setParameter("SPMMO07500_pid", model.getValue("/root/main/ertriage/ertriage/pid"));
  784. setParameter("SPMMO07500_orddd", model.getValue("/root/main/ertriage/ertriage/orddd"));
  785. setParameter("SPMMO07500_cretno", model.getValue("/root/main/ertriage/ertriage/cretno"));
  786. open("SPMMO07500", 1, 0, 0, "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; min:hidden, max:hidden;");
  787. ]]>
  788. </script>
  789. </button>
  790. <button id="button7" class="btn5_letter7" style="left:433px; top:73px; width:97px; height:19px; ">
  791. <caption>NEDIS정보조회</caption>
  792. <script type="javascript" ev:event="DOMActivate">
  793. <![CDATA[
  794. // setParameter("SPMMO07500_orddd", model.getValue("/root/main/ertriage/ertriage/orddd"));
  795. // setParameter("SPMMO07500_cretno", model.getValue("/root/main/ertriage/ertriage/cretno"));
  796. // open("SPMMO07500", 1, 0, 0, "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; min:hidden, max:hidden;");
  797. setParameter("NEDIS_pid", model.getValue("/root/main/ertriage/ertriage/pid"));
  798. setParameter("NEDIS_orddd", model.getValue("/root/main/ertriage/ertriage/orddd"));
  799. modal("SMMNE07400");
  800. ]]>
  801. </script>
  802. </button>
  803. </xhtml:body>
  804. </xhtml:html>