123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPIJ04500" position="absolute 0 0 976 656" titletext="전문질병군조회" onload="SPPIJ04500_onload" oninit="SPPIJ04500_oninit">
- <Layouts>
- <Layout>
- <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 20 975 624" style="" anchor="all">
- <Layouts>
- <Layout>
- <Grid id="grd_drgalist" binddataset="ds_main_drgalist" class="datagrid3" position="absolute 0 74 975 604" style="" anchor="all" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="270"/>
- <Column size="270"/>
- <Column size="50"/>
- <Column size="71"/>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="INSTCD"/>
- <Cell col="2" text="상병"/>
- <Cell col="3" text="상병명"/>
- <Cell col="4" text="상병영문명"/>
- <Cell col="5" text="MDC"/>
- <Cell col="6" text="KADRG번호"/>
- <Cell col="7" text="KADRG명" taborder="undefined"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" style="align:left middle;" text="bind:instcd"/>
- <Cell col="2" displaytype="text" style="align:center middle;padding:0 0 0 2;" text="bind:diagcd"/>
- <Cell col="3" style="align:left middle;" text="bind:diagnm"/>
- <Cell col="4" style="align:left middle;" text="bind:diagengnm"/>
- <Cell col="5" text="bind:mdc"/>
- <Cell col="6" style="align:left middle;" text="bind:kadrg"/>
- <Cell col="7" style="align:left middle;" text="bind:kadrgnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="cap_judgtrgtman" class="tit_2" position="absolute 0 53 238 70" style="" text="전문질병군(주상병만 유효)조회" anchor="default"/>
- <Div id="group1" position="absolute 0 5 975 45" style="align: top;" anchor="left top right" class="div_SA">
- <Layouts>
- <Layout>
- <Button id="btn_select" class="btn1" taborder="3" position="absolute 909 10 965 32" style="" text="조회" onclick="grp_biz_group1_btn_select_onclick" anchor="top right"/>
- <Shape id="line3" class="line_4" linetype="vertical" position="absolute 899 9 902 32" style="" anchor="top right"/>
- <Edit id="ipt_drgno" position="absolute 381 11 441 30" style="" anchor="left top" onkeypress="grp_biz_group1_ipt_drgno_onkeypress" onkeydown="grp_biz_group1_ipt_drgno_onkeydown" imemode="alpha" inputmode="upper" taborder="0"/>
- <Static id="caption30" class="search_name" position="absolute 8 12 81 29" style="" text="상병코드 :" anchor="left top"/>
- <Static id="caption1" class="search_name" position="absolute 447 12 526 29" style="" text="상병명 :" anchor="left top" onclick="grp_biz_group1_caption1_onclick"/>
- <Edit id="ipt_hngnm" position="absolute 507 11 642 30" style="" anchor="left top" onkeypress="grp_biz_group1_ipt_hngnm_onkeypress" onkeydown="grp_biz_group1_ipt_hngnm_onkeydown" imemode="hangul" taborder="1"/>
- <Static id="caption2" class="search_name" position="absolute 151 12 231 29" style="" text="MDC번호 :" anchor="left top"/>
- <Static id="caption00" text="KDRG코드 :" class="search_name" position="absolute 297 12 395 29" anchor="left top"/>
- <Edit id="ipt_drgno00" taborder="5" imemode="alpha" inputmode="upper" onkeydown="grp_biz_group1_ipt_drgno_onkeydown" position="absolute 230 11 290 30" anchor="left top" onkeypress="grp_biz_group1_ipt_drgno_onkeypress"/>
- <Edit id="ipt_drgno01" taborder="6" imemode="alpha" inputmode="upper" onkeydown="grp_biz_group1_ipt_drgno_onkeydown" position="absolute 83 11 143 30" anchor="left top" onkeypress="grp_biz_group1_ipt_drgno_onkeypress"/>
- <Static id="caption03" text="상병영문명 :" class="search_name" position="absolute 648 12 744 29" anchor="left top"/>
- <Edit id="ipt_hngnm00" taborder="7" imemode="alpha" onkeydown="grp_biz_group1_ipt_hngnm_onkeydown" position="absolute 735 11 891 30" anchor="left top" onkeypress="grp_biz_group1_ipt_hngnm_onkeypress"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excelsave" class="btn7" position="absolute 896 47 975 69" style="" text="엑셀저장" onclick="grp_biz_btn_excelsave_onclick" anchor="top right"/>
- <Shape id="line2" class="line_10" position="absolute 0 68 975 77"/>
- <Static id="cap_memt" text="※ 수술 또는 처치를 한 경우는 질병군 분류가 달라질 수 있음" position="absolute 237 50 657 70" style="color:red;font:Dotum,10,bold;"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_cancel" class="btn4" position="absolute 919 629 975 651" style="" text="종료" anchor="right bottom" onclick="btn_cancel_onclick"/>
- <Static id="cap_title" text="전문질병군(주상병만 유효)조회" class="tit_1" position="absolute 0 0 216 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="mdc" type="STRING" size="256"/>
- <Column id="kadrg" type="STRING" size="256"/>
- <Column id="kadrgnm" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="diagengnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_drgalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="drga" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="drga"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_cmb_drgtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">전문</Col>
- </Row>
- <Row>
- <Col id="cd">2</Col>
- <Col id="nm">일반</Col>
- </Row>
- <Row>
- <Col id="cd">3</Col>
- <Col id="nm">단순</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.group1.ipt_drgno" propid="value" datasetid="ds_send" columnid="kadrg"/>
- <BindItem id="item1" compid="grp_biz.group1.ipt_hngnm" propid="value" datasetid="ds_send" columnid="diagnm"/>
- <BindItem id="item2" compid="grp_biz.group1.ipt_drgno00" propid="value" datasetid="ds_send" columnid="mdc"/>
- <BindItem id="item3" compid="grp_biz.group1.ipt_drgno01" propid="value" datasetid="ds_send" columnid="diagcd"/>
- <BindItem id="item4" compid="grp_biz.group1.ipt_hngnm00" propid="value" datasetid="ds_send" columnid="diagengnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- function SPPIJ04500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPPIJ04500_onload(obj:Form, e:LoadEventInfo) {
- grdf_initGrid(grp_biz.grd_drgalist);
- grdf_setToolTipBind(grp_biz.grd_drgalist);
-
- var drgtype = opener.frmf_getParameter("SPPIJ04000_drgtype");
- dsf_makeValue(ds_send, "drgtype", "string", drgtype);
-
- if(drgtype == "1") {
- cap_title.text = "전문질병군(주상병만 유효)조회";
- grp_biz.cap_judgtrgtman.text = "전문질병군(주상병만 유효)조회";
- } else {
- cap_title.text = "단순질병군(주상병만 유효)조회";
- grp_biz.cap_judgtrgtman.text = "단순질병군(주상병만 유효)조회";
- }
-
- // 화면을 초기화한다.
- fInitialize();
- }
- function fInitialize() {
- grp_biz.group1.btn_select.click();
- }
- function fGetDocuList() {
-
- var oParam = {};
- oParam.id = "TRPIJ04500";
- oParam.service = "bfjudgapp.DRGCdIF";
- oParam.method = "reqGetKDrgADiagList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_drgalist=rslt";
- oParam.async = false;
- //oParam.callback = "cf_TRPIJ04400";
- tranf_submit(oParam);
- }
- function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo) {
- fGetDocuList();
- }
- function grp_biz_group1_ipt_drgno_onkeydown(obj:Edit, e:KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- fGetDocuList();
- }
- }
- function grp_biz_group1_ipt_hngnm_onkeydown(obj:Edit, e:KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- fGetDocuList();
- }
- }
- function grp_biz_group1_cmb_drgtype_onkeydown(obj:Combo, e:KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- fGetDocuList();
- }
- }
- function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo) {
- if (ds_main_drgalist.rowcount > 0) {
- grdf_exportExcel(grp_biz.grd_drgalist, "exportExcel", "see");
- } else {
- sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- }
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|