SMMMO04801_constM.xrw 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common_mobile.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/>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <cnstdd/>
  12. <reqflag/>
  13. <orddeptcd/>
  14. <orddrid/>
  15. <replyn/>
  16. <pid/>
  17. <hngnm/>
  18. <fromdd/>
  19. <todd/>
  20. <ioflag/>
  21. <queryflag>orgin</queryflag>
  22. <sortcol/>
  23. <orderby/>
  24. </cond>
  25. <cnstpatinfo>
  26. <cnstpatlist>
  27. <pid/>
  28. <hngnm/>
  29. <orddd/>
  30. <cretno/>
  31. <reqflag/>
  32. <recvdeptcd/>
  33. <recvuserid/>
  34. <recvusernm/>
  35. <replyn/>
  36. <repldd/>
  37. <repltm/>
  38. <reqdeptcd/>
  39. <reqdeptnm/>
  40. <requserid/>
  41. <requsernm/>
  42. <reqdt/>
  43. <eryn/>
  44. <termengnm/>
  45. <ioflag/>
  46. <roomcd/>
  47. <sa/>
  48. <cnstseq/>
  49. </cnstpatlist>
  50. <cnsttotcnt>
  51. <deptreqcnt/>
  52. <deptrecvcnt/>
  53. <patreqcnt/>
  54. </cnsttotcnt>
  55. </cnstpatinfo>
  56. <totcnt>
  57. <totcnt/>
  58. </totcnt>
  59. <patinfo>
  60. <patinfolist/>
  61. </patinfo>
  62. </main>
  63. <send>
  64. <reqdata/>
  65. <savedata/>
  66. </send>
  67. <hidden>
  68. </hidden>
  69. <init>
  70. <orddept/>
  71. <userlist/>
  72. <rsltgetdata>
  73. <getdata/>
  74. </rsltgetdata>
  75. <M0623/>
  76. </init>
  77. <temp/>
  78. <page>
  79. <curpage>1</curpage>
  80. <maxpage>1</maxpage>
  81. <offset/>
  82. <pagesize>10</pagesize>
  83. </page>
  84. </root>
  85. </instance>
  86. <script type="javascript">
  87. <![CDATA[
  88. var m_bSearchBarShow = false;
  89. function onclick()
  90. {
  91. if ("SoonsuViewer" == document.userAgent)
  92. {
  93. if ("xforms:cell" != document.all(event.target).elementName)
  94. {
  95. pop_group.visible = false;
  96. }
  97. }
  98. else
  99. {
  100. if ("xforms:col" != event.pTarget.elementName)
  101. {
  102. pop_group.visible = false;
  103. }
  104. }
  105. }
  106. ]]>
  107. </script>
  108. <script type="javascript" ev:event="xforms-ready">
  109. <![CDATA[
  110. if ("SoonsuViewer" == document.userAgent)
  111. {
  112. group1.visible = true;
  113. group1.hide(0);
  114. }
  115. fInitialize_SMMMO04800();
  116. ]]>
  117. </script>
  118. <submission id="TRMMB01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/userscrnenvinfo"/>
  119. <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
  120. <submission id="TRMMO04303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/rsltgetdata"/>
  121. <submission id="TRMOB00004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnstpatinfo"/>
  122. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  123. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  124. <submission id="TRMMO04129" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/recinfo"/>
  125. </model>
  126. <script type="javascript" src="../../../emr/smmobileweb/js/mcommon.js"/>
  127. <script type="javascript" src="../../../emr/smmobileweb/js/SMMMO04100M.js"/>
  128. <script type="javascript" src="../../../emr/smmobileweb/js/SMMMO04800M.js"/>
  129. </xhtml:head>
  130. <xhtml:body guideline="1,465;2,300;">
  131. <button id="prepage" class="icon_pre_month" style="left:158px; top:284px; width:16px; height:16px; ">
  132. <caption/>
  133. <script type="javascript" ev:event="onclick">
  134. <![CDATA[
  135. var curpage = parseInt(model.getValue("root/page/curpage"));
  136. if(curpage > 1)
  137. {
  138. curpage = curpage - 1;
  139. model.setValue("root/page/curpage", String(curpage));
  140. fReqCnstPatList("orgin");
  141. }
  142. ]]>
  143. </script>
  144. </button>
  145. <output id="maxpage" ref="/root/page/maxpage" style="left:218px; top:284px; width:40px; height:19px; text-align:center; "/>
  146. <button id="nextpage" class="icon_next_month" style="left:258px; top:284px; width:16px; height:16px; ">
  147. <caption/>
  148. <script type="javascript" ev:event="onclick">
  149. <![CDATA[
  150. var curpage = parseInt(model.getValue("root/page/curpage"));
  151. var maxpage = parseInt(model.getValue("root/page/maxpage"));
  152. if(curpage < maxpage)
  153. {
  154. curpage = curpage + 1;
  155. model.setValue("root/page/curpage", String(curpage));
  156. fReqCnstPatList("orgin");
  157. }
  158. ]]>
  159. </script>
  160. </button>
  161. <datagrid id="grd_cnstpatlist" nodeset="/root/main/cnstpatinfo/cnstpatlist" caption="등록번호^성명^S/A^의뢰의사^의뢰과^의뢰일시^병실^회신여부^진단명^회신의사" colsep="^" colwidth="70, 70, 56, 68, 89, 106, 52, 57, 232, 65" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:25px; width:463px; height:255px; ">
  162. <col ref="pid" style="text-align:center; "/>
  163. <col ref="hngnm" style="text-align:center; "/>
  164. <col ref="sa" style="text-align:center; "/>
  165. <col ref="requsernm" style="text-align:center; "/>
  166. <col ref="reqdeptnm" style="text-align:center; "/>
  167. <col ref="reqdt" format="yyyy-mm-dd hh:mm" style="text-align:center; "/>
  168. <col ref="roomcd" style="text-align:center; "/>
  169. <col disabled="true" ref="replyn" type="combo" style="text-align:center; ">
  170. <choices>
  171. <item>
  172. <label>Y</label>
  173. <value>Y</value>
  174. </item>
  175. <item>
  176. <label>N</label>
  177. <value>N</value>
  178. </item>
  179. </choices>
  180. </col>
  181. <col ref="termengnm"/>
  182. <col ref="recvusernm" style="text-align:left; "/>
  183. <script type="javascript" ev:event="onclick">
  184. <![CDATA[
  185. var row = grd_cnstpatlist.row;
  186. if (isDataCell() == true) {
  187. model.property("pid") = model.getValue("/root/main/cnstpatinfo/cnstpatlist[" + row + "]/pid"); //환자번호
  188. model.property("hngnm") = model.getValue("/root/main/cnstpatinfo/cnstpatlist[" + row + "]/hngnm"); //환자이름
  189. model.property("indd") = model.getValue("/root/main/cnstpatinfo/cnstpatlist[" + row + "]/orddd"); //입원일자
  190. model.property("cretno") = model.getValue("/root/main/cnstpatinfo/cnstpatlist[" + row + "]/cretno"); //접수번호
  191. model.property("orddeptcd") = model.getValue("/root/main/cnstpatinfo/cnstpatlist[" + row + "]/reqdeptcd"); //진료과코드
  192. model.property("deptnm") = model.getValue("/root/main/cnstpatinfo/cnstpatlist[" + row + "]/reqdeptnm"); //진료과명
  193. model.property("medispclnm") = model.getValue("/root/main/cnstpatinfo/cnstpatlist[" + row + "]/requsernm"); //주치의명
  194. model.property("medispclid") = model.getValue("/root/main/cnstpatinfo/cnstpatlist[" + row + "]/requserid"); //주치의ID
  195. model.property("sexage") = model.getValue("/root/main/cnstpatinfo/cnstpatlist[" + row + "]/sa"); //나이성별
  196. model.property("wardroomnm") = model.getValue("/root/main/cnstpatinfo/cnstpatlist[" + row + "]/wardroomnm"); //병동병실
  197. model.property("wardcd") = model.getValue("/root/main/cnstpatinfo/cnstpatlist[" + row + "]/wardcd"); //병동코드
  198. }
  199. pop_group.attribute("left") = (event.clientX - 10) + "px";
  200. pop_group.attribute("top") = (event.clientY - 10) + "px";
  201. pop_group.visible = true;
  202. ]]>
  203. </script>
  204. </datagrid>
  205. <caption id="caption3" class="tit_2" style="left:0px; top:0px; width:140px; height:13px; vertical-align:middle; "> CONSULT</caption>
  206. <button id="button1" class="btn3_letter2" style="left:390px; top:0px; width:56px; height:22px; ">
  207. <caption>검색</caption>
  208. <script type="javascript" ev:event="onclick">
  209. <![CDATA[
  210. ///////////////////////////////////////////////////////////////////////////// 추가된 부분
  211. if ("SoonsuViewer" == document.userAgent)
  212. {
  213. if (m_bSearchBarShow)
  214. {
  215. group1.hide("slow");
  216. m_bSearchBarShow = false;
  217. }
  218. else
  219. {
  220. group1.show("slow");
  221. m_bSearchBarShow = true;
  222. }
  223. }
  224. else
  225. {
  226. if (m_bSearchBarShow)
  227. {
  228. group1.visible = false;
  229. m_bSearchBarShow = false;
  230. }
  231. else
  232. {
  233. group1.visible = true;
  234. m_bSearchBarShow = true;
  235. }
  236. }
  237. /////////////////////////////////////////////////////////////////////////////
  238. mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept" , "D", String(getCurrentDate())); //부서코드 콤보
  239. addComboInstance("/root/init/orddept", "deptcd^depthngnm", "-^전체", "dept"); //부서콤보 Item '전체'추가
  240. //cmb_orddept.select(0);
  241. model.setValue("/root/main/cond/orddeptcd", getUserInfo("dutplcecd")); //로그인한 부서
  242. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cmb_orddept.value, "0330", "", "", String(getCurrentDate()), "N");
  243. addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
  244. cmb_orddrid.select(0);
  245. ]]>
  246. </script>
  247. </button>
  248. <output id="curpage" ref="/root/page/curpage" style="left:175px; top:284px; width:40px; height:19px; text-align:center; "/>
  249. <group id="pop_group" visibility="hidden" overflow="hidden" style="left:320px; top:85px; width:125px; height:215px; background-color:#e4e5e7; border-color:#bdc0c5; border-width:1px; border-style:solid; ">
  250. <button id="btn_pop1" class="btn_mobile2" style="left:9px; top:4px; width:73px; height:23px; ">
  251. <caption>처방조회</caption>
  252. <script type="javascript" ev:event="onclick">
  253. <![CDATA[
  254. window.load("SPMMO14901_orderSurchM.xrw", "modeless");
  255. ]]>
  256. </script>
  257. </button>
  258. <button id="button2" class="btn_mobile2" style="left:9px; top:32px; width:100px; height:23px; ">
  259. <caption>환자요약</caption>
  260. <script type="javascript" ev:event="onclick">
  261. <![CDATA[
  262. window.load("SSMMR04801_SummaryM.xrw", "modeless");
  263. ]]>
  264. </script>
  265. </button>
  266. <button id="button3" class="btn_mobile2" style="left:9px; top:59px; width:100px; height:23px; ">
  267. <caption>I/O조회</caption>
  268. <script type="javascript" ev:event="onclick">
  269. <![CDATA[
  270. window.load("SPMNR05801_IOSurchM.xrw", "modeless");
  271. ]]>
  272. </script>
  273. </button>
  274. <button id="button4" class="btn_mobile2" style="left:9px; top:86px; width:100px; height:23px; ">
  275. <caption>약품편람</caption>
  276. <script type="javascript" ev:event="onclick">
  277. <![CDATA[
  278. window.load("SMADB01901_druginfoM.xrw", "modeless");
  279. ]]>
  280. </script>
  281. </button>
  282. <button id="button5" class="btn_mobile2" style="left:9px; top:112px; width:100px; height:23px; ">
  283. <caption>진료정보</caption>
  284. <script type="javascript" ev:event="onclick">
  285. <![CDATA[
  286. window.load("SMMMO02501_PatPrcpSrcM.xrw", "modeless");
  287. ]]>
  288. </script>
  289. </button>
  290. <button id="button6" class="btn_mobile2" style="left:9px; top:139px; width:100px; height:23px; ">
  291. <caption>기록조회</caption>
  292. <script type="javascript" ev:event="onclick">
  293. <![CDATA[
  294. window.load("SMMMO04201_DoctRecordListM.xrw", "modeless");
  295. ]]>
  296. </script>
  297. </button>
  298. <button id="button7" class="btn_mobile2" style="left:9px; top:164px; width:100px; height:23px; ">
  299. <caption>임상관찰</caption>
  300. <script type="javascript" ev:event="onclick">
  301. <![CDATA[
  302. window.load("SMMOB00900_NurseItemRecord.xrw", "modeless");
  303. ]]>
  304. </script>
  305. </button>
  306. <button id="button8" class="btn_mobile2" style="left:9px; top:189px; width:100px; height:23px; ">
  307. <caption>검사결과</caption>
  308. <script type="javascript" ev:event="onclick">
  309. <![CDATA[
  310. window.load("SMAER0081M_TestRsltSearchM.xrw", "modeless");
  311. ]]>
  312. </script>
  313. </button>
  314. </group>
  315. <group id="group1" visibility="hidden" overflow="hidden" style="left:2px; top:25px; width:463px; height:200px; background-color:transparent; border-color:transparent; ">
  316. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:463px; height:195px; background-color:#fffbf2; "/>
  317. <button id="btn_req" class="btn1_letter2" style="left:400px; top:160px; width:56px; height:22px; ">
  318. <caption>조회</caption>
  319. <script type="javascript" ev:event="DOMActivate">
  320. <![CDATA[
  321. fReqCnstPatList("orgin");
  322. ///////////////////////////////////////////////////////////////////////////// 추가된 부분
  323. if ("SoonsuViewer" == document.userAgent)
  324. {
  325. group1.hide("slow");
  326. m_bSearchBarShow = false;
  327. }
  328. else
  329. {
  330. group1.visible = false;
  331. m_bSearchBarShow = false;
  332. }
  333. /////////////////////////////////////////////////////////////////////////////
  334. ]]>
  335. </script>
  336. </button>
  337. <select1 id="cmb_orddrid" ref="/root/main/cond/orddrid" class="combo_default" appearance="minimal" itemcount="30" style="left:86px; top:73px; width:90px; height:19px; ">
  338. <choices>
  339. <itemset nodeset="/root/init/userlist/usercombo">
  340. <label ref="usernm"/>
  341. <value ref="userid"/>
  342. </itemset>
  343. </choices>
  344. </select1>
  345. <input id="ipt_cnstdd" ref="/root/main/cond/fromdd" inputtype="date" style="left:86px; top:9px; width:90px; height:19px; "/>
  346. <select1 id="cmb_replyn" ref="/root/main/cond/replyn" class="combo_default" appearance="minimal" style="left:86px; top:31px; width:90px; height:19px; ">
  347. <choices>
  348. <item>
  349. <label>전체</label>
  350. <value>-</value>
  351. </item>
  352. <item>
  353. <label>Y</label>
  354. <value>Y</value>
  355. </item>
  356. <item>
  357. <label>N</label>
  358. <value>N</value>
  359. </item>
  360. </choices>
  361. </select1>
  362. <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" maxlength="10" style="left:86px; top:95px; width:90px; height:19px; "/>
  363. <input id="ipt_deptrevcnt" ref="/root/main/cnstpatinfo/cnsttotcnt/deptrecvcnt" style="left:400px; top:100px; width:55px; height:19px; text-align:center; "/>
  364. <caption id="caption1" class="search_name" style="left:202px; top:53px; width:76px; height:17px; ">진 료 과</caption>
  365. <caption id="caption10" class="search_name" style="left:287px; top:9px; width:76px; height:17px; ">의뢰구분</caption>
  366. <caption id="caption2" style="left:291px; top:51px; width:30px; height:20px; font-weight:bold; vertical-align:middle; margin-left:20; margin-top:8; ">명</caption>
  367. <caption id="caption11" class="search_name" style="left:5px; top:31px; width:76px; height:17px; ">회신구분</caption>
  368. <select1 id="combo1" ref="/root/main/cond/ioflag" class="combo_default" appearance="minimal" style="left:280px; top:31px; width:175px; height:19px; ">
  369. <choices>
  370. <item>
  371. <label>전체</label>
  372. <value>-</value>
  373. </item>
  374. <item>
  375. <label>입원</label>
  376. <value>I</value>
  377. </item>
  378. <item>
  379. <label>DSC</label>
  380. <value>D</value>
  381. </item>
  382. <item>
  383. <label>응급</label>
  384. <value>E</value>
  385. </item>
  386. </choices>
  387. </select1>
  388. <caption id="caption4" class="search_name" style="left:5px; top:95px; width:76px; height:17px; ">등록번호</caption>
  389. <input id="ipt_hngnm" ref="/root/main/cond/hngnm" class="input_search" style="left:86px; top:52px; width:90px; height:19px; "/>
  390. <button id="btn_deptrevcnt" class="btn1_letter7" style="left:280px; top:100px; width:116px; height:22px; ">
  391. <caption>과별 받은건</caption>
  392. <script type="javascript" ev:event="DOMActivate">
  393. <![CDATA[
  394. fReqCnstPatList("recv");
  395. ]]>
  396. </script>
  397. </button>
  398. <input id="ipt_deptreqcnt" ref="/root/main/cnstpatinfo/cnsttotcnt/deptreqcnt" style="left:400px; top:75px; width:55px; height:19px; text-align:center; "/>
  399. <caption id="caption5" class="search_name" style="left:202px; top:31px; width:76px; height:17px; ">진료구분</caption>
  400. <caption id="caption6" class="search_name" style="left:5px; top:9px; width:76px; height:17px; ">의 뢰 일</caption>
  401. <input id="input1" ref="/root/main/cond/todd" inputtype="date" style="left:193px; top:9px; width:90px; height:19px; ">
  402. <![CDATA[-->]]>
  403. </input>
  404. <caption id="caption7" style="left:177px; top:11px; width:15px; height:20px; ">~</caption>
  405. <caption id="caption8" class="search_name" style="left:5px; top:73px; width:76px; height:17px; ">진 료 의</caption>
  406. <caption id="caption9" class="search_name" style="left:5px; top:52px; width:76px; height:17px; ">성 명</caption>
  407. <select1 id="cmb_orddept" ref="/root/main/cond/orddeptcd" class="combo_default" appearance="minimal" editmode="search" style="left:280px; top:53px; width:175px; height:19px; ">
  408. <choices>
  409. <itemset nodeset="/root/init/orddept/dept">
  410. <label ref="depthngnm"/>
  411. <value ref="deptcd"/>
  412. </itemset>
  413. </choices>
  414. <script type="javascript" ev:event="xforms-value-changed">
  415. <![CDATA[
  416. model.removeNodeset("/root/init/userlist");
  417. model.makeNode("/root/init/userlist/usercombo");
  418. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cmb_orddept.value, "0330", "", "", String(getCurrentDate()), "N");
  419. addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
  420. model.setValue("/root/main/cond/orddrid", "-");
  421. model.refresh();
  422. //fReqCnstPatList("orgin");
  423. ]]>
  424. </script>
  425. </select1>
  426. <button id="btn_patcnt" class="btn1_letter7" visibility="visible" style="left:280px; top:124px; width:116px; height:22px; ">
  427. <caption>환자별보낸건</caption>
  428. <script type="javascript" ev:event="DOMActivate">
  429. <![CDATA[
  430. fReqCnstPatList("pid");
  431. ]]>
  432. </script>
  433. </button>
  434. <input id="ipt_patcnt" ref="/root/main/cnstpatinfo/cnsttotcnt/patreqcnt" visibility="visible" style="left:400px; top:124px; width:55px; height:19px; text-align:center; "/>
  435. <button id="btn_deptreqcnt" class="btn1_letter7" style="left:280px; top:75px; width:116px; height:22px; ">
  436. <caption>과별 보낸건</caption>
  437. <script type="javascript" ev:event="DOMActivate">
  438. <![CDATA[
  439. fReqCnstPatList("req");
  440. ]]>
  441. </script>
  442. </button>
  443. <select1 id="cmb_reqflag" ref="/root/main/cond/reqflag" class="combo_default" appearance="minimal" style="left:366px; top:9px; width:90px; height:19px; ">
  444. <choices>
  445. <item>
  446. <label>전체</label>
  447. <value>-</value>
  448. </item>
  449. <item>
  450. <label>진료의뢰</label>
  451. <value>1</value>
  452. </item>
  453. <item>
  454. <label>협진</label>
  455. <value>2</value>
  456. </item>
  457. <item>
  458. <label>타과의뢰</label>
  459. <value>3</value>
  460. </item>
  461. </choices>
  462. </select1>
  463. </group>
  464. </xhtml:body>
  465. </xhtml:html>