SMASI02300_수술환자조회.xrw 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMASI02300.xrw
  4. * 설 명 : 수술환자조회
  5. * 수정이력 : 조회 함수생성 및 환자id length제한부분 막음 /2007-11-13 /손주연
  6. * 기 타 :
  7. -->
  8. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  9. <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">
  10. <xhtml:head>
  11. <![CDATA[]]>
  12. <xhtml:title>수술환자조회</xhtml:title>
  13. <model id="model1">
  14. <instance id="instance1">
  15. <root xmlns="">
  16. <main>
  17. <oppatrefinfo>
  18. </oppatrefinfo>
  19. <indopinfo>
  20. </indopinfo>
  21. <cond>
  22. <fromdd/>
  23. <todd/>
  24. <orddeptcd/>
  25. <perfdrnm/>
  26. <opcd/>
  27. <opnm/>
  28. <pid/>
  29. <opcdkind>ALL</opcdkind>
  30. </cond>
  31. <opinfo/>
  32. </main>
  33. <send>
  34. <reqdata/>
  35. </send>
  36. <hidden>
  37. <popupmenu>
  38. <grid01>
  39. <item>
  40. <name>통합기록조회</name>
  41. <func>fSytsRecRefPopup</func>
  42. </item>
  43. <item>
  44. <name>병원감염보고서등록</name>
  45. <func>fHospInfcReptPopup</func>
  46. </item>
  47. </grid01>
  48. </popupmenu>
  49. <getdata>
  50. <selectedpid/>
  51. </getdata>
  52. </hidden>
  53. <init>
  54. <initdate>
  55. <today/>
  56. </initdate>
  57. <P0064list>
  58. <P0064>
  59. <cdid/>
  60. <cdnm/>
  61. </P0064>
  62. </P0064list>
  63. <M0013list>
  64. <M0013>
  65. <cdid/>
  66. <cdnm/>
  67. </M0013>
  68. </M0013list>
  69. <M0015list>
  70. <M0015>
  71. <cdid/>
  72. <cdnm/>
  73. </M0015>
  74. </M0015list>
  75. <M0017list>
  76. <M0017>
  77. <cdid/>
  78. <cdnm/>
  79. </M0017>
  80. </M0017list>
  81. <M0341list>
  82. <M0341>
  83. <cdid/>
  84. <cdnm/>
  85. </M0341>
  86. </M0341list>
  87. <warddeptlist>
  88. </warddeptlist>
  89. <deptlist>
  90. </deptlist>
  91. </init>
  92. </root>
  93. </instance>
  94. <script type="javascript" ev:event="xforms-ready">
  95. <![CDATA[
  96. fInitialize();
  97. model.removeNodeset("/root/main/oppatrefinfo");
  98. model.removeNodeset("/root/main/indopinfo");
  99. model.refresh();
  100. ]]>
  101. </script>
  102. <submission id="TRASI02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/oppatrefinfo"/>
  103. <submission id="TRASI02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/indopinfo"/>
  104. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  105. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  106. </model>
  107. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  108. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  110. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  111. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  112. <script type="javascript">
  113. <![CDATA[
  114. function fInitialize() {
  115. grd_oppatreflist.frozenCols = 3;
  116. grd_indoplist.frozenCols = 3;
  117. // 공통코드를 조회한다.
  118. zbcfGetCodeList( new Array("P0064", "M0013", "M0015", "M0017", "M0341"),
  119. new Array("/root/init/P0064list", "/root/init/M0013list", "/root/init/M0015list", "/root/init/M0017list", "/root/init/M0341list"));
  120. // 진료과
  121. var instcd = getUserInfo("dutplceinstcd");
  122. var standard_yn = "orduseyn";
  123. var ord_deptflag = 'D';
  124. var rslt_ref = "/root/init/deptlist";
  125. var sort_field = "depthngnm";
  126. var sort_method = "asc";
  127. zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_method);
  128. addComboItem("cmb_orddeptcd","","","above");
  129. //병동
  130. standard_yn = "orduseyn";
  131. ord_deptflag = "W";
  132. rslt_ref = "/root/init/warddeptlist";
  133. sort_field = "deptcd";
  134. sort_method = "asc";
  135. zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method);
  136. var today = getCurrentDate();
  137. var idate = new Date();
  138. var peveDate = idate.getAddDate(0, "M");
  139. model.setValue("/root/init/initdate/today", today);
  140. model.makeValue("/root/send/cond/trgtmancnt", "I");
  141. model.makeValue("/root/send/cond/fromdd", peveDate.getDateFormat());
  142. model.makeValue("/root/send/cond/todd", today);
  143. model.setValue("/root/main/cond/fromdd", peveDate.getDateFormat());
  144. model.setValue("/root/main/cond/todd", today);
  145. model.refresh();
  146. }
  147. function fSytsRecRefPopup(){
  148. var sessionPID = getPatientId();
  149. var iRow=grd_oppatreflist.row;
  150. if(sessionPID != model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/pid")){
  151. fReqOpPatPamInfo();
  152. }
  153. setParameter("SMMRI00400_param_pid", sessionPID);
  154. //open("SMMRI00400", 1,10,10, "SMMRI00400");
  155. modal("SMMRI00400",1,10,10,"SMMRI00400", "", "/root/hidden/oprecinfo/info");
  156. }
  157. function fPrcpRefPopup() {
  158. var rowNode;
  159. var destNode = instance1.selectSingleNode("/root/send");
  160. for( var i = 0; i < grd_oppatreflist.selectedRows; i++ ) {
  161. rowNode = instance1.selectSingleNode("/root/datagrid/grid01/row[" + (grd_oppatreflist.selectedRow(i) - grd_oppatreflist.fixedRows + 1) + "]");
  162. model.duplicate(destNode, rowNode);
  163. }
  164. modal("SPTMP00100", "", "", "", "popup", "/root/send", "/root/main/grid01");
  165. }
  166. function fHospInfcReptPopup() {
  167. var sessionPID = getPatientId();
  168. var iRow=grd_oppatreflist.row;
  169. if(sessionPID != model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/pid")){
  170. fReqOpPatPamInfo();
  171. }
  172. var rtnmsg_header = "infcyn▦opcd▦opnm▦opmskind▦opflagcd▦opstatcd▦perfdrnm▦perfdrcd▦anstkind▦opdd▦opstarttm▦opendtm▦opusetm▦opwundkind▦asascore▦riskindex▦gnrlanst▦nnopcd▦escopeaproch▩";
  173. var rtnmsg_data = "";
  174. rtnmsg_data+= model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/infcyn")+"▦"
  175. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/opcd")+"▦"
  176. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/opnm")+"▦"
  177. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/opmskind")+"▦"
  178. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/opflagcd")+"▦"
  179. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/opstatcd")+"▦"
  180. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/perfdrnm")+"▦"
  181. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/perfdrcd")+"▦"
  182. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/anstkind")+"▦"
  183. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/opdd")+"▦"
  184. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/opstarttm")+"▦"
  185. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/opendtm")+"▦"
  186. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/opusetm")+"▦"
  187. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/opwundkind")+"▦"
  188. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/asascore")+"▦"
  189. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/riskindex")+"▦"
  190. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/gnrlanst")+"▦"
  191. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/nnopcd")+"▦"
  192. +model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/escopeopyn")+"▩";
  193. setParameter("setVal1", rtnmsg_header+rtnmsg_data);
  194. setParameter("setVal2", model.getValue("/root/main/oppatrefinfo/oppatreflist[" + iRow + "]/opwundkind"));
  195. setParameter("setVal3", model.getValue("/root/main/oppatrefinfo/oppatreflist[" + iRow + "]/asascore"));
  196. setParameter("setVal4", model.getValue("/root/main/oppatrefinfo/oppatreflist[" + iRow + "]/riskindex"));
  197. setParameter("setVal5", model.getValue("/root/main/oppatrefinfo/oppatreflist[" + iRow + "]/gnrlanst"));
  198. setParameter("setVal6", model.getValue("/root/main/oppatrefinfo/oppatreflist[" + iRow + "]/escopeopyn"));
  199. setParameter("setVal7", model.getValue("/root/main/oppatrefinfo/oppatreflist[" + iRow + "]/anstkind"));
  200. setParameter("setVal8", "S");
  201. open("SMASI00100", 1,10,10, "SMASI00100");
  202. window.close();
  203. }
  204. function fReqOpPatPamInfo(){
  205. var iRow = grd_oppatreflist.row;
  206. var sOPPATLIST_PATH = "/root/main/oppatrefinfo/oppatreflist";
  207. var ioflag = "T" // 수술일 경우 ioflag:T
  208. var pid = model.getValue(sOPPATLIST_PATH + "[" + iRow + "]/pid");
  209. var opcnfmdd = model.getValue(sOPPATLIST_PATH + "[" + iRow + "]/opdd");
  210. var cretno = "";
  211. var instcd = model.getValue(sOPPATLIST_PATH + "[" + iRow + "]/instcd");
  212. var perfdeptcd = model.getValue(sOPPATLIST_PATH + "[" + iRow + "]/perfdeptcd");
  213. var perfdrid = model.getValue(sOPPATLIST_PATH + "[" + iRow + "]/perfdrnm");
  214. var patflag = "I";
  215. var procflag = "F"; // 최초조회:F , 재조회:R
  216. var oprsrvno = model.getValue(sOPPATLIST_PATH + "[" + iRow + "]/oprsrvno");
  217. var ophistno = model.getValue(sOPPATLIST_PATH + "[" + iRow + "]/ophistno");
  218. var srchdd = model.getValue(sOPPATLIST_PATH + "[" + iRow + "]/opdd"); //조회일자
  219. var param = ioflag + "▦"
  220. + pid + "▦"
  221. + opcnfmdd + "▦"
  222. + cretno + "▦"
  223. + instcd + "▦"
  224. + perfdeptcd + "▦"
  225. + perfdrid + "▦"
  226. + patflag + "▦"
  227. + procflag + "▦"
  228. + oprsrvno + "▦"
  229. + ophistno + "▦"
  230. + srchdd;
  231. setParameter("condparam", param);
  232. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  233. }
  234. /*====================================================================================================================
  235. @desc : 수술환자조회
  236. ====================================================================================================================*/
  237. function fGetOprsList(){
  238. model.removeNodeset(grd_oppatreflist.nodeset);
  239. model.removeNodeset(grd_indoplist.nodeset);
  240. if( !isRequiredControls("ipt_fromdd","ipt_todd") ){
  241. return;
  242. }
  243. model.makeNode("/root/send/reqdata");
  244. model.copyNode("/root/send/reqdata", "/root/main/cond");
  245. var pnm = model.getValue("/root/main/cond/perfdrnm");
  246. if (pnm != ""){
  247. //pnm = "%" + pnm + "%";
  248. model.setValue("/root/send/reqdata/perfdrnm", pnm);
  249. }
  250. var ocd = model.getValue("/root/send/reqdata/opcd");
  251. var onm = model.getValue("/root/send/reqdata/opnm");
  252. if (ocd == "" && onm != ""){
  253. //onm = "%" + onm + "%";
  254. model.setValue("/root/send/reqdata/opnm", onm);
  255. }
  256. openLoadingBar("수술환자정보 ") ;//처리중 화면을 오픈한다.
  257. submit("TRASI02301");
  258. closeLoadingBar() ;//처리중 화면을 close한다.
  259. //model.refresh();
  260. }
  261. /*====================================================================================================================
  262. @desc : 개인수술이력조회
  263. ====================================================================================================================*/
  264. function fGetOprsHistList(){
  265. model.removeNodeset(grd_indoplist.nodeset);
  266. if((grd_oppatreflist.mouseRow > 0) && ( grd_oppatreflist.mouseRow <= grd_oppatreflist.rows )) {
  267. fReqOpPatPamInfo();
  268. }
  269. var iRow=grd_oppatreflist.row;
  270. if( iRow < 1) {
  271. return ;
  272. }
  273. model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/pid"));
  274. model.makeValue("/root/send/reqdata/orddept", model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/orddept"));
  275. model.makeValue("/root/send/reqdata/perfdrcd", model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/perfdrcd"));
  276. model.makeValue("/root/send/reqdata/opcd", model.getValue("/root/main/oppatrefinfo/oppatreflist["+iRow+"]/opcd"));
  277. model.makeValue("/root/send/reqdata/fromdd", "");
  278. model.makeValue("/root/send/reqdata/todd", "");
  279. model.makeValue("/root/send/reqdata/opcdkind", model.getValue("/root/main/cond/opcdkind"));
  280. openLoadingBar("개인수술이력정보 ") ;//처리중 화면을 오픈한다.
  281. submit("TRASI02302");
  282. closeLoadingBar() ;//처리중 화면을 close한다.
  283. }
  284. ]]>
  285. </script>
  286. </xhtml:head>
  287. <xhtml:body>
  288. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  289. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:124px; height:14px; ">수술환자조회</caption>
  290. </group>
  291. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  292. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  293. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  294. <line id="line5" class="line_4" style="x1:1119px; y1:7px; x2:1119px; y2:29px; "/>
  295. <caption id="caption19" class="search_no_b" style="left:188px; top:7px; width:12px; height:17px; ">~</caption>
  296. <caption id="caption7" class="search_name" style="left:303px; top:9px; width:73px; height:17px; ">진료과 :</caption>
  297. <caption id="caption5" class="search_name" style="left:500px; top:9px; width:78px; height:17px; ">집도의 :</caption>
  298. <caption id="caption8" class="search_name" style="left:639px; top:8px; width:73px; height:17px; ">수술명 :</caption>
  299. <caption id="caption2" class="search_name" style="left:848px; top:10px; width:86px; height:17px; ">등록번호 :</caption>
  300. <input id="ipt_pid" ref="/root/main/cond/pid" class="input_default" maxlength="10" style="left:938px; top:9px; width:65px; height:19px; ">
  301. <script type="javascript" ev:event="onkeyup">
  302. <![CDATA[
  303. inputEnterKey("btn_search", "DOMActivate");
  304. ]]>
  305. </script>
  306. </input>
  307. <input id="ipt_opnm" ref="/root/main/cond/opnm" class="input_default" style="left:715px; top:8px; width:110px; height:19px; ">
  308. <script type="javascript" ev:event="onkeypress">
  309. <![CDATA[
  310. inputEnterKey("btn_search", "DOMActivate");
  311. ]]>
  312. </script>
  313. </input>
  314. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" style="left:91px; top:8px; width:95px; height:19px; "/>
  315. <input id="ipt_todd" ref="/root/main/cond/todd" class="input_s_essential" inputtype="date" style="left:202px; top:8px; width:95px; height:19px; "/>
  316. <select1 id="cmb_orddeptcd" ref="/root/main/cond/orddeptcd" class="combo_search" appearance="minimal" style="left:378px; top:8px; width:115px; height:19px; ">
  317. <choices>
  318. <itemset nodeset="/root/init/deptlist/dept">
  319. <label ref="depthngnm"/>
  320. <value ref="deptcd"/>
  321. </itemset>
  322. </choices>
  323. </select1>
  324. <input id="ipt_perfdrnm" ref="/root/main/cond/perfdrnm" class="input_default" style="left:575px; top:8px; width:60px; height:19px; ">
  325. <script type="javascript" ev:event="onkeypress">
  326. <![CDATA[
  327. inputEnterKey("btn_search", "DOMActivate");
  328. ]]>
  329. </script>
  330. </input>
  331. <button id="btn_opnm" class="icon_search" style="left:828px; top:9px; width:16px; height:16px; ">
  332. <caption/>
  333. <script type="javascript" ev:event="DOMActivate">
  334. <![CDATA[
  335. model.makeValue("/root/temp/lastrowcnt", "");
  336. modal("SPMQP01700", 1,1,1,"SPMQP01700", "/root/temp/lastrowcnt", "/root/temp/getdata/grdfocus");
  337. model.removenode("/root/temp/lastrowcnt");
  338. var iRow = grd_op.rows- grd_op.fixedRows;
  339. if(iRow >=1){
  340. model.setValue("/root/main/cond/opnm", model.getValue("/root/main/opinfo/oplist[" + 1 + "]/termhngnm"));
  341. model.setValue("/root/main/cond/opcd", model.getValue("/root/main/opinfo/oplist[" + 1 + "]/termcd"));
  342. model.refresh();
  343. }
  344. ]]>
  345. </script>
  346. </button>
  347. <caption id="cap_fromdd" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">기간선택 :</caption>
  348. <button id="btn_search" class="btn1_letter2" style="left:1129px; top:7px; width:56px; height:22px; ">
  349. <caption>조회</caption>
  350. <script type="javascript" ev:event="DOMActivate">
  351. <![CDATA[
  352. var ddInterval = getDateInterval(ipt_fromdd.value, ipt_todd.value);
  353. var pid = ipt_pid.value;
  354. if(pid == "" && ddInterval > 7){
  355. messageBox("시스템 부하 원인으로 환자등록번호없이 7일까지만 조회", "I006");
  356. return;
  357. }
  358. fGetOprsList();
  359. ]]>
  360. </script>
  361. </button>
  362. <select1 id="radio1" ref="/root/main/cond/opcdkind" appearance="full" cols="1" rows="2" overflow="visible" style="left:1010px; top:2px; width:100px; height:31px; border-style:none; ">
  363. <choices>
  364. <item>
  365. <label>감염코드존재</label>
  366. <value>OPCD</value>
  367. </item>
  368. <item>
  369. <label>전체</label>
  370. <value>ALL</value>
  371. </item>
  372. </choices>
  373. </select1>
  374. </group>
  375. <line id="line1" class="line_1" style="x1:0px; y1:48px; x2:1194px; y2:48px; "/>
  376. <line id="line6" class="line_3" style="x1:1px; y1:511px; x2:1195px; y2:511px; "/>
  377. <caption id="caption1" class="tit_2" style="left:0px; top:530px; width:140px; height:14px; vertical-align:middle; ">개인 수술 이력</caption>
  378. <line id="line2" class="line_1" style="x1:0px; y1:545px; x2:1194; y2:545px; "/>
  379. <line id="line3" class="line_3" style="x1:0px; y1:740px; x2:1194px; y2:740px; "/>
  380. <datagrid id="grd_oppatreflist" nodeset="/root/main/oppatrefinfo/oppatreflist" class="datagrid2" caption="감염&#xA;여부^환자이름^등록번호^주민번호^성별&#xA;/나이^진료과^병동 [병실]^입원일^퇴원일^수술일^수술구분^재수술^수술전 진단명^수술후 진단명^수술전 수술명^수술후 수술명^수술코드&#xA;(수가)^수술코드&#xA;(EDI)^수술코드&#xA;(감염)^집도의코드^집도의^수술창상종류^수술&#xA;시작시간^수술&#xA;종료시간^수술&#xA;소요시간^ASA&#xA;score^T&#xA;hours^내시경&#xA;사용유무^마취종류^예방적 항생제1^예방적 항생제2^예방적 항생제3^Risk index^수술코드^수술진단코드^주/부^수술구분^수술진행상태^기관코드^집도과코드^집도과^수술예약번호^수술이력번호^general anesthesia 유무" colsep="^" colwidth="32, 58, 64, 73, 50, 55, 95, 73, 73, 81, 59, 50, 129, 125, 184, 148, 100, 100, 100, 74, 54, 192, 60, 60, 60, 43, 42, 59, 71, 100, 100, 100, 70, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:53px; width:1195px; height:462px; ">
  381. <col disabled="true" ref="infcyn" type="combo">
  382. <choices>
  383. <item>
  384. <label>Y</label>
  385. <value>Y</value>
  386. </item>
  387. <item>
  388. <label>N</label>
  389. <value>N</value>
  390. </item>
  391. </choices>
  392. </col>
  393. <col ref="patnm"/>
  394. <col ref="pid"/>
  395. <col ref="rrgstno1"/>
  396. <col ref="age"/>
  397. <col disabled="true" ref="orddeptcd"/>
  398. <col ref="roomcd"/>
  399. <col ref="indd" format="yyyymmdd"/>
  400. <col ref="dschdd" format="yyyymmdd"/>
  401. <col ref="opdd" format="yyyymmdd"/>
  402. <col ref="opflagnm"/>
  403. <col ref="reopflag"/>
  404. <col ref="diagnm"/>
  405. <col ref="afopdiagnm"/>
  406. <col ref="opnm"/>
  407. <col/>
  408. <col ref="prcpcd" style="left:983px; top:32px; width:100px; height:23px; "/>
  409. <col ref="edicd"/>
  410. <col ref="nnopcd"/>
  411. <col ref="perfdrcd" visibility="hidden"/>
  412. <col ref="perfdrnm"/>
  413. <col disabled="true" ref="opwundkind" type="combo">
  414. <choices>
  415. <itemset nodeset="/root/init/M0341list/M0341">
  416. <label ref="cdnm"/>
  417. <value ref="cdid"/>
  418. </itemset>
  419. </choices>
  420. </col>
  421. <col ref="opstarttm" visibility="visible" format="hh:nn"/>
  422. <col ref="opendtm" visibility="visible" format="hh:nn"/>
  423. <col ref="opusetm"/>
  424. <col disabled="true" ref="asascore"/>
  425. <col ref="thours"/>
  426. <col ref="escopeeqmtuseyn"/>
  427. <col disabled="true" ref="anstkind" type="combo">
  428. <choices>
  429. <itemset nodeset="/root/init/M0017list/M0017">
  430. <label ref="cdnm"/>
  431. <value ref="cdid"/>
  432. </itemset>
  433. </choices>
  434. </col>
  435. <col ref="prvnantibiodrug0"/>
  436. <col ref="prvnantibiodrug1"/>
  437. <col ref="prvnantibiodrug2"/>
  438. <col ref="riskindex"/>
  439. <col ref="opcd" visibility="hidden"/>
  440. <col ref="opdiagcd" visibility="hidden"/>
  441. <col disabled="true" ref="opmskind" type="combo" visibility="hidden">
  442. <choices>
  443. <itemset nodeset="/root/init/P0064list/P0064">
  444. <label ref="cdnm"/>
  445. <value ref="cdid"/>
  446. </itemset>
  447. </choices>
  448. </col>
  449. <col disabled="true" ref="opflagcd" type="combo" visibility="hidden">
  450. <choices>
  451. <itemset nodeset="/root/init/M0013list/M0013">
  452. <label ref="cdnm"/>
  453. <value ref="cdid"/>
  454. </itemset>
  455. </choices>
  456. </col>
  457. <col disabled="true" ref="opstatcd" type="combo" visibility="hidden">
  458. <choices>
  459. <itemset nodeset="/root/init/M0015list/M0015">
  460. <label ref="cdnm"/>
  461. <value ref="cdid"/>
  462. </itemset>
  463. </choices>
  464. </col>
  465. <col ref="instcd" visibility="hidden"/>
  466. <col ref="orddeptcd" visibility="hidden"/>
  467. <col ref="perfdeptnm" visibility="hidden"/>
  468. <col ref="oprsrvno" visibility="hidden"/>
  469. <col ref="ophistno" visibility="hidden"/>
  470. <col ref="gnrlanst" visibility="hidden"/>
  471. <script type="javascript" ev:event="ondblclick">
  472. <![CDATA[
  473. fGetOprsHistList();
  474. ]]>
  475. </script>
  476. <script type="javascript" ev:event="onmousedown">
  477. <![CDATA[
  478. setPopupMenu("grd_oppatreflist", false, "/root/hidden/popupmenu/grid01/item", "name", "func");
  479. ]]>
  480. </script>
  481. <script type="javascript" ev:event="DOMFocusOut">
  482. <![CDATA[
  483. setPopupMenu(false);
  484. ]]>
  485. </script>
  486. <script type="javascript" ev:event="onaftersort">
  487. <![CDATA[
  488. grd_oppatreflist.gridToInstance();
  489. ]]>
  490. </script>
  491. </datagrid>
  492. <datagrid id="grd_op" nodeset="/root/main/opinfo/oplist" visibility="hidden" caption="수술코드^수술명^caption1^caption2" colsep="^" colwidth="80, 145, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:695px; top:115px; width:263px; height:85px; ">
  493. <col ref="termcd" style="left:0px; top:23px; width:100px; height:23px; "/>
  494. <col ref="termhngnm"/>
  495. <col ref="termengnm" visibility="hidden"/>
  496. <col ref="termflag" visibility="hidden"/>
  497. </datagrid>
  498. <button id="button1" class="btn2_letter4" style="left:1125px; top:520px; width:64px; height:19px; ">
  499. <caption>엑셀저장</caption>
  500. <script type="javascript" ev:event="DOMActivate">
  501. <![CDATA[
  502. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  503. if (fileName != ""){
  504. grd_oppatreflist.saveExcel(fileName, "SheetName", true, true, "", "", true);
  505. }
  506. ]]>
  507. </script>
  508. </button>
  509. <datagrid id="grd_indoplist" nodeset="/root/main/indopinfo/indoplist" class="datagrid2" caption="감염&#xA;여부^환자이름^등록번호^주민번호^성별&#xA;/나이^진료과^병동 [병실]^입원일^퇴원일^수술일^수술구분^재수술^수술전 진단명^수술후 진단명^수술전 수술명^수술후 수술명^수술코드&#xA;(수가)^수술코드&#xA;(EDI)^수술코드&#xA;(감염)^집도의코드^집도의^수술창상종류^수술&#xA;시작시간^수술&#xA;종료시간^수술&#xA;소요시간^ASA&#xA;score^T&#xA;hours^내시경&#xA;사용유무^마취종류^예방적 항생제1^예방적 항생제2^예방적 항생제3^Risk index^수술코드^수술진단코드^주/부^수술구분^수술진행상태^기관코드^집도과코드^집도과^수술예약번호^수술이력번호^general anesthesia 유무" colsep="^" colwidth="32, 58, 64, 73, 50, 55, 95, 73, 73, 88, 58, 50, 146, 130, 184, 173, 100, 100, 100, 74, 54, 192, 60, 60, 60, 43, 42, 59, 71, 100, 100, 100, 70, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:550px; width:1195px; height:192px; ">
  510. <col disabled="true" ref="infcyn" type="combo">
  511. <choices>
  512. <item>
  513. <label>Y</label>
  514. <value>Y</value>
  515. </item>
  516. <item>
  517. <label>N</label>
  518. <value>N</value>
  519. </item>
  520. </choices>
  521. </col>
  522. <col ref="patnm"/>
  523. <col ref="pid"/>
  524. <col ref="rrgstno1"/>
  525. <col ref="age"/>
  526. <col disabled="true" ref="orddeptcd"/>
  527. <col disabled="true" ref="roomcd"/>
  528. <col ref="indd" format="yyyy-mm-dd"/>
  529. <col ref="dschdd" format="yyyy-mm-dd"/>
  530. <col ref="opdd" format="yyyy-mm-dd"/>
  531. <col ref="opflagnm"/>
  532. <col ref="reopflag"/>
  533. <col ref="diagnm"/>
  534. <col ref="afopdiagnm"/>
  535. <col ref="opnm"/>
  536. <col/>
  537. <col ref="prcpcd" style="left:983px; top:32px; width:100px; height:23px; "/>
  538. <col ref="edicd"/>
  539. <col ref="nnopcd"/>
  540. <col ref="perfdrcd" visibility="hidden"/>
  541. <col ref="perfdrnm"/>
  542. <col disabled="true" ref="opwundkind" type="combo">
  543. <choices>
  544. <itemset nodeset="/root/init/M0341list/M0341">
  545. <label ref="cdnm"/>
  546. <value ref="cdid"/>
  547. </itemset>
  548. </choices>
  549. </col>
  550. <col ref="opstarttm" visibility="visible" format="hh:nn"/>
  551. <col ref="opendtm" visibility="visible" format="hh:nn"/>
  552. <col ref="opusetm" format="hh:nn"/>
  553. <col disabled="true" ref="asascore"/>
  554. <col ref="thours"/>
  555. <col ref="escopeeqmtuseyn"/>
  556. <col disabled="true" ref="anstkind" type="combo">
  557. <choices>
  558. <itemset nodeset="/root/init/M0017list/M0017">
  559. <label ref="cdnm"/>
  560. <value ref="cdid"/>
  561. </itemset>
  562. </choices>
  563. </col>
  564. <col ref="prvnantibiodrug0"/>
  565. <col ref="prvnantibiodrug1"/>
  566. <col ref="prvnantibiodrug2"/>
  567. <col ref="riskindex"/>
  568. <col ref="opcd" visibility="hidden"/>
  569. <col ref="opdiagcd" visibility="hidden"/>
  570. <col disabled="true" ref="opmskind" type="combo" visibility="hidden">
  571. <choices>
  572. <itemset nodeset="/root/init/P0064list/P0064">
  573. <label ref="cdnm"/>
  574. <value ref="cdid"/>
  575. </itemset>
  576. </choices>
  577. </col>
  578. <col disabled="true" ref="opflagcd" type="combo" visibility="hidden">
  579. <choices>
  580. <itemset nodeset="/root/init/M0013list/M0013">
  581. <label ref="cdnm"/>
  582. <value ref="cdid"/>
  583. </itemset>
  584. </choices>
  585. </col>
  586. <col disabled="true" ref="opstatcd" type="combo" visibility="hidden">
  587. <choices>
  588. <itemset nodeset="/root/init/M0015list/M0015">
  589. <label ref="cdnm"/>
  590. <value ref="cdid"/>
  591. </itemset>
  592. </choices>
  593. </col>
  594. <col ref="instcd" visibility="hidden"/>
  595. <col ref="orddeptcd" visibility="hidden"/>
  596. <col ref="perfdeptnm" visibility="hidden"/>
  597. <col ref="oprsrvno" visibility="hidden"/>
  598. <col ref="ophistno" visibility="hidden"/>
  599. <col ref="gnrlanst" visibility="hidden"/>
  600. <script type="javascript" ev:event="ondblclick">
  601. <![CDATA[
  602. fGetOprsHistList();
  603. ]]>
  604. </script>
  605. <script type="javascript" ev:event="onmousedown">
  606. <![CDATA[
  607. setPopupMenu("grd_oppatreflist", false, "/root/hidden/popupmenu/grid01/item", "name", "func");
  608. ]]>
  609. </script>
  610. <script type="javascript" ev:event="DOMFocusOut">
  611. <![CDATA[
  612. setPopupMenu(false);
  613. ]]>
  614. </script>
  615. <script type="javascript" ev:event="onaftersort">
  616. <![CDATA[
  617. grd_oppatreflist.gridToInstance();
  618. ]]>
  619. </script>
  620. </datagrid>
  621. </group>
  622. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  623. <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:5px; top:3px; width:56px; height:22px; ">
  624. <caption>출력</caption>
  625. </button>
  626. <button id="btn_init" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  627. <caption>초기화</caption>
  628. <script type="javascript" ev:event="DOMActivate">
  629. <![CDATA[
  630. model.removeNodeset("/root/main/oppatrefinfo");
  631. model.removeNodeset("/root/main/indopinfo");
  632. model.refresh();
  633. ]]>
  634. </script>
  635. </button>
  636. </group>
  637. </xhtml:body>
  638. </xhtml:html>