123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO32500" position="absolute 0 0 807 686" titletext="응급질환 입력대상자 조회" oninit="SPMMO32500_oninit" onload="SPMMO32500_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 805 65" id="roundrect1" type="roundrectangle" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_search" taborder="0" text="조회" class="btn1" position="absolute 730 9 786 31" anchor="top right" onclick="roundrect1_btn_search_onclick"/>
- <Combo id="combo3" taborder="1" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 84 9 169 31" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">퇴원일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">내원일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Calendar id="input3" taborder="2" class="input_search" position="absolute 184 9 277 31" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
- <Calendar id="input1" taborder="3" class="input_search" position="absolute 302 9 395 31" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
- <Static id="caption1" text="~" position="absolute 284 10 295 30" anchor="default"/>
- <Static id="caption8" text="검색조건 :" class="search_name" position="absolute 10 13 81 30" anchor="default"/>
- <Shape id="line2" linetype="vertical" position="absolute 707 9 713 32" anchor="top right"/>
- <Radio id="radio1" taborder="4" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 465 9 655 29" anchor="default" onitemchanged="roundrect1_radio1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">응급심장질환</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">응급뇌질환</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 69 805 75" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
- <Grid position="absolute 0 74 805 684" id="grd_rsamiptinfo" visible="false" binddataset="ds_main_rsamiptlist" anchor="all" oncelldblclick="grd_rsamiptinfo_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="69"/>
- <Column size="76"/>
- <Column size="74"/>
- <Column size="73"/>
- <Column size="99"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="indd"/>
- <Cell col="1" text="cretno"/>
- <Cell col="2" text="환자번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="내원일자"/>
- <Cell col="5" text="내원시간"/>
- <Cell col="6" text="내원사유"/>
- <Cell col="7" text="응급진료결과"/>
- </Band>
- <Band id="body">
- <Cell text="bind:indd"/>
- <Cell col="1" text="bind:cretno"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:pathngnm"/>
- <Cell col="4" text="bind:chosdd"/>
- <Cell col="5" text="bind:chostm"/>
- <Cell col="6" text="bind:chosresn"/>
- <Cell col="7" text="bind:erclincrslt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="응급질환 입력대상자 조회" position="absolute 0 0 188 25" id="caption6" class="tit_1"/>
- <Grid position="absolute 0 74 805 684" id="grd_rscviptinfo" visible="false" binddataset="ds_main_rscviptlist" anchor="all" oncelldblclick="grd_rscviptinfo_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="110"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="indd"/>
- <Cell col="1" text="cretno"/>
- <Cell col="2" text="환자번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="내원일자"/>
- <Cell col="5" text="내원시간"/>
- <Cell col="6" text="내원사유"/>
- <Cell col="7" text="응급진료결과"/>
- </Band>
- <Band id="body">
- <Cell text="bind:indd"/>
- <Cell col="1" text="bind:cretno"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:pathngnm"/>
- <Cell col="4" text="bind:chosdd"/>
- <Cell col="5" text="bind:chostm"/>
- <Cell col="6" text="bind:chosresn"/>
- <Cell col="7" text="bind:erclincrslt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_rsamiptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pathngnm" type="STRING" size="256"/>
- <Column id="chosdd" type="STRING" size="256"/>
- <Column id="chostm" type="STRING" size="256"/>
- <Column id="chosresn" type="STRING" size="256"/>
- <Column id="erclincrslt" type="STRING" size="256"/>
- <Column id="tmprts" type="STRING" size="256"/>
- <Column id="recovwardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="indd"/>
- <Col id="cretno"/>
- <Col id="pid"/>
- <Col id="pathngnm"/>
- <Col id="chosdd"/>
- <Col id="chostm"/>
- <Col id="chosresn"/>
- <Col id="erclincrslt"/>
- <Col id="tmprts"/>
- <Col id="recovwardcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_rscviptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pathngnm" type="STRING" size="256"/>
- <Column id="chosdd" type="STRING" size="256"/>
- <Column id="chostm" type="STRING" size="256"/>
- <Column id="chosresn" type="STRING" size="256"/>
- <Column id="erclincrslt" type="STRING" size="256"/>
- <Column id="tmprts" type="STRING" size="256"/>
- <Column id="recovwardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="indd"/>
- <Col id="cretno"/>
- <Col id="pid"/>
- <Col id="pathngnm"/>
- <Col id="chosdd"/>
- <Col id="chostm"/>
- <Col id="chosresn"/>
- <Col id="erclincrslt"/>
- <Col id="tmprts"/>
- <Col id="recovwardcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srch_kind" type="STRING" size="256"/>
- <Column id="srch_startdd" type="STRING" size="256"/>
- <Column id="srch_enddd" type="STRING" size="256"/>
- </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="srch_kind" type="STRING" size="256"/>
- <Column id="srch_startdd" type="STRING" size="256"/>
- <Column id="srch_enddd" type="STRING" size="256"/>
- <Column id="srch_flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srch_kind"/>
- <Col id="srch_startdd"/>
- <Col id="srch_enddd"/>
- <Col id="srch_flag"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="roundrect1.combo3" propid="value" datasetid="ds_send_srchdata" columnid="srch_kind"/>
- <BindItem id="item1" compid="roundrect1.input3" propid="value" datasetid="ds_send_srchdata" columnid="srch_startdd"/>
- <BindItem id="item2" compid="roundrect1.input1" propid="value" datasetid="ds_send_srchdata" columnid="srch_enddd"/>
- <BindItem id="item3" compid="roundrect1.radio1" propid="value" datasetid="ds_send_srchdata" columnid="srch_flag"/>
- </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";
- var arErrorCode = new HashArray();
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SPMMO32500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMMO32500_onload(obj:Form, e:LoadEventInfo)
- {
- ds_main_rsamiptlist.clearData();
- ds_main_rscviptlist.clearData();
-
- ds_send_srchdata.setColumn(0, "srch_flag", "1");
- if( ds_send_srchdata.getColumn(0, "srch_flag") == "1" ){
- grd_rsamiptinfo.visible = true;
- }else{
- grd_rscviptinfo.visible = false;
- }
-
- //Grd Sort
- grdf_setGridSort(grd_rscviptinfo);
- grdf_setGridSort(grd_rsamiptinfo);
- }
- /******************************************************************
- * Argument :
- * Description : 심장질환/뇌질환 radio event
- ******************************************************************/
- function roundrect1_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if( ds_send_srchdata.getColumn(0, "srch_flag") == "1" ){
- grd_rsamiptinfo.visible = true;
- grd_rscviptinfo.visible = false;
- }else{
- grd_rsamiptinfo.visible = false;
- grd_rscviptinfo.visible = true;
- }
- }
- /******************************************************************
- * Argument :
- * Description : 조회 button event
- ******************************************************************/
- function roundrect1_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_send_srchdata.getColumn(0, "srch_flag") == "1" ){
- Search_Heart();
- }else{
- Search_Brain();
- }
- }
- /******************************************************************
- * Argument : Search_Heart()
- * Description : 응급심장질환 조회 event
- ******************************************************************/
- function Search_Heart(){
- ds_main_rsamiptlist.clearData();
- ds_send.clearData();
- var iRow = ds_send.addRow();
- ds_send.setColumn(iRow, "srch_kind", ds_send_srchdata.getColumn(0, "srch_kind") );
- ds_send.setColumn(iRow, "srch_startdd", ds_send_srchdata.getColumn(0, "srch_startdd") );
- ds_send.setColumn(iRow, "srch_enddd", ds_send_srchdata.getColumn(0, "srch_enddd") );
-
- var oParam = {};
- oParam.id = "TRMMO32501";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqGetKAMIInputList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_rsamiptlist=rsamiptlist";
- oParam.async = true;
- //oParam.callback = "cf_TRMMO32501";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument : Search_Brain()
- * Description : 응급뇌질환 조회 event
- ******************************************************************/
- function Search_Brain(){
- ds_main_rscviptlist.clearData();
- ds_send.clearData();
- var iRow = ds_send.addRow();
- ds_send.setColumn(iRow, "srch_kind", ds_send_srchdata.getColumn(0, "srch_kind") );
- ds_send.setColumn(iRow, "srch_startdd", ds_send_srchdata.getColumn(0, "srch_startdd") );
- ds_send.setColumn(iRow, "srch_enddd", ds_send_srchdata.getColumn(0, "srch_enddd") );
-
- var oParam = {};
- oParam.id = "TRMMO32502";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqGetKCVAInputList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_rscviptlist=rscviptlist";
- oParam.async = true;
- //oParam.callback = "cf_TRMMO32502";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument :
- * Description : 응급심장질환 조회 event
- ******************************************************************/
- function grd_rsamiptinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var cRow = ds_main_rsamiptlist.rowposition;
- if( cRow > -1 ) {
- frmf_setParameter("SPMMO32600_pid", ds_main_rsamiptlist.getColumn(cRow, "pid"));
- frmf_setParameter("SPMMO32600_orddd", ds_main_rsamiptlist.getColumn(cRow, "indd"));
- frmf_setParameter("SPMMO32600_cretno", ds_main_rsamiptlist.getColumn(cRow, "cretno"));
- frmf_open("SPMMO32600", "SPMMO32600", null, null, null, null, null, null, null, null, null, null, "M");
- }
- }
- /******************************************************************
- * Argument :
- * Description : 응급뇌질환 조회 event
- ******************************************************************/
- function grd_rscviptinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var cRow = ds_main_rscviptlist.rowposition;
- if( cRow > -1 ) {
- frmf_setParameter("SPMMO32700_pid", model.getValue("/root/main/rscviptlist/rscviptinfo[" + currow + "]/pid"));
- frmf_setParameter("SPMMO32700_orddd", model.getValue("/root/main/rscviptlist/rscviptinfo[" + currow + "]/indd"));
- frmf_setParameter("SPMMO32700_cretno", model.getValue("/root/main/rscviptlist/rscviptinfo[" + currow + "]/cretno"));
- frmf_open("SPMMO32700", "SPMMO32700", null, null, null, null, null, null, null, null, null, null, "M");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|