123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>항생제내성균환자조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <antibiorstbtrpatinfo>
- </antibiorstbtrpatinfo>
- <cond>
- <termchoi>P</termchoi>
- <fromdd/>
- <todd/>
- <pid/>
- <orddept/>
- <patnm/>
- <wardcd/>
- <nsgbrcd/>
- <bac/>
- <bac2>A</bac2>
- <groupflag/>
- </cond>
- <sortcond>
- <sort1>1</sort1>
- <cond1>0</cond1>
- <cond2>-</cond2>
- <sort2>2</sort2>
- <cond3>0</cond3>
- <cond4>-</cond4>
- <sort3>3</sort3>
- <cond5>0</cond5>
- <cond6>-</cond6>
- <sort4>4</sort4>
- <cond7>0</cond7>
- <cond8>-</cond8>
- <sort5>5</sort5>
- <cond9>0</cond9>
- <cond10>-</cond10>
- </sortcond>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- <orddeptlist>
- </orddeptlist>
- <warddeptlist>
- </warddeptlist>
- <deptcd>10400</deptcd>
- <popupmenu>
- <grid01>
- <item>
- <name>항생제내성균상세내역조회</name>
- <func>fAntibioDetlListPopup</func>
- </item>
- <item>
- <name>병원감염보고서등록</name>
- <func>fHospInfcReptPopup</func>
- </item>
- </grid01>
- </popupmenu>
- </hidden>
- <init/>
- <init>
- <initdate>
- <today/>
- </initdate>
- <P0149list>
- <P0149>
- <cdid/>
- <cdnm/>
- </P0149>
- </P0149list>
- <RSTBTRlist>
- <rstbtr>
- <cdid/>
- <cdnm/>
- </rstbtr>
- </RSTBTRlist>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRASB00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/antibiorstbtrpatinfo"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TXASB00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/anitbiorstbtrpatinfo"/>
- <submission id="TRASB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/RSTBTRlist"/>
- </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/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize() {
- // 공통코드를 조회한다.
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = 'D';
- var rslt_ref = "/root/hidden/orddeptlist";
- var sort_field = "depthngnm";
- var sort_method = "asc";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method);
- addComboItem("cmb_orddept","","","above");
-
- standard_yn = "orduseyn";
- ord_deptflag = "W";
- rslt_ref = "/root/hidden/warddeptlist";
- sort_field = "deptcd";
- sort_method = "asc";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method);
- addComboItem("cmb_wardcd","","","above");
-
- model.removeNodeset("/root/send");
- model.makeNode("/root/send");
- submit("TRASB00602", false);
-
- model.makeNode("/root/init/curdt");
- model.makeValue("/root/init/curdt/curdt", getCurrentDate());
- //model.makeValue("/root/init/curdt/curtm", getCurrentTime()):
-
- var idate=new Date();
- var frDate=idate.getAddDate(-1, "D");
-
- model.setValue("/root/main/cond/fromdd", frDate.getDateFormat());
- model.setValue("/root/main/cond/todd", model.getValue("/root/init/curdt/curdt"));
- model.refresh();
- }
-
- //항생제내성균상세조회
- function fAntibioDetlListPopup(){
- model.makeNode("/root/hidden/cond");
-
- var row=grd_anitbiorstbtrpatlist.selectedRow(0);
- model.makeValue("/root/hidden/cond/pid", model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + row +"]/pid"));
- model.makeValue("/root/hidden/cond/name", model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + row +"]/patnm"));
- model.makeValue("/root/hidden/cond/sexflag", model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + row +"]/sexflag"));
- model.makeValue("/root/hidden/cond/sexflag2", model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + row +"]/patsex"));
- model.makeValue("/root/hidden/cond/age", model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + row +"]/age"));
- model.makeValue("/root/hidden/cond/nsgbrcd", model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + row +"]/nsgbrcd"));
- model.makeValue("/root/hidden/cond/nsgbrcd2", model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + row +"]/nsgbrcode"));
- modal("SPASB00700", "1", "10", "10", "SPASB00700", "/root/hidden/cond", "/root/main/cond");
- }
-
- //병원감염보고서 popup
- function fHospInfcReptPopup() {
- var sessionPID = getPatientId();
- var iRow=grd_anitbiorstbtrpatlist.row;
- if(sessionPID != model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/pid")){
- fReqOpPatPamInfo();
- }
-
- var rtnmsg_header="reptdd▦ispccd▦spcnm▦ibaccd▦bacnm▦nsgbrcode▦nsgbrcd▦iprcpdd▦ibcolldt▦itclscd▦itestcd▦ibcno▦spcacptdt▩";
- var rtnmsg_data="";
- rtnmsg_data+=model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/reptdd") +"▦"
- + model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/ispccd") +"▦"
- + model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/spcnm") +"▦"
- + model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/ibaccd") +"▦"
- + model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/bacnm") +"▦"
- + model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/nsgbrcode") +"▦"
- + model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/nsgbrcd") +"▦"
- + model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/iprcpdd") +"▦"
- + model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/ibcolldt") +"▦"
- + model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/itclscd") +"▦"
- + model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/itestcd") +"▦"
- + model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/ibcno") +"▦"
- + model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist["+iRow+"]/ibcolldt") +"▩";
- setParameter("setVal12", rtnmsg_header+rtnmsg_data);
- open("SMASI00100", 1,10,10, "SMASI00100");
- //model.close();
- }
-
- //상단정보설정
- function fReqOpPatPamInfo(){
- var iRow=grd_anitbiorstbtrpatlist.row;
- var ioflag="I";
- var pid= model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + iRow+ "]/pid");
- var indd=model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + iRow+ "]/indd");
- var cretno=model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + iRow+ "]/cretno") ;
- var seqno=model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + iRow+ "]/seqno");
- var instcd=getUserInfo("dutplceinstcd");
- var srchdd=getCurrentDate();
- var param= ioflag + "▦" //입원환자
- + pid + "▦"
- + indd + "▦"
- + cretno + "▦"
- + instcd + "▦";
-
- setParameter("condparam", param);
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body idprefix="import" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1195px; height:784px; ">
- <group id="group2" style="left:0px; top:0px; width:1195px; height:784px; vertical-align:top; ">
- <line id="line4" class="line_3" style="x1:0px; y1:781px; x2:1194px; y2:781px; "/>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">항생제내성균 환자조회</caption>
- </group>
- </group>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_print" class="btn6_letter2" style="left:5px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1064px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist/pid") == "" || model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist/pid") == null) {
- messageBox("저장할 데이터가", "I004");
- return;
- }
- else{
- var selstatus;
- for(var i=1; i < grd_anitbiorstbtrpatlist.rows; i++){
- selstatus=model.getValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + i + "]/select");
- if(selstatus =="true") {
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/savedata/data",grd_anitbiorstbtrpatlist.getUpdateDataAll("i"));
- submit("TXASB00601");
- break;
- }
- }
- if(selstatus== "false" || selstatus == "" || selstatus== null) messageBox("저장할 데이터를", "C002");
- }
-
- /*model.removeNodeset("/root/send");
- model.makeValue("/root/send/savedata/data",grd_anitbiorstbtrpatlist.getUpdateDataAll("i"));
- submit("TXASB00601");*/
-
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1123px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/antibiorstbtrpatinfo");
- model.resetInstanceNode("/root/main/cond");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group1" style="left:5px; top:10px; width:1190px; height:90px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:85px; "/>
- <line id="line1" class="line_4" style="x1:1110px; y1:10px; x2:1110px; y2:78px; "/>
- <caption id="caption7" class="search_name" style="left:14px; top:9px; width:96px; height:17px; ">기간선택 :</caption>
- <caption id="caption8" class="search_name" style="left:612px; top:10px; width:99px; height:17px; ">내성균구분 :</caption>
- <caption id="caption12" class="search_name" style="left:14px; top:35px; width:101px; height:17px; ">등록번호 :</caption>
- <caption id="caption17" class="search_name" style="left:245px; top:61px; width:80px; height:17px; ">병 동 :</caption>
- <caption id="caption18" class="search_name" style="left:14px; top:60px; width:98px; height:17px; ">진 료 과 :</caption>
- <caption id="caption19" class="search_no_b" style="left:302px; top:10px; width:12px; height:17px; ">~</caption>
- <caption id="importcaption1" class="search_name" style="left:245px; top:35px; width:78px; height:17px; ">환자명 :</caption>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" style="left:112px; top:34px; width:93px; height:19px; "/>
- <select1 id="cmb_termchoi" ref="/root/main/cond/termchoi" class="combo_default" appearance="minimal" style="left:112px; top:9px; width:93px; height:19px; ">
- <choices>
- <item>
- <label>처방일</label>
- <value>P</value>
- </item>
- <item>
- <label>접수일</label>
- <value>S</value>
- </item>
- <item>
- <label>보고일</label>
- <value>R</value>
- </item>
- <!--item>
- <label>재원자</label>
- <value>I</value>
- </item-->
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var term=model.getValue("/root/main/cond/termchoi");
- if(term =="I") {
- ipt_fromdd.disabled= true;
- ipt_todd.disabled=true;
- model.setValue("/root/main/cond/fromdd", "");
- model.setValue("/root/main/cond/todd", "");
- model.refresh();
- } else {
- ipt_fromdd.disabled= false;
- ipt_todd.disabled=false;
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_default" inputtype="date" style="left:210px; top:9px; width:90px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input_default" inputtype="date" style="left:316px; top:9px; width:90px; height:19px; "/>
- <select1 id="cmb_wardcd" ref="/root/main/cond/wardcd" class="combo_search" appearance="minimal" style="left:328px; top:60px; width:135px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/warddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_patnm" ref="/root/main/cond/patnm" class="input_search" style="left:328px; top:35px; width:90px; height:19px; "/>
- <select1 id="cmb_orddept" ref="/root/main/cond/orddept" class="combo_search" appearance="minimal" style="left:112px; top:60px; width:128px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/orddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_search" class="btn1_letter2" style="left:1126px; top:36px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var fromdd=model.getValue("/root/main/cond/fromdd");
- var todd=model.getValue("/root/main/cond/todd");
- var term=model.getValue("/root/main/cond/termchoi");
- if( term == "") {
- messageBox("조회기준을", "C002");
- return;
- }
- if( term != "I" && (fromdd== "" || todd== "" )) {
- messageBox("기간을", "C002");
- //messageBox("일자는", "I003");
- return;
- }
-
- //model.removeNodeset("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist");
- model.makeNode("/root/send/cond");
- model.copyNode("/root/send/cond", "/root/main/cond");
- var bac=model.getValue("/root/main/cond/bac");
- if(bac != "") {
- bac=bac.toUpperCase( );
- model.setValue("/root/send/cond/bac", bac);
- }
-
- submit("TRASB00601");
- ]]>
- </script>
- </button>
- <select id="chk_nsgbrcd" ref="/root/main/cond/nsgbrcd" overflow="scroll" appearance="full" cellspacing="10" cols="5" vcellspacing="5" style="left:710px; top:10px; width:396px; height:75px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/RSTBTRlist/rstbtr">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <input id="ipt_bac" ref="/root/main/cond/bac" class="input_search" style="left:490px; top:10px; width:110px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:440px; top:10px; width:50px; height:17px; ">균 :</caption>
- <select1 id="rdo_bac" ref="/root/main/cond/bac2" navindex="1" appearance="full" cols="1" rows="3" overflow="visible" style="left:490px; top:31px; width:130px; height:51px; border-style:none; ">
- <choices>
- <item>
- <label>ALL Dates</label>
- <value>A</value>
- </item>
- <item>
- <label>First isolate only</label>
- <value/>
- </item>
- <item>
- <label>First isolate only 2</label>
- <value/>
- </item>
- </choices>
- </select1>
- <button id="btn_patInfo" class="icon_search" style="left:423px; top:37px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( (model.getValue("/root/main/cond/pid") != "") || (model.getValue("/root/main/cond/pid") != "")) {
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/cond/pid"));
- model.makeValue("/root/send/reqdata/srchcond", "1");
- }
- if( (model.getValue("/root/main/cond/patnm") != "") || (model.getValue("/root/main/cond/patnm") != "")) {
- model.makeValue("/root/send/reqdata/hngnm", model.getValue("/root/main/cond/patnm"));
- model.makeValue("/root/send/reqdata/srchcond", "2");
- }
-
- model.makeNode("/root/main/patinfo/patinfolist");
- modal("SPPMC02500",0,0,0,"SPPMC02500", "/root/send/reqdata", "/root/send");
- if(model.getValue("/root/main/patinfo/patinfolist/pid") != ""){
- model.setValue("/root/main/cond/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/cond/patnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.refresh();
- }
- ]]>
- </script>
- </button>
- </group>
- <line id="line3" class="line_1" style="x1:0px; y1:121px; x2:1194px; y2:121px; "/>
- <line id="line5" class="line_3" style="x1:0px; y1:148px; x2:1194px; y2:148px; "/>
- <button id="btn_sort" class="btn2_letter2" style="left:1107px; top:100px; width:42px; height:19px; ">
- <caption>정렬</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var tmpCol = model.getValue("/root/main/sortcond/cond1");
- var tmpsort = model.getValue("/root/main/sortcond/cond2");
- if (tmpsort == "asc" && tmpCol > 0 )
- {
- grd_anitbiorstbtrpatlist.colsort(tmpCol) = "asc";
- } else{
- grd_anitbiorstbtrpatlist.colsort(tmpCol) = "desc";
- }
-
- var tmpCol = model.getValue("/root/main/sortcond/cond3");
- var tmpsort = model.getValue("/root/main/sortcond/cond4");
- if (tmpsort == "asc" && tmpCol > 0 )
- {
- grd_anitbiorstbtrpatlist.colsort(tmpCol) = "asc";
- } else{
- grd_anitbiorstbtrpatlist.colsort(tmpCol) = "desc";
- }
-
- var tmpCol = model.getValue("/root/main/sortcond/cond5");
- var tmpsort = model.getValue("/root/main/sortcond/cond6");
- if (tmpsort == "asc" && tmpCol > 0 )
- {
- grd_anitbiorstbtrpatlist.colsort(tmpCol) = "asc";
- } else{
- grd_anitbiorstbtrpatlist.colsort(tmpCol) = "desc";
- }
-
- var tmpCol = model.getValue("/root/main/sortcond/cond7");
- var tmpsort = model.getValue("/root/main/sortcond/cond8");
- if (tmpsort == "asc" && tmpCol > 0 )
- {
- grd_anitbiorstbtrpatlist.colsort(tmpCol) = "asc";
- } else{
- grd_anitbiorstbtrpatlist.colsort(tmpCol) = "desc";
- }
-
- var tmpCol = model.getValue("/root/main/sortcond/cond9");
- var tmpsort = model.getValue("/root/main/sortcond/cond10");
- if (tmpsort == "asc" && tmpCol > 0 )
- {
- grd_anitbiorstbtrpatlist.colsort(tmpCol) = "asc";
- } else{
- grd_anitbiorstbtrpatlist.colsort(tmpCol) = "desc";
- }
- grd_anitbiorstbtrpatlist.sort(1, 1, grd_anitbiorstbtrpatlist.bottomRow, grd_anitbiorstbtrpatlist.rightcol)="usersort";
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_anitbiorstbtrpatlist" nodeset="/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist" caption="선택^내성균구분^등록번호^이름^성별^연령구분^검체구분^GAP^나이^처방병동^처방병실^현재원병동^현재원병실^진료과^주치의^입원일^퇴원일^재원기간^보고일^검체^균^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^cretno^seqno" colsep="^" colwidth="42, 71, 100, 70, 62, 100, 100, 100, 40, 70, 70, 70, 75, 90, 85, 73, 56, 70, 70, 70, 120, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="25" defaultrows="0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:125px; width:1194px; height:616px; ">
- <col ref="select" type="checkbox"/>
- <col ref="nsgbrcd"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="sexflag"/>
- <col ref="agegbn"/>
- <col ref="spcgbn"/>
- <col ref="gap"/>
- <col ref="age"/>
- <col ref="befwardcd"/>
- <col ref="befroomcd"/>
- <col ref="prestwardcd"/>
- <col ref="prestroomcd"/>
- <col ref="orddept"/>
- <col ref="atdoct"/>
- <col ref="indd"/>
- <col ref="dschdd"/>
- <col ref="inhospterm"/>
- <col ref="reptdd"/>
- <col ref="spcnm"/>
- <col ref="bacnm"/>
- <col ref="ibcno" visibility="hidden"/>
- <col ref="itclscd" visibility="hidden"/>
- <col ref="itestcd" visibility="hidden"/>
- <col ref="ispccd" visibility="hidden"/>
- <col ref="irsltseq" visibility="hidden"/>
- <col ref="ibaccd" visibility="hidden"/>
- <col ref="ibacseqno" visibility="hidden"/>
- <col ref="irsltflag" visibility="hidden"/>
- <col ref="itestkindcd" visibility="hidden"/>
- <col ref="iantibiorslt" visibility="hidden"/>
- <col ref="iprcpdd" visibility="hidden"/>
- <col ref="ibcolldt" visibility="hidden"/>
- <col ref="isbgdwardcd" visibility="hidden"/>
- <col ref="iatdrid" visibility="hidden"/>
- <col ref="nsgbrcode" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_anitbiorstbtrpatlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_anitbiorstbtrpatlist", false, "/root/hidden/popupmenu/grid01/item", "name", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(( grd_anitbiorstbtrpatlist.mouseRow > 0) && ( grd_anitbiorstbtrpatlist.mouseRow <= grd_anitbiorstbtrpatlist.rows )) {
- fReqOpPatPamInfo();
- }
-
- if(grd_anitbiorstbtrpatlist.col==1) {
- for(var i=1; i < grd_anitbiorstbtrpatlist.rows; i++){
- model.setValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + i + "]/select", "true");
- }
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_excel" class="btn2_letter2" style="left:1152px; top:100px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var fileName = window.fileDialog("save", ",", false, "항생제내성균환자", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- // if (fileName != ""){
- // grd_anitbiorstbtrpatlist.saveExcel(fileName, "SheetName", false, false, "", "", false);
- // }
- var fileName = window.fileDialog("save", ",", false, "항생제내성균환자", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_anitbiorstbtrpatlist.saveExcel(fileName, "항생제내성균환자", true, true, "", "", false);
- var s = fileName.lastIndexOf("\\");
- var fileName=fileName.substring(s+1);
-
- var rmsg = messageBox("저장된 Excel을", "Q004");
- if( rmsg == 6 ){
- window.exec("excel.exe", fileName);
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_prntchoi" class="btn2_letter4" style="left:973px; top:100px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i=1; i < grd_anitbiorstbtrpatlist.rows; i++){
- model.setValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + i + "]/select", "true");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_choicncl" class="btn2_letter4" style="left:1040px; top:100px; width:64px; height:19px; ">
- <caption>전체취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i=1; i < grd_anitbiorstbtrpatlist.rows; i++){
- model.setValue("/root/main/antibiorstbtrpatinfo/antibiorstbtrpatlist[" + i + "]/select", "false");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="tit_2" style="left:0px; top:107px; width:188px; height:13px; ">항생제내성균 환자리스트</caption>
- <button id="btn_tsrch" class="btn2_letter4" style="left:860px; top:100px; width:64px; height:19px; ">
- <caption>전체건수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMASB00601");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|