123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPPI01100" position="absolute 0 0 1254 800" titletext="외래사전심사대상자현황조회" oninit="SMPPI01100_oninit" onload="SMPPI01100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 26 1254 800" id="grp_biz" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 77 1254 774" id="grd_dpcdlist" class="datagrid3" binddataset="ds_grd_dpcdlist" autofittype="none" anchor="all" cellsizingtype="col" autoenter="select" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="35"/>
- <Column size="75"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="35"/>
- <Column size="110"/>
- <Column size="80"/>
- <Column size="75"/>
- <Column size="150"/>
- <Column size="35"/>
- <Column size="65"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="250"/>
- <Column size="80"/>
- <Column size="35"/>
- <Column size="200"/>
- <Column size="75"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="42" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="normal" text="처방일자"/>
- <Cell col="2" displaytype="normal" text="처방일시"/>
- <Cell col="3" displaytype="normal" text="환자번호"/>
- <Cell col="4" displaytype="normal" text="환자명"/>
- <Cell col="5" displaytype="normal" text="진행 상태"/>
- <Cell col="6" displaytype="normal" text="진료과"/>
- <Cell col="7" displaytype="normal" text="진료의"/>
- <Cell col="8" displaytype="normal" text="처방코드"/>
- <Cell col="9" displaytype="normal" text="처방명"/>
- <Cell col="10" displaytype="normal" text="급비 구분"/>
- <Cell col="11" displaytype="normal" text="심사자"/>
- <Cell col="12" displaytype="normal" text="제어 코드"/>
- <Cell col="13" displaytype="normal" text="제어 타입"/>
- <Cell col="14" displaytype="normal" text="제어상유"/>
- <Cell col="15" displaytype="normal" text="처방수정요청"/>
- <Cell col="16" displaytype="normal" text="처방 사유 코드"/>
- <Cell col="17" displaytype="normal" text="처방사유"/>
- <Cell col="18" displaytype="normal" text="진료일"/>
- <Cell col="19" displaytype="normal" text="cretno"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="date" text="bind:prcpdd"/>
- <Cell col="2" displaytype="date" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm:ss"/>
- <Cell col="3" displaytype="text" text="bind:pid"/>
- <Cell col="4" displaytype="normal" style="align:left middle;" text="bind:patnm"/>
- <Cell col="5" displaytype="combo" style="align:center middle;" text="bind:bfjudgstat" combodataset="ds_cmb_laststats" combocodecol="value" combodatacol="label"/>
- <Cell col="6" displaytype="combo" edittype="none" text="bind:orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="7" displaytype="combo" text="bind:orddrid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
- <Cell col="8" displaytype="text" text="bind:prcpcd"/>
- <Cell col="9" displaytype="text" text="bind:prcpnm"/>
- <Cell col="10" displaytype="combo" style="align:center middle;" text="bind:payflagcd" combodataset="ds_init_M0029list" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="11" displaytype="combo" text="bind:judgrid" combodataset="ds_init_judgrid" combocodecol="judgrid" combodatacol="judgrnm"/>
- <Cell col="12" displaytype="text" text="bind:rulecd"/>
- <Cell col="13" displaytype="text" text="bind:typecd"/>
- <Cell col="14" displaytype="text" text="bind:limresn"/>
- <Cell col="15" displaytype="text" text="bind:insuupdtdesc"/>
- <Cell col="16" displaytype="normal" text="bind:resncd"/>
- <Cell col="17" displaytype="text" text="bind:resncnts"/>
- <Cell col="18" displaytype="date" text="bind:orddd"/>
- <Cell col="19" displaytype="normal" text="bind:cretno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="외래사전심사 대상자 현황조회" position="absolute 0 56 294 71" id="cap_judgtrgtman" class="tit_2" anchor="left top"/>
- <Shape position="absolute 0 72 1254 78" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Div position="absolute 0 0 1254 40" align="align:center top;" id="group1" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout width="1160" height="40">
- <Button position="absolute 1175 10 1231 32" id="btn_select" class="btn1" taborder="2" text="조회" anchor="top right" onclick="grp_biz_group1_btn_select_onclick"/>
- <Shape position="absolute 1157 5 1163 38" linetype="vertical" id="line3" class="line_4" anchor="top right"/>
- <Static text="진료일자 :" position="absolute 15 11 93 28" id="caption2" class="search_name" anchor="default"/>
- <Calendar position="absolute 92 10 207 29" id="ipt_fromdd" enable="true" mask="yyyy-mm-dd" anchor="default" onkeydown="grp_biz_group1_input2_onkeydown" oneditclick="grp_biz_group1_ipt_fromdd_oneditclick" onkeyup="grp_biz_group1_ipt_fromdd_onkeyup" autoselect="true" autoskip="true" taborder="0"/>
- <Calendar id="ipt_todd" taborder="1" onkeydown="grp_biz_group1_input2_onkeydown" position="absolute 231 10 346 29" mask="yyyy-mm-dd" onkeyup="grp_biz_group1_ipt_todd_onkeyup" anchor="default" autoselect="true"/>
- <Static id="Static00" text="~" position="absolute 210 9 228 29" style="align:center middle;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1173 52 1253 71" id="btn_excelsave" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_btn_excelsave_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="cap_title" text="외래사전심사 대상자 현황조회" class="tit_1" position="absolute 0 0 272 26"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_dpcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddrid" type="STRING" size="255"/>
- <Column id="rulecd" type="STRING" size="255"/>
- <Column id="orddeptcd" type="STRING" size="255"/>
- <Column id="prcpdd" type="STRING" size="255"/>
- <Column id="insuupdtdesc" type="STRING" size="255"/>
- <Column id="resncnts" type="STRING" size="255"/>
- <Column id="patnm" type="STRING" size="255"/>
- <Column id="bfjudgstat" type="STRING" size="255"/>
- <Column id="pid" type="STRING" size="255"/>
- <Column id="judgrid" type="STRING" size="255"/>
- <Column id="payflagcd" type="STRING" size="255"/>
- <Column id="cretno" type="BIGDECIMAL" size="255"/>
- <Column id="prcpdt" type="STRING" size="255"/>
- <Column id="limresn" type="STRING" size="255"/>
- <Column id="prcpnm" type="STRING" size="255"/>
- <Column id="typecd" type="STRING" size="255"/>
- <Column id="sort1" type="STRING" size="255"/>
- <Column id="resncd" type="STRING" size="255"/>
- <Column id="orddd" type="STRING" size="255"/>
- <Column id="prcpcd" type="STRING" size="255"/>
- </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="instcd" type="STRING" size="256"/>
- <Column id="seq" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_laststats" 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>
- </Row>
- <Row>
- <Col id="label">대기</Col>
- <Col id="value">W</Col>
- </Row>
- <Row>
- <Col id="label">승인</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">수정</Col>
- <Col id="value">X</Col>
- </Row>
- <Row>
- <Col id="label">대기삭제</Col>
- <Col id="value">WD</Col>
- </Row>
- <Row>
- <Col id="label">승인삭제</Col>
- <Col id="value">YD</Col>
- </Row>
- <Row>
- <Col id="label">수정삭제</Col>
- <Col id="value">XD</Col>
- </Row>
- <Row>
- <Col id="label">삭제</Col>
- <Col id="value">D</Col>
- </Row>
- <Row>
- <Col id="label">급비승인</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">제어</Col>
- <Col id="value">T</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_judgrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_M0029list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.group1.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_biz.group1.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- var lgv_hscroll_pos = 0;
- var lgv_vscroll_pos = 0;
- function SMPPI01100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPPI01100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grp_biz.grd_dpcdlist);
- grdf_setToolTipBind(grp_biz.grd_dpcdlist);
- //grdf_setRowTypeIcon(grp_biz.grd_dpcdlist, 0);
-
- var oParam = {};
- oParam.id = "TRPID20201";
- oParam.service = "aftjudgapp.InAftJudgTrgtMan";
- oParam.method = "reqGetInitComCd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_judgrid=judgrid ds_init_suppkind=suppkind ds_init_orddrid=orddrid ds_init_orddrid2=orddrid2 ds_init_clamdept=clamdept ds_init_orddeptcd=orddeptcd ds_init_orddeptcd2=orddeptcd2 ds_init_item3=item3 ds_init_clamdg=clamdg ds_init_aftjudgerr=aftjudgerr ds_init_uuee=uuee";
- oParam.async = false;
- //oParam.callback = "cf_TRPID20201";
- tranf_submit(oParam);
-
- var arrParam = [{dsNm: "ds_init_M0029list", cdGrpId: "M0029"}]
- appf_getCodeList(arrParam);
-
- fInitialize();
- }
- function fInitialize(){
- // var arrParam1 = new Array();
- // arrParam1 = [{dsNm: "ds_init_combo1", cdGrpId: "M0010", showValue: false}];
- // appf_getCodeList(arrParam1, true, ""); //비동기
-
- dsf_createDsRow("ds_send1", [{col:"instcd", type:"STRING", size:256, val: sysf_getUserInfo("dutplceinstcd")}
- // , {col:"diagcd", type:"STRING", size:256, val: grp_biz.group1.ipt_diagcd.value}
- // , {col:"calcscorcd", type:"STRING", size:256, val: grp_biz.group1.ipt_calcscorcd.value}
- // , {col:"aprvdd", type:"STRING", size:256, val: grp_biz.group1.ipt_aprvdd.value}
- // , {col:"aprvnm", type:"STRING", size:256, val: grp_biz.group1.ipt_aprvnm.value}
- // , {col:"judgrid", type:"STRING", size:256, val: grp_biz.group1.cmd_judgrid.value}
- ]);
-
- // var oParam = {};
- // oParam.id = "TRPPI01001";
- // oParam.service = "bfjudgcareapp.BfJudgCareMngt";
- // oParam.method = "reqGetBfjudgTrgtList";
- // oParam.inds = "req=ds_send1";
- // oParam.outds = "ds_grd_bfaclist=rslt";
- // oParam.async = true;
- // oParam.callback = "cf_TRPPI01001";
- //
- // tranf_submit(oParam);
- ds_send.setColumn(0,"fromdd", utlf_getCurrentDate() );
- ds_send.setColumn(0,"todd", utlf_getCurrentDate() );
-
- }
- function cf_TRPPI01001(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function fGetDocuList(){
- lgv_hscroll_pos = grp_biz.grd_dpcdlist.hscrollbar.pos;
- lgv_vscroll_pos = grp_biz.grd_dpcdlist.vscrollbar.pos;
-
- var oParam = {};
- oParam.id = "TRPPI01300";
- oParam.service = "bfjudgcareapp.BfJudgCareMngt";
- oParam.method = "reqGetBfjudgTrgtList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_grd_dpcdlist=rslt";
- oParam.async = false;
- oParam.callback = "cf_TRPPI01300";
- tranf_submit(oParam);
- }
- function cf_TRPPI01300(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {return};
-
- grp_biz.grd_dpcdlist.hscrollbar.pos = lgv_hscroll_pos;
- grp_biz.grd_dpcdlist.vscrollbar.pos = lgv_vscroll_pos;
- }
- function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_grd_dpcdlist.rowcount > 0) {
- grdf_exportExcel(grp_biz.grd_dpcdlist, "exportExcel", "see");
- }else{
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
- }
- function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetDocuList();
- }
- function grp_biz_group1_ipt_diagcd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- grp_biz_group1_btn_select_onclick();
- }
- }
- function grp_biz_group1_input1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- grp_biz_group1_btn_select_onclick();
- }
- }
- function grp_biz_group1_ipt_fromdd_onkeyup(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_biz_group1_btn_select_onclick();
- }
- }
- function grp_biz_group1_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_biz_group1_btn_select_onclick();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|