SMMNW05500_병동업무관리.xrw 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837
  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>병동업무관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <wardcd/>
  12. <orddd/>
  13. <settingrnid/>
  14. <userid/>
  15. <usernm/>
  16. <bforddd/>
  17. <indschacptstat/>
  18. </cond>
  19. <count>
  20. <total/>
  21. </count>
  22. <orddeptcaseinfo>
  23. </orddeptcaseinfo>
  24. <wardbizinfo>
  25. <wardbizpatlist>
  26. <roomcd/>
  27. <vipyn/>
  28. <rqstyn/>
  29. <spcffactyn/>
  30. <clincstdyyn/>
  31. <cpyn/>
  32. <blodprepyn/>
  33. <pid/>
  34. <chngroomstat/>
  35. <indschstat/>
  36. <patnm/>
  37. <sexage/>
  38. <orddeptnm/>
  39. <subdeptnm/>
  40. <coopteamnm/>
  41. <medispclnm/>
  42. <atdoctnm/>
  43. <hd/>
  44. <diag/>
  45. <infcyn/>
  46. <serdiaggrde/>
  47. <dngrases/>
  48. <opflag/>
  49. <optime/>
  50. <opnm/>
  51. <pod/>
  52. <tnssche/>
  53. <anticncrd/>
  54. <anticncrprtl/>
  55. <specrsrv/>
  56. </wardbizpatlist>
  57. <wardbizdeptunitcnt>
  58. <orddeptnm/>
  59. <sex/>
  60. <patcnt/>
  61. </wardbizdeptunitcnt>
  62. </wardbizinfo>
  63. </main>
  64. <send>
  65. </send>
  66. <init>
  67. <ward>
  68. <wardcd/>
  69. <wardnm/>
  70. </ward>
  71. <dept>
  72. <deptcd/>
  73. <depthngnm/>
  74. </dept>
  75. <settingrn>
  76. <settingrnid/>
  77. <settingrnnm/>
  78. </settingrn>
  79. <wardprescondinfo>
  80. <wardprescond>
  81. <kind1/>
  82. <kind2/>
  83. <kind3/>
  84. <kind4/>
  85. <kind5/>
  86. <kind6/>
  87. <preinhospcnt/>
  88. <inhospcnt/>
  89. <useroom/>
  90. </wardprescond>
  91. </wardprescondinfo>
  92. </init>
  93. <hidden>
  94. </hidden>
  95. </root>
  96. </instance>
  97. <script type="javascript" ev:event="xforms-ready">
  98. <![CDATA[
  99. //그리드 초기화
  100. model.toggle("case_dscht");
  101. //오늘 날짜로 초기화 하는 부분.(진료일자를 default로 오늘 날짜로 선택함)
  102. model.setValue("/root/main/cond/userid", getUserId());
  103. model.setValue("/root/main/cond/usernm", getUserName());
  104. model.setValue("/root/main/cond/settingrnid", "");
  105. model.setValue("/root/main/cond/indschacptstat", "1");
  106. model.setValue("/root/main/cond/wardcd", getUserInfo("dutplcecd"));
  107. model.setValue("/root/main/cond/orddd", getCurrentDate());
  108. model.setValue("/root/main/cond/bforddd", getCurrentDate());
  109. model.removenode("/root/send");
  110. model.makeValue("/root/send/wardcd", model.getValue("/root/main/cond/wardcd"));
  111. submit("TRMNW00101", false);
  112. model.setValue("/root/main/cond/settingrnid", "");
  113. for(i=1; i <= getNodesetCount("/root/init/settingrn");i++ ) {
  114. if (model.getValue("/root/main/cond/userid") == model.getValue("/root/init/settingrn["+ i +"]/settingrnid")) {
  115. model.setValue("/root/main/cond/settingrnid", model.getValue("/root/main/cond/userid"));
  116. }
  117. }
  118. // 간호하드코딩 테이블 조회_20090416(ByJA)
  119. var pCode = "'002'"; // 조회할 CdGrupID 코드정보
  120. var pDate = getCurrentDate(); //조회기준일자
  121. fGetNursHardCdInfo(pCode, pDate);
  122. for(var i=1; i<=getNodesetCount("/root/code/codeinfo/codelist"); i++){
  123. switch (model.getValue("/root/code/codeinfo/codelist["+i+"]/cdgrupid")){
  124. case "002": // 응급의료센터
  125. erdeptcd = model.getValue("/root/code/codeinfo/codelist["+i+"]/cdid");
  126. break;
  127. }
  128. }
  129. model.removenode("/root/init/ward[wardcd = '"+erdeptcd+"']"); // 응급의료센터 제외
  130. model.refresh();
  131. //그리드 조회
  132. //fGetWardBizListInfo();
  133. ]]>
  134. </script>
  135. <script type="javascript">
  136. <![CDATA[
  137. var xPathDschtList = "/root/main/wardbizinfo/pseudodschlist";
  138. var xPathDschdList = "/root/main/wardbizinfo/dschlist";
  139. var xPathInList = "/root/main/wardbizinfo/inlist";
  140. var xPathCrinList = "/root/main/wardbizinfo/crinlist";
  141. var xPathCroutList = "/root/main/wardbizinfo/croutlist";
  142. var xPathTransList = "/root/main/wardbizinfo/translist";
  143. var xPathDethList = "/root/main/wardbizinfo/dethlist";
  144. var erdeptcd;
  145. //탭별환자리스트
  146. //현재일자 조회시에는 실시간으로 update 되고 전일조회시에는 고정된 전일 환자리스트가 조회 20081223 김홍점 1121 김숙인itc 요구사항에 의한 추가
  147. function fSelectTab(pFlag, destObj) {
  148. var srcNodeList = "";
  149. var destNodeList = "";
  150. var destObj;
  151. if ( model.getValue("/root/main/cond/orddd") == getCurrentDate() && !isNull(cmb_wardcd.label) ){
  152. if ( pFlag == "dscht" ){
  153. srcNodeList = "/root/hidden/wardbizinfo/pseudodschlist";
  154. destNodeList = xPathDschtList;
  155. //destObj = grd_dschtlist;
  156. model.removeNodeset(xPathDschtList);
  157. } else if ( pFlag == "dschd" ){
  158. srcNodeList = "/root/hidden/wardbizinfo/dschlist";
  159. destNodeList = xPathDschdList;
  160. //destObj = grd_dschdlist;
  161. model.removeNodeset(xPathDschdList);
  162. } else if ( pFlag == "in" ){
  163. srcNodeList = "/root/hidden/wardbizinfo/inlist";
  164. destNodeList = xPathInList;
  165. //destObj = grd_inlist;
  166. model.removeNodeset(xPathInList);
  167. } else if ( pFlag == "crin" ){
  168. srcNodeList = "/root/hidden/wardbizinfo/crinlist";
  169. destNodeList = xPathCrinList;
  170. //destObj = grd_crinlist;
  171. model.removeNodeset(xPathCrinList);
  172. } else if ( pFlag == "crout" ){
  173. srcNodeList = "/root/hidden/wardbizinfo/croutlist";
  174. destNodeList = xPathCroutList;
  175. //destObj = grd_croutlist;
  176. model.removeNodeset(xPathCroutList);
  177. } else if ( pFlag == "trans" ){
  178. srcNodeList = "/root/hidden/wardbizinfo/translist";
  179. destNodeList = xPathTransList;
  180. //destObj = grd_translist;
  181. model.removeNodeset(xPathTransList);
  182. } else if ( pFlag == "deth" ){
  183. srcNodeList = "/root/hidden/wardbizinfo/dethlist";
  184. destNodeList = xPathDethList;
  185. //destObj = grd_dethlist;
  186. model.removeNodeset(xPathDethList);
  187. }
  188. model.removenode("/root/send");
  189. model.makeValue("/root/send/wardcd", model.getValue("/root/main/cond/wardcd"));
  190. model.makeValue("/root/send/orddd", model.getValue("/root/main/cond/orddd"));
  191. model.makeValue("/root/send/settingrnid", model.getValue("/root/main/cond/settingrnid"));
  192. model.makeValue("/root/send/srchflag", pFlag);
  193. if (submit("TRMNW05502") ){
  194. if( getNodesetCount(srcNodeList) > 0 ){
  195. model.makeNode(destNodeList);
  196. copyNodesetType(destNodeList, srcNodeList, "replace", model, model);
  197. }
  198. }
  199. }
  200. destObj.refresh();
  201. }
  202. //조회부 count
  203. function fGetWardBizPrescond() {
  204. model.removenode("/root/send");
  205. model.makeValue("/root/send/wardcd", model.getValue("/root/main/cond/wardcd"));
  206. model.makeValue("/root/send/orddd", model.getValue("/root/main/cond/orddd"));
  207. model.makeValue("/root/send/preorddd", getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat());
  208. submit("TRMNW00104");
  209. }
  210. //같은 환자의 일치하는 정보 white로 font color 세팅
  211. function fSetFontColor(){
  212. grd_wardbizpatlist.refresh();
  213. var xWardPatListPath = "/root/main/wardbizinfo/wardbizpatlist";
  214. var patCnt = getNodesetCount(xWardPatListPath);
  215. var pid = "";
  216. var nextPid = "";
  217. var blodprep ="";
  218. for ( var idx = 1 ; idx <= patCnt ; idx++){
  219. pid = model.getValue(xWardPatListPath + "[" + idx + "]/pid");
  220. nextPid = model.getValue(xWardPatListPath + "[" + (idx+1) + "]/pid");
  221. blodprep = model.getValue(xWardPatListPath + "[" + (idx+1) + "]/blodprepyn");
  222. if ( pid == nextPid ){//fixedrow 가 2 이므로 데이타로우의 그리드인덱스는 2부터 시작한다.그러므로 nextPid의 인덱스에 1을 더해준다.욕창까지 하얀색
  223. grd_wardbizpatlist.cellStyle("color", (idx+1)+1, grd_wardbizpatlist.colRef("roomcd"), (idx+1)+1, grd_wardbizpatlist.colRef("bedsore")) = "white";
  224. grd_wardbizpatlist.cellStyle("color", (idx+1)+1, grd_wardbizpatlist.colRef("anticncrd"), (idx+1)+1, grd_wardbizpatlist.colRef("specrsrv")) = "white";
  225. } else {
  226. grd_wardbizpatlist.cellStyle("color", (idx+1)+1, grd_wardbizpatlist.colRef("roomcd") , (idx+1)+1 , grd_wardbizpatlist.colRef("bedsore")) = "black";
  227. grd_wardbizpatlist.cellStyle("color", (idx+1)+1, grd_wardbizpatlist.colRef("anticncrd") , (idx+1)+1 , grd_wardbizpatlist.colRef("specrsrv")) = "black";
  228. if (blodprep == "Y") {
  229. grd_wardbizpatlist.cellstyle("background-image", (idx+1)+1, grd_wardbizpatlist.colRef("blodprep") ) = "../../../emr/commonweb/images/blood.gif";
  230. } else {
  231. grd_wardbizpatlist.cellstyle("background-image", (idx+1)+1 , grd_wardbizpatlist.colRef("blodprep")) = "";
  232. }
  233. }
  234. }
  235. }
  236. //조회(과별현황정보, 가퇴원, 사망, 메인 그리드 조회)
  237. function fGetWardBizListInfo() {
  238. if (model.getValue("/root/main/cond/orddd") > getCurrentDate()) {
  239. messageBox("해당 업무일자로 조회할 수", "I004");
  240. model.setValue("/root/main/cond/orddd", model.getValue("/root/main/cond/bforddd"));
  241. model.refresh();
  242. return;
  243. } else {
  244. model.setValue("/root/main/cond/bforddd", model.getValue("/root/main/cond/orddd"));
  245. }
  246. fGetWardBizPrescond(); //조회부 count
  247. model.removenode("/root/send");
  248. model.makeValue("/root/send/wardcd", model.getValue("/root/main/cond/wardcd"));
  249. model.makeValue("/root/send/orddd", model.getValue("/root/main/cond/orddd"));
  250. model.makeValue("/root/send/settingrnid", model.getValue("/root/main/cond/settingrnid"));
  251. model.makeValue("/root/send/indschacptstat", model.getValue("/root/main/cond/indschacptstat"));
  252. model.makeValue("/root/send/srchflag", "all");
  253. submit("TRMNW05501", false);
  254. fSetFontColor();
  255. //과별현황 셋팅
  256. var cols = grd_prescond.cols-grd_prescond.fixedCols;
  257. var rows = grd_prescond.rows-grd_prescond.fixedRows;
  258. for( var i = grd_prescond.cols; i >= grd_prescond.fixedCols; i-- ) {
  259. grd_prescond.deleteColumn(i,"false");
  260. }
  261. model.removeNodeset("/root/main/wardbizinfo/orddeptcaselist");
  262. grd_prescond.caption = "진료과";
  263. var caption =grd_prescond.caption;
  264. if(getNodesetCount("/root/main/wardbizinfo/wardbizdeptunitcnt") > 0) {
  265. if(grd_prescond.rows-grd_prescond.fixedRows < 3) {
  266. grd_prescond.addRow(false);
  267. grd_prescond.addRow(false);
  268. grd_prescond.addRow(false);
  269. grd_prescond.valueMatrix(1,0) = "M";
  270. grd_prescond.valueMatrix(2,0) = "F";
  271. grd_prescond.valueMatrix(3,0) = "Total";
  272. }
  273. var tempdeptnm = "";
  274. var deptnm ="";
  275. var sex ="";
  276. var patcnt ="";
  277. for(i=1; i <= getNodesetCount("/root/main/wardbizinfo/wardbizdeptunitcnt"); i++ ) {
  278. deptnm = model.getValue("/root/main/wardbizinfo/wardbizdeptunitcnt["+ i +"]/orddeptnm");
  279. sex = model.getValue("/root/main/wardbizinfo/wardbizdeptunitcnt["+ i +"]/sex");
  280. patcnt = model.getValue("/root/main/wardbizinfo/wardbizdeptunitcnt["+ i +"]/patcnt");
  281. if(deptnm != tempdeptnm ) {
  282. grd_prescond.addColumn("ref:"+ deptnm +"; type:output;text-align:center;", false);
  283. caption = caption + "^"+ deptnm;
  284. grd_prescond.valueMatrix(1, grd_prescond.cols-1) = "0";
  285. grd_prescond.valueMatrix(2, grd_prescond.cols-1) = "0";
  286. tempdeptnm = deptnm;
  287. }
  288. if (sex == "M") {
  289. grd_prescond.valueMatrix(1, grd_prescond.cols-1) = patcnt;
  290. } else {
  291. grd_prescond.valueMatrix(2, grd_prescond.cols-1) = patcnt;
  292. }
  293. grd_prescond.valueMatrix(3, grd_prescond.cols-1) = parseInt(grd_prescond.valueMatrix(1, grd_prescond.cols-1)) + parseInt(grd_prescond.valueMatrix(2, grd_prescond.cols-1));
  294. }
  295. //total
  296. grd_prescond.addColumn("ref: total; type:output;text-align:center;", false);
  297. caption = caption + "^"+ "Total";
  298. var patcnt_M = 0;
  299. var patcnt_F = 0;
  300. var total_M = 0;
  301. var total_F = 0;
  302. var total_sub = 0;
  303. var total_sum = 0;
  304. for(i=1; i <= grd_prescond.cols-2; i++ ) {
  305. patcnt_M = parseInt(grd_prescond.valueMatrix(1, i));
  306. patcnt_F = parseInt(grd_prescond.valueMatrix(2, i));
  307. total_sub = parseInt(grd_prescond.valueMatrix(3, i));
  308. total_M = total_M + patcnt_M;
  309. total_F = total_F + patcnt_F;
  310. total_sum = total_sum + total_sub;
  311. }
  312. grd_prescond.valueMatrix(1, grd_prescond.cols-1) = total_M;
  313. grd_prescond.valueMatrix(2, grd_prescond.cols-1) = total_F;
  314. grd_prescond.valueMatrix(3, grd_prescond.cols-1) = total_sum;
  315. grd_prescond.colWidthMax = "60";
  316. grd_prescond.caption = caption;
  317. // grd_prescond.refresh();
  318. }
  319. // grd_dschtlist.refresh();
  320. // grd_inlist.refresh();
  321. // grd_crinlist.refresh();
  322. // grd_croutlist.refresh();
  323. // grd_dethlist.refresh();
  324. // grd_dschdlist.refresh();
  325. // grd_translist.refresh();
  326. model.refresh();
  327. }
  328. ]]>
  329. </script>
  330. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  331. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  332. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  333. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  334. <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
  335. <submission id="TRMNW00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/wardprescondinfo"/>
  336. <submission id="TRMNW05501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/wardbizinfo"/>
  337. <submission id="TRMNW05502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/wardbizinfo"/>
  338. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
  339. </model>
  340. </xhtml:head>
  341. <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  342. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  343. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:257px; height:14px; ">병동업무관리</caption>
  344. </group>
  345. <group id="group5" style="left:0px; top:13px; width:1195px; height:744px; ">
  346. <!--(20101206) 경북대
  347. <datagrid id="grd_wardbizpatlist" nodeset="/root/main/wardbizinfo/wardbizpatlist" allowselection="false" caption="병실^특이^특이^특이^IRB&#xA;CP&#xA;DRG^IRB&#xA;CP&#xA;DRG^IRB&#xA;CP&#xA;DRG^등록번호^재원&#xA;상태^재원&#xA;상태^환자명^S/A^진료과^세부진료과^협진팀^주치의^담당의^HD^ICU^진단명^감염^중증도^낙상^욕창^수술정보^수술정보^수술정보^수술정보^항암정보^항암정보^검사|병실^특이^특이^특이^IRB&#xA;CP&#xA;DRG^IRB&#xA;CP&#xA;DRG^IRB&#xA;CP&#xA;DRG^등록번호^재원&#xA;상태^재원&#xA;상태^환자명^S/A^진료과^세부진료과^협진팀^주치의^담당의^HD^ICU^진단명^감염^중증도^낙상^욕창^구분^Time^수술명^POD^D^Protocol^검사" colsep="^" colwidth="49, 15, 15, 18, 15, 15, 20, 55, 22, 18, 60, 43, 90, 71, 71, 52, 45, 31, 40, 218, 38, 47, 58, 61, 39, 43, 78, 31, 25, 65, 85" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:225px; width:1194px; height:480px; ">
  348. -->
  349. <datagrid id="grd_wardbizpatlist" nodeset="/root/main/wardbizinfo/wardbizpatlist" allowselection="false" caption="병실^특이^특이^특이^IRB&#xA;CP&#xA;DRG^IRB&#xA;CP&#xA;DRG^IRB&#xA;CP&#xA;DRG^등록번호^재원&#xA;상태^재원&#xA;상태^환자명^S/A^진료과^세부진료과^협진팀^전문의^담당의^HD^ICU^진단명^감염^중증도^낙상^욕창^수술정보^수술정보^수술정보^수술정보^항암정보^항암정보^검사|병실^특이^특이^특이^IRB&#xA;CP&#xA;DRG^IRB&#xA;CP&#xA;DRG^IRB&#xA;CP&#xA;DRG^등록번호^재원&#xA;상태^재원&#xA;상태^환자명^S/A^진료과^세부진료과^협진팀^전문의^담당의^HD^ICU^진단명^감염^중증도^낙상^욕창^구분^Time^수술명^POD^D^Protocol^검사" colsep="^" colwidth="49, 15, 15, 18, 15, 15, 20, 55, 22, 18, 60, 43, 90, 71, 71, 52, 45, 31, 40, 218, 38, 47, 58, 61, 39, 43, 78, 31, 25, 65, 85" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:225px; width:1194px; height:480px; ">
  350. <!--(20101206) 경북대 -->
  351. <col ref="roomcd" style="text-align:center; "/>
  352. <col ref="vipyn" style="text-align:center; "/>
  353. <col ref="rqstyn" style="text-align:center; "/>
  354. <col ref="spcffactyn" style="text-align:center; "/>
  355. <col ref="clincstdyyn" style="text-align:center; "/>
  356. <col ref="cpyn" style="text-align:center; "/>
  357. <col ref="blodprep" style="text-align:center; vertical-align:middle; background-position:center; "/>
  358. <col ref="pid" style="text-align:left; "/>
  359. <col ref="chngroomstat" style="text-align:center; border-right-width:0; "/>
  360. <col ref="indschstat" style="border-left-width:0; "/>
  361. <col ref="patnm" style="text-align:left; "/>
  362. <col ref="sexage" style="text-align:left; "/>
  363. <col ref="orddeptnm" style="text-align:left; "/>
  364. <col ref="subdeptnm" style="text-align:left; "/>
  365. <col ref="coopteamnm" style="text-align:left; "/>
  366. <col ref="medispclnm" style="text-align:left; "/>
  367. <col ref="atdoctnm" style="text-align:left; "/>
  368. <col ref="hd" style="text-align:right; "/>
  369. <col ref="icu" style="text-align:right; "/>
  370. <col ref="diag"/>
  371. <col ref="infcyn"/>
  372. <col ref="serdiaggrde" style="text-align:center; "/>
  373. <col ref="dngrases"/>
  374. <col ref="bedsore"/>
  375. <col ref="opflag"/>
  376. <col ref="optime"/>
  377. <col ref="opnm"/>
  378. <col ref="pod" style="text-align:right; "/>
  379. <col ref="anticncrd"/>
  380. <col ref="anticncrprtl"/>
  381. <col ref="specrsrv"/>
  382. </datagrid>
  383. <button id="btn_close" class="btn5_letter4" visibility="hidden" style="left:1127px; top:75px; width:64px; height:19px; ">
  384. <caption>축소하기</caption>
  385. <script type="javascript" ev:event="onclick">
  386. <![CDATA[
  387. btn_open.visible = true;
  388. btn_close.visible = false;
  389. swt_patinfo.attribute("style") = "left:715px; top:102px; width:480px; height:117px; " ;
  390. grd_dschtlist.attribute("style")="left:0px; top:0px; width:478px; height:115px; " ;
  391. grd_dschdlist.attribute("style")="left:0px; top:0px; width:478px; height:115px; " ;
  392. grd_inlist.attribute("style")="left:0px; top:0px; width:478px; height:115px; " ;
  393. grd_crinlist.attribute("style")="left:0px; top:0px; width:478px; height:115px; " ;
  394. grd_croutlist.attribute("style")="left:0px; top:0px; width:478px; height:115px; " ;
  395. grd_translist.attribute("style")="left:0px; top:0px; width:478px; height:115px; " ;
  396. grd_dethlist.attribute("style")="left:0px; top:0px; width:478px; height:115px; " ;
  397. ]]>
  398. </script>
  399. </button>
  400. <button id="btn_open" class="btn5_letter4" style="left:1127px; top:75px; width:64px; height:19px; ">
  401. <caption>확대하기</caption>
  402. <script type="javascript" ev:event="onclick">
  403. <![CDATA[
  404. btn_open.visible = false;
  405. btn_close.visible = true;
  406. swt_patinfo.attribute("style") = "left:715px; top:102px; width:480px; height:630px; " ;
  407. grd_dschtlist.attribute("style")="left:0px; top:0px; width:478px; height:628px; " ;
  408. grd_dschdlist.attribute("style")="left:0px; top:0px; width:478px; height:628px; " ;
  409. grd_inlist.attribute("style")="left:0px; top:0px; width:478px; height:628px; " ;
  410. grd_crinlist.attribute("style")="left:0px; top:0px; width:478px; height:628px; " ;
  411. grd_croutlist.attribute("style")="left:0px; top:0px; width:478px; height:628px; " ;
  412. grd_translist.attribute("style")="left:0px; top:0px; width:478px; height:628px; " ;
  413. grd_dethlist.attribute("style")="left:0px; top:0px; width:478px; height:628px; " ;
  414. model.refresh();
  415. ]]>
  416. </script>
  417. </button>
  418. <line id="line4" class="line_1" style="x1:0px; y1:97px; x2:715px; y2:97px; "/>
  419. <caption id="caption4" class="tit_2" style="left:5px; top:82px; width:78px; height:13px; ">과별현황</caption>
  420. <datagrid id="grd_prescond" nodeset="/root/main/orddeptcaseinfo/orddeptcaselist" allowselection="false" caption="진료과" colsep="^" colwidth="60" ellipsis="true" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:102px; width:715px; height:117px; ">
  421. <col ref="진료과"/>
  422. </datagrid>
  423. <line id="line6" class="line_1" style="x1:0px; y1:221px; x2:1195px; y2:222px; "/>
  424. <switch id="swt_patinfo" selected="true" style="left:715px; top:102px; width:480px; height:117px; ">
  425. <case id="case_deth">
  426. <datagrid id="grd_dethlist" nodeset="/root/main/wardbizinfo/dethlist" allowselection="false" caption="사망시간^병실^환자명^S/A" colsep="^" colwidth="88, 79, 107, 61" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:478px; height:115px; ">
  427. <col ref="dethtm" format="hh:nn" style="text-align:center; "/>
  428. <col ref="roomcd" style="text-align:center; "/>
  429. <col ref="patnm" style="text-align:center; "/>
  430. <col ref="sexage" style="text-align:center; "/>
  431. </datagrid>
  432. </case>
  433. <case id="case_in">
  434. <!--(20101206) 경북대
  435. <datagrid id="grd_inlist" nodeset="/root/main/wardbizinfo/inlist" class="datagrid2" caption="입실&#xA;확인^병실^등록번호^환자명^S-A^진료과^주치의^구분" colsep="^" colwidth="39, 54, 58, 49, 43, 90, 55, 66" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:478px; height:115px; ">
  436. -->
  437. <datagrid id="grd_inlist" nodeset="/root/main/wardbizinfo/inlist" class="datagrid2" caption="입실&#xA;확인^병실^등록번호^환자명^S-A^진료과^전문의^구분" colsep="^" colwidth="39, 54, 58, 49, 43, 90, 55, 66" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:478px; height:115px; ">
  438. <!--(20101206) 경북대 -->
  439. <col checkvalue="Y,N" disabled="true" ref="careinroomcfm" type="checkbox"/>
  440. <col ref="roomcd" style="text-align:center; "/>
  441. <col ref="pid" style="text-align:center; "/>
  442. <col ref="patnm" style="text-align:center; "/>
  443. <col ref="sexage" style="text-align:center; "/>
  444. <col ref="orddeptnm" style="text-align:left; "/>
  445. <col ref="medispclnm" style="text-align:left; "/>
  446. <col ref="inpath" style="text-align:left; "/>
  447. </datagrid>
  448. </case>
  449. <case id="case_dscht" selected="true">
  450. <datagrid id="grd_dschtlist" nodeset="/root/main/wardbizinfo/pseudodschlist" allowselection="false" caption="퇴원일자^퇴원병실^환자명^등록번호^S/A" colsep="^" colwidth="104, 56, 75, 74, 56" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:478px; height:115px; ">
  451. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  452. <col ref="roomcd" style="text-align:center; "/>
  453. <col ref="patnm" style="text-align:center; "/>
  454. <col ref="pid" style="text-align:center; "/>
  455. <col ref="sexage" style="text-align:center; "/>
  456. </datagrid>
  457. </case>
  458. <case id="case_crin">
  459. <!--(20101206) 경북대
  460. <datagrid id="grd_crinlist" nodeset="/root/main/wardbizinfo/crinlist" caption="병실^등록번호^환자명^S-A^진료과^주치의^이실" colsep="^" colwidth="52, 56, 60, 42, 90, 56, 103" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:478px; height:115px; ">
  461. -->
  462. <datagrid id="grd_crinlist" nodeset="/root/main/wardbizinfo/crinlist" caption="병실^등록번호^환자명^S-A^진료과^주치의^이실" colsep="^" colwidth="52, 56, 60, 42, 90, 56, 103" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:478px; height:115px; ">
  463. <!--(20101206) 경북대 -->
  464. <col ref="roomcd" style="text-align:center; "/>
  465. <col ref="pid" style="text-align:center; "/>
  466. <col ref="patnm" style="text-align:center; "/>
  467. <col ref="sexage" style="text-align:center; "/>
  468. <col ref="orddeptnm" style="text-align:left; "/>
  469. <col ref="medispclnm" style="text-align:left; "/>
  470. <col ref="crinfo" style="text-align:left; "/>
  471. </datagrid>
  472. </case>
  473. <case id="case_crout">
  474. <!--(20101206) 경북대
  475. <datagrid id="grd_croutlist" nodeset="/root/main/wardbizinfo/croutlist" caption="병실^등록번호^환자명^S-A^진료과^주치의^이실" colsep="^" colwidth="51, 56, 60, 42, 90, 56, 101" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:478px; height:115px; ">
  476. -->
  477. <datagrid id="grd_croutlist" nodeset="/root/main/wardbizinfo/croutlist" caption="병실^등록번호^환자명^S-A^진료과^주치의^이실" colsep="^" colwidth="51, 56, 60, 42, 90, 56, 101" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:478px; height:115px; ">
  478. <!--(20101206) 경북대 -->
  479. <col ref="roomcd" style="text-align:center; "/>
  480. <col ref="pid" style="text-align:center; "/>
  481. <col ref="patnm" style="text-align:center; "/>
  482. <col ref="sexage" style="text-align:center; "/>
  483. <col ref="orddeptnm" style="text-align:left; "/>
  484. <col ref="medispclnm" style="text-align:left; "/>
  485. <col ref="crinfo" style="text-align:left; "/>
  486. </datagrid>
  487. </case>
  488. <case id="case_dschd">
  489. <!--(20101206) 경북대
  490. <datagrid id="grd_dschdlist" nodeset="/root/main/wardbizinfo/dschlist" caption="병실^등록번호^환자명^S-A^진료과^주치의" colsep="^" colwidth="56, 73, 81, 43, 100, 72" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:478px; height:115px; ">
  491. -->
  492. <datagrid id="grd_dschdlist" nodeset="/root/main/wardbizinfo/dschlist" caption="병실^등록번호^환자명^S-A^진료과^주치의" colsep="^" colwidth="56, 73, 81, 43, 100, 72" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:478px; height:115px; ">
  493. <!--(20101206) 경북대 -->
  494. <col ref="roomcd" style="text-align:center; "/>
  495. <col ref="pid" style="text-align:center; "/>
  496. <col ref="patnm" style="text-align:center; "/>
  497. <col ref="sexage" style="text-align:center; "/>
  498. <col ref="orddeptnm" style="text-align:left; "/>
  499. <col ref="medispclnm" style="text-align:left; "/>
  500. </datagrid>
  501. </case>
  502. <case id="case_trans">
  503. <datagrid id="grd_translist" nodeset="/root/main/wardbizinfo/translist" caption="병실^등록번호^환자명^S-A^전과" colsep="^" colwidth="62, 73, 81, 43, 176" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:478px; height:115px; ">
  504. <col ref="roomcd" style="text-align:center; "/>
  505. <col ref="pid" style="text-align:center; "/>
  506. <col ref="patnm" style="text-align:center; "/>
  507. <col ref="sexage" style="text-align:center; "/>
  508. <col ref="transinfo" style="text-align:left; "/>
  509. </datagrid>
  510. </case>
  511. </switch>
  512. <button id="btn_dscht" class="btn_sw" group="tab" selected="true" style="left:717px; top:74px; width:110px; height:22px; ">
  513. <caption>가퇴원(보관퇴원)</caption>
  514. <script type="javascript" ev:event="onclick">
  515. <![CDATA[
  516. fSelectTab("dscht",grd_dschtlist);
  517. model.toggle("case_dscht");
  518. case_dscht.selected= "true";
  519. ]]>
  520. </script>
  521. <!--toggle case="case_dscht" ev:event="onclick"/-->
  522. </button>
  523. <button id="btn_deth" class="btn_sw" group="tab" style="left:1037px; top:74px; width:40px; height:22px; ">
  524. <caption>사망</caption>
  525. <script type="javascript" ev:event="onclick">
  526. <![CDATA[
  527. fSelectTab("deth",grd_dethlist);
  528. model.toggle("case_deth");
  529. case_deth.selected= "true";
  530. ]]>
  531. </script>
  532. <!--toggle case="case_deth" ev:event="onclick"/-->
  533. </button>
  534. <button id="btn_in" class="btn_sw" group="tab" style="left:827px; top:74px; width:40px; height:22px; ">
  535. <caption>입원</caption>
  536. <script type="javascript" ev:event="onclick">
  537. <![CDATA[
  538. fSelectTab("in",grd_inlist);
  539. model.toggle("case_in");
  540. case_in.selected= "true";
  541. ]]>
  542. </script>
  543. <!--toggle case="case_in" ev:event="onclick"/-->
  544. </button>
  545. <button id="btn_dschd" class="btn_sw" group="tab" style="left:867px; top:74px; width:40px; height:22px; ">
  546. <caption>퇴원</caption>
  547. <script type="javascript" ev:event="onclick">
  548. <![CDATA[
  549. fSelectTab("dschd", grd_dschdlist);
  550. model.toggle("case_dschd");
  551. case_dschd.selected= "true";
  552. ]]>
  553. </script>
  554. <!--toggle case="case_dschd" ev:event="onclick"/-->
  555. </button>
  556. <button id="btn_crin" class="btn_sw" group="tab" style="left:907px; top:74px; width:45px; height:22px; ">
  557. <caption>+전실</caption>
  558. <script type="javascript" ev:event="onclick">
  559. <![CDATA[
  560. fSelectTab("crin", grd_crinlist);
  561. model.toggle("case_crin");
  562. case_crin.selected= "true";
  563. ]]>
  564. </script>
  565. <!--toggle case="case_crin" ev:event="onclick"/-->
  566. </button>
  567. <button id="btn_crout" class="btn_sw" group="tab" style="left:952px; top:74px; width:45px; height:22px; ">
  568. <caption>-전실</caption>
  569. <script type="javascript" ev:event="onclick">
  570. <![CDATA[
  571. fSelectTab("crout" , grd_croutlist);
  572. model.toggle("case_crout");
  573. case_crout.selected= "true";
  574. ]]>
  575. </script>
  576. <!--toggle case="case_crout" ev:event="onclick"/-->
  577. </button>
  578. <button id="btn_trans" class="btn_sw" group="tab" style="left:997px; top:74px; width:40px; height:22px; ">
  579. <caption>전과</caption>
  580. <script type="javascript" ev:event="onclick">
  581. <![CDATA[
  582. fSelectTab("trans", grd_translist);
  583. model.toggle("case_trans");
  584. case_trans.selected= "true";
  585. ]]>
  586. </script>
  587. <!--toggle case="case_trans" ev:event="onclick"/-->
  588. </button>
  589. <line id="line2" class="line_1" style="x1:717px; y1:97px; x2:1195px; y2:97px; "/>
  590. <group id="group2" style="left:0px; top:10px; width:1194px; height:55px; vertical-align:top; ">
  591. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
  592. <select1 id="cmb_wardcd" ref="/root/main/cond/wardcd" class="combo_s_essential" appearance="minimal" style="left:61px; top:8px; width:139px; height:19px; ">
  593. <choices>
  594. <itemset nodeset="/root/init/ward/">
  595. <label ref="wardnm"/>
  596. <value ref="wardcd"/>
  597. </itemset>
  598. </choices>
  599. <script type="javascript" ev:event="xforms-value-changed">
  600. <![CDATA[
  601. model.removenode("/root/send");
  602. model.makeValue("/root/send/wardcd", model.getValue("/root/main/cond/wardcd"));
  603. submit("TRMNW00101");
  604. model.removenode("/root/init/ward[wardcd = '"+erdeptcd+"']"); // 응급의료센터 제외
  605. model.setValue("/root/main/cond/settingrnid", "");
  606. for(i = 1; i <= getNodesetCount("/root/init/settingrn"); i++ ) {
  607. if (model.getValue("/root/main/cond/userid") == model.getValue("/root/init/settingrn["+ i +"]/settingrnid")) {
  608. model.setValue("/root/main/cond/settingrnid", model.getValue("/root/main/cond/userid"));
  609. }
  610. }
  611. //fGetWardBizListInfo();
  612. ]]>
  613. </script>
  614. </select1>
  615. <caption id="caption12" class="search_name" style="left:203px; top:9px; width:90px; height:17px; ">업무일자:</caption>
  616. <select1 id="combo3" ref="/root/main/cond/settingrnid" class="combo_search" appearance="minimal" style="left:450px; top:8px; width:75px; height:19px; ">
  617. <choices>
  618. <itemset nodeset="/root/init/settingrn">
  619. <label ref="settingrnnm"/>
  620. <value ref="settingrnid"/>
  621. </itemset>
  622. </choices>
  623. <script type="javascript" ev:event="xforms-value-changed">
  624. <![CDATA[
  625. //fGetWardBizListInfo();
  626. ]]>
  627. </script>
  628. </select1>
  629. <caption id="caption8" class="search_name" style="left:5px; top:9px; width:60px; height:17px; ">병동:</caption>
  630. <input id="input4" ref="/root/main/cond/orddd" class="input_s_essential" inputtype="date" style="left:285px; top:8px; width:95px; height:19px; ">
  631. <script type="javascript" ev:event="xforms-value-changed">
  632. <![CDATA[
  633. //fGetWardBizListInfo();
  634. ]]>
  635. </script>
  636. </input>
  637. <caption id="caption9" class="search_name" style="left:382px; top:9px; width:75px; height:17px; ">내환자:</caption>
  638. <output id="output31" ref="/root/init/wardprescondinfo/wardprescond/kind1" style="left:47px; top:30px; width:19px; height:19px; text-align:right; "/>
  639. <output id="output32" ref="/root/init/wardprescondinfo/wardprescond/kind2" style="left:91px; top:30px; width:19px; height:19px; text-align:right; "/>
  640. <output id="output33" ref="/root/init/wardprescondinfo/wardprescond/kind3" style="left:135px; top:30px; width:19px; height:19px; text-align:right; "/>
  641. <output id="output34" ref="/root/init/wardprescondinfo/wardprescond/kind4" style="left:179px; top:30px; width:19px; height:19px; text-align:right; "/>
  642. <output id="output35" ref="/root/init/wardprescondinfo/wardprescond/kind5" style="left:223px; top:30px; width:19px; height:19px; text-align:right; "/>
  643. <output id="output36" ref="/root/init/wardprescondinfo/wardprescond/kind6" style="left:267px; top:30px; width:19px; height:19px; text-align:right; "/>
  644. <output id="output38" ref="/root/init/wardprescondinfo/wardprescond/preinhospcnt" style="left:328px; top:30px; width:29px; height:19px; font-weight:bold; text-align:right; "/>
  645. <output id="output37" ref="/root/init/wardprescondinfo/wardprescond/inhospcnt" style="left:400px; top:30px; width:29px; height:19px; font-weight:bold; text-align:right; "/>
  646. <caption id="caption59" class="cell_1" style="left:22px; top:31px; width:25px; height:18px; vertical-align:middle; ">1군</caption>
  647. <caption id="caption66" class="cell_1" style="left:66px; top:31px; width:25px; height:18px; vertical-align:middle; ">2군</caption>
  648. <caption id="caption57" class="cell_1" style="left:110px; top:31px; width:25px; height:18px; vertical-align:middle; ">3군</caption>
  649. <caption id="caption58" class="cell_1" style="left:154px; top:31px; width:25px; height:18px; vertical-align:middle; ">4군</caption>
  650. <caption id="caption56" class="cell_1" style="left:198px; top:31px; width:25px; height:18px; vertical-align:middle; ">5군</caption>
  651. <caption id="caption65" class="cell_1" style="left:242px; top:31px; width:25px; height:18px; vertical-align:middle; ">6군</caption>
  652. <caption id="caption67" class="cell_1" style="left:286px; top:31px; width:43px; height:18px; vertical-align:middle; ">전일수</caption>
  653. <caption id="caption55" class="cell_1" style="left:357px; top:31px; width:43px; height:18px; vertical-align:middle; ">재원수</caption>
  654. <caption id="caption1" class="cell_1" style="left:429px; top:31px; width:67px; height:18px; vertical-align:middle; ">운영병상수</caption>
  655. <output id="opt_room" ref="/root/init/wardprescondinfo/wardprescond/wardbedcnt" style="left:497px; top:30px; width:29px; height:19px; font-weight:bold; text-align:right; "/>
  656. <line id="line3" class="line_3" style="x1:526px; y1:30px; x2:526px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
  657. <line id="line27" class="line_3" style="x1:22px; y1:30px; x2:526px; y2:30px; "/>
  658. <line id="line28" class="line_3" style="x1:22px; y1:49px; x2:526px; y2:49px; vertical-align:middle; "/>
  659. <button id="button3" class="btn1_letter2" style="left:1036px; top:17px; width:56px; height:22px; ">
  660. <caption>출력</caption>
  661. <script type="javascript" ev:event="DOMActivate">
  662. <![CDATA[
  663. //20090630_SMY추가
  664. model.removeNodeset("/root/send");
  665. model.makeNode("/root/send");
  666. //send 재구성
  667. model.makeNode("/root/send/ipatgroup");
  668. model.makeNode("/root/send/ipatgroup/ipat");
  669. var wardnm = model.getValue("/root/init/ward[wardcd = '" + model.getValue("/root/main/cond/wardcd") + "']/wardnm");
  670. model.makeValue("/root/send/ipatgroup/ipat/wardnm", wardnm);
  671. model.makeValue("/root/send/ipatgroup/ipat/total", model.getValue("/root/init/wardprescondinfo/wardprescond/inhospcnt"));
  672. model.makeValue("/root/send/ipatgroup/ipat/orddd", model.getValue("/root/main/cond/orddd"));
  673. var indschacptstat = model.getValue("/root/main/cond/indschacptstat");
  674. switch(indschacptstat){
  675. case "1":
  676. model.makeValue("/root/send/ipatgroup/ipat/indschacptstat", "재원");
  677. break;
  678. case "2":
  679. model.makeValue("/root/send/ipatgroup/ipat/indschacptstat", "입원");
  680. break;
  681. case "3":
  682. model.makeValue("/root/send/ipatgroup/ipat/indschacptstat", "퇴원진행");
  683. break;
  684. case "4":
  685. model.makeValue("/root/send/ipatgroup/ipat/indschacptstat", "퇴원");
  686. break;
  687. }
  688. //list
  689. model.makeNode("/root/send/ipatgroup/ipatlistinfo/ipatlist");
  690. model.copyNode("/root/send/ipatgroup/ipatlistinfo", "/root/main/wardbizinfo");
  691. exeReportPreview("RPMNW05500", "XMLSTR");
  692. ]]>
  693. </script>
  694. </button>
  695. <line id="line25" class="line_4" style="x1:902px; y1:8px; x2:902px; y2:47px; border-color:#ffe4bb; border-left-style:solid; "/>
  696. <button id="button9" class="btn1_letter2" style="left:977px; top:17px; width:56px; height:22px; ">
  697. <caption>엑셀</caption>
  698. <script type="javascript" ev:event="DOMActivate">
  699. <![CDATA[
  700. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  701. if (fileName != "") {
  702. grd_wardbizpatlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
  703. }
  704. ]]>
  705. </script>
  706. </button>
  707. <button id="btn_save" class="btn1_letter2" style="left:918px; top:17px; width:56px; height:22px; ">
  708. <caption>조회</caption>
  709. <script type="javascript" ev:event="DOMActivate">
  710. <![CDATA[
  711. fGetWardBizListInfo();
  712. ]]>
  713. </script>
  714. </button>
  715. <line id="line29" class="line_3" style="x1:428px; y1:30px; x2:428px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
  716. <line id="line1" class="line_3" style="x1:22px; y1:30px; x2:22px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
  717. <button id="button4" class="btn1_letter5" style="left:1095px; top:17px; width:92px; height:22px; ">
  718. <caption>내환자세팅</caption>
  719. <script type="javascript" ev:event="DOMActivate">
  720. <![CDATA[
  721. setParameter("wardcd", model.getValue("/root/main/cond/wardcd"));
  722. setParameter("userid", model.getValue("/root/main/cond/userid"));
  723. setParameter("usernm", model.getValue("/root/main/cond/usernm"));
  724. modal("SMMNB00400","1" ,"868", "128");
  725. model.removenode("/root/send");
  726. model.makeValue("/root/send/wardcd", model.getValue("/root/main/cond/wardcd"));
  727. submit("TRMNW00101");
  728. model.removenode("/root/init/ward[wardcd = '"+erdeptcd+"']"); // 응급의료센터 제외
  729. model.setValue("/root/main/cond/settingrnid", "");
  730. for(i = 1; i <= getNodesetCount("/root/init/settingrn"); i++ ) {
  731. if (model.getValue("/root/main/cond/userid") == model.getValue("/root/init/settingrn["+ i +"]/settingrnid")) {
  732. model.setValue("/root/main/cond/settingrnid", model.getValue("/root/main/cond/userid"));
  733. }
  734. }
  735. fGetWardBizListInfo();
  736. ]]>
  737. </script>
  738. </button>
  739. <select1 id="radio2" ref="/root/main/cond/indschacptstat" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:531px; top:10px; width:202px; height:13px; border-style:none; ">
  740. <choices>
  741. <item>
  742. <label>재원</label>
  743. <value>1</value>
  744. </item>
  745. <item>
  746. <label>입원</label>
  747. <value>2</value>
  748. </item>
  749. <item>
  750. <label>퇴원진행</label>
  751. <value>3</value>
  752. </item>
  753. <item>
  754. <label>퇴원</label>
  755. <value>4</value>
  756. </item>
  757. </choices>
  758. </select1>
  759. </group>
  760. <shape id="sha_state" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:7px; top:713px; width:593px; height:20px; background-color:#fffbf2; border-color:#7cbbdd; "/>
  761. <caption id="cap_state" style="left:12px; top:714px; width:588px; height:20px; ">상태 ⓐ:입원 ⓞ:외출/외박 ⓓ:퇴원예고 ⓒ:간호사퇴원정리완료 ⓘ:심사중 ⓕ:심사완료 (+):전실옴 (-):전실감</caption>
  762. <caption id="caption2" style="left:1167px; top:715px; width:26px; height:20px; ">[표]</caption>
  763. </group>
  764. </xhtml:body>
  765. </xhtml:html>