123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLPP01520" position="absolute 0 0 1196 769" titletext="관심증례 환자조회" oninit="SMLPP01520_oninit" onload="SMLPP01520_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="외래추가처방조회" class="tit_1" position="absolute 0 0 146 25"/>
- <Shape id="line10" linetype="horizontal" class="line_6" position="absolute 0 46 1194 52"/>
- <Button id="button13" taborder="1" text="EXCEL저장" class="btn7" position="absolute 5 27 97 49"/>
- <Static id="caption4" text="외래 추가처방 환자목록" class="tit_2" position="absolute 1 94 162 110"/>
- <Shape id="line1" class="line_10" position="absolute 0 110 1194 116"/>
- <Div id="group2" taborder="2" class="div_SA2" position="absolute 0 49 1195 84">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29"/>
- <Static id="caption2" text="접수일자 :" class="search_name" position="absolute 15 9 101 26"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 207 8 219 25"/>
- <Button id="btn_sea" taborder="4" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group2_btn_sea_onclick"/>
- <Calendar id="ipt_cnclfromdd" taborder="5" class="input_s_essential" position="absolute 104 8 204 27" mask="yyyy-mm-dd"/>
- <Calendar id="ipt_cncltodd" taborder="6" class="input_s_essential" position="absolute 223 8 323 27" mask="yyyy-mm-dd"/>
- <Static id="caption1" text="등록번호 :" class="search_name" position="absolute 901 9 987 26"/>
- <Edit id="ipt_pid" taborder="7" position="absolute 993 8 1093 27" onkeyup="group2_ipt_pid_onkeyup"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_refinfolist" class="datagrid2" taborder="3" binddataset="ds_grd_refinfolist" useinputpanel="false" position="absolute 0 114 1194 767" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="27"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="기관코드"/>
- <Cell col="1"/>
- <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="수납금액"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="expr:currow + 1"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" class="text_center" text="bind:hngnm"/>
- <Cell col="4" class="text_center" text="bind:pnrn"/>
- <Cell col="5" class="text_center" text="bind:prcpdd"/>
- <Cell col="6" class="text_center" text="bind:ptno"/>
- <Cell col="7" class="text_center" text="bind:orgacptdd"/>
- <Cell col="8" style="align:left middle;" class="text_left" text="bind:orddeptnm"/>
- <Cell col="9" class="text_left" text="bind:orddrnm"/>
- <Cell col="10" class="text_left" text="bind:drph"/>
- <Cell col="11" class="text_left" text="bind:patientph"/>
- <Cell col="12" class="text_center" text="bind:su"/>
- <Cell col="13" class="text_center" text="bind:moneyyn"/>
- <Cell col="14" class="text_center" text="bind:price"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_refinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="pnrn" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="ptno" type="STRING"/>
- <Column id="orgacptdd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="drph" type="STRING"/>
- <Column id="patientph" type="STRING"/>
- <Column id="su" type="STRING"/>
- <Column id="moneyyn" type="STRING"/>
- <Column id="price" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sysdd" type="STRING" size="256" sumtext="시스템일자"/>
- <Column id="systm" type="STRING" size="256" sumtext="시스템시간"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptfromdd" type="STRING" size="256"/>
- <Column id="acpttodd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_cnclfromdd" propid="value" datasetid="ds_hidden" columnid="acptfromdd"/>
- <BindItem id="item1" compid="group2.ipt_cncltodd" propid="value" datasetid="ds_hidden" columnid="acpttodd"/>
- <BindItem id="item2" compid="group2.ipt_pid" propid="value" datasetid="ds_hidden" columnid="pid"/>
- </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";
- include "lis_commonxp::LPZ001.xjs";
- function SMLPP01520_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- grdf_initGrid(grd_refinfolist);
- }
- function SMLPP01520_onload(obj:Form, e:LoadEventInfo)
- {
- fExeInitialize();
- }
- function fExeInitialize()
- {
- // 시스템일자 조회
- dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
-
- var oParam = {};
- oParam.id = "TRLPZ00102";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetSystemDateTimeInformation";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_sysdtinfo=sysdtinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00102";
- tranf_submit(oParam);
- // 초기값 설정
- ds_hidden.setColumn(0, "acptfromdd", ds_sysdtinfo.getColumn(0, "sysdd")); //정도일자(From)
- ds_hidden.setColumn(0, "acpttodd", ds_sysdtinfo.getColumn(0, "sysdd")); //정도일자(To)
-
- }
- function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetRefInfoList();
- }
- function fGetRefInfoList()
- {
- dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "reffromdd", val : ds_hidden.getColumn(0, "acptfromdd")}
- ,{col : "reftodd", val : ds_hidden.getColumn(0, "acpttodd")}
- ,{col : "pid", val : ds_hidden.getColumn(0, "pid")}
- ,{col : "workflagcd", val : "'1001', '1002', '1003', '1009'"}]);
- //-------------------
- //submit("TRLPP01504");
- var oParam = {};
- oParam.id = "TRLPP01504";
- oParam.service = "plgyrefmngtapp.AcptSpecRef";
- oParam.method = "reqGetoutList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grd_refinfolist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPP01504";
- tranf_submit(oParam);
-
- }
-
- function group2_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- ds_hidden.setColumn(0, "pid", group2.ipt_pid.text);
- fGetRefInfoList();
-
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|