SMMRH00300_뇌혈관환자등록(허혈).xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  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. <right_cond>
  11. <orddeptcd/>
  12. <medispclid/>
  13. <srch_flag/>
  14. <pid/>
  15. <srch_fromdd/>
  16. <srch_todd/>
  17. <hngnm/>
  18. <diagcd/>
  19. </right_cond>
  20. <left_cond>
  21. <pid/>
  22. <srch_flag/>
  23. <srch_fromdd/>
  24. <srch_todd/>
  25. <hngnm/>
  26. </left_cond>
  27. <grd_right>
  28. <chkbox/>
  29. <pid/>
  30. <hngnm/>
  31. <sex/>
  32. <age/>
  33. <orddd/>
  34. <dschdd/>
  35. <depthngnm/>
  36. <maindocnm/>
  37. <subdocnm/>
  38. <diagengnm/>
  39. <room/>
  40. <telno/>
  41. <cretno/>
  42. <diagcd/>
  43. <ordtype/>
  44. </grd_right>
  45. <grd_left>
  46. <saveyn/>
  47. <indxyn/>
  48. <cdstyn/>
  49. <eduyn/>
  50. <pid/>
  51. <hngnm/>
  52. <sex/>
  53. <age/>
  54. <diagengnm/>
  55. <orddd/>
  56. <dschdd/>
  57. <orgordtype/>
  58. <status/>
  59. <telno/>
  60. <followup/>
  61. <cretno/>
  62. <ordtype/>
  63. <recflag/>
  64. </grd_left>
  65. <patinfo>
  66. <patinfolist>
  67. <pid/>
  68. <hngnm/>
  69. </patinfolist>
  70. </patinfo>
  71. </main>
  72. <send>
  73. <left>
  74. <savedata/>
  75. <srchdata/>
  76. </left>
  77. <right>
  78. <reqdata/>
  79. </right>
  80. </send>
  81. <hidden/>
  82. <init>
  83. <userlist/>
  84. <orddept/>
  85. </init>
  86. <temp>
  87. <selectdiaglist>
  88. <diagcd/>
  89. <diagengnm/>
  90. </selectdiaglist>
  91. <right_chkyn/>
  92. </temp>
  93. <popupmenu>
  94. <menu>
  95. <item>
  96. <name>대상자 삭제</name>
  97. <func>fDeletePat</func>
  98. </item>
  99. </menu>
  100. </popupmenu>
  101. </root>
  102. </instance>
  103. <script type="javascript" ev:event="xforms-close">
  104. <![CDATA[
  105. ]]>
  106. </script>
  107. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  108. <script type="javascript" ev:event="xforms-ready">
  109. <![CDATA[
  110. fInitialize();
  111. ]]>
  112. </script>
  113. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  114. <submission id="TRMRH00300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/right" resultref="/root/main/grd_right"/>
  115. <submission id="TXMRH00300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/left" resultref="/root/main/grd_left"/>
  116. <submission id="TXMRH00310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/left" resultref="/root/main/grd_left"/>
  117. <submission id="TRMRH00310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/left" resultref="/root/main/grd_left"/>
  118. </model>
  119. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  120. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  121. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  122. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  123. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  124. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  125. <script type="javascript" src="../../../emr/hartbranbldweb/js/MRH00300.js"/>
  126. <script type="javascript" src="../../../emr/hartbranbldweb/js/hartbranbldCommon.js"/>
  127. </xhtml:head>
  128. <xhtml:body scroll="none" pagewidth="1190" pageheight="760">
  129. <group id="grp_1" visibility="visible" scroll="none" style="left:0px; top:0px; width:11908px; height:740px; font-family:바탕; ">
  130. <datagrid id="grd_right" nodeset="/root/main/grd_right" removehscroll="true" removevscroll="true" scroll="auto" caption="^등록번호^환자명^성별^나이^입원일^퇴원일^진료과^주치의^담당의^진단명^병실^전화번호^원무키^진단코드^수진형태" colsep="^" colwidth="30, 55, 55, 30, 30, 70, 69, 70, 50, 50, 150, 50, 30, 30, 30" explorerbar="sortmove" frozencols="3" mergecellsfixedrows="bycolrec" rowsep="|" style="left:535px; top:60px; width:645px; height:670px; font-family:바탕; ">
  131. <col checkvalue="Y,N" ref="chkbox" type="checkbox"/>
  132. <col ref="pid"/>
  133. <col ref="hngnm"/>
  134. <col ref="sex"/>
  135. <col ref="age"/>
  136. <col ref="orddd"/>
  137. <col ref="dschdd"/>
  138. <col ref="depthngnm"/>
  139. <col ref="maindocnm" style="left:330px; top:23px; width:50px; height:23px; "/>
  140. <col ref="subdocnm"/>
  141. <col ref="diagengnm"/>
  142. <col ref="room"/>
  143. <col ref="telno" visibility="hidden"/>
  144. <col ref="cretno" visibility="hidden"/>
  145. <col ref="diagcd" visibility="hidden"/>
  146. <col ref="ordtype" visibility="hidden"/>
  147. <script type="javascript" ev:event="ondblclick">
  148. <![CDATA[
  149. fOpenRec();
  150. ]]>
  151. </script>
  152. </datagrid>
  153. <group id="grp_left" scroll="none" style="left:1px; top:3px; width:525px; height:52px; ">
  154. <input id="input6" ref="/root/main/left_cond/pid" autonext="false" imemode="disabled" maxlength="10" style="left:81px; top:7px; width:102px; height:19px; "/>
  155. <caption id="caption14" class="cell_1" style="left:185px; top:5px; width:75px; height:20px; vertical-align:middle; ">환자명</caption>
  156. <input id="input7" ref="/root/main/left_cond/hngnm" style="left:265px; top:7px; width:80px; height:19px; "/>
  157. <caption id="caption15" class="cell_1" style="left:5px; top:5px; width:74px; height:20px; vertical-align:middle; ">등록번호</caption>
  158. <caption id="caption16" class="cell_1" style="left:185px; top:30px; width:75px; height:20px; vertical-align:middle; ">검색기간</caption>
  159. <caption id="caption17" style="left:369px; top:30px; width:20px; height:20px; ">~</caption>
  160. <caption id="caption18" class="cell_1" style="left:5px; top:30px; width:74px; height:20px; vertical-align:middle; ">검색구분</caption>
  161. <input id="input8" ref="/root/main/left_cond/srch_fromdd" inputtype="date" style="left:265px; top:30px; width:100px; height:19px; "/>
  162. <input id="input9" ref="/root/main/left_cond/srch_todd" inputtype="date" style="left:385px; top:30px; width:95px; height:19px; "/>
  163. <button id="button2" class="btn2_letter2" style="left:390px; top:5px; width:42px; height:19px; ">
  164. <caption>조회</caption>
  165. <script type="javascript" ev:event="DOMActivate">
  166. <![CDATA[
  167. fLeftSearch();
  168. ]]>
  169. </script>
  170. </button>
  171. <button id="button3" class="btn2_letter2" style="left:435px; top:5px; width:42px; height:19px; ">
  172. <caption>저장</caption>
  173. <script type="javascript" ev:event="DOMActivate">
  174. <![CDATA[
  175. fSave();
  176. fLeftSearch();
  177. ]]>
  178. </script>
  179. </button>
  180. <select1 id="combo1" ref="/root/main/left_cond/srch_flag" appearance="minimal" style="left:81px; top:30px; width:103px; height:19px; ">
  181. <choices>
  182. <item>
  183. <label>입원일</label>
  184. <value>I</value>
  185. </item>
  186. <item>
  187. <label>퇴원일</label>
  188. <value>D</value>
  189. </item>
  190. </choices>
  191. </select1>
  192. <button id="button5" class="icon_search" style="left:348px; top:8px; width:16px; height:16px; ">
  193. <caption/>
  194. <script type="javascript" ev:event="DOMActivate">
  195. <![CDATA[
  196. modal("SPPMC02500");
  197. var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
  198. var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  199. model.setValue("/root/main/left_cond/pid", sPid);
  200. model.setValue("/root/main/left_cond/hngnm", sHngnm);
  201. model.refresh();
  202. ]]>
  203. </script>
  204. </button>
  205. <button id="button6" class="btn2_letter2" style="left:480px; top:5px; width:42px; height:19px; ">
  206. <caption>엑셀</caption>
  207. <script type="javascript" ev:event="DOMActivate">
  208. <![CDATA[
  209. excel_save();
  210. ]]>
  211. </script>
  212. </button>
  213. </group>
  214. <datagrid id="grd_left" nodeset="/root/main/grd_left" removehscroll="true" removevscroll="true" scroll="auto" caption="저장구분^지표^C/S^교육^상태^등록번호^환자명^성별^나이^진단명^주호소^입원일자^퇴원일자^입원경로^전화번호^F/U^원무키^수진형태^구분" colsep="^" colwidth="55, 30, 30, 30, 57, 55, 55, 30, 30, 167, 100, 59, 58, 64, 94, 50, 30, 30, 30" explorerbar="sortmove" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:60px; width:530px; height:670px; ">
  215. <col checkvalue="Y,N" ref="saveyn" type="checkbox" visibility="hidden"/>
  216. <col checkvalue="Y,N" ref="indxyn" type="checkbox"/>
  217. <col checkvalue="Y,N" ref="cdstyn" type="checkbox"/>
  218. <col checkvalue="Y,N" ref="eduyn" type="checkbox"/>
  219. <col ref="status" visibility="hidden" style="text-align:center; "/>
  220. <col ref="pid" style="text-align:center; "/>
  221. <col ref="hngnm" style="text-align:center; "/>
  222. <col ref="sex" style="text-align:center; "/>
  223. <col ref="age" style="text-align:center; "/>
  224. <col ref="diagengnm"/>
  225. <col ref="cc"/>
  226. <col ref="orddd" style="text-align:center; "/>
  227. <col ref="dschdd" style="text-align:center; "/>
  228. <col ref="orgordtype" style="text-align:center; "/>
  229. <col ref="telno" style="text-align:center; "/>
  230. <col ref="followup" style="text-align:center; "/>
  231. <col ref="cretno" visibility="hidden"/>
  232. <col ref="ordtype" visibility="hidden"/>
  233. <col ref="recflag" visibility="hidden"/>
  234. <script type="javascript" ev:event="xforms-value-changed">
  235. <![CDATA[
  236. fChangeData();
  237. ]]>
  238. </script>
  239. <script type="javascript" ev:event="onmousedown">
  240. <![CDATA[
  241. setPopupMenu("grd_left", false, "/root/popupmenu/menu/item", "name", "func");
  242. ]]>
  243. </script>
  244. <script type="javascript" ev:event="DOMFocusOut">
  245. <![CDATA[
  246. initPopupMenu();
  247. ]]>
  248. </script>
  249. <script type="javascript" ev:event="onaftersort">
  250. <![CDATA[
  251. grd_left.gridToInstance();
  252. ]]>
  253. </script>
  254. </datagrid>
  255. <group id="grp_right" scroll="none" style="left:533px; top:3px; width:640px; height:52px; border-color:#ffff700; ">
  256. <caption id="caption9" class="cell_1" style="left:5px; top:4px; width:60px; height:20px; text-align:left; vertical-align:middle; ">등록번호</caption>
  257. <input id="input5" ref="/root/main/right_cond/pid" autonext="false" imemode="disabled" maxlength="10" style="left:75px; top:5px; width:102px; height:20; "/>
  258. <caption id="caption5" class="cell_1" style="left:290px; top:5px; width:55px; height:20; text-align:left; vertical-align:middle; ">진 료 과</caption>
  259. <button id="button1" class="btn2_letter2" style="left:557px; top:28px; width:42px; height:19px; ">
  260. <caption>조회</caption>
  261. <script type="javascript" ev:event="DOMActivate">
  262. <![CDATA[
  263. fRightSearch();
  264. ]]>
  265. </script>
  266. </button>
  267. <caption id="caption7" class="cell_1" style="left:475px; top:5px; width:55px; height:20; text-align:left; vertical-align:middle; ">주치의</caption>
  268. <caption id="caption10" class="cell_1" style="left:190px; top:29px; width:40px; height:20px; text-align:left; vertical-align:middle; ">구 분:</caption>
  269. <select1 id="cmb_orddept" ref="/root/main/right_cond/orddeptcd" class="combo_search" appearance="minimal" style="left:350px; top:5px; width:120px; height:20; ">
  270. <choices>
  271. <itemset nodeset="/root/init/orddept/dept">
  272. <label ref="depthngnm"/>
  273. <value ref="deptcd"/>
  274. </itemset>
  275. </choices>
  276. <script type="javascript" ev:event="xforms-value-changed">
  277. <![CDATA[
  278. model.removeNodeset("/root/init/userlist");
  279. model.makeNode("/root/init/userlist/usercombo");
  280. if(cmb_orddept.value == "-"){
  281. model.removeNode("/root/init/userlist/usercombo");
  282. model.makeValue("/root/init/userlist/usercombo/userid", "-");
  283. model.makeValue("/root/init/userlist/usercombo/usernm", "전체");
  284. model.removeNode("/root/init/userlist2/usercombo");
  285. model.makeValue("/root/init/userlist2/usercombo/userid", "-");
  286. model.makeValue("/root/init/userlist2/usercombo/usernm", "전체");
  287. }else{
  288. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cmb_orddept.value, "0330", "", ""); //진료과 의사콤보 조회
  289. addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
  290. }
  291. model.setValue("/root/main/right_cond/medispclid", "-");
  292. model.refresh();
  293. ]]>
  294. </script>
  295. </select1>
  296. <select1 id="cmb_medispclid" ref="/root/main/right_cond/medispclid" appearance="minimal" style="left:535px; top:5px; width:85px; height:20; ">
  297. <choices>
  298. <itemset nodeset="/root/init/userlist/usercombo">
  299. <label ref="usernm"/>
  300. <value ref="userid"/>
  301. </itemset>
  302. </choices>
  303. </select1>
  304. <caption id="caption11" class="cell_1" style="left:308px; top:29px; width:40px; height:20px; text-align:left; vertical-align:middle; ">기 간:</caption>
  305. <input id="input2" ref="/root/main/right_cond/srch_fromdd" inputtype="date" style="left:350px; top:28px; width:90px; height:19px; "/>
  306. <caption id="caption12" style="left:444px; top:30px; width:20px; height:20px; ">~</caption>
  307. <input id="input4" ref="/root/main/right_cond/srch_todd" inputtype="date" style="left:460px; top:28px; width:90px; height:19px; "/>
  308. <button id="btn_patsrch" class="icon_search" style="left:265px; top:5px; width:16px; height:16px; ">
  309. <caption/>
  310. <script type="javascript" ev:event="DOMActivate">
  311. <![CDATA[
  312. modal("SPPMC02500");
  313. var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
  314. var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  315. model.setValue("/root/main/right_cond/pid", sPid);
  316. model.setValue("/root/main/right_cond/hngnm", sHngnm);
  317. model.refresh();
  318. ]]>
  319. </script>
  320. </button>
  321. <input id="input1" ref="/root/main/right_cond/hngnm" autonext="false" imemode="disabled" maxlength="10" style="left:180px; top:5px; width:80px; height:20; "/>
  322. <select1 id="cmb_ioflag" ref="/root/main/right_cond/srch_flag" appearance="minimal" style="left:235px; top:28px; width:60px; height:19px; ">
  323. <choices>
  324. <item>
  325. <label>전체</label>
  326. <value>Z</value>
  327. </item>
  328. <item>
  329. <label>외래</label>
  330. <value>O</value>
  331. </item>
  332. <item>
  333. <label>입원</label>
  334. <value>I</value>
  335. </item>
  336. <item>
  337. <label>재원</label>
  338. <value>A</value>
  339. </item>
  340. <item>
  341. <label>응급</label>
  342. <value>E</value>
  343. </item>
  344. <item>
  345. <label>퇴원</label>
  346. <value>D</value>
  347. </item>
  348. </choices>
  349. </select1>
  350. <caption id="caption2" class="cell_1" style="left:5px; top:27px; width:60px; height:20px; text-align:left; vertical-align:middle; ">진단코드:</caption>
  351. <input id="input3" ref="/root/main/right_cond/diagcd" autonext="false" imemode="disabled" maxlength="10" style="left:75px; top:28px; width:85px; height:19px; "/>
  352. <button id="button4" class="icon_search" visibility="hidden" style="left:165px; top:27px; width:16px; height:16px; ">
  353. <caption/>
  354. <script type="javascript" ev:event="DOMActivate">
  355. <![CDATA[
  356. fClickPopUp("1");
  357. ]]>
  358. </script>
  359. </button>
  360. </group>
  361. <button id="btn_1" class="icon_left" style="left:501px; top:40px; width:26px; height:19px; ">
  362. <caption/>
  363. <script type="javascript" ev:event="onclick">
  364. <![CDATA[
  365. fCopyData();
  366. ]]>
  367. </script>
  368. </button>
  369. <bool id="bool1" checkvalue="Y,N" ref="/root/temp/right_chkyn" style="left:535px; top:60px; width:30px; height:25px; ">
  370. <script type="javascript" ev:event="xforms-value-changed">
  371. <![CDATA[
  372. fStatusyn();
  373. ]]>
  374. </script>
  375. </bool>
  376. </group>
  377. </xhtml:body>
  378. </xhtml:html>