123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADB00900" position="absolute 0 0 1211 915" titletext="신규프로토콜조회" oninit="SMADB00900_oninit" onload="SMADB00900_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1194 25" id="group1">
- <Layouts>
- <Layout>
- <Static text="신규 프로토콜 조회" position="absolute 0 0 160 25" id="caption19" class="tit_1"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 40 1195 784" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Grid position="absolute 4 80 1194 742" id="datagrid2" binddataset="ds_datagrid2">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="78"/>
- <Column size="77"/>
- <Column size="130"/>
- <Column size="90"/>
- <Column size="220"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" 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="승인일"/>
- </Band>
- <Band id="body">
- <Cell text="bind:j"/>
- <Cell col="1" text="bind:code"/>
- <Cell col="2" text="bind:name"/>
- <Cell col="3" text="bind:code2"/>
- <Cell col="4" text="bind:pname"/>
- <Cell col="5" text="bind:ok"/>
- <Cell col="6" text="bind:date"/>
- <Cell col="7" text="bind:per"/>
- <Cell col="8" text="bind:bo"/>
- <Cell col="9"/>
- <Cell col="10"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 0 5 1195 45" id="group2">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 9 1194 40" id="roundrect1" type="roundrectangle"/>
- <Shape position="absolute 1112 14 1118 36" linetype="vertical" id="line13"/>
- <Button position="absolute 1125 13 1181 35" id="btn_sea" class="btn1" text="조회" onclick="group3_group2_btn_sea_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1151 55 1193 74" id="button51" class="btn2_letter2" text="엑셀"/>
- <Grid position="absolute 4 75 1194 737" id="grd_protocol" class="datagrid2" binddataset="ds_grd_protocol" oncelldblclick="group3_grd_protocol_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="130"/>
- <Column size="82"/>
- <Column size="88"/>
- <Column size="189"/>
- <Column size="52"/>
- <Column size="67"/>
- <Column size="113"/>
- <Column size="73"/>
- <Column size="93"/>
- <Column size="61"/>
- <Column size="94"/>
- <Column size="68"/>
- <Column size="103"/>
- <Column size="315"/>
- </Columns>
- <Rows>
- <Row size="48" 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="Remark"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="none" text="bind:orddeptcd" suppress="1" suppressalign="middle,over" combodataset="ds_main_orddeptlist" combocodecol="orddeptcd" combodatacol="orddeptnm" enable="false"/>
- <Cell col="1" text="bind:sickclscd"/>
- <Cell col="2" text="bind:sickclsnm"/>
- <Cell col="3" displaytype="combo" edittype="none" text="bind:ioflag" combodataset="ds_ioflag" combocodecol="value" combodatacol="label"/>
- <Cell col="4" text="bind:prtlcd"/>
- <Cell col="5" text="bind:prtlnm"/>
- <Cell col="6" text="bind:drugprid"/>
- <Cell col="7" text="bind:antimetprtlcd"/>
- <Cell col="8" text="bind:antimetprtlnm"/>
- <Cell col="9" text="bind:insuqualid"/>
- <Cell col="10" displaytype="date" edittype="date" text="bind:insuqualdt"/>
- <Cell col="11" text="bind:ordqualid"/>
- <Cell col="12" displaytype="date" edittype="date" text="bind:ordqualdt"/>
- <Cell col="13" text="bind:pharmqualid"/>
- <Cell col="14" displaytype="date" edittype="date" text="bind:pharmqualdt"/>
- <Cell col="15" text="bind:remark"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 13 1195 55" id="group4" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 0 17 56 39" id="btn_prt" class="btn6" text="출력" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="j" type="STRING"/>
- <Column id="code" type="STRING"/>
- <Column id="name" type="STRING"/>
- <Column id="code2" type="STRING"/>
- <Column id="pname" type="STRING"/>
- <Column id="ok" type="STRING"/>
- <Column id="date" type="STRING"/>
- <Column id="per" type="STRING"/>
- <Column id="bo" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_protocol" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="sickclscd" type="STRING"/>
- <Column id="sickclsnm" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="prtlcd" type="STRING"/>
- <Column id="prtlnm" type="STRING"/>
- <Column id="drugprid" type="STRING"/>
- <Column id="antimetprtlcd" type="STRING"/>
- <Column id="antimetprtlnm" type="STRING"/>
- <Column id="insuqualid" type="STRING"/>
- <Column id="insuqualdt" type="STRING"/>
- <Column id="ordqualid" type="STRING"/>
- <Column id="ordqualdt" type="STRING"/>
- <Column id="pharmqualid" type="STRING"/>
- <Column id="pharmqualdt" type="STRING"/>
- <Column id="remark" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="loguser" type="STRING" size="256" sumtext="로그인유저"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_orddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchkind" type="STRING" size="256" sumtext="조회종류"/>
- <Column id="userjpbflag" type="STRING" size="256" sumtext="세션정보_의사구분"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchkind">C</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="sickclscd" type="STRING" size="256" sumtext="질병분류코드"/>
- <Column id="sickclsnm" type="STRING" size="256" sumtext="질병분류명"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입원외래구분"/>
- <Column id="prtlcd" type="STRING" size="256" sumtext="코드"/>
- <Column id="prtlnm" type="STRING" size="256" sumtext="명칭"/>
- <Column id="drugprid" type="INT" size="256" sumtext="투여주기"/>
- <Column id="antimetprtlcd" type="STRING" size="256" sumtext="진토제코드"/>
- <Column id="antimetprtlnm" type="STRING" size="256" sumtext="진토제명칭"/>
- <Column id="insuqualid" type="STRING" size="256" sumtext="보험팀확인"/>
- <Column id="insuqualdt" type="STRING" size="256" sumtext="보험팀확인일시"/>
- <Column id="ordqualid" type="STRING" size="256" sumtext="진료팀확인"/>
- <Column id="ordqualdt" type="STRING" size="256" sumtext="진료팀확인일시"/>
- <Column id="pharmqualid" type="STRING" size="256" sumtext="약제팀확인"/>
- <Column id="pharmqualdt" type="STRING" size="256" sumtext="약제팀확인일시"/>
- <Column id="remark" type="STRING" size="256" sumtext="비고"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-10-26
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-10-26 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMADB00900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- function SMADB00900_onload(obj:Form, e:LoadEventInfo)
- {
- var oParam = {};
- oParam.id = "TRADB00801";
- oParam.service = "pharmacybaseapp.AnticancerProtocol";
- oParam.method = "reqGetAnticancerProtocolOrdDeptList";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_main_orddeptlist=item";
- oParam.async = false;
- oParam.callback = "cf_TRADB00801";
- tranf_submit(oParam);
- var jobkindcd = sysf_getUserInfo("jobkindcd");
- var jobkindnm = sysf_getUserInfo("jobkindnm");
- var dutplcecd = sysf_getUserInfo("dutplcecd");
-
- if(jobkindcd == "0330"){ //의사일 경우
- ds_send_srchdata.setColumn(0,"userjpbflag","dr");
- }
- if(dutplcecd == "4070300000"){ //보험팀일 경우
- ds_send_srchdata.setColumn(0,"userjpbflag","insu");
- }
- if(dutplcecd.substring(0,4) == "3241"){ //약제팀일 경우
- ds_send_srchdata.setColumn(0,"userjpbflag","pharm");
- }
-
- var userjpbflag = ds_send_srchdata.getColumn(0, "userjpbflag");
- if( userjpbflag == "dr" || userjpbflag == "insu" || userjpbflag == "pharm"){
- group3_group2_btn_sea_onclick();
- }else{
- sysf_messageBox("해당 로그인ID는 신규프로토콜 확인 작업을", "E001");
- }
-
-
- }
- function cf_TRADB00801(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function group3_group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- var userjpbflag = ds_send_srchdata.getColumn(0,"userjpbflag");
- if ( userjpbflag == "dr" || userjpbflag == "insu" || userjpbflag == "pharm"){
- var oParam = {};
- oParam.id = "TRADB00901";
- oParam.service = "pharmacybaseapp.AnticancerProtocol";
- oParam.method = "reqGetNewAnticancerProtocolList";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_grd_protocol=item";
- oParam.async = false;
- oParam.callback = "cf_TRADB00901";
- tranf_submit(oParam);
- }else{
- sysf_messageBox("해당 로그인ID는 신규프로토콜 확인 작업을","E001");
- }
- }
- function cf_TRADB00901(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function group3_grd_protocol_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var userjpbflag = ds_send_srchdata.getColumn(0, "userjpbflag");
- if( userjpbflag == "dr" || userjpbflag == "insu" || userjpbflag == "pharm"){
- group3_group2_btn_sea_onclick();
- }else{
- sysf_messageBox("해당 로그인ID는 신규프로토콜 확인 작업을", "E001");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|