123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMMO06300" position="absolute 0 0 1180 787" titletext="응급의료관리료 발생현황" oninit="SMMMO06300_oninit" onload="SMMMO06300_onload">
- <Layouts>
- <Layout>
- <Div id="roundrect1" anchor="left top right" taborder="8" class="div_SA" position="absolute 0 25 1180 65">
- <Layouts>
- <Layout>
- <Static id="caption2" text="진료일자 :" class="search_name" position="absolute 9 10 82 27" anchor="left top"/>
- <Calendar id="ipt_orddd" taborder="1" class="input_search" position="absolute 97 9 184 28" anchor="left top"/>
- <Static id="caption3" text="등록번호:" class="search_name" position="absolute 239 10 308 27" anchor="left top"/>
- <Edit id="ipt_pid" taborder="2" class="input_search" position="absolute 323 10 438 29" anchor="left top" onkeyup="roundrect1_ipt_pid_onkeyup" tooltiptext="등록번호를 입력하세요"/>
- <Static id="caption4" text="성 명 :" class="search_name" position="absolute 463 10 522 27" anchor="left top"/>
- <Edit id="ipt_hngnm" taborder="4" class="input_search" enable="false" position="absolute 528 8 634 27" anchor="left top" tooltiptext="환자명은 입력할 수 없습니다." tooltiptype="default"/>
- <Button id="button1" taborder="5" class="icon_search" position="absolute 637 11 653 27" anchor="left top" onclick="roundrect1_button1_onclick"/>
- <Shape id="line3" linetype="vertical" position="absolute 1104 5 1110 35" anchor="top right"/>
- <Button id="btn_req" taborder="6" text="조회" class="btn1" position="absolute 1115 8 1171 30" onclick="roundrect1_btn_req_onclick" anchor="top right"/>
- <Button id="btn_reqpatnm" taborder="7" visible="false" position="absolute 442 11 458 33" onclick="roundrect1_btn_reqpatnm_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="응급의료관리료 발생현황" position="absolute 0 0 185 25" id="caption1" class="tit_1" anchor="left top"/>
- <Static text="응급의료관리료 발생현황 리스트" position="absolute 0 80 214 96" id="caption25" class="tit_2" anchor="left top"/>
- <Shape position="absolute -1 96 1178 102" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
- <Grid position="absolute 0 101 1178 784" id="grd_ercalcscorlist" taborder="7" binddataset="ds_main_ercalcscorgpc_ercalcscorlist" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="280"/>
- <Column size="0"/>
- <Column size="338"/>
- <Column size="120"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <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 celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:left middle;" text="bind:pid"/>
- <Cell col="2" style="align:left middle;" text="bind:hngnm"/>
- <Cell col="3" style="align:left middle;" text="bind:sa"/>
- <Cell col="4" displaytype="date" edittype="date" style="align:left middle;" text="bind:orddd" mask="yyyy-MM-dd"/>
- <Cell col="5" style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="6" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="7" style="align:left middle;" text="bind:ersympresncd"/>
- <Cell col="8" style="align:left middle;" text="bind:ersympresnnm"/>
- <Cell col="9" displaytype="date" edittype="date" style="align:left middle;" text="bind:rgstdt" mask="yyyy-MM-dd hh:mm:ss"/>
- <Cell col="10" style="align:left middle;" text="bind:rgstnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1114 77 1175 96" id="btn_excel" class="btn7" text="Excel" anchor="top right" onclick="btn_excel_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_ercalcscorgpc_ercalcscorlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sa" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="ersympresncd" type="STRING"/>
- <Column id="ersympresnnm" type="STRING"/>
- <Column id="rgstdt" type="STRING"/>
- <Column id="rgstnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="queryflag" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="queryflag" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_patnm_patnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="roundrect1.ipt_orddd" propid="value" datasetid="ds_main_cond" columnid="orddd"/>
- <BindItem id="item1" compid="roundrect1.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
- <BindItem id="item2" compid="roundrect1.ipt_hngnm" propid="value" datasetid="ds_main_cond" columnid="hngnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-09-07
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-09-07 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- function SMMMO06300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMMO06300_onload(obj:Form, e:LoadEventInfo)
- {
-
- //그리드를 초기화
- grdf_initGrid(grd_ercalcscorlist);
- ds_main_cond.setColumn(0, "orddd", utlf_getCurrentDate());
- }
- //조회
- function roundrect1_btn_req_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_reqdata.copyData(ds_main_cond);
-
- var oParam = {};
- oParam.id = "TRMMO06303";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqGetErCalcScorGPCList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_ercalcscorgpc_ercalcscorlist=ercalcscorlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMMO06303";
- tranf_submit(oParam);
- }
- function roundrect1_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- ds_main_ercalcscorgpc_ercalcscorlist.clearData();
- var ev = new ClickEventInfo;
- //입력한 등록번호를 가지고 등록번호에 해당하는 환자명을 조회하러 간다
- frmf_inputEnterKey("roundrect1.btn_reqpatnm", "onclick", ev );
- //등록번호에 해당하는 환자를 조회
- frmf_inputEnterKey("roundrect1.btn_req", "onclick", ev );
- }
-
- }
- function roundrect1_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- roundrect1.ipt_hngnm.value = "";
- roundrect1.ipt_pid.value = "";
-
- //원무팀의 환자명을 받아오는 팝업창을 띠운다.
- frmf_modal("SPPMC02500", "SPPMC02500", null, null, null, null, null, null, null, null, null, null, "M");
-
- //input박스에 데이타를 받아온다.
- if(!utlf_isNull(this.objects["ds_patinfolist"]))
- {
- var sPid = ds_patinfolist.getColumn(0, "pid");
- var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
- ds_main_cond.setColumn(0, "pid", sPid);
- ds_main_cond.setColumn(0, "hngnm", sHngnm);
- }
- }
- function roundrect1_btn_reqpatnm_onclick(obj:Button, e:ClickEventInfo)
- {
- trace("ddd");
- reqPatInfo("pid", "ptbs", roundrect1.ipt_pid.value);
- //받아온 환자명을 환자명 input박스에 넣어준다
- ds_main_cond.setColumn(0, "hngnm", ds_init_patnm_patnm.getColumn(0, "hngnm"));
- }
- //엑셀저장
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_ercalcscorlist, "응급실의료관리료 발생현황", "SheetName", true, null, false);
- }
- ]]></Script>
- </Form>
- </FDL>
|