SMMRH00530_예방관리센터 환자관리.xrw 16 KB

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