123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNP22000" position="absolute 0 0 1190 815" titletext="수술예방적 항생제 투약관리" oninit="SMMNP22000_oninit" onload="SMMNP22000_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1190 810" id="group5" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 1185 65" align="align:center top;" id="grp_sea" anchor="default">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 1185 40" id="roundrect3" class="roundrect_search" type="roundrectangle" anchor="default" style="background:#fffbf2ff;border:0 none #ffd799ff ;"/>
- <Static text="수술일자 :" position="absolute 10 10 127 27" id="caption17" class="search_name" anchor="default"/>
- <Calendar position="absolute 106 10 216 29" id="ipt_prcpdd" class="input_search" anchor="default" autoskip="true" onchanged="group5_grp_sea_ipt_prcpdd_onchanged" autoselect="true"/>
- <Button position="absolute 904 10 960 32" id="button1" class="btn1" text="조회" anchor="default" onclick="group5_grp_sea_button1_onclick"/>
- <Button position="absolute 1019 10 1099 32" id="button3" class="btn1" text="투약기록" anchor="default" onclick="group5_grp_sea_button3_onclick"/>
- <Shape position="absolute 891 8 897 33" linetype="vertical" id="line1" class="line_4" anchor="default" style="border:0 solid #ffe4bbff ;"/>
- <Button position="absolute 962 10 1018 32" id="button2" class="btn1" text="엑셀" anchor="default" onclick="group5_grp_sea_button2_onclick"/>
- <Button position="absolute 1100 10 1180 32" id="button4" class="btn1" text="마취기록" anchor="default" onclick="group5_grp_sea_button4_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="수술예방적 항생제 투약관리" position="absolute 0 0 204 25" id="caption6" class="tit_1" anchor="default"/>
- <Shape position="absolute 0 66 1185 72" linetype="horizontal" id="line3" class="line_10" anchor="default"/>
- <Grid position="absolute 0 70 1185 785" id="grd_oppreantilist" class="datagrid2" binddataset="ds_main_oppreantiinfo_oppreantilist" anchor="default" oncelldblclick="group5_grd_oppreantilist_oncelldblclick" onheadclick="group5_grd_oppreantilist_onheadclick" cellsizingtype="col" cellsizebandtype="allband">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40" band="left"/>
- <Column size="35"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="62"/>
- <Column size="60"/>
- <Column size="25"/>
- <Column size="35"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="115"/>
- <Column size="115"/>
- <Column size="40"/>
- <Column size="100"/>
- <Column size="105"/>
- <Column size="105"/>
- <Column size="96"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진행 상태"/>
- <Cell col="1" text="협진 여부"/>
- <Cell col="2" text="수술 구분"/>
- <Cell col="3" text="수술방"/>
- <Cell col="4" text="등록번호"/>
- <Cell col="5" text="환자명"/>
- <Cell col="6" text="성별"/>
- <Cell col="7" text="나이"/>
- <Cell col="8" text="집도과"/>
- <Cell col="9" text="집도의"/>
- <Cell col="10" text="수술명(한글)"/>
- <Cell col="11" text="수술명(영문)"/>
- <Cell col="12" text="마취 종류"/>
- <Cell col="13" text="처방명"/>
- <Cell col="14" text="투약기록시간 (예방적항생제)"/>
- <Cell col="15" text="수술시작시간"/>
- <Cell col="16" text="수술시작시간-투약기록시간(분)" wordwrap="word"/>
- <Cell col="17" text="oprsrvno"/>
- <Cell col="18" text="opcnfmdd"/>
- <Cell col="19" text="ophistno"/>
- <Cell col="20" text="opstatcd"/>
- <Cell col="21" text="instcd"/>
- <Cell col="22" text="indd"/>
- <Cell col="23" text="cretno"/>
- <Cell col="24" text="ordtype"/>
- <Cell col="25" text="prcpdd"/>
- <Cell col="26" text="prcpno"/>
- <Cell col="27" text="prcpcd"/>
- <Cell col="28" text="preanticnt"/>
- <Cell col="29" text="perfdeptcd"/>
- <Cell col="30" text="perfdrid"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" text="bind:opstatcdnm"/>
- <Cell col="1" style="align:center middle;" text="bind:cnstopyn"/>
- <Cell col="2" style="align:center middle;" text="bind:opflagcdnm"/>
- <Cell col="3" style="align:center middle;" text="bind:oproomcdnm"/>
- <Cell col="4" style="align:center middle;background:EXPR((preanticnt > 1) ? '#FFCC00' : '#FFFFFF');background2:EXPR((preanticnt > 1) ? '#FFCC00' : '#FFFFFF');" text="bind:pid"/>
- <Cell col="5" style="align:left middle;background:EXPR((preanticnt > 1) ? '#FFCC00' : '#FFFFFF');background2:EXPR((preanticnt > 1) ? '#FFCC00' : '#FFFFFF');" text="bind:patnm"/>
- <Cell col="6" style="align:center middle;" text="bind:sex"/>
- <Cell col="7" style="align:left middle;" text="bind:age"/>
- <Cell col="8" style="align:left middle;" text="bind:perfdeptnm"/>
- <Cell col="9" style="align:left middle;" text="bind:perfdrnm"/>
- <Cell col="10" style="align:left top;padding:3 0 0 3;" text="bind:opcdknm" wordwrap="word"/>
- <Cell col="11" style="align:left top;padding:3 0 0 3;" text="bind:opcdenm" wordwrap="word"/>
- <Cell col="12" style="align:center middle;" text="bind:anstmthdcdnm"/>
- <Cell col="13" style="align:left top;padding:3 0 0 3;background:EXPR((!utlf_isNull(prcpnm) && utlf_isNull(execdt)) ? '#FF00FF' : '#FFFFFF');background2:EXPR((!utlf_isNull(prcpnm) && utlf_isNull(execdt)) ? '#FF00FF' : '#FFFFFF');" text="bind:prcpnm" wordwrap="word"/>
- <Cell col="14" style="align:left middle;" text="bind:execdt" mask="expr:utlf_isNull(execdt) ? "" : "####-##-## ##:##""/>
- <Cell col="15" style="align:left middle;" text="bind:opfromdt" mask="expr:utlf_isNull(opfromdt) ? "" : "####-##-## ##:##""/>
- <Cell col="16" style="align:right middle;background:EXPR((preantift >=60) ? '#FFFF00' : (preantift < 0) ? '#FF99FF' : '#FFFFFF');background2:EXPR((preantift >=60) ? '#FFFF00' : (preantift < 0) ? '#FF99FF' : '#FFFFFF');" text="bind:preantift"/>
- <Cell col="17" text="bind:oprsrvno"/>
- <Cell col="18" text="bind:opcnfmdd"/>
- <Cell col="19" text="bind:ophistno"/>
- <Cell col="20" text="bind:opstatcd"/>
- <Cell col="21" text="bind:instcd"/>
- <Cell col="22" text="bind:indd"/>
- <Cell col="23" text="bind:cretno"/>
- <Cell col="24" text="bind:ordtype"/>
- <Cell col="25" text="bind:prcpdd"/>
- <Cell col="26" text="bind:prcpno"/>
- <Cell col="27" text="bind:prcpcd"/>
- <Cell col="28" text="bind:preanticnt"/>
- <Cell col="29" text="bind:perfdeptcd"/>
- <Cell col="30" text="bind:perfdrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 10 790 25 805" id="rectangle1" type="rectangle" anchor="default" style="fillbrush:solid transparent true;background:#ffcc00ff;border:0 none #ffcc00ff ;color:#ffcc00ff;"/>
- <Static text="수술예방적 항생제 투약기록이 2건 이상 존재" position="absolute 30 789 280 808" id="caption2" anchor="default"/>
- <Shape position="absolute 290 790 305 805" id="rectangle2" type="rectangle" anchor="default" style="fillbrush:solid transparent true;background:#ff99ccff;border:0 none #ff99ccff ;color:#ff99ccff;"/>
- <Static text="수술시작시간-투약기록시간 60분 이상인 건이 존재" position="absolute 617 789 893 809" id="caption3" anchor="default"/>
- <Shape position="absolute 597 790 612 805" id="rectangle3" type="rectangle" anchor="default" style="fillbrush:solid transparent true;background:#ffff00ff;border:0 none #ffff00ff ;color:#ffff00ff;"/>
- <Static text="투약기록시간이 수술시작시간 이후인 투약이 존재" position="absolute 310 789 585 809" id="caption4" anchor="default"/>
- <Shape position="absolute 909 790 924 805" id="rectangle4" type="rectangle" anchor="default" style="fillbrush:solid transparent true;background:#ff00ffff;border:0 none #ff00ffff ;color:#ff00ffff;"/>
- <Static text="미투약 수술예방적 항생제" position="absolute 929 789 1081 809" id="caption5" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="opdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_oppreantiinfo_oppreantilist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group5.grp_sea.ipt_prcpdd" propid="value" datasetid="ds_main_cond" columnid="opdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- /*fSearch*/
- function fSearch(){
- ds_send_reqdata.clearData();
- ds_send_reqdata.copyData(ds_main_cond);
- var oParam = {};
- oParam.id = "TRMNP22000";
- oParam.service = "opanstapp.OpAnstPatMngt";
- oParam.method = "reqGetOppReantiList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_oppreantiinfo_oppreantilist=oppreantilist";
- oParam.async = false;
- tranf_submit(oParam);
-
- var pGrd = group5.grd_oppreantilist;
- var pGrdCnt = ds_main_oppreantiinfo_oppreantilist.rowcount;
-
- if (pGrdCnt <= 0 ) return;
-
- //fMerge();
- }
- /*SMMNP22000_oninit*/
- function SMMNP22000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- /*SMMNP22000_onload*/
- function SMMNP22000_onload(obj:Form, e:LoadEventInfo)
- {
- ds_main_cond.setColumn(0, "opdd", utlf_getCurrentDate());
- fSearch();
- }
- /*group5_grp_sea_ipt_prcpdd_onchanged*/
- function group5_grp_sea_ipt_prcpdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fSearch();
- }
- /*group5_grp_sea_button1_onclick*/
- function group5_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch() ;
- }
- /*group5_grp_sea_button3_onclick*/
- function group5_grp_sea_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMMNR00600","SMMNR00600","","",1,15,128,"","","","","","M");
- }
- /*group5_grp_sea_button2_onclick*/
- function group5_grp_sea_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var opdd = ds_main_cond.getColumn(0, "opdd");
- grdf_exportExcel(group5.grd_oppreantilist, opdd, "sheet1" , true, "" , "" , true);
- }
- /*group5_grp_sea_button4_onclick*/
- function group5_grp_sea_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMMMR03700","SMMMR03700","","",1,15,128,"","","","","","M");
- }
- /*group5_grd_oppreantilist_oncelldblclick*/
- function group5_grd_oppreantilist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var condparam = "T▦" // 01 O:외래, I:입원구분, T:수술예약
- + ds_main_oppreantiinfo_oppreantilist.getColumn(ds_main_oppreantiinfo_oppreantilist.rowposition, "pid") + "▦" // 02 등록번호
- + ds_main_oppreantiinfo_oppreantilist.getColumn(ds_main_oppreantiinfo_oppreantilist.rowposition, "opcnfmdd") + "▦" // 03 수술시작일자
- + ds_main_oppreantiinfo_oppreantilist.getColumn(ds_main_oppreantiinfo_oppreantilist.rowposition, "cretno") + "▦" // 04 cretno(없는 경우 ""로 처리)
- + ds_main_oppreantiinfo_oppreantilist.getColumn(ds_main_oppreantiinfo_oppreantilist.rowposition, "instcd") + "▦" // 05 기관코드
- + ds_main_oppreantiinfo_oppreantilist.getColumn(ds_main_oppreantiinfo_oppreantilist.rowposition, "perfdeptcd") + "▦" // 06 집도과부서
- + ds_main_oppreantiinfo_oppreantilist.getColumn(ds_main_oppreantiinfo_oppreantilist.rowposition, "perfdrid") + "▦" // 07 집도의ID
- + "I▦" // 08 환자구분
- + "F▦" // 09 F -처리구분 무조건 F로 설정
- + ds_main_oppreantiinfo_oppreantilist.getColumn(ds_main_oppreantiinfo_oppreantilist.rowposition, "oprsrvno") + "▦" // 10 수술예약번호
- + ds_main_oppreantiinfo_oppreantilist.getColumn(ds_main_oppreantiinfo_oppreantilist.rowposition, "ophistno") + "▦" // 11 수술이력번호
- + ds_main_oppreantiinfo_oppreantilist.getColumn(ds_main_oppreantiinfo_oppreantilist.rowposition, "opcnfmdd") + "▦"; // 12 조회일자 2007-09-13 오지훈 추가...
-
- appf_initPatientInfo(condparam);
- }
- /*group5_grd_oppreantilist_onheadclick*/
- function group5_grd_oppreantilist_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- grdf_gridSort(group5.grd_oppreantilist, e);
- }
- ]]></Script>
- </Form>
- </FDL>
|