SMMNP06300_DCC main.xrw 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>DCC main</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <prestimportid/>
  12. <wardcd/>
  13. <orddeptcd/>
  14. <medispclid/>
  15. <orddd/>
  16. <opdeptcd>01</opdeptcd>
  17. <opcnfmdd/>
  18. <dscflag>D</dscflag>
  19. <opflag>00</opflag>
  20. <opflagex/>
  21. <orddeptlist>
  22. <dept>
  23. <depthngnm/>
  24. <deptcd/>
  25. </dept>
  26. </orddeptlist>
  27. <oproomcd/>
  28. <pid/>
  29. <hngnm/>
  30. <orddeptcd/>
  31. <ampmflag>ALL</ampmflag>
  32. <dschflag/>
  33. </cond>
  34. <dsc>
  35. <dscList>
  36. <careinrmdd/>
  37. <dschdd/>
  38. <ampmflag/>
  39. <chngroomstat/>
  40. <indschstat/>
  41. <cpgappno/>
  42. <cnstyn/>
  43. <insukind/>
  44. <pid/>
  45. <hngnm/>
  46. <sexage/>
  47. <orddeptcd/>
  48. <atdoctid/>
  49. <diagnm/>
  50. <opcd/>
  51. <opstatcd/>
  52. <oproomcd/>
  53. <opfromtmcd/>
  54. <opusetm/>
  55. <perfdrnm/>
  56. <anstmthdcd/>
  57. <iprch2/>
  58. <judgperchinfo/>
  59. <uncn/>
  60. <oprdyn/>
  61. <medispid/>
  62. <oppatflagcd/>
  63. <iocls/>
  64. <indd/>
  65. <cretno/>
  66. <seqno/>
  67. <ccrtstat/>
  68. <tmpcareinrmdd/>
  69. <oprsrvno/>
  70. <iprccount/>
  71. <orpccount/>
  72. <rcptyn/>
  73. <blodprepyn/>
  74. </dscList>
  75. <blodprep>
  76. <patnm/>
  77. </blodprep>
  78. <anticncr>
  79. <patnm/>
  80. </anticncr>
  81. </dsc>
  82. <dscdetl>
  83. <pid/>
  84. <opcd/>
  85. <hngnm/>
  86. <sexage/>
  87. <cpgnm/>
  88. <opyn/>
  89. <anstyn/>
  90. <opcnfm/>
  91. <anstcnfm/>
  92. <orddd/>
  93. <cretno/>
  94. </dscdetl>
  95. <MmohiprcLists>
  96. <CureList>
  97. <kindcd/>
  98. <ordname/>
  99. <opcls/>
  100. <payflagcd/>
  101. </CureList>
  102. <CartList>
  103. <kindcd/>
  104. <goodcd/>
  105. <goodengnm/>
  106. <goodspec/>
  107. <goodmodel/>
  108. <deliveunit/>
  109. <goodqty/>
  110. </CartList>
  111. </MmohiprcLists>
  112. <menuitems>
  113. <inmenu>
  114. <item>
  115. <name>입실등록</name>
  116. <func>fSetIntime</func>
  117. </item>
  118. <!--
  119. <item>
  120. <name>입실시각 취소</name>
  121. <func>fClsIntime</func>
  122. </item>
  123. -->
  124. </inmenu>
  125. <grdmenu>
  126. <item>
  127. <name>환자팔찌 재출력</name>
  128. <func>fOpenPatBC</func>
  129. </item>
  130. <item>
  131. <name>검사결과 조회</name>
  132. <func>fOpenTestRslt</func>
  133. </item>
  134. <item>
  135. <name>수술준비확인</name>
  136. <func>fOpenTPR</func>
  137. </item>
  138. <item>
  139. <name>투약기록</name>
  140. <func>fOpenMediRecord</func>
  141. </item>
  142. <item>
  143. <name>간호처방</name>
  144. <func>fOpenCarePrcp</func>
  145. </item>
  146. <item>
  147. <name>퇴실정리</name>
  148. <func>fOpenOutRm</func>
  149. </item>
  150. </grdmenu>
  151. <!-- 박영우: 성빈센트 병원 오른쪽 드랍메뉴 -->
  152. <vgrdmenu>
  153. <item>
  154. <name>환자팔찌 재출력</name>
  155. <func>fOpenPatBC</func>
  156. </item>
  157. <item>
  158. <name>임상관찰 기록</name>
  159. <func>fOpenClincObsRec</func>
  160. </item>
  161. <item>
  162. <name>간호일지 Type II</name>
  163. <func>fOpenNursingRecord</func>
  164. </item>
  165. <item>
  166. <name>투약기록</name>
  167. <func>fOpenMediRecord</func>
  168. </item>
  169. <item>
  170. <name>간호처방</name>
  171. <func>fOpenCarePrcp</func>
  172. </item>
  173. <item>
  174. <name>검사결과 조회</name>
  175. <func>fOpenTestRslt</func>
  176. </item>
  177. <item>
  178. <name>-</name>
  179. <func/>
  180. </item>
  181. <item>
  182. <name>통합기록 조회</name>
  183. <func>fOpenSytsRec</func>
  184. </item>
  185. <item>
  186. <name>수술준비확인</name>
  187. <func>fOpenTPR</func>
  188. </item>
  189. <item>
  190. <name>환자진료 정보</name>
  191. <func>fOpenPatOrd</func>
  192. </item>
  193. <item>
  194. <name>바코드 관리</name>
  195. <func>fOpenBarCdMngt</func>
  196. </item>
  197. <item>
  198. <name>개인별 예약현황 조회</name>
  199. <func>fOpenIndRsrv</func>
  200. </item>
  201. <item>
  202. <name>외래진료 예약</name>
  203. <func>fOpenOutOrdRsrv</func>
  204. </item>
  205. <item>
  206. <name>퇴실정리</name>
  207. <func>fOpenOutRm</func>
  208. </item>
  209. </vgrdmenu>
  210. </menuitems>
  211. <patinfo>
  212. <patinfolist/>
  213. </patinfo>
  214. <popupendflag/>
  215. <rghtref>
  216. <rghtreflist>
  217. <pid/>
  218. <hngnm/>
  219. <gndrage/>
  220. <rrgstno/>
  221. </rghtreflist>
  222. </rghtref>
  223. <precondlist>
  224. <blodpreplist/>
  225. <anticncrlist/>
  226. </precondlist>
  227. </main>
  228. <send/>
  229. <init>
  230. <omcdlist>
  231. <omcd>
  232. <oproomnm/>
  233. <oproomcd/>
  234. </omcd>
  235. </omcdlist>
  236. <drcdlist>
  237. <drcd>
  238. <usernm/>
  239. <userid/>
  240. </drcd>
  241. </drcdlist>
  242. <M0065list>
  243. <M0065>
  244. <cdid/>
  245. <cdnm/>
  246. </M0065>
  247. </M0065list>
  248. <M0015list>
  249. <M0015>
  250. <cdid/>
  251. <cdnm/>
  252. </M0015>
  253. </M0015list>
  254. <msg/>
  255. <userscrnenvinfo/>
  256. </init>
  257. <code/>
  258. <result>
  259. <prcplist/>
  260. </result>
  261. </root>
  262. </instance>
  263. <script type="javascript" ev:event="xforms-ready">
  264. <![CDATA[
  265. fInitScreen();
  266. var scrnid = "SMMNP06300";
  267. model.resetInstanceNode("/root/send/reqdata");
  268. model.makeValue("/root/send/scrnid", scrnid);
  269. submit("TRLLC90101");
  270. ]]>
  271. </script>
  272. <bind id="bind_datagrid1_careinrmdd" ref="/root/main/dsc/dscList/careinrmdd" readonly="../oppatflagcd!= 'D'"/>
  273. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/barcdprntsetup"/>
  274. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  275. <submission id="TRPMI00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data17" resultref="/root/hidden/h_receipt"/>
  276. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  277. <submission id="TRPMI00115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data17" resultref="/root/hidden/h_receipt"/>
  278. <submission id="TRMNI00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rghtref"/>
  279. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
  280. <submission id="TRMMO00129" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
  281. <submission id="TRMNP06301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/omcdlist"/>
  282. <submission id="TRMNP06302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/drcdlist"/>
  283. <submission id="TRMNP06303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dscList"/>
  284. <submission id="TRMNP06304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/MmohiprcLists"/>
  285. <submission id="TXMNP06301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/dummy"/>
  286. <submission id="TXMNP06302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/dummy"/>
  287. <submission id="TXMNP06303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/dummy"/>
  288. <submission id="TRMNB02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/userscrnenvinfo"/>
  289. </model>
  290. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  291. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  292. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  293. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  294. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  295. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  296. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  297. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  298. <script type="javascript" src="../../../emr/opanstweb/js/SMMNP06300.js"/>
  299. <script type="javascript" src="../../../emr/injspecialroomweb/js/SMMNI02100.js"/>
  300. <script type="javascript" src="../../../pam/ipatmngtweb/js/PMI001.js"/>
  301. <!-- 예약처방전송탭 추가로 해당 스크립트 추가_20090804 -->
  302. <!-- 입실바코드출력관련 -->
  303. </xhtml:head>
  304. <xhtml:body guideline="1,1217;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  305. <switch id="swt_main" style="left:0px; top:111px; width:1195px; height:673px; border-color:#c7a3cf; border-style:solid; ">
  306. <case id="case_dm" selected="true" style="left:0px; top:0px; width:1195px; height:673px; ">
  307. <!--(20101206) 경북대
  308. <datagrid id="grd_dscList" nodeset="/root/main/dsc/dscList" class="datagrid2" allowselection="false" autoresize="false" caption="입실일시^퇴실일시^예약^구분^구분^CP^협진^자격^혈액^등록번호^이름^S/A^진료과^주치의^진단명^수술명^수술진행상태^진행상태^방^수술시간^소요시간^집도의^마취&#xA;방법^수술&#xA;처방^보험심사자^미확인&#xA;처방^기록&#xA;유무^medispid^^^^^^^^^" colsep="^" colwidth="102, 102, 30, 30, 30, 28, 30, 63, 33, 60, 61, 48, 90, 49, 140, 134, 0, 57, 29, 70, 55, 65, 50, 50, 90, 60, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:7px; top:33px; width:1179px; height:357px; ">
  309. -->
  310. <datagrid id="grd_dscList" nodeset="/root/main/dsc/dscList" class="datagrid2" allowselection="false" autoresize="false" caption="입실일시^퇴실일시^예약^구분^구분^CP^협진^자격^혈액^등록번호^이름^S/A^진료과^주치의^진단명^수술명^수술진행상태^진행상태^방^수술시간^소요시간^집도의^마취&#xA;방법^수술&#xA;처방^보험심사자^미확인&#xA;처방^기록&#xA;유무^medispid^^^^^^^^^" colsep="^" colwidth="102, 102, 30, 30, 30, 28, 30, 63, 33, 60, 61, 48, 90, 49, 140, 134, 0, 57, 29, 70, 55, 65, 50, 50, 90, 60, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:7px; top:33px; width:1179px; height:357px; ">
  311. <!--(20101206) 경북대 -->
  312. <col ref="careinrmdd" type="input" format="yyyy-mm-dd hh:nn" bind="bind_datagrid1_careinrmdd" style="text-align:left; "/>
  313. <col ref="dschdd" format="yyyy-mm-dd hh:nn" style="text-align:left; "/>
  314. <col ref="ampmflag" style="text-align:right; "/>
  315. <col ref="chngroomstat" style="text-align:center; border-right-width:0; "/>
  316. <col ref="indschstat" style="text-align:center; border-left-width:0; "/>
  317. <col ref="cpgappno" style="text-align:center; "/>
  318. <col ref="cnstyn" style="text-align:center; "/>
  319. <col ref="insukind" style="text-align:left; "/>
  320. <col ref="blodprepyn" style="text-align:center; vertical-align:middle; background-position:center; "/>
  321. <col ref="pid" style="text-align:center; "/>
  322. <col ref="hngnm" style="text-align:center; "/>
  323. <col ref="sexage" style="text-align:center; "/>
  324. <col ref="orddeptnm" style="text-align:left; "/>
  325. <col ref="medispclnm" style="text-align:center; "/>
  326. <col ref="diagnm"/>
  327. <col ref="opcd"/>
  328. <col ref="opstatcd" visibility="hidden" style="text-align:center; "/>
  329. <col ref="opstatnm" style="text-align:center; "/>
  330. <col ref="oproomcd" format="hh:nn" style="text-align:center; "/>
  331. <col ref="opfromtmcd"/>
  332. <col ref="opusetm" format="hh:nn" style="text-align:center; "/>
  333. <col ref="perfdrnm" style="text-align:center; "/>
  334. <col ref="anstmthdcd" style="text-align:center; "/>
  335. <col ref="iprch2" style="text-align:center; "/>
  336. <col ref="judgperchinfo"/>
  337. <col ref="uncn" style="text-align:center; "/>
  338. <col ref="oprdyn" style="text-align:center; "/>
  339. <col ref="medispid"/>
  340. <col ref="oppatflagcd" visibility="hidden"/>
  341. <col ref="iocls" visibility="hidden"/>
  342. <col ref="indd" visibility="hidden"/>
  343. <col ref="cretno" visibility="hidden"/>
  344. <col ref="seqno" visibility="hidden"/>
  345. <col ref="ccrtstat" visibility="hidden"/>
  346. <col ref="tmpcareinrmdd" visibility="hidden"/>
  347. <col ref="oprsrvno" visibility="hidden"/>
  348. <col ref="iprccount" visibility="hidden"/>
  349. <script type="javascript" ev:event="ondblclick">
  350. <![CDATA[
  351. //20080917
  352. fMsgDisp();//메세지 지우기
  353. if (model.getValue( "/root/main/dsc/dscList["+grd_dscList.row+"]/pid")== "") return;
  354. // 상단환자정보 조회
  355. if( isDataCell() ) {
  356. fSetPatInfo();
  357. }
  358. // 하단 처방상세조회, 수술상세조회
  359. // fDscDataView(grd_dscList.row);
  360. model.setFocus("body");
  361. model.setFocus("grd_dscList");
  362. grd_dscList.editCell();
  363. ]]>
  364. </script>
  365. <script type="javascript" ev:event="onmousedown">
  366. <![CDATA[
  367. fnonmousedown();
  368. // if (model.getValue( "/root/main/dsc/dscList["+grd_dscList.mouseRow+"]/pid")== "") return;
  369. //
  370. // var colnm = grd_dscList.valueMatrix(0, grd_dscList.mouseCol);
  371. // var tmpcareinrmdd = model.getValue( "/root/main/dsc/dscList["+grd_dscList.mouseRow+"]/tmpcareinrmdd");
  372. // var sdschdd = model.getValue( "/root/main/dsc/dscList["+grd_dscList.mouseRow+"]/dschdd");
  373. // var oppatflagcd = model.getValue( "/root/main/dsc/dscList["+grd_dscList.mouseRow+"]/oppatflagcd");
  374. // colnm = colnm.substring(0,2);
  375. //
  376. // //---(수술환자+angio(수술정보없음)
  377. //// if(oppatflagcd=="D"&&colnm== "입실"&&tmpcareinrmdd.substring(0,1)=="-") { // DSC 환자, 입실시각칼럼, 입실시각이 적용되지 않은 경우("-")에만 입실시각 메뉴 나타나도록
  378. //// fShowPopupMenu("grd_dscList","/root/main/menuitems/inmenu/item");
  379. //// }else {
  380. //// fShowPopupMenu("grd_dscList","/root/main/menuitems/grdmenu/item");
  381. //// }
  382. //
  383. // if (rdo_dscflag.value == "D") {
  384. //
  385. // if(colnm== "입실"&&tmpcareinrmdd.substring(0,1)=="-") { // DSC 환자, 입실시각칼럼, 입실시각이 적용되지 않은 경우("-")에만 입실시각 메뉴 나타나도록
  386. // alert("2");
  387. // fShowPopupMenu("grd_dscList","/root/main/menuitems/inmenu/item");
  388. // }else if(colnm== "퇴실" && sdschdd.replace("-","") == "" ) {
  389. // alert("3");
  390. // fShowPopupMenu("grd_dscList","/root/main/menuitems/grdmenu/item");
  391. // }
  392. // }else {
  393. // fShowPopupMenu("grd_dscList","/root/main/menuitems/grdmenu/item");
  394. // }
  395. ]]>
  396. </script>
  397. <script type="javascript" ev:event="DOMFocusOut">
  398. <![CDATA[
  399. window.setPopupMenu(false);
  400. ]]>
  401. </script>
  402. <script type="javascript" ev:event="onclick">
  403. <![CDATA[
  404. fMsgDisp();
  405. //간호퇴실정리상태인 환자만 간호퇴실취소버튼을 활성화
  406. var pGrd = grd_dscList;
  407. var sPath = "/root/main/dsc/dscList[" + pGrd.row + "]";
  408. var sChk = model.getValue(sPath + "/chngroomstat" );
  409. var sDsch = model.getValue(sPath + "/indschstat" );
  410. var dschdd = model.getValue(sPath + "/dschdd");
  411. if(sDsch == 'ⓒ' || (sChk == "◆" && dschdd != '-')){//간호퇴원정리완료상태
  412. btn_outcancel.disabled = false;
  413. }else{
  414. btn_outcancel.disabled = true;
  415. }
  416. ]]>
  417. </script>
  418. <script type="javascript" ev:event="onrowchanged">
  419. <![CDATA[
  420. //20080917
  421. fMsgDisp();//메세지 지우기
  422. ]]>
  423. </script>
  424. <script type="javascript" ev:event="onaftersort">
  425. <![CDATA[
  426. grd_dscList.gridToInstance();
  427. ]]>
  428. </script>
  429. </datagrid>
  430. <line id="line1" class="line_1" style="x1:7px; y1:28px; x2:1186px; y2:28px; "/>
  431. <datagrid id="grd_cartlist" nodeset="/root/main/MmohiprcLists/CartList" autoresize="true" caption="수술마취 확정 간호처방^수술마취 확정 간호처방^수술마취 확정 간호처방^수술마취 확정 간호처방^수술마취 확정 간호처방^수술마취 확정 간호처방^수술마취 확정 간호처방|종류^코드^처방(물품)명^규격^모델^단위^수량" colsep="^" colwidth="60, 65, 261, 77, 46, 31, 30" mergecellsfixedrows="bycolrec" rowsep="|" subtotalposition="below" style="left:597px; top:420px; width:589px; height:213px; ">
  432. <col ref="kindcd"/>
  433. <col ref="goodcd"/>
  434. <col ref="goodengnm"/>
  435. <col ref="goodspec"/>
  436. <col ref="goodmodel"/>
  437. <col ref="deliveunit"/>
  438. <col ref="goodqty"/>
  439. </datagrid>
  440. <caption id="caption20" class="tit_2" style="left:7px; top:402px; width:126px; height:13px; ">수술처방 상세내역</caption>
  441. <datagrid id="grd_otptlist" nodeset="/root/main/MmohiprcLists/CureList" autoresize="true" caption="수술료/마취료^수술료/마취료^수술료/마취료^수술료/마취료^수술료/마취료|종류^코드^처방코드/처방명^구분^급/비" colsep="^" colwidth="58, 64, 347, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" subtotalposition="below" style="left:7px; top:420px; width:588px; height:213px; ">
  442. <col ref="kindcd"/>
  443. <col ref="prcpcd"/>
  444. <col ref="ordname"/>
  445. <col ref="opcls"/>
  446. <col ref="payflagcd"/>
  447. </datagrid>
  448. <line id="line6" class="line_1" style="x1:7px; y1:417px; x2:1186px; y2:417px; "/>
  449. <line id="line3" class="line_3" style="x1:7px; y1:392px; x2:1186px; y2:392px; "/>
  450. <caption id="caption9" class="color_6" style="left:1108px; top:400px; width:15px; height:15px; background-color:#ff0000; "/>
  451. <caption id="caption10" style="left:1125px; top:398px; width:58px; height:20px; font-weight:bold; ">수술취소</caption>
  452. <output id="out_msg" ref="/root/init/msg" class="output_fix" visibility="hidden" style="left:7px; top:5px; width:810px; height:19px; font-weight:bold; color:#3366ff; "/>
  453. <button id="btn_outcancel" class="btn5_letter6" visibility="visible" style="left:1021px; top:5px; width:86px; height:19px; ">
  454. <caption>간호퇴실취소</caption>
  455. <script type="javascript" ev:event="DOMActivate">
  456. <![CDATA[
  457. fOutCancel();
  458. ]]>
  459. </script>
  460. </button>
  461. <button id="button5" class="btn5_letter4" disabled="true" visibility="hidden" style="left:954px; top:5px; width:64px; height:19px; ">
  462. <caption>퇴실등록</caption>
  463. <script type="javascript" ev:event="DOMActivate">
  464. <![CDATA[
  465. if(grd_dscList.row == "-1"){
  466. messageBox("저장할 자료가 존재하지 않습니다.", "E");
  467. return;
  468. }
  469. var pRow = grd_dscList.row;
  470. var sPath = "/root/main/dsc/dscList["+pRow+"]";
  471. var careinrmdd = model.getValue("/root/main/dsc/dscList[" + pRow + "]/careinrmdd");
  472. if(careinrmdd == '--'){
  473. messageBox("아직 입실하지 않은 환자입니다.", "E999", "");
  474. return;
  475. }
  476. model.setValue(sPath+"/dschdd", getCurrentDate()+""+getCurrentTime().substring(0,4));
  477. grd_dscList.addStatus(pRow, "update");
  478. model.refresh();
  479. fSaveDscList();
  480. ]]>
  481. </script>
  482. </button>
  483. <button id="button6" class="btn5_letter5" visibility="visible" style="left:1110px; top:5px; width:75px; height:19px; ">
  484. <caption>팔찌재출력</caption>
  485. <script type="javascript" ev:event="DOMActivate">
  486. <![CDATA[
  487. //fOutCancel();
  488. fOpenPatBC();
  489. ]]>
  490. </script>
  491. </button>
  492. <button id="btn_save" class="btn5_letter6" style="left:932px; top:5px; width:86px; height:19px; ">
  493. <caption>입실시간수정</caption>
  494. <script type="javascript" ev:event="DOMActivate">
  495. <![CDATA[
  496. fSaveDscList(); // 입실/퇴실시간 수정
  497. ]]>
  498. </script>
  499. </button>
  500. <group id="grp_btn" scroll="auto" style="left:6px; top:638px; width:1186px; height:27px; ">
  501. <shape id="sha_state" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:9px; top:0px; width:767px; height:27px; background-color:#fffbf2; border-color:#7cbbdd; "/>
  502. <caption id="cap_state" style="left:12px; top:5px; width:874px; height:20px; ">[구분] 예정 : 입실예정, 입실 : 입실등록, ⓓ:퇴원예고 ⓒ:간호사퇴실정리완료, ⓘ:심사중, ⓕ:심사완료, 신청: 전실신청, 승인: 전실승인</caption>
  503. <button id="btn_inrsrv" class="btn3_letter8" style="left:1057px; top:2px; width:128px; height:22px; ">
  504. <caption>입원의뢰서조회</caption>
  505. <script type="javascript" ev:event="DOMActivate">
  506. <![CDATA[
  507. modal("../../../emr/wardcareweb/xrw/SPMNW10100", "","", "", "SPMNW10100","", "");
  508. //modal("../../../emr/prcpmngtweb/xrw/SPMMO09000", "1","50", "50", "SPMMO09000", "/root/source", "/root/hidden/source");
  509. // if (model.getValue("/root/source/pid") != null && model.getValue("/root/source/pid") != ""){
  510. // }
  511. ]]>
  512. </script>
  513. </button>
  514. <button id="button1" class="btn3_letter5" visibility="hidden" style="left:960px; top:2px; width:92px; height:22px; ">
  515. <caption>프린터설정</caption>
  516. <script type="javascript" ev:event="DOMActivate">
  517. <![CDATA[
  518. fOpenBrcdPrnt();
  519. ]]>
  520. </script>
  521. </button>
  522. </group>
  523. </case>
  524. <case id="case_rp">
  525. <import id="import2" src="../../../emr/injspecialroomweb/xrw/SMMNI02100_예약처방전송.xrw" style="left:0px; top:0px; width:1192px; height:673px; "/>
  526. </case>
  527. <case id="case_om">
  528. <import id="import3" src="../../../emr/wardorderweb/xrw/SMMNW00300_Order Manage.xrw" style="left:0px; top:0px; width:1190px; height:640px; "/>
  529. <caption id="cap_prcp" style="left:5px; top:645px; width:100px; height:20px; ">*일반/반환/퇴원</caption>
  530. <caption id="cap_color" class="color_6" style="left:116px; top:646px; width:15px; height:15px; background-color:#ffcccc; "/>
  531. <caption id="cap_uncnfm" style="left:135px; top:645px; width:38px; height:20px; ">미확인</caption>
  532. </case>
  533. </switch>
  534. <button id="btn_dm" class="btn_sw" group="tab" style="left:0px; top:89px; width:100px; height:22px; ">
  535. <caption>DCC Main</caption>
  536. <script type="javascript" ev:event="onclick">
  537. <![CDATA[
  538. //grp_btn.visible = true;
  539. model.setValue("/root/main/cond/prestimportid", "dm");
  540. fInqurySelectedPrgm();
  541. ]]>
  542. </script>
  543. <toggle case="case_nm" ev:event="onclick"/>
  544. </button>
  545. <button id="btn_rp" class="btn_sw" group="tab" style="left:100px; top:90px; width:107px; height:22px; ">
  546. <caption>예약처방전송</caption>
  547. <script type="javascript" ev:event="onclick">
  548. <![CDATA[
  549. //grp_btn.visible = false;
  550. model.setValue("/root/main/cond/prestimportid", "rp");
  551. fInqurySelectedPrgm();
  552. ]]>
  553. </script>
  554. <toggle case="case_rp" ev:event="onclick"/>
  555. </button>
  556. <button id="btn_om" class="btn_sw" group="tab" style="left:207px; top:90px; width:107px; height:22px; ">
  557. <caption>Order Manage</caption>
  558. <script type="javascript" ev:event="onclick">
  559. <![CDATA[
  560. //grp_btn.visible = false;
  561. model.setValue("/root/main/cond/prestimportid", "om");
  562. fInqurySelectedPrgm();
  563. ]]>
  564. </script>
  565. <toggle case="case_om" ev:event="onclick"/>
  566. </button>
  567. <caption id="caption68" class="search_name" style="left:326px; top:92px; width:107px; height:17px; ">혈액준비 :</caption>
  568. <textarea id="tar_blodprep" ref="/root/main/precondlist/blodpreplist" disabled="false" overflow="scroll" scroll="autovscroll" editable="false" style="left:415px; top:88px; width:107px; height:22px; vertical-align:middle; border-left-width:0; border-top-width:0; border-right-width:0; border-bottom-width:0; "/>
  569. <line id="line8" class="line_3" style="x1:0px; y1:55px; x2:1179px; y2:55px; "/>
  570. <group id="group2" style="left:0px; top:21px; width:1194px; height:66px; vertical-align:top; ">
  571. <shape id="roundrect1" appearance="roundrect" b-color="#ffd799" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:65px; background-color:#fffbf2; "/>
  572. <caption id="caption8" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">업무일자 :</caption>
  573. <caption id="caption11" class="search_name" style="left:451px; top:39px; width:86px; height:17px; ">수술진행 :</caption>
  574. <caption id="caption1" class="search_name" style="left:4px; top:39px; width:90px; height:17px; ">구 분 :</caption>
  575. <caption id="caption54" class="search_name" style="left:649px; top:9px; width:78px; height:17px; ">집도의 :</caption>
  576. <line id="line25" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
  577. <input id="ipt_opcnfmdd" ref="/root/main/cond/opcnfmdd" class="input_default" navindex="1" inputtype="date" style="left:95px; top:8px; width:120px; height:19px; text-align:center; ">
  578. <script type="javascript" ev:event="xforms-value-changed">
  579. <![CDATA[
  580. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  581. ]]>
  582. </script>
  583. </input>
  584. <select1 id="rdo_dschflag" ref="/root/main/cond/dschflag" class="radio_search" navindex="6" overflow="visible" appearance="full" cols="4" style="left:80px; top:40px; width:145px; height:19px; ">
  585. <choices>
  586. <item>
  587. <label>입실+예정</label>
  588. <value>D</value>
  589. </item>
  590. <item>
  591. <label>퇴실완료</label>
  592. <value>T</value>
  593. </item>
  594. </choices>
  595. <script type="javascript" ev:event="xforms-value-changed">
  596. <![CDATA[
  597. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  598. ]]>
  599. </script>
  600. </select1>
  601. <select1 id="rdo_opflag" ref="/root/main/cond/opflag" class="radio_search" navindex="8" overflow="visible" appearance="full" cellspacing="4" cols="6" style="left:542px; top:40px; width:296px; height:19px; ">
  602. <choices>
  603. <item>
  604. <label>전체</label>
  605. <value>00</value>
  606. </item>
  607. <item>
  608. <label>수술예정</label>
  609. <value>20</value>
  610. </item>
  611. <item>
  612. <label>수술대기</label>
  613. <value>30</value>
  614. </item>
  615. <item>
  616. <label>수술중</label>
  617. <value>40</value>
  618. </item>
  619. <item>
  620. <label>종료</label>
  621. <value>50</value>
  622. </item>
  623. </choices>
  624. <script type="javascript" ev:event="xforms-value-changed">
  625. <![CDATA[
  626. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  627. ]]>
  628. </script>
  629. </select1>
  630. <button id="button9" class="btn1_letter2" style="left:1121px; top:6px; width:56px; height:22px; ">
  631. <caption>조회</caption>
  632. <script type="javascript" ev:event="DOMActivate">
  633. <![CDATA[
  634. fInqurySelectedPrgm();
  635. ]]>
  636. </script>
  637. </button>
  638. <caption id="caption2" class="search_name" style="left:240px; top:9px; width:83px; height:17px; ">진 료 과 :</caption>
  639. <select1 id="cmb_orddeptlist" ref="/root/main/cond/orddeptcd" class="combo_default" navindex="2" appearance="minimal" itemcount="20" style="left:329px; top:8px; width:120px; height:19px; ">
  640. <choices>
  641. <itemset nodeset="/root/main/cond/orddeptlist/dept">
  642. <label ref="depthngnm"/>
  643. <value ref="deptcd"/>
  644. </itemset>
  645. </choices>
  646. <script type="javascript" ev:event="xforms-value-changed">
  647. <![CDATA[
  648. model.removenode("/root/send");
  649. model.makeNode("/root/send");
  650. model.makeValue("/root/send/deptcd" ,cmb_orddeptlist.value );
  651. submit("TRMNP06302");
  652. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  653. ]]>
  654. </script>
  655. </select1>
  656. <select1 id="cmb_drcd" ref="/root/main/cond/medispclid" class="combo_default" navindex="4" appearance="minimal" itemcount="20" style="left:725px; top:8px; width:90px; height:19px; ">
  657. <choices>
  658. <itemset nodeset="/root/init/drcdlist">
  659. <label ref="usernm"/>
  660. <value ref="userid"/>
  661. </itemset>
  662. </choices>
  663. <script type="javascript" ev:event="xforms-value-changed">
  664. <![CDATA[
  665. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  666. ]]>
  667. </script>
  668. </select1>
  669. <caption id="caption4" class="search_name" style="left:841px; top:9px; width:81px; height:17px; ">수술방 :</caption>
  670. <select1 id="cmb_oproomcd" ref="/root/main/cond/oproomcd" class="combo_default" navindex="5" appearance="minimal" itemcount="20" style="left:920px; top:8px; width:96px; height:19px; ">
  671. <choices>
  672. <itemset nodeset="root/init/omcdlist/">
  673. <label ref="oproomnm"/>
  674. <value ref="oproomcd"/>
  675. </itemset>
  676. </choices>
  677. <script type="javascript" ev:event="xforms-value-changed">
  678. <![CDATA[
  679. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  680. ]]>
  681. </script>
  682. </select1>
  683. <caption id="caption7" class="search_name" style="left:841px; top:39px; width:86px; height:17px; ">등록번호 :</caption>
  684. <button id="button16" class="icon_search" navindex="6" style="left:1027px; top:39px; width:16px; height:16px; ">
  685. <caption/>
  686. <script type="javascript" ev:event="DOMActivate">
  687. <![CDATA[
  688. fSearchPatInfo("1");
  689. ]]>
  690. </script>
  691. </button>
  692. <input id="ipt_pid" ref="/root/main/rghtref/rghtreflist/pid" class="input_default" navindex="9" style="left:931px; top:38px; width:91px; height:19px; ">
  693. <script type="javascript" ev:event="onkeyup">
  694. <![CDATA[
  695. if((event.keyCode == "13")) {
  696. setInputNodeCurText();
  697. fpidref();
  698. fInqurySelectedPrgm();
  699. }
  700. ]]>
  701. </script>
  702. </input>
  703. <output id="opt_hngnm" ref="/root/main/rghtref/rghtreflist/hngnm" class="output_fix" style="left:1048px; top:38px; width:65px; height:19px; "/>
  704. <output id="opt_gndrage" ref="/root/main/rghtref/rghtreflist/gndrage" class="output_fix" style="left:1116px; top:38px; width:70px; height:19px; "/>
  705. <!--(20101206) 경북대
  706. <caption id="caption3" class="search_name" style="left:464px; top:9px; width:78px; height:17px; ">주치의 :</caption>
  707. -->
  708. <caption id="caption3" class="search_name" style="left:464px; top:9px; width:78px; height:17px; ">주치의 :</caption>
  709. <!--(20101206) 경북대 -->
  710. <select1 id="combo1" ref="/root/main/cond/medispclid" class="combo_default" navindex="3" appearance="minimal" itemcount="20" style="left:540px; top:8px; width:90px; height:19px; ">
  711. <choices>
  712. <itemset nodeset="/root/init/drcdlist">
  713. <label ref="usernm"/>
  714. <value ref="userid"/>
  715. </itemset>
  716. </choices>
  717. <script type="javascript" ev:event="xforms-value-changed">
  718. <![CDATA[
  719. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  720. ]]>
  721. </script>
  722. </select1>
  723. <caption id="caption5" class="search_name" style="left:236px; top:39px; width:86px; height:17px; ">예약현황:</caption>
  724. <select1 id="radio1" ref="/root/main/cond/ampmflag" class="radio_search" navindex="7" overflow="visible" appearance="full" cols="4" style="left:315px; top:40px; width:135px; height:19px; ">
  725. <choices>
  726. <item>
  727. <label>전체</label>
  728. <value>ALL</value>
  729. </item>
  730. <item>
  731. <label>오전</label>
  732. <value>A</value>
  733. </item>
  734. <item>
  735. <label>오후</label>
  736. <value>P</value>
  737. </item>
  738. </choices>
  739. <script type="javascript" ev:event="xforms-value-changed">
  740. <![CDATA[
  741. fInqurySelectedPrgm(); // 수술일자변경시 하단리스트 재조회
  742. ]]>
  743. </script>
  744. </select1>
  745. </group>
  746. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">DCC main</caption>
  747. <button id="button2" class="btn2_letter2" style="left:1144px; top:90px; width:42px; height:19px; ">
  748. <caption>출력</caption>
  749. <script type="javascript" ev:event="DOMActivate">
  750. <![CDATA[
  751. fPrntList();
  752. ]]>
  753. </script>
  754. </button>
  755. <button id="btn_excel" class="btn2_letter3" style="left:1088px; top:90px; width:53px; height:19px; ">
  756. <caption>Excel</caption>
  757. <script type="javascript" ev:event="onclick">
  758. <![CDATA[
  759. fPrntExcl();
  760. ]]>
  761. </script>
  762. </button>
  763. <caption id="cap_anticncrt" class="search_name" style="left:555px; top:92px; width:100px; height:17px; ">
  764. <![CDATA[항암미승인 :]]>
  765. <script type="javascript" ev:event="ondblclick">
  766. <![CDATA[
  767. if (tar_anticncrt.value == "") {
  768. messageBox("항암미승인 환자가 없습니다.", "I");
  769. } else {
  770. setParameter("wardcd", model.getValue("/root/main/cond/wardcd"));
  771. modal("SMADB01010",1,50,250);
  772. fInqurySelectedPrgm();
  773. }
  774. ]]>
  775. </script>
  776. </caption>
  777. <textarea id="tar_anticncrt" ref="/root/main/precondlist/anticncrlist" disabled="false" overflow="scroll" scroll="autovscroll" editable="false" style="left:655px; top:88px; width:200px; height:22px; vertical-align:middle; border-left-width:0; border-top-width:0; border-right-width:0; border-bottom-width:0; "/>
  778. </xhtml:body>
  779. </xhtml:html>