SPMMO06700_응급실의사호출.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <erdrcalllist>
  11. <erdrcalllist/>
  12. </erdrcalllist>
  13. <erdrinfo>
  14. <orddeptcd/>
  15. <orddrid/>
  16. <mainyn>EE</mainyn>
  17. <call1/>
  18. <call2/>
  19. <call3/>
  20. <call4/>
  21. <callcnts/>
  22. <callcnts2/>
  23. <callnm/>
  24. <callgbn>EE</callgbn>
  25. </erdrinfo>
  26. <medfeeinfo>
  27. <userid/>
  28. <passwd/>
  29. <deptcd/>
  30. <drnm/>
  31. <deptnm/>
  32. </medfeeinfo>
  33. </main>
  34. <send>
  35. <reqdata/>
  36. <savedata/>
  37. </send>
  38. <hidden/>
  39. <init>
  40. <orddept/>
  41. <userlist/>
  42. <hardcd/>
  43. <macaddr/>
  44. <ercallno/>
  45. <callvisit/>
  46. <chkcallno/>
  47. <calltime/>
  48. <bpcallyn/>
  49. </init>
  50. <popmenu>
  51. <menu>
  52. <item>
  53. <name>재호출</name>
  54. <func>fReCall</func>
  55. </item>
  56. </menu>
  57. </popmenu>
  58. <temp/>
  59. </root>
  60. </instance>
  61. <script type="javascript" ev:event="xforms-ready">
  62. <![CDATA[
  63. fInitialize_SPMMO06700();
  64. ]]>
  65. </script>
  66. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  67. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  68. <script type="javascript" ev:event="xforms-model-construct-done">
  69. <![CDATA[
  70. group1.attribute("height") = 0;
  71. ]]>
  72. </script>
  73. <submission id="TRMMO06701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/erdrcalllist"/>
  74. <submission id="TRMMO06702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/userinfo" resultref="/root/main/qualifyinfo"/>
  75. <submission id="TRMMO06703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patinfo"/>
  76. <submission id="TRMMO06704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/userinfo" resultref="/root/main/userinfo"/>
  77. <submission id="TRMMO06705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/userinfo" resultref="/root/main/confirmyn"/>
  78. <submission id="TXMMO06701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/erdrcalllist"/>
  79. <submission id="TXMMO06702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/erdrcalllist"/>
  80. <submission id="TXMMO06703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/erdrcalllist"/>
  81. <submission id="TXMMO06704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/erdrcalllist"/>
  82. <submission id="TXMMO06705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/nocallinfo" resultref="/root/main/erdrcalllist"/>
  83. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  84. <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
  85. <submission id="TRMMO06706" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/drinfo" resultref="/root/temp/drinfo"/>
  86. </model>
  87. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  91. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO06700.js"/>
  92. </xhtml:head>
  93. <xhtml:body pagewidth="1110" pageheight="500" guideline="1,1090;1,1110;1,388;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  94. <button id="btn_rner" class="btn2_letter6" navindex="2" visibility="hidden" style="left:443px; top:33px; width:86px; height:19px; ">
  95. <caption>중증응급호출</caption>
  96. <script type="javascript" ev:event="DOMActivate">
  97. <![CDATA[
  98. fOpenNurseERCallDr();
  99. fReqERDrCallList();
  100. ]]>
  101. </script>
  102. </button>
  103. <button id="btn_del" class="btn2_letter2" navindex="3" style="left:1004px; top:33px; width:42px; height:19px; ">
  104. <caption>삭제</caption>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. fDelERCallInfo();
  108. ]]>
  109. </script>
  110. </button>
  111. <button id="btn_add" class="btn2_letter2" navindex="1" style="left:960px; top:33px; width:42px; height:19px; ">
  112. <caption>추가</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. fClkBtnAdd();
  116. ]]>
  117. </script>
  118. </button>
  119. <line id="line5" class="line_1" style="x1:0px; y1:55px; x2:1090px; y2:55px; "/>
  120. <caption id="caption2" class="tit_2" style="left:0px; top:39px; width:161px; height:13px; vertical-align:middle; ">응급실의사 호출</caption>
  121. <caption id="caption1" class="tit_2" style="left:0px; top:295px; width:112px; height:13px; vertical-align:middle; ">호출내용</caption>
  122. <textarea id="tar_callcnts" ref="/root/main/erdrinfo/callcnts2" navindex="6" maxlength="80" style="left:0px; top:315px; width:1090px; height:75px; ">
  123. <script type="javascript" ev:event="DOMFocusOut">
  124. <![CDATA[
  125. var currow = grd_erdrcalllist.row;
  126. if(currow < 1){
  127. return;
  128. }
  129. var callcnts = tar_callcnts.currentText;
  130. model.setValue(sERDRCALLLIST_PATH + "[" + currow + "]/callcnts", callcnts);
  131. model.refresh();
  132. ]]>
  133. </script>
  134. </textarea>
  135. <line id="line1" class="line_1" style="x1:0px; y1:310px; x2:1090px; y2:310px; "/>
  136. <button id="btn_call" class="btn5_letter2" navindex="4" style="left:1048px; top:33px; width:42px; height:19px; ">
  137. <caption>호출</caption>
  138. <script type="javascript" ev:event="DOMActivate">
  139. <![CDATA[
  140. fClkBtnCall();
  141. ]]>
  142. </script>
  143. </button>
  144. <button id="btn_exit" class="btn4_letter2" navindex="7" style="left:1034px; top:475px; width:56px; height:22px; ">
  145. <caption>종료</caption>
  146. <script type="javascript" ev:event="DOMActivate">
  147. <![CDATA[
  148. window.close();
  149. ]]>
  150. </script>
  151. </button>
  152. <button id="btn_correct" class="btn2_letter2" navindex="2" visibility="hidden" style="left:620px; top:33px; width:42px; height:19px; ">
  153. <caption>수정</caption>
  154. <script type="javascript" ev:event="DOMActivate">
  155. <![CDATA[
  156. ]]>
  157. </script>
  158. </button>
  159. <datagrid id="grd_erdrcalllist" nodeset="/root/main/erdrcalllist/erdrcalllist" class="datagrid2" caption="상태^pid^indd^cretno^visitno^erorddoctcd^호출&#xA;횟수^callcntcno^callcnts^호출 진료과^호출의사^구분^호출구분^호출일시^callnm^callpsnid^도착일시^도착의사 진료과^도착의사^대행&#xA;여부^호출번호^호출 등록자^도착 등록 진료과^도착 등록자^callrecnt" colsep="^" colwidth="40, 0, 0, 0, 0, 0, 40, 0, 0, 90, 60, 40, 60, 105, 0, 0, 120, 100, 65, 40, 70, 70, 100, 70, 0" mergecellsfixedrows="bycolrec" rowsep="|" navindex="5" style="left:0px; top:60px; width:1090px; height:230px; ">
  160. <col disabled="true" ref="status" type="combo">
  161. <choices>
  162. <item>
  163. <label>-</label>
  164. <value/>
  165. </item>
  166. <item>
  167. <label>신규</label>
  168. <value>i</value>
  169. </item>
  170. <item>
  171. <label>수정</label>
  172. <value>u</value>
  173. </item>
  174. <item>
  175. <label>삭제</label>
  176. <value>d</value>
  177. </item>
  178. </choices>
  179. </col>
  180. <col ref="pid"/>
  181. <col ref="indd"/>
  182. <col ref="cretno"/>
  183. <col ref="visitno"/>
  184. <col ref="erorddoctcd"/>
  185. <col ref="callno"/>
  186. <col ref="callcntcno"/>
  187. <col ref="callcnts"/>
  188. <col disabled="true" ref="erorddeptcd" type="combo">
  189. <choices>
  190. <itemset nodeset="/root/init/orddept/dept">
  191. <label ref="depthngnm"/>
  192. <value ref="deptcd"/>
  193. </itemset>
  194. </choices>
  195. </col>
  196. <col ref="erorddoctnm"/>
  197. <col checkvalue="M,S" ref="mainyn" type="combo" style="text-align:center; ">
  198. <choices>
  199. <item>
  200. <label>주</label>
  201. <value>M</value>
  202. </item>
  203. <item>
  204. <label>부</label>
  205. <value>S</value>
  206. </item>
  207. </choices>
  208. </col>
  209. <col ref="callgbn" type="combo">
  210. <choices>
  211. <item>
  212. <label>일반</label>
  213. <value>EE</value>
  214. </item>
  215. <item>
  216. <label>외상</label>
  217. <value>ET</value>
  218. </item>
  219. <item>
  220. <label>권역외상</label>
  221. <value>TT</value>
  222. </item>
  223. </choices>
  224. </col>
  225. <col ref="calldt" format="yyyy-mm-dd hh:nn" style="left:349px; top:23px; width:111px; height:23px; "/>
  226. <col ref="callnm"/>
  227. <col ref="callpsnid"/>
  228. <col editable="false" ref="arrivdt" type="inputbutton" format="yyyy-mm-dd hh:nn" validateformat="true"/>
  229. <col disabled="true" ref="arrivdeptcd" type="combo">
  230. <choices>
  231. <itemset nodeset="/root/init/orddept/dept">
  232. <label ref="depthngnm"/>
  233. <value ref="deptcd"/>
  234. </itemset>
  235. </choices>
  236. </col>
  237. <col ref="arrivdoctnm"/>
  238. <col ref="agentyn" style="text-align:center; "/>
  239. <col ref="dispcallcntcno"/>
  240. <col ref="callpsnnm"/>
  241. <col disabled="true" ref="visitrgdeptcd" type="combo">
  242. <choices>
  243. <itemset nodeset="/root/init/orddept/dept">
  244. <label ref="depthngnm"/>
  245. <value ref="deptcd"/>
  246. </itemset>
  247. </choices>
  248. </col>
  249. <col ref="visitrgstnm"/>
  250. <col ref="callrecnt"/>
  251. <script type="javascript" ev:event="onmousedown">
  252. <![CDATA[
  253. setPopupMenu("grd_erdrcalllist", false, "/root/popmenu/menu/item", "name", "func");
  254. ]]>
  255. </script>
  256. <script type="javascript" ev:event="onbuttonclick">
  257. <![CDATA[
  258. fClkBtnArrivDt();
  259. ]]>
  260. </script>
  261. <script type="javascript" ev:event="xforms-value-changed">
  262. <![CDATA[
  263. fClkColMainYN();
  264. ]]>
  265. </script>
  266. <script type="javascript" ev:event="onclick">
  267. <![CDATA[
  268. fDispERDrCallCnts();
  269. ]]>
  270. </script>
  271. </datagrid>
  272. <group id="group1" style="left:255px; top:125px; width:285px; height:280px; background-color:#ffffff; border-color:transparent; border-style:solid; ">
  273. <caption id="caption4" class="cell_1" style="left:3px; top:22px; width:71px; height:22px; vertical-align:middle; ">호출진료과</caption>
  274. <button id="btn_cnfm" class="btn2_letter2" navindex="16" style="left:179px; top:254px; width:42px; height:19px; ">
  275. <caption>확인</caption>
  276. <script type="javascript" ev:event="DOMActivate">
  277. <![CDATA[
  278. fClkBtnCnfm();
  279. ]]>
  280. </script>
  281. </button>
  282. <caption id="caption5" class="tit_2" style="left:5px; top:3px; width:151px; height:14px; vertical-align:middle; ">응급실 호출의사 정보</caption>
  283. <caption id="caption3" class="cell_1" style="left:3px; top:45px; width:70px; height:20px; vertical-align:middle; ">호출의사</caption>
  284. <caption id="caption6" class="cell_1" style="left:3px; top:66px; width:70px; height:20px; vertical-align:middle; ">구분</caption>
  285. <line id="line4" class="line_1" style="x1:3px; y1:17px; x2:268px; y2:17px; "/>
  286. <button id="btn_cncl" class="btn2_letter2" navindex="17" style="left:223px; top:254px; width:42px; height:19px; ">
  287. <caption>취소</caption>
  288. <script type="javascript" ev:event="DOMActivate">
  289. <![CDATA[
  290. fClkBtnCncl();
  291. ]]>
  292. </script>
  293. </button>
  294. <caption id="caption7" class="cell_1" style="left:3px; top:108px; width:70px; height:20px; vertical-align:middle; ">호출번호</caption>
  295. <caption id="caption8" style="left:113px; top:108px; width:15px; height:20px; ">-</caption>
  296. <caption id="caption9" style="left:170px; top:108px; width:15px; height:20px; ">-</caption>
  297. <caption id="caption10" class="cell_1" style="left:3px; top:151px; width:70px; height:101px; vertical-align:middle; ">호출내용</caption>
  298. <textarea id="textarea2" ref="/root/main/erdrinfo/callcnts" navindex="15" maxlength="80" style="left:74px; top:152px; width:193px; height:99px; "/>
  299. <select1 id="cmb_orddeptcd" ref="/root/main/erdrinfo/orddeptcd" navindex="8" appearance="minimal" style="left:74px; top:24px; width:124px; height:19px; ">
  300. <choices>
  301. <itemset nodeset="/root/init/orddept/dept">
  302. <label ref="depthngnm"/>
  303. <value ref="deptcd"/>
  304. </itemset>
  305. </choices>
  306. <script type="javascript" ev:event="xforms-value-changed">
  307. <![CDATA[
  308. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_orddeptcd.value, "0330", '', 'T');
  309. model.refresh();
  310. ]]>
  311. </script>
  312. </select1>
  313. <select1 id="rdo_mainsubflag" ref="/root/main/erdrinfo/mainyn" navindex="10" appearance="full" cellspacing="46" cols="2" overflow="visible" style="left:74px; top:66px; width:193px; height:20px; border-style:none; ">
  314. <choices>
  315. <item>
  316. <label>주</label>
  317. <value>M</value>
  318. </item>
  319. <item>
  320. <label>부</label>
  321. <value>S</value>
  322. </item>
  323. </choices>
  324. </select1>
  325. <input id="ipt_cp1" ref="/root/main/erdrinfo/call1" navindex="11" imemode="disabled" maxlength="3" format="999" style="left:74px; top:108px; width:39px; height:19px; "/>
  326. <input id="ipt_cp2" ref="/root/main/erdrinfo/call2" navindex="12" imemode="disabled" maxlength="4" format="#" style="left:122px; top:108px; width:49px; height:19px; "/>
  327. <input id="ipt_cp3" ref="/root/main/erdrinfo/call3" navindex="13" imemode="disabled" maxlength="4" style="left:179px; top:108px; width:49px; height:19px; "/>
  328. <select1 id="cmb_orddrid" ref="/root/main/erdrinfo/orddrid" navindex="9" appearance="minimal" style="left:74px; top:44px; width:124px; height:19px; ">
  329. <choices>
  330. <itemset nodeset="/root/init/userlist/usercombo[userid!='EMR' and userid!='11111']">
  331. <label ref="usernm"/>
  332. <value ref="userid"/>
  333. </itemset>
  334. </choices>
  335. <script type="javascript" ev:event="xforms-value-changed">
  336. <![CDATA[
  337. var orddrid = model.getValue(sERDRCALLLIST_PATH + "[erorddoctcd='" + cmb_orddrid.value + "']/erorddoctcd");
  338. if(orddrid != ""){
  339. messageBox("[" + cmb_orddrid.label + "]은(는) 이미 호출한 의사", "E008");
  340. model.setValue("/root/main/erdrinfo/orddrid", "");
  341. return;
  342. }
  343. var chkcallno = model.getValue("/root/init/chkcallno/hardcd/hardcd");
  344. if (chkcallno =="Y") {
  345. var mpphonno = model.getValue("/root/init/userlist/usercombo[userid ='" + cmb_orddrid.value + "']/mpphonno");
  346. if (mpphonno.length == 11) {
  347. var call1 = mpphonno.substr(0, 3)
  348. var call2 = mpphonno.substr(3, 4)
  349. var call3 = mpphonno.substr(7, 4);
  350. model.setValue("/root/main/erdrinfo/call1", call1);
  351. model.setValue("/root/main/erdrinfo/call2", call2);
  352. model.setValue("/root/main/erdrinfo/call3", "****");
  353. model.setValue("/root/main/erdrinfo/call4", call3);
  354. } else if(mpphonno.length == 10){
  355. var call1 = mpphonno.substr(0, 3)
  356. var call2 = mpphonno.substr(3, 3)
  357. var call3 = mpphonno.substr(6, 4);
  358. model.setValue("/root/main/erdrinfo/call1", call1);
  359. model.setValue("/root/main/erdrinfo/call2", call2);
  360. model.setValue("/root/main/erdrinfo/call3", "****");
  361. model.setValue("/root/main/erdrinfo/call4", call3);
  362. }
  363. model.refresh();
  364. }
  365. ]]>
  366. </script>
  367. </select1>
  368. <caption id="caption11" class="cell_1" style="left:3px; top:129px; width:70px; height:21px; vertical-align:middle; ">호출자번호</caption>
  369. <input id="input1" ref="/root/main/erdrinfo/callnm" navindex="14" style="left:74px; top:130px; width:100px; height:19px; "/>
  370. <caption id="caption14" class="cell_1" style="left:3px; top:87px; width:70px; height:20px; vertical-align:middle; ">호출구분</caption>
  371. <select1 id="radio1" ref="/root/main/erdrinfo/callgbn" navindex="10" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:74px; top:87px; width:193px; height:20px; border-style:none; ">
  372. <choices>
  373. <item>
  374. <label>일반환자</label>
  375. <value>EE</value>
  376. </item>
  377. <item>
  378. <label>외상환자</label>
  379. <value>ET</value>
  380. </item>
  381. </choices>
  382. </select1>
  383. </group>
  384. <button id="btn_scom" class="btn2_letter8" navindex="2" visibility="hidden" style="left:263px; top:33px; width:108px; height:19px; ">
  385. <caption>중증호출당직관리</caption>
  386. <script type="javascript" ev:event="DOMActivate">
  387. <![CDATA[
  388. modal("SMMNE05100");
  389. ]]>
  390. </script>
  391. </button>
  392. <button id="btn_visit" class="btn2_letter6" navindex="2" visibility="hidden" style="left:531px; top:33px; width:86px; height:19px; ">
  393. <caption>중증Visit등록</caption>
  394. <script type="javascript" ev:event="DOMActivate">
  395. <![CDATA[
  396. modal("SMMNE05300");
  397. ]]>
  398. </script>
  399. </button>
  400. <button id="btn_userm" class="btn2_letter11" navindex="2" visibility="hidden" style="left:119px; top:33px; width:141px; height:19px; ">
  401. <caption>중증호출사용자정보관리</caption>
  402. <script type="javascript" ev:event="DOMActivate">
  403. <![CDATA[
  404. var bpcallyn = model.getValue("/root/init/bpcallyn/hardcd/hardcd");
  405. if ( !isNull(bpcallyn) && bpcallyn == "Y") {
  406. setParameter("SMMNE05000_bpcallyn", "Y");
  407. setParameter("SMMNE05000_param", "Y^Y^Y^Y^Y^Y^Y");
  408. } else {
  409. setParameter("SMMNE05000_bpcallyn", "N");
  410. setParameter("SMMNE05000_param", "Y^Y^Y^Y^N^Y^Y");
  411. }
  412. modal("SMMNE05000");
  413. ]]>
  414. </script>
  415. </button>
  416. <button id="button1" class="btn2_letter6" navindex="2" visibility="hidden" style="left:443px; top:33px; width:86px; height:19px; ">
  417. <caption>중증응급호출</caption>
  418. <script type="javascript" ev:event="DOMActivate">
  419. <![CDATA[
  420. fOpenNurseERCallDr();
  421. fReqERDrCallList();
  422. ]]>
  423. </script>
  424. </button>
  425. <button id="btn_erdrcall" class="btn2_letter4" navindex="2" visibility="hidden" style="left:375px; top:33px; width:64px; height:19px; ">
  426. <caption>응급호출</caption>
  427. <script type="javascript" ev:event="DOMActivate">
  428. <![CDATA[
  429. fOpenERCallDr();
  430. fReqERDrCallList();
  431. ]]>
  432. </script>
  433. </button>
  434. <datagrid id="datagrid1_bakup" nodeset="/root/main/erdrcalllist/erdrcalllist" visibility="hidden" caption="상태^pid^indd^cretno^visitno^erorddoctcd^호출횟수^callcntcno^callcnts^진료과^담당의^구분^호출번호^호출일시^callnm^callpsnid^호출자^도착시간^도착일시^visitrgstrid^등록자" colsep="^" colwidth="46, 0, 0, 0, 0, 0, 59, 0, 0, 99, 64, 39, 91, 111, 0, 0, 63, 100, 133, 0, 80, 2" mergecellsfixedrows="bycolrec" rowsep="|" navindex="5" style="left:55px; top:160px; width:135px; height:45px; ">
  435. <col disabled="true" ref="status" type="combo">
  436. <choices>
  437. <item>
  438. <label>-</label>
  439. <value/>
  440. </item>
  441. <item>
  442. <label>신규</label>
  443. <value>i</value>
  444. </item>
  445. <item>
  446. <label>수정</label>
  447. <value>u</value>
  448. </item>
  449. <item>
  450. <label>삭제</label>
  451. <value>d</value>
  452. </item>
  453. </choices>
  454. </col>
  455. <col ref="pid"/>
  456. <col ref="indd"/>
  457. <col ref="cretno"/>
  458. <col ref="visitno"/>
  459. <col ref="erorddoctcd"/>
  460. <col ref="callno"/>
  461. <col ref="callcntcno"/>
  462. <col ref="callcnts"/>
  463. <col disabled="true" ref="erorddeptcd" type="combo">
  464. <choices>
  465. <itemset nodeset="/root/init/orddept/dept">
  466. <label ref="depthngnm"/>
  467. <value ref="deptcd"/>
  468. </itemset>
  469. </choices>
  470. </col>
  471. <col ref="erorddoctnm"/>
  472. <col checkvalue="M,S" ref="mainyn" type="combo">
  473. <choices>
  474. <item>
  475. <label>주</label>
  476. <value>M</value>
  477. </item>
  478. <item>
  479. <label>부</label>
  480. <value>S</value>
  481. </item>
  482. </choices>
  483. </col>
  484. <col ref="dispcallcntcno"/>
  485. <col ref="calldt" format="yyyy-mm-dd hh:nn" style="left:349px; top:23px; width:111px; height:23px; "/>
  486. <col ref="callnm"/>
  487. <col ref="callpsnid"/>
  488. <col ref="callpsnnm"/>
  489. <col ref="arrivdt1" format="yyyy-mm-dd hh:nn"/>
  490. <col editable="false" ref="arrivdt" type="inputbutton" format="yyyy-mm-dd hh:nn" validateformat="true"/>
  491. <col ref="visitrgstrid"/>
  492. <col ref="visitrgstnm"/>
  493. <col ref="callrecnt"/>
  494. <script type="javascript" ev:event="onmousedown">
  495. <![CDATA[
  496. setPopupMenu("grd_erdrcalllist", false, "/root/popmenu/menu/item", "name", "func");
  497. ]]>
  498. </script>
  499. <script type="javascript" ev:event="onbuttonclick">
  500. <![CDATA[
  501. fClkBtnArrivDt();
  502. ]]>
  503. </script>
  504. <script type="javascript" ev:event="xforms-value-changed">
  505. <![CDATA[
  506. fClkColMainYN();
  507. ]]>
  508. </script>
  509. <script type="javascript" ev:event="onclick">
  510. <![CDATA[
  511. fDispERDrCallCnts();
  512. ]]>
  513. </script>
  514. </datagrid>
  515. <caption id="caption12" class="tit_2" style="left:0px; top:410px; width:337px; height:13px; vertical-align:middle; ">응급실 전문의 진찰료 발생 (호출 없는 도착등록)</caption>
  516. <line id="line2" class="line_1" style="x1:0px; y1:425px; x2:1090px; y2:425px; "/>
  517. <caption id="caption13" style="left:25px; top:435px; width:112px; height:20px; ">사원번호 / 비밀번호</caption>
  518. <input id="input2" ref="/root/main/medfeeinfo/userid" navindex="14" style="left:145px; top:435px; width:100px; height:19px; ">
  519. <script type="javascript" ev:event="onkeydown">
  520. <![CDATA[
  521. if( event.keycode == 13 ){
  522. model.setfocus("secret_psw", true);
  523. }
  524. ]]>
  525. </script>
  526. </input>
  527. <line id="line3" class="line_1" style="x1:0px; y1:460px; x2:1090px; y2:460px; "/>
  528. <button id="btn_medfee" class="btn5_letter4" navindex="16" style="left:726px; top:435px; width:64px; height:19px; ">
  529. <caption>도착등록</caption>
  530. <script type="javascript" ev:event="DOMActivate">
  531. <![CDATA[
  532. var userid = model.getValue("/root/main/medfeeinfo/userid");
  533. var passwd = model.getValue("/root/main/medfeeinfo/passwd");
  534. if ( userid == "" ) {
  535. messageBox("사원번호를 입력하세요", "I999");
  536. return;
  537. }
  538. if ( passwd == "" ) {
  539. messageBox("비밀번호를 입력하세요", "I999");
  540. return;
  541. }
  542. model.removeNode("/root/send/userinfo");
  543. model.makeValue("/root/send/userinfo/userid", userid);
  544. model.makeValue("/root/send/userinfo/passwd", passwd);
  545. submit("TRMMO06705");
  546. var confirmyn = model.getValue("/root/main/confirmyn/confirmyn");
  547. var usernm = model.getValue("/root/main/confirmyn/usernm");
  548. if (confirmyn == "N") {
  549. messageBox("비밀번호가 틀렸습니다.", "I999");
  550. return;
  551. }
  552. model.setValue("root/main/medfeeinfo/drnm", usernm);
  553. submit("TRMMO06704");
  554. var rowcnt = grd_deptlist.rows;
  555. var deptcd = "";
  556. var deptnm = "";
  557. if (rowcnt == 0) {
  558. messageBox("응급실 진찰료를 발생할 수 있는 전문의가 아닙니다.", "I999");
  559. return;
  560. } else if (rowcnt == 1) {
  561. model.setValue("root/main/medfeeinfo/deptcd", model.getValue("root/main/userinfo/deptlist[1]/deptcd"));
  562. model.setValue("root/main/medfeeinfo/deptnm", model.getValue("root/main/userinfo/deptlist[1]/deptnm"));
  563. fNoCallArrv();
  564. } else {
  565. grd_deptlist.visible = true;
  566. }
  567. ]]>
  568. </script>
  569. </button>
  570. <input id="input5" ref="/root/main/medfeeinfo/drnm" disabled="true" navindex="14" style="left:606px; top:435px; width:100px; height:19px; "/>
  571. <caption id="caption15" style="left:365px; top:435px; width:109px; height:20px; ">( 진료과 / 도착의사</caption>
  572. <caption id="caption16" style="left:711px; top:435px; width:15px; height:20px; ">)</caption>
  573. <caption id="cap_patinfo" ref="/root/main/patinfo/patinfo" style="left:0px; top:10px; width:885px; height:20px; font-size:12pt; font-weight:bold; color:#3366ff; vertical-align:middle; "/>
  574. <group id="grp_arrvdr" visibility="hidden" style="left:515px; top:140px; width:315px; height:85px; background-color:#ffffff; border-color:transparent; border-style:solid; ">
  575. <caption id="caption17" class="cell_1" style="left:3px; top:22px; width:71px; height:22px; vertical-align:middle; ">진료과</caption>
  576. <button id="button3" class="btn2_letter2" navindex="16" style="left:204px; top:44px; width:42px; height:19px; ">
  577. <caption>확인</caption>
  578. <script type="javascript" ev:event="DOMActivate">
  579. <![CDATA[
  580. var currow = grd_erdrcalllist.row;
  581. model.setValue(sERDRCALLLIST_PATH + "[" + currow + "]/arrivdeptcd" , cmb_arrvdept.value);
  582. model.setValue(sERDRCALLLIST_PATH + "[" + currow + "]/arrivdoctcd" , cmb_arrvdr.value);
  583. model.setValue(sERDRCALLLIST_PATH + "[" + currow + "]/arrivdoctnm" , cmb_arrvdr.label);
  584. model.setValue(sERDRCALLLIST_PATH + "[" + currow + "]/agentyn" , "N");
  585. fClkColBtnVisitDT();
  586. grp_arrvdr.visible = false;
  587. ]]>
  588. </script>
  589. </button>
  590. <caption id="caption18" class="tit_2" style="left:5px; top:3px; width:151px; height:14px; vertical-align:middle; ">도착의사 정보</caption>
  591. <caption id="caption19" class="cell_1" style="left:3px; top:45px; width:70px; height:20px; vertical-align:middle; ">의사</caption>
  592. <line id="line6" class="line_1" style="x1:3px; y1:17px; x2:290px; y2:17px; "/>
  593. <button id="button4" class="btn2_letter2" navindex="17" style="left:248px; top:44px; width:42px; height:19px; ">
  594. <caption>취소</caption>
  595. <script type="javascript" ev:event="DOMActivate">
  596. <![CDATA[
  597. grp_arrvdr.visible = false;
  598. ]]>
  599. </script>
  600. </button>
  601. <select1 id="cmb_arrvdept" ref="/root/main/erdrinfo/orddeptcd" disabled="true" navindex="8" appearance="minimal" style="left:74px; top:24px; width:124px; height:19px; ">
  602. <choices>
  603. <itemset nodeset="/root/init/orddept/dept">
  604. <label ref="depthngnm"/>
  605. <value ref="deptcd"/>
  606. </itemset>
  607. </choices>
  608. </select1>
  609. <select1 id="cmb_arrvdr" ref="/root/main/erdrinfo/orddrid" navindex="9" appearance="minimal" style="left:74px; top:44px; width:124px; height:19px; ">
  610. <choices>
  611. <itemset nodeset="/root/init/userlist/usercombo[userid!='EMR' and userid!='11111']">
  612. <label ref="usernm"/>
  613. <value ref="userid"/>
  614. </itemset>
  615. </choices>
  616. </select1>
  617. </group>
  618. <secret id="secret_psw" ref="/root/main/medfeeinfo/passwd" navindex="15" imemode="disabled" style="left:248px; top:435px; width:100px; height:19px; ">
  619. <script type="javascript" ev:event="onkeydown">
  620. <![CDATA[
  621. // if( event.keycode == 13 ){
  622. // btn_medfee.dispatch("DOMActivate");
  623. // }
  624. ]]>
  625. </script>
  626. </secret>
  627. <input id="input3" ref="/root/main/medfeeinfo/deptnm" disabled="true" navindex="14" style="left:479px; top:435px; width:125px; height:19px; "/>
  628. <datagrid id="grd_deptlist" nodeset="root/main/userinfo/deptlist" visibility="hidden" caption="진료과^deptcd" colsep="^" colwidth="200, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:620px; top:250px; width:215px; height:180px; ">
  629. <col ref="deptnm"/>
  630. <col ref="deptcd"/>
  631. <script type="javascript" ev:event="ondblclick">
  632. <![CDATA[
  633. var row = grd_deptlist.row;
  634. model.setValue("root/main/medfeeinfo/deptcd", model.getValue("root/main/userinfo/deptlist[" + row + "]/deptcd"));
  635. model.setValue("root/main/medfeeinfo/deptnm", model.getValue("root/main/userinfo/deptlist[" + row + "]/deptnm"));
  636. model.refresh();
  637. grd_deptlist.visible = false;
  638. fNoCallArrv();
  639. ]]>
  640. </script>
  641. </datagrid>
  642. </xhtml:body>
  643. </xhtml:html>