SMMMR05000_CONSULT관리.xrw 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  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>Consult 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root>
  9. <main>
  10. <!--medireclist/-->
  11. <cnstlist/>
  12. <cnstsum/>
  13. <cnsttotal>
  14. <dpsend/>
  15. <dprecv/>
  16. <usersend/>
  17. <userrecv/>
  18. </cnsttotal>
  19. <patinfo>
  20. <patinfolist>
  21. <pid/>
  22. <hngnm/>
  23. <agesex/>
  24. <age/>
  25. <sex/>
  26. </patinfolist>
  27. </patinfo>
  28. <result>
  29. <patinfo>
  30. <list/>
  31. </patinfo>
  32. <paminfo>
  33. <list/>
  34. </paminfo>
  35. </result>
  36. <popupendflag/>
  37. <cmbformlist>
  38. <cnstform/>
  39. </cmbformlist>
  40. <cond>
  41. <checkallitem/>
  42. </cond>
  43. <cnstwardlist>
  44. <cnstward>
  45. <cnstwardcd/>
  46. <cnstwardnm/>
  47. </cnstward>
  48. </cnstwardlist>
  49. </main>
  50. <send>
  51. <condflag/>
  52. <statflag/>
  53. <inflag/>
  54. <prestdd/>
  55. <reqfromdd/>
  56. <reqtodd/>
  57. <userdeptcd/>
  58. <userid/>
  59. <pid/>
  60. <formcd/>
  61. <ioflag/>
  62. <wardcd/>
  63. <srchflag/>
  64. </send>
  65. <hidden>
  66. <formrecmast>
  67. <formrecdd/>
  68. <formrectm/>
  69. </formrecmast>
  70. <reqdetlflag>
  71. <reqnm/>
  72. <reqcd/>
  73. </reqdetlflag>
  74. <rtncnt/>
  75. </hidden>
  76. <presend>
  77. <statflag/>
  78. <inflag/>
  79. </presend>
  80. <init>
  81. <reqmedireclist>
  82. <diffdt/>
  83. </reqmedireclist>
  84. <srchnm/>
  85. <patinfo/>
  86. <cnstreqmsrght>
  87. <!-- <mouserght>
  88. <label>회신처리</label>
  89. <func>fSetRepl</func>
  90. </mouserght>-->
  91. <!-- 2013/02/14 Start
  92. <mouserght>
  93. <label>의뢰취소</label>
  94. <func>fSetCnstCancel</func>
  95. </mouserght>
  96. 2013/02/14 End-->
  97. <!--<mouserght>
  98. <label>상단연계</label>
  99. <func>fSelPatInfo</func>
  100. </mouserght>-->
  101. </cnstreqmsrght>
  102. <cnstrecvmsrght>
  103. <!-- 2013/02/14 Start
  104. <mouserght>
  105. <label>의뢰확정취소</label>
  106. <func>fSetReqFixCancel</func>
  107. </mouserght>
  108. 2013/02/14 End-->
  109. <!--<mouserght>
  110. <label>상단연계</label>
  111. <func>fSelPatInfo</func>
  112. </mouserght>-->
  113. </cnstrecvmsrght>
  114. <cnstrecvmsrghtpat>
  115. <!--<mouserght>
  116. <label>상단연계</label>
  117. <func>fSelPatInfo</func>
  118. </mouserght>-->
  119. </cnstrecvmsrghtpat>
  120. <replinfo/>
  121. <deptlist/>
  122. <userlist/>
  123. <paminfoyn/>
  124. <orddept2/>
  125. </init>
  126. <source>
  127. <srchcond/>
  128. <pid/>
  129. <hngnm/>
  130. </source>
  131. <cond>
  132. <orddeptcd/>
  133. <orddrid/>
  134. </cond>
  135. <temp/>
  136. <edudept/>
  137. <popupmenu>
  138. <item>
  139. <name>의뢰상태변경</name>
  140. <func>fCnststatChng</func>
  141. </item>
  142. </popupmenu>
  143. <tmp>
  144. <condflag/>
  145. </tmp>
  146. </root>
  147. </instance>
  148. <script type="javascript" ev:event="xforms-ready">
  149. <![CDATA[
  150. fInitalize();
  151. //2012/01/19 재활고려서식에서 열었을때
  152. if(opener.javascript.getParameter("opener_kind")=="koryo"){
  153. fNewCnst("1");
  154. }
  155. //2012/01/19
  156. ]]>
  157. </script>
  158. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
  159. <submission id="TRMMR05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cnstsum"/>
  160. <submission id="TRMMR05002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cnstlist"/>
  161. <submission id="TRMMR04901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cnstdeptlist"/>
  162. <submission id="TRMMR04902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cnstformlist"/>
  163. <submission id="TRMMR04904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cnstwardlist"/>
  164. <!--<submission id="TXMMR05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/rtncnt"/>-->
  165. <submission id="TXMMR05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden/rtncnt"/>
  166. <submission id="TXMMR05002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/savedinfo"/>
  167. <submission id="TRMMO04103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/deptlist"/>
  168. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  169. <submission id="TXMMR05003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rsltinfo"/>
  170. <submission id="TXMMR05004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  171. <submission id="TRMMB01104" mediatype="application/x-www-form-urlencoded" method="post"/>
  172. <submission id="TRMMR05003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/edudept/edudeptlist"/>
  173. <submission id="TXMMR05005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  174. </model>
  175. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  176. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  177. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  178. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  179. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  180. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  181. <script type="javascript" src="../../../emr/medirecweb/js/MMRCommon.js"/>
  182. <script type="javascript" src="../../../emr/medirecweb/js/MMR05000.js"/>
  183. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04100.js"/>
  184. <!--<script type="javascript" src="../../../emr/medirecweb/js/MMR00100.js"/>-->
  185. </xhtml:head>
  186. <xhtml:body guideline="1,1194;1,595;2,783;1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  187. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  188. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:135px; height:14px; ">CONSULT 관리</caption>
  189. </group>
  190. <group id="grp_base" style="left:0px; top:13px; width:1195px; height:770px; ">
  191. <button id="button12" visibility="hidden" style="left:905px; top:0px; width:45px; height:25px; ">
  192. <caption>button12</caption>
  193. <script type="javascript" ev:event="DOMActivate">
  194. <![CDATA[
  195. //의뢰 회신
  196. var formrecseq = 800000000011475;
  197. var replcnts = "회신탭화면의 내용 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n "; //회신탭화면의 내용
  198. setParameter("openmode", "reccnstform");
  199. setParameter("userdeptcd", "3250100000");
  200. setParameter("formrecseq", formrecseq);
  201. setParameter("overwrite", "true");
  202. setParameter("replcnts", replcnts);
  203. modal("SSMMR01100", 1, 0, 0, "", "", "");
  204. //의뢰
  205. /*
  206. setParameter("openmode", "newcnstform"); //오픈모드
  207. setParameter("pid", "12416678"); //등록번호
  208. setParameter("orddd", "20080826"); //진료일
  209. setParameter("cretno", "1"); //생성번호
  210. setParameter("ioflag", "I"); //내원구분
  211. setParameter("orddeptcd", "2060000000"); //진료과
  212. setParameter("orddrid", "98015255"); //주치의(진료의)
  213. setParameter("formcd", "0000003018"); //서식코드
  214. setParameter("SMMMR04900_cnstflag", "3"); //의뢰구분(1:진료의뢰, 3:타과의뢰)
  215. setParameter("SMMMR04900_replflag", "R"); //의뢰없는회신일경우 R로 셋팅
  216. setParameter("SMMMR04900_cnstdeptcd", "3250100000"); //수신과코드
  217. setParameter("SMMMR04900_cnstdeptnm", "영양팀"); //수신과명
  218. setParameter("SMMMR04900_reqdpcd", "2060000000"); //의뢰과코드
  219. setParameter("SMMMR04900_reqdpnm", "신경외과"); //의뢰과명
  220. setParameter("SMMMR04900_reqdrid", "98015255"); //주치의아이디
  221. setParameter("SMMMR04900_reqdrnm", "이관성"); //주치의명
  222. setParameter("SMMMR04900_formnm", "영양평가 의뢰"); //서식명
  223. setParameter("replcnts", "새서식 회신 내용 테스트"); //자동입력내용
  224. setParameter("overwrite", "true"); //기록 덮어쓰기여부
  225. modal("SSMMR01100", 1, 0, 0, "", "", "");*/
  226. ]]>
  227. </script>
  228. </button>
  229. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:111px; height:13px; ">Consult 목록</caption>
  230. <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:589px; y2:26px; "/>
  231. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:31px; width:589px; height:203px; background-color:#fffbf2; border-color:#ffd799; "/>
  232. <datagrid id="grd_cnstlist" nodeset="/root/main/cnstlist" caption="^컨설트명^구분^상태^응급^I/O^의뢰일시^등록번호^성명^수신부서^수신자^수신부서코드^의뢰부서^의뢰자^의뢰과담당의ID^의뢰과&#xA;담당의^의뢰과주치의ID^의뢰과&#xA;주치의^최초회신일시^회신자ID^최초회신자^소요일^입원일^퇴원일^병동코드^병동^병실^기록&#xA;순번^컨설트상태^컨설트구분^서식코드^입력자^입력자ID^수신부서코두^수신자ID^서명번호^총회신수^최종회신자ID^최종회신자^최종회신일시^mig^cnfmyn" colsep="^" colwidth="30,100,60,55,30,30,100,65,65,85,65,45,85,65,10,65,10,65,100,12,65,40,70,70,26,70,70,50,0,0,0,65,0,0,0,0,30,0,65,100,0,0" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:255px; width:589px; height:515px; text-align:center; ">
  233. <col checkvalue="Y,N" ref="checkflag" type="checkbox"/>
  234. <col ref="formnm"/>
  235. <col ref="gubunflag"/>
  236. <col ref="cnststatnm" style="text-align:center; "/>
  237. <col ref="eryn" format="hh:nn" style="font-weight:bold; color:#ff0000; text-align:center; "/>
  238. <col disabled="true" ref="chosflag" style="text-align:center; "/>
  239. <col ref="reqdd" format="yyyy-mm-dd hh:nn"/>
  240. <col ref="pid"/>
  241. <col ref="pidnm"/>
  242. <col ref="recvdeptnm" style="text-align:center; "/>
  243. <col ref="recvusernm" style="text-align:center; "/>
  244. <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
  245. <col ref="reqdeptnm" style="text-align:center; "/>
  246. <col ref="requsernm"/>
  247. <col ref="medispclid" visibility="hidden" style="text-align:center; "/>
  248. <col ref="atdoctnm" style="text-align:center; "/>
  249. <col ref="atdoctid" visibility="hidden" style="text-align:center; "/>
  250. <col ref="medispclnm" visibility="hidden" style="text-align:center; "/>
  251. <col ref="repldd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  252. <col ref="repluserid" visibility="hidden"/>
  253. <col ref="replusernm"/>
  254. <col ref="ddcnt" style="text-align:center; "/>
  255. <col ref="indd" format="yyyy-mm-dd"/>
  256. <col ref="dschdd" format="yyyy-mm-dd"/>
  257. <col ref="wardcd" visibility="hidden"/>
  258. <col ref="wardnm"/>
  259. <col ref="roomcd"/>
  260. <col ref="formrecseq"/>
  261. <col ref="cnststat" visibility="hidden"/>
  262. <col ref="cnstflag" visibility="hidden"/>
  263. <col ref="formcd" visibility="hidden"/>
  264. <col ref="inptusernm" style="text-align:center; "/>
  265. <col ref="inptuserid" visibility="hidden" style="text-align:center; "/>
  266. <col ref="recvdeptcd" visibility="hidden"/>
  267. <col ref="recvuserid" visibility="hidden"/>
  268. <col ref="signno" visibility="hidden"/>
  269. <col ref="replcnt" style="text-align:center; "/>
  270. <col ref="lastrepluserid" visibility="hidden"/>
  271. <col ref="lastreplusernm" style="text-align:center; "/>
  272. <col ref="lastrepldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  273. <col ref="mig" visibility="hidden"/>
  274. <col ref="cnfmyn" visibility="hidden"/>
  275. <col ref="lastid" visibility="hidden"/>
  276. <script type="javascript" ev:event="ondblclick">
  277. <![CDATA[
  278. /*if (model.getValue("/root/init/paminfoyn") == "Y"){
  279. fSelPatInfo();
  280. }*/
  281. fDbClickCnstList();
  282. /*if (model.getValue("/root/init/paminfoyn") == "Y" && re == true){
  283. fChngEMRScrn();
  284. } */
  285. ]]>
  286. </script>
  287. <script type="javascript" ev:event="onmousedown">
  288. <![CDATA[
  289. // 2013/02/20 Start
  290. // fCnstListMouseRight();
  291. //2013/02/20 End
  292. ]]>
  293. </script>
  294. <script type="javascript" ev:event="DOMFocusOut">
  295. <![CDATA[
  296. window.setPopupMenu(false);
  297. ]]>
  298. </script>
  299. <script type="javascript" ev:event="onaftersort">
  300. <![CDATA[
  301. grd_cnstlist.gridToInstance();
  302. ]]>
  303. </script>
  304. <script type="javascript" ev:event="onmouseover">
  305. <![CDATA[
  306. if (grd_cnstlist.isCell(event.target) && grd_cnstlist.mouseRow >= grd_cnstlist.fixedrows) {
  307. if (grd_cnstlist.mouseCol == grd_cnstlist.colRef("roomcd")) {
  308. grd_cnstlist.hint = grd_cnstlist.valueMatrix(grd_cnstlist.mouseRow, grd_cnstlist.mouseCol);
  309. } else {
  310. grd_cnstlist.hint = "";
  311. }
  312. }
  313. ]]>
  314. </script>
  315. <script type="javascript" ev:event="DOMFocusIn">
  316. <![CDATA[
  317. window.setPopupMenu(true);
  318. ]]>
  319. </script>
  320. <script type="javascript" ev:event="onrowchanged">
  321. <![CDATA[
  322. var userid = getUserInfo("userid");
  323. if ( event.button == 3 ){
  324. if ( model.getValue("/root/main/cnstlist[" + grd_cnstlist.row + "]/cnststat") == "20" ){
  325. window.setPopupMenu(true, "/root/popupmenu/item", "name", "func", false);
  326. }else{
  327. window.setPopupMenu(false);
  328. }
  329. }
  330. model.refresh();
  331. ]]>
  332. </script>
  333. <script type="javascript" ev:event="onclick">
  334. <![CDATA[
  335. // var userid = getUserInfo("userid");
  336. //
  337. // if ( grd_cnstlist.isCell(event.target) ){
  338. // if( model.getValue("/root/main/cnstlist[" + grd_cnstlist.row + "]/lastid") == userid && model.getValue("/root/main/cnstlist[" + grd_cnstlist.row + "]/cnststat") == "20" ){
  339. // btn_cnststatflag.visible = true;
  340. // }else{
  341. // btn_cnststatflag.visible = false;
  342. // }
  343. // }
  344. // model.refresh();
  345. ]]>
  346. </script>
  347. </datagrid>
  348. <line id="line2" class="line_1" style="x1:596px; y1:26px; x2:1193px; y2:26px; "/>
  349. <button id="button1" class="btn1_letter2" visibility="hidden" style="left:375px; top:3px; width:56px; height:22px; ">
  350. <caption>조회</caption>
  351. <script type="javascript" ev:event="DOMActivate">
  352. <![CDATA[
  353. setParameter("openmode", "deptcnstform");
  354. setParameter("formrecseq", grd_cnstlist.valueMatrix(grd_cnstlist.row, grd_cnstlist.colRef("reqformrecseq")));
  355. setParameter("overwrite", "false");
  356. setParameter("replcnts", "Hello!");
  357. modal("../../../emr/medirecweb/xrw/SSMMR01100_서식로더.xrw", 1, 0, 0, "", "", "");
  358. ]]>
  359. </script>
  360. </button>
  361. <button id="button2" class="btn1_letter7" style="left:465px; top:87px; width:116px; height:22px; ">
  362. <caption>개인별 보낸건</caption>
  363. <script type="javascript" ev:event="DOMActivate">
  364. <![CDATA[
  365. fGetCnstlist("userreq");
  366. ]]>
  367. </script>
  368. </button>
  369. <button id="button4" class="btn1_letter7" style="left:465px; top:110px; width:116px; height:22px; ">
  370. <caption>개인별 받은건</caption>
  371. <script type="javascript" ev:event="DOMActivate">
  372. <![CDATA[
  373. fGetCnstlist("userrecv");
  374. ]]>
  375. </script>
  376. </button>
  377. <button id="button5" class="btn1_letter7" style="left:465px; top:156px; width:116px; height:22px; ">
  378. <caption>과별 받은건</caption>
  379. <script type="javascript" ev:event="DOMActivate">
  380. <![CDATA[
  381. fGetCnstlist("deptrecv");
  382. ]]>
  383. </script>
  384. </button>
  385. <button id="button6" class="btn1_letter7" style="left:465px; top:133px; width:116px; height:22px; ">
  386. <caption>과별 보낸건</caption>
  387. <script type="javascript" ev:event="DOMActivate">
  388. <![CDATA[
  389. fGetCnstlist("deptreq");
  390. ]]>
  391. </script>
  392. </button>
  393. <button id="button7" class="btn1_letter7" style="left:465px; top:41px; width:116px; height:22px; ">
  394. <caption>환자별 보낸건</caption>
  395. <script type="javascript" ev:event="DOMActivate">
  396. <![CDATA[
  397. fGetCnstlist("pidreq");
  398. ]]>
  399. </script>
  400. </button>
  401. <button id="button8" class="btn1_letter7" style="left:465px; top:64px; width:116px; height:22px; ">
  402. <caption>환자별 받은건</caption>
  403. <script type="javascript" ev:event="DOMActivate">
  404. <![CDATA[
  405. fGetCnstlist("pidrecv");
  406. ]]>
  407. </script>
  408. </button>
  409. <button id="button3" class="btn1_letter6" style="left:340px; top:110px; width:104px; height:22px; ">
  410. <caption>환자별 모든건</caption>
  411. <script type="javascript" ev:event="DOMActivate">
  412. <![CDATA[
  413. fGetCnstlist("pidall");
  414. ]]>
  415. </script>
  416. </button>
  417. <caption id="caption2" class="search_name" style="left:6px; top:59px; width:86px; height:17px; ">의뢰일자 :</caption>
  418. <input id="ipt_pid" ref="/root/send/pid" class="input_s_essential" navindex="1" autonext="false" style="left:100px; top:110px; width:70px; height:19px; ">
  419. <script type="javascript" ev:event="onkeypress">
  420. <![CDATA[
  421. if(event.keyCode == "13") {
  422. fPidKeyPress();
  423. }
  424. ]]>
  425. </script>
  426. </input>
  427. <caption id="caption3" class="search_name" style="left:5px; top:110px; width:86px; height:17px; ">등록번호 :</caption>
  428. <button id="btn_search" class="icon_search" navindex="5" style="left:175px; top:110px; width:16px; height:16px; ">
  429. <caption/>
  430. <script type="javascript" ev:event="DOMActivate">
  431. <![CDATA[
  432. fPopPtinfo();
  433. ]]>
  434. </script>
  435. </button>
  436. <select id="checkbox1" ref="/root/presend/statflag" overflow="visible" appearance="full" cellspacing="7" cols="2" sep="|" style="left:100px; top:85px; width:195px; height:20px; border-style:none; ">
  437. <choices>
  438. <item>
  439. <label>회신 자료만</label>
  440. <value>repl</value>
  441. </item>
  442. <item>
  443. <label>회신 자료 제외</label>
  444. <value>req</value>
  445. </item>
  446. </choices>
  447. </select>
  448. <datagrid id="datagrid1" nodeset="/root/main/cnstsum" visibility="hidden" caption="과별보낸건^과별보낸건^과별보낸건^과별받은건^과별받은건^과별받은건^개인별보낸건^개인별보낸건^개인별보낸건^개인별받은건^개인별받은건^개인별받은건" colsep="^" colwidth="48, 14, 48, 48, 14, 48, 48, 14, 48, 48, 14, 48" mergecellsfixedrows="bycolrec" rowsep="|" style="left:45px; top:350px; width:442px; height:48px; ">
  449. <col ref="deptreqrepl" style="text-align:right; "/>
  450. <col ref="tmp" style="text-align:center; "/>
  451. <col ref="deptreqall" style="text-align:left; "/>
  452. <col ref="deptrecvrepl" style="text-align:right; "/>
  453. <col ref="tmp" style="text-align:center; "/>
  454. <col ref="deptrecvall" style="text-align:left; "/>
  455. <col ref="userreqrepl" style="text-align:right; "/>
  456. <col ref="tmp" style="text-align:center; "/>
  457. <col ref="userreqall" style="text-align:left; "/>
  458. <col ref="userrecvrepl" style="text-align:right; "/>
  459. <col ref="tmp" style="text-align:center; "/>
  460. <col ref="userrecvall" style="text-align:left; "/>
  461. </datagrid>
  462. <select id="checkbox2" ref="/root/presend/inflag" overflow="visible" appearance="full" cellspacing="7" cols="3" style="left:303px; top:85px; width:152px; height:20px; border-style:none; ">
  463. <choices>
  464. <item>
  465. <label>퇴원(퇴원예고)자료포함</label>
  466. <value>all</value>
  467. </item>
  468. </choices>
  469. </select>
  470. <button id="button9" class="icon_pre_month" style="left:100px; top:60px; width:16px; height:16px; ">
  471. <caption/>
  472. <script type="javascript" ev:event="DOMActivate">
  473. <![CDATA[
  474. fAddDateReq("back");
  475. ]]>
  476. </script>
  477. </button>
  478. <button id="button10" class="icon_next_month" style="left:314px; top:60px; width:16px; height:16px; ">
  479. <caption/>
  480. <script type="javascript" ev:event="DOMActivate">
  481. <![CDATA[
  482. fAddDateReq("next");
  483. ]]>
  484. </script>
  485. </button>
  486. <button id="button11" style="left:205px; top:58px; width:20px; height:20px; background-image:../../../com/commonweb/images/icon_n.gif; background-position:center; ">
  487. <caption/>
  488. <script type="javascript" ev:event="onclick">
  489. <![CDATA[
  490. fAddDateReq("today");
  491. ]]>
  492. </script>
  493. </button>
  494. <input id="ipt_formrecdtto" ref="/root/send/reqtodd" class="input_s_essential" inputtype="date" style="left:222px; top:58px; width:90px; height:19px; "/>
  495. <input id="ipt_formrecdtfr" ref="/root/send/reqfromdd" class="input_s_essential" inputtype="date" style="left:118px; top:58px; width:90px; height:19px; "/>
  496. <input id="ipt_hngnm" ref="/root/main/patinfo/patinfolist/hngnm" class="input_s_essential" navindex="2" autonext="false" imemode="hangul" style="left:195px; top:110px; width:70px; height:19px; ">
  497. <script type="javascript" ev:event="onkeypress">
  498. <![CDATA[
  499. fPnmKeyPress();
  500. ]]>
  501. </script>
  502. </input>
  503. <output id="opt_age" ref="/root/main/patinfo/patinfolist/agesex" class="output_fix" style="left:266px; top:110px; width:64px; height:19px; text-align:center; "/>
  504. <select1 id="cmb_formcd" ref="/root/send/formcd" navindex="2" visibility="visible" appearance="minimal" degnitemno="3" refitem="y" style="left:100px; top:135px; width:117px; height:19px; ">
  505. <choices>
  506. <itemset nodeset="/root/main/cnstformlist/cnstform">
  507. <label ref="formnm"/>
  508. <value ref="formcd"/>
  509. </itemset>
  510. </choices>
  511. </select1>
  512. <select1 id="cmb_recdept" navindex="1" visibility="hidden" appearance="minimal" extn_degnitemno="2" refitem="y" style="left:235px; top:4px; width:135px; height:19px; ">
  513. <choices>
  514. <itemset nodeset="/root/main/cnstdeptlist/cnstdept">
  515. <label ref="cnstdeptnm"/>
  516. <value ref="cnstdeptcd"/>
  517. </itemset>
  518. </choices>
  519. </select1>
  520. <caption id="caption4" class="search_name" style="left:6px; top:85px; width:86px; height:17px; ">옵 션 :</caption>
  521. <caption id="caption5" class="search_name" visibility="visible" style="left:5px; top:135px; width:86px; height:17px; ">의뢰선택 :</caption>
  522. <caption id="caption7" class="tit_2" style="left:594px; top:10px; width:111px; height:13px; ">Consult 내용</caption>
  523. <line id="line18" class="line_4" style="x1:455px; y1:35px; x2:455px; y2:204px; border-left-style:solid; "/>
  524. <button id="button102" class="icon_left" style="left:536px; top:234px; width:26px; height:19px; ">
  525. <caption/>
  526. <script type="javascript" ev:event="DOMActivate">
  527. <![CDATA[
  528. fCnstGrdSize("min");
  529. ]]>
  530. </script>
  531. </button>
  532. <button id="button103" class="icon_right" style="left:562px; top:234px; width:26px; height:19px; ">
  533. <caption/>
  534. <script type="javascript" ev:event="DOMActivate">
  535. <![CDATA[
  536. fCnstGrdSize("max");
  537. ]]>
  538. </script>
  539. </button>
  540. <caption id="caption69" class="search_name" style="left:5px; top:161px; width:90px; height:12px; ">
  541. <![CDATA[과별보낸건]]>
  542. </caption>
  543. <caption id="caption8" class="search_name" style="left:5px; top:186px; width:90px; height:12px; ">
  544. <![CDATA[과별받은건]]>
  545. </caption>
  546. <caption id="caption9" class="search_name" style="left:222px; top:161px; width:115px; height:12px; ">
  547. <![CDATA[개인별보낸건]]>
  548. </caption>
  549. <caption id="caption10" class="search_name" style="left:222px; top:186px; width:102px; height:12px; ">
  550. <![CDATA[개인별받은건]]>
  551. </caption>
  552. <input id="input3" ref="/root/main/cnsttotal/userrecv" class="input_default" editable="false" style="left:327px; top:185px; width:115px; height:14px; text-align:center; "/>
  553. <input id="input1" ref="/root/main/cnsttotal/dprecv" class="input_default" editable="false" style="left:100px; top:185px; width:115px; height:14px; text-align:center; "/>
  554. <input id="input2" ref="/root/main/cnsttotal/dpsend" class="input_default" editable="false" style="left:100px; top:160px; width:115px; height:14px; text-align:center; "/>
  555. <input id="input4" ref="/root/main/cnsttotal/usersend" class="input_default" editable="false" style="left:327px; top:160px; width:115px; height:14px; text-align:center; "/>
  556. <caption id="cap_srchnm" ref="/root/init/srchnm" class="tit_2" style="left:5px; top:240px; width:185px; height:13px; "/>
  557. <output id="opt_patinfo" ref="/root/init/patinfo" style="left:125px; top:5px; width:440px; height:19px; font-weight:bold; "/>
  558. <caption id="caption11" class="search_name" style="left:6px; top:35px; width:86px; height:17px; ">내원구분 :</caption>
  559. <select1 id="radio2" ref="/root/send/ioflag" appearance="full" cols="4" overflow="visible" style="left:100px; top:35px; width:115px; height:20px; border-style:none; ">
  560. <choices>
  561. <item>
  562. <label>입원</label>
  563. <value>I</value>
  564. </item>
  565. <item>
  566. <label>외래</label>
  567. <value>O</value>
  568. </item>
  569. </choices>
  570. <script type="javascript" ev:event="xforms-value-changed">
  571. <![CDATA[
  572. fIoFlagChange();
  573. ]]>
  574. </script>
  575. </select1>
  576. <output id="output1" ref="/root/init/replinfo" style="left:265px; top:233px; width:270px; height:19px; font-weight:bold; color:#3366ff; text-align:right; "/>
  577. <select1 id="cmb_orddrid" ref="/root/cond/orddrid" class="combo_search" visibility="hidden" appearance="minimal" style="left:805px; top:5px; width:90px; height:19px; ">
  578. <choices>
  579. <itemset nodeset="/root/init/userlist/usercombo">
  580. <label ref="usernm"/>
  581. <value ref="userid"/>
  582. </itemset>
  583. </choices>
  584. </select1>
  585. <select1 id="cmb_orddept" ref="/root/cond/orddeptcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:710px; top:5px; width:90px; height:19px; ">
  586. <choices>
  587. <itemset nodeset="/root/init/deptlist/orddept">
  588. <label ref="deptnm"/>
  589. <value ref="deptcd"/>
  590. </itemset>
  591. </choices>
  592. <script type="javascript" ev:event="xforms-value-changed">
  593. <![CDATA[
  594. fAftertemp();
  595. ]]>
  596. </script>
  597. </select1>
  598. <select1 id="combo1" ref="/root/send/userdeptcd" navindex="2" visibility="visible" appearance="minimal" degnitemno="3" refitem="y" style="left:327px; top:135px; width:115px; height:19px; ">
  599. <choices>
  600. <itemset nodeset="/root/main/cnstdeptlist/cnstdept">
  601. <label ref="cnstdeptnm"/>
  602. <value ref="cnstdeptcd"/>
  603. </itemset>
  604. </choices>
  605. </select1>
  606. <caption id="caption12" class="search_name" visibility="visible" style="left:222px; top:135px; width:86px; height:17px; ">부서선택 :</caption>
  607. <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/checkallitem" style="left:21px; top:255px; width:30px; height:25px; ">
  608. <script type="javascript" ev:event="xforms-value-changed">
  609. <![CDATA[
  610. if(bool1.value == "Y"){
  611. for(var i = 0 ; i < grd_cnstlist.rows ; i++){
  612. var sCnststat = grd_cnstlist.valueMatrix(i , grd_cnstlist.colRef("cnststat"));
  613. if (sCnststat == "12" || sCnststat == "20" || sCnststat == "22" || sCnststat == "30" || sCnststat == "32" || sCnststat == "40")
  614. grd_cnstlist.valueMatrix(i , grd_cnstlist.colRef("checkflag")) = "Y";
  615. }
  616. }else{
  617. for(var i = 0 ; i < grd_cnstlist.rows ; i++){
  618. grd_cnstlist.valueMatrix(i , grd_cnstlist.colRef("checkflag")) = "N";
  619. }
  620. }
  621. ]]>
  622. </script>
  623. </bool>
  624. <button id="button13" class="btn1_letter2" style="left:394px; top:57px; width:56px; height:22px; ">
  625. <caption>출력</caption>
  626. <script type="javascript" ev:event="DOMActivate">
  627. <![CDATA[
  628. fClickPrtBtn();
  629. ]]>
  630. </script>
  631. </button>
  632. <select1 id="combo4" ref="/root/init/reqmedireclist/diffdt" class="combo_search" appearance="minimal" style="left:335px; top:58px; width:55px; height:19px; ">
  633. <choices>
  634. <item>
  635. <label>1주일</label>
  636. <value>7</value>
  637. </item>
  638. <item>
  639. <label>1개월</label>
  640. <value>30</value>
  641. </item>
  642. <item>
  643. <label>3개월</label>
  644. <value>90</value>
  645. </item>
  646. <item>
  647. <label>6개월</label>
  648. <value>180</value>
  649. </item>
  650. <item>
  651. <label>1년</label>
  652. <value>365</value>
  653. </item>
  654. </choices>
  655. <script type="javascript" ev:event="xforms-select">
  656. <![CDATA[
  657. fAddDateReq("");
  658. ]]>
  659. </script>
  660. </select1>
  661. <select id="chk_setPatInfo" ref="/root/init/paminfoyn" visibility="hidden" overflow="visible" appearance="full" style="left:215px; top:35px; width:90px; height:20px; border-style:none; ">
  662. <choices>
  663. <item>
  664. <label>상단정보연계</label>
  665. <value>Y</value>
  666. </item>
  667. </choices>
  668. </select>
  669. <select1 id="combo2" ref="/root/send/wardcd" navindex="2" appearance="minimal" degnitemno="3" refitem="y" style="left:100px; top:210px; width:90px; height:19px; ">
  670. <choices>
  671. <itemset nodeset="/root/main/cnstwardlist/cnstward/dept">
  672. <label ref="depthngnm"/>
  673. <value ref="deptcd"/>
  674. </itemset>
  675. </choices>
  676. </select1>
  677. <caption id="caption13" class="search_name" style="left:5px; top:210px; width:92px; height:12px; ">병동선택 :</caption>
  678. <caption id="caption14" class="search_name" style="left:197px; top:210px; width:80px; height:17px; ">검색조건</caption>
  679. <select1 id="radio1" ref="/root/send/srchflag" appearance="full" cols="6" overflow="visible" style="left:281px; top:210px; width:304px; height:20px; border-style:none; ">
  680. <choices>
  681. <item>
  682. <label>전체</label>
  683. <value>0</value>
  684. </item>
  685. <item>
  686. <label>CT</label>
  687. <value>1</value>
  688. </item>
  689. <item>
  690. <label>MRI</label>
  691. <value>2</value>
  692. </item>
  693. <item>
  694. <label>혈관/중재</label>
  695. <value>3</value>
  696. </item>
  697. <item>
  698. <label>USG</label>
  699. <value>4</value>
  700. </item>
  701. <item>
  702. <label>Others</label>
  703. <value>5</value>
  704. </item>
  705. </choices>
  706. <script type="javascript" ev:event="xforms-value-changed">
  707. <![CDATA[
  708. // fIoFlagChange();
  709. ]]>
  710. </script>
  711. </select1>
  712. <button id="button18" class="btn2_letter4" style="left:780px; top:4px; width:64px; height:19px; ">
  713. <caption>통합검사</caption>
  714. <script type="javascript" ev:event="DOMActivate">
  715. <![CDATA[
  716. open("SMAER00800", "", "", "", "SMAER00800", "/root/send/pid", "/root/send/data/singdata/srchpid");
  717. ]]>
  718. </script>
  719. </button>
  720. <button id="btn_excnst" class="btn4_letter8" visibility="hidden" style="left:956px; top:3px; width:128px; height:22px; ">
  721. <caption>지원부서의뢰신규</caption>
  722. <script type="javascript" ev:event="DOMActivate">
  723. <![CDATA[
  724. fNewCnst("3");
  725. ]]>
  726. </script>
  727. </button>
  728. <button id="button19" class="btn2_letter4" visibility="visible" style="left:711px; top:4px; width:64px; height:19px; ">
  729. <caption>통합기록</caption>
  730. <script type="javascript" ev:event="DOMActivate">
  731. <![CDATA[
  732. var wndobj = getOpenWindow("SMMRI00400");
  733. if(wndobj != null)
  734. {
  735. setParameter("SMMRI00400_param_pid", model.getValue("/root/send/pid"));
  736. // 초기화함수 호출
  737. wndobj.javascript.fInitalize();
  738. activateChild("SMMRI00400");
  739. }
  740. else
  741. {
  742. setParameter("SMMRI00400_param_pid", model.getValue("/root/send/pid"));
  743. open("SMMRI00400", 2, 0, 0);
  744. }
  745. ]]>
  746. </script>
  747. </button>
  748. <button id="btn_cotrmt" class="btn4_letter6" visibility="hidden" style="left:1088px; top:3px; width:104px; height:22px; ">
  749. <caption>판독의뢰신규</caption>
  750. <script type="javascript" ev:event="DOMActivate">
  751. <![CDATA[
  752. fClickCoTrmtCnst();
  753. ]]>
  754. </script>
  755. </button>
  756. <button id="btn_cnst" class="btn4_letter6" visibility="hidden" style="left:849px; top:3px; width:104px; height:22px; ">
  757. <caption>진료의뢰신규</caption>
  758. <script type="javascript" ev:event="DOMActivate">
  759. <![CDATA[
  760. fNewCnst("1");
  761. ]]>
  762. </script>
  763. </button>
  764. <button id="button14" class="btn1_letter7" style="left:465px; top:179px; width:80px; height:22px; ">
  765. <caption>의 뢰 취 소</caption>
  766. <script type="javascript" ev:event="DOMActivate">
  767. <![CDATA[
  768. fCnstRecDelete();
  769. ]]>
  770. </script>
  771. </button>
  772. <button id="btn_cnststatflag" class="btn5_letter4" visibility="hidden" style="left:206px; top:233px; width:64px; height:19px; ">
  773. <caption>상태변경</caption>
  774. <script type="javascript" ev:event="DOMActivate">
  775. <![CDATA[
  776. fCnststatChng();
  777. ]]>
  778. </script>
  779. </button>
  780. </group>
  781. <iviewer id="ivw_loader" src="../../../emr/medirecweb/xrw/SSMMR01100_서식로더.xrw" style="left:596px; top:43px; width:597px; height:740px; border-color:lightgray; border-style:none; "/>
  782. <select id="checkbox3" ref="/root/hidden/procpconfiag/answcnt" overflow="visible" appearance="full" style="left:1036px; top:0px; width:156px; height:20px; border-style:none; ">
  783. <choices>
  784. <item>
  785. <label>처방화면에 지시처방 추가</label>
  786. <value>001</value>
  787. </item>
  788. </choices>
  789. </select>
  790. </xhtml:body>
  791. </xhtml:html>