123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>SAPS3 조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <item>
- <no/>
- <pid/>
- <hngnm/>
- <sexage/>
- <age/>
- <depthngnm/>
- <fromdd/>
- <todd/>
- <todd2/>
- <inapchscore/>
- <indethrate/>
- <inapchscorea/>
- <outapchscore/>
- <outdethrate/>
- <outapchscorea/>
- <ining/>
- <orddd/>
- <cretno/>
- <apchdd/>
- <orddeptcd/>
- </item>
- </list>
- </main>
- <send>
- <reqdata/>
- <reqdata2/>
- </send>
- <hidden/>
- <init>
- <ward/>
- <orddept>
- <dept/>
- </orddept>
- <userlist/>
- <orddeptlist/>
- </init>
- <cond>
- <stnddd/>
- <enddd/>
- <range/>
- <ward/>
- <orddept/>
- <status/>
- <outchk/>
- <scorechk/>
- <scoredown/>
- <scoreup/>
- </cond>
- <temp>
- <initlist/>
- </temp>
- <paminfo>
- </paminfo>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fIni();
- ]]>
- </script>
- <submission id="TRMMR03000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/init/ward"/>
- <submission id="TRMMR04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/list"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00208" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMRC00050" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/orddept/dept"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/anstrecweb/js/MMR04000.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1055" pageheight="820">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:10px; top:25px; width:1035px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:15px; ">SAPS3</caption>
- <line id="line13" class="line_4" style="x1:824px; y1:33px; x2:824px; y2:57px; "/>
- <caption id="caption2" class="search_name" style="left:20px; top:33px; width:80px; height:17px; ">입실일자</caption>
- <line id="line12" class="line_1" style="x1:10px; y1:61px; x2:1045px; y2:61px; "/>
- <caption id="caption29" class="search_name" style="left:390px; top:33px; width:85px; height:17px; ">중환자실</caption>
- <datagrid id="grd_list" nodeset="/root/main/list/item" caption="등록번호^성 명^나이^성별^입원일^입실일^cretno^입실일자^퇴실일자^사망일자^진료과^중환자실^점수^예측사망율(%)^퇴실일자2^퇴실시 Score^퇴실시 Score^퇴실시 Score^입원일자^입원번호^APCHDD^진료과코드^ADJUSTED명칭^재원정보" colsep="^" colwidth="90, 100, 51, 50, 26, 18, 22, 120, 109, 107, 117, 74, 44, 100" explorerbar="sort" rowheader="seq" rowsep="|" style="left:10px; top:66px; width:1035px; height:744px; text-align:center; ">
- <col ref="pid"/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="age"/>
- <col ref="sex"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="fromdd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="ipsildt"/>
- <col ref="toisildt" format="yyyy-mm-dd hh:nn"/>
- <col ref="dethdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="orddeptnm"/>
- <col ref="wardnm"/>
- <col ref="sapsscore"/>
- <col ref="pom"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- // var curcol = grd_list.col;
- // var iRow = grd_list.row - grd_list.fixedRows + 1;
- //
- // if(model.getValue("/root/main/list/item["+ iRow +"]/pid") == ""){
- // messageBox("환자를 ","C002");
- // return;
- // }
- //
- // if (curcol == 14) {
- // setParameter("SPMMR03200_pid", model.getValue("/root/main/list/item["+ iRow +"]/pid"));
- // setParameter("SPMMR03200_hngnm", model.getValue("/root/main/list/item["+ iRow +"]/hngnm"));
- // setParameter("SPMMR03200_orddd", model.getValue("/root/main/list/item["+ iRow +"]/orddd"));
- // setParameter("SPMMR03200_cretno", model.getValue("/root/main/list/item["+ iRow +"]/cretno"));
- // //setParameter("SPMMR03200_apchdd", model.getValue("/root/cond/stnddd"));
- // setParameter("SPMMR03200_apchdd", model.getValue("/root/main/list/item["+ iRow +"]/fromdd"));
- // setParameter("SPMMR03200_age", model.getValue("/root/main/list/item["+ iRow +"]/age"));
- // setParameter("SPMMR03200_fromdd", model.getValue("/root/main/list/item["+ iRow +"]/fromdd"));
- // setParameter("SPMMR03200_todd", model.getValue("/root/main/list/item["+ iRow +"]/todd"));
- //
- // //modal("SPMMR03200", "", "", "", "", "/root/send/param", "/root/send");
- // window.load("SPMMR03200_아파치기록정보.xrw", "modeless", "pop1", "width:900px; height:980;");
- //
- // inputEnterKey("btn_srch", "DOMActivate");
- // }else if (curcol == 15) {
- // if(model.getValue("/root/main/list/item["+ iRow +"]/todd") == "99991231"){
- // messageBox("현재 재원중 ","E008");
- // return;
- // }
- //
- // setParameter("SPMMR03200_pid", model.getValue("/root/main/list/item["+ iRow +"]/pid"));
- // setParameter("SPMMR03200_hngnm", model.getValue("/root/main/list/item["+ iRow +"]/hngnm"));
- // setParameter("SPMMR03200_orddd", model.getValue("/root/main/list/item["+ iRow +"]/orddd"));
- // setParameter("SPMMR03200_cretno", model.getValue("/root/main/list/item["+ iRow +"]/cretno"));
- // setParameter("SPMMR03200_apchdd", model.getValue("/root/main/list/item["+ iRow +"]/todd"));
- // setParameter("SPMMR03200_age", model.getValue("/root/main/list/item["+ iRow +"]/age"));
- // setParameter("SPMMR03200_fromdd", model.getValue("/root/main/list/item["+ iRow +"]/fromdd"));
- // setParameter("SPMMR03200_todd", model.getValue("/root/main/list/item["+ iRow +"]/todd"));
- //
- // //modal("SPMMR03200", "", "", "", "", "/root/send/param", "/root/send");
- // window.load("SPMMR03200_아파치기록정보.xrw", "modeless", "pop1", "width:900px; height:980;");
- //
- // inputEnterKey("btn_srch", "DOMActivate");
- // }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_list.gridToInstance();
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSAPS();
- ]]>
- </script>
- </datagrid>
- <input id="ipt_reqstnddd" ref="/root/cond/stnddd" class="input_essential" inputtype="date" format="yyyy-mm-dd" style="left:105px; top:33px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/cond/stnddd", model.getValue("/root/cond/stnddd"));
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_reqenddd" ref="/root/cond/enddd" class="input_essential" inputtype="date" format="yyyy-mm-dd" style="left:220px; top:33px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/cond/enddd", model.getValue("/root/cond/enddd"));
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_term" ref="/root/cond/range" class="combo_search" appearance="minimal" style="left:320px; top:33px; width:60px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value>0</value>
- </item>
- <item>
- <label>3개월</label>
- <value>90</value>
- </item>
- <item>
- <label>6개월</label>
- <value>180</value>
- </item>
- <item>
- <label>9개월</label>
- <value>270</value>
- </item>
- <item>
- <label>1년</label>
- <value>365</value>
- </item>
- <item>
- <label>2년</label>
- <value>730</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var date2 = ipt_reqenddd.value;
- var term = cmb_term.value;
- ipt_reqstnddd.value = date2.toDate().getAddDate(-term,"D").getDateFormat("YYYYMMDD") ;
- ]]>
- </script>
- </select1>
- <select1 id="cmb_icu" ref="/root/cond/ward" class="combo_search" appearance="minimal" style="left:475px; top:33px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ward/icudept">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/cond/ward", model.getValue("/root/cond/ward"));
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddeptcd" ref="/root/cond/orddept" class="combo_search" appearance="minimal" style="left:690px; top:33px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/cond/orddept", model.getValue("/root/cond/orddept"));
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="btn_excel" class="btn1_letter2" style="left:979px; top:32px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_list.saveExcel(fileName, "SheetName", true, false, "", "", true);
- }
- ]]>
- </script>
- </button>
- <caption id="caption1" style="left:205px; top:35px; width:15px; height:15px; ">~</caption>
- <caption id="caption3" class="search_name" style="left:615px; top:33px; width:85px; height:17px; ">진 료 과</caption>
- <button id="button1" class="btn1_letter2" style="left:921px; top:32px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- model.refresh();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|