123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMRT01700" position="absolute 0 0 1150 680" titletext="암등록용어검색" oninit="SPMRT01700_oninit" onload="SPMRT01700_onload">
- <Layouts>
- <Layout>
- <Shape position="absolute 8 44 380 74" id="roundrect1" type="roundrectangle"/>
- <Static text="T-Code" position="absolute 8 0 85 18" align="align:center middle;" id="caption2" class="tit_2"/>
- <Shape position="absolute 8 39 380 45" linetype="horizontal" id="line2" class="line_10"/>
- <Shape position="absolute 385 39 757 45" linetype="horizontal" id="line3" class="line_10"/>
- <Shape position="absolute 8 370 380 376" linetype="horizontal" id="line4" class="line_10"/>
- <Static text="선택 T-Code" position="absolute 8 354 121 372" align="align:center middle;" id="caption1" class="tit_2"/>
- <Button position="absolute 323 49 379 71" id="btn_search" class="btn1" text="조회" onclick="btn_search_onclick"/>
- <Combo position="absolute 241 50 301 69" id="combo2" class="combo_search" enable="true" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">code</Col>
- <Col id="datacolumn">코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">word</Col>
- <Col id="datacolumn">단어</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="검색어 :" position="absolute 16 52 102 69" id="caption4" class="search_name"/>
- <Button position="absolute 259 350 312 369" id="btn_CTerm" class="btn2" text="초기화" onclick="btn_CTerm_onclick"/>
- <Button position="absolute 315 350 379 369" id="btn_Tterm" class="btn2" text="용어추가" onclick="btn_Tterm_onclick"/>
- <Button position="absolute 1076 643 1132 665" id="btn_mophocncl" class="btn4" text="취소" onclick="btn_mophocncl_onclick"/>
- <Button position="absolute 1018 643 1074 665" id="btn_moph" class="btn4" text="등록" onclick="btn_moph_onclick"/>
- <Static text="M-Code" position="absolute 385 0 460 18" align="align:center middle;" id="caption3" class="tit_2"/>
- <Static text="검색어 :" position="absolute 568 55 654 72" id="caption5" class="search_name"/>
- <Shape position="absolute 385 44 757 74" id="roundrect3" type="roundrectangle"/>
- <Button position="absolute 698 49 754 71" id="btn_MophoSearch" class="btn1" text="조회" onclick="btn_MophoSearch_onclick"/>
- <Combo position="absolute 620 50 680 69" id="combo3" class="combo_search" enable="true" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">code</Col>
- <Col id="datacolumn">코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">word</Col>
- <Col id="datacolumn">단어</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="검색어 :" position="absolute 392 52 473 69" id="caption6" class="search_name"/>
- <Button position="absolute 637 350 690 369" id="button1" class="btn2" text="초기화" onclick="button1_onclick"/>
- <Button position="absolute 693 350 757 369" id="button3" class="btn2" text="용어추가" onclick="button3_onclick"/>
- <Static text="선택 M-Code" position="absolute 385 354 498 371" align="align:center middle;" id="caption7" class="tit_2"/>
- <Shape position="absolute 385 370 757 376" linetype="horizontal" id="line1" class="line_10"/>
- <Button position="absolute 204 350 257 369" id="button8" class="btn2" text="행삭제" onclick="button8_onclick"/>
- <Button position="absolute 148 350 201 369" id="button9" class="btn2" taborder="35" text="행추가" onclick="button9_onclick"/>
- <Button position="absolute 583 350 636 369" id="button6" class="btn2" text="행삭제" onclick="button6_onclick"/>
- <Button position="absolute 527 350 580 369" id="button7" class="btn2" taborder="35" text="행추가" onclick="button7_onclick"/>
- <Grid position="absolute 760 375 1132 632" id="grd_selectdiag" binddataset="ds_param_selectdiaginfo_selectdiaglist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="1"/>
- <Column size="100"/>
- <Column size="141"/>
- <Column size="87"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="diagcd"/>
- <Cell col="1" text="진단코드"/>
- <Cell col="2" text="영문명"/>
- <Cell col="3" text="한글명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:diagcd"/>
- <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:dispdiagcd" wordwrap="word"/>
- <Cell col="2" style="align:left top;padding:5 2 1 2;" text="bind:diagengnm" wordwrap="word"/>
- <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:diaghngnm" wordwrap="word"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 385 75 757 345" id="grd_icdo3list" binddataset="ds_main_diagcdinfo_kcd4m" oncelldblclick="grd_icdo3list_oncelldblclick" selecttype="multirow" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="84"/>
- <Column size="0"/>
- <Column size="138"/>
- <Column size="113"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진단코드"/>
- <Cell col="1" text="형태학적 코드"/>
- <Cell col="2" text="일련번호"/>
- <Cell col="3" text="영문명"/>
- <Cell col="4" text="한글명"/>
- </Band>
- <Band id="body">
- <Cell/>
- <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:morphlgccd" wordwrap="word"/>
- <Cell col="2" text="bind:kcd4mseqno"/>
- <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:kcd4mengnm" wordwrap="word"/>
- <Cell col="4" style="align:left top;padding:5 2 1 2;" text="bind:kcd4mhngnm" wordwrap="word"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit position="absolute 465 50 608 69" id="ipt_mophosearch" class="input_search" autoselect="true" onkeydown="ipt_mophosearch_onkeydown"/>
- <Edit position="absolute 92 50 235 69" id="ipt_search" class="input_search" autoselect="true" onkeydown="ipt_search_onkeydown"/>
- <Grid position="absolute 761 75 1133 345" id="grd_diaglist" binddataset="ds_main_deptdiagcdlist_deptdiagcdinfo" oncelldblclick="grd_diaglist_oncelldblclick" selecttype="multirow" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="153"/>
- <Column size="101"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진단코드"/>
- <Cell col="1" text="영문명"/>
- <Cell col="2" text="한글명"/>
- </Band>
- <Band id="body">
- <Cell style="align:left top;padding:5 2 1 2;" text="bind:termcd" wordwrap="word"/>
- <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:termengnm" wordwrap="word"/>
- <Cell col="2" style="align:left top;padding:5 2 1 2;" text="bind:termhngnm" wordwrap="word"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 385 375 757 632" id="grd_mophoinfo" binddataset="ds_param_mopho_mophoinfo">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="1"/>
- <Column size="100"/>
- <Column size="141"/>
- <Column size="87"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="diagcd"/>
- <Cell col="1" text="형태학적 코드"/>
- <Cell col="2" text="영문명"/>
- <Cell col="3" text="한글명"/>
- <Cell col="4" text="일련번호"/>
- </Band>
- <Band id="body">
- <Cell text="bind:diagcd"/>
- <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:dispdiagcd" wordwrap="word"/>
- <Cell col="2" style="align:left top;padding:5 2 1 2;" text="bind:diagengnm" wordwrap="word"/>
- <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:diaghngnm" wordwrap="word"/>
- <Cell col="4" text="bind:seqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 8 375 380 632" id="grd_tophoinfo" binddataset="ds_param_topho_tophoinfo">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="82"/>
- <Column size="150"/>
- <Column size="111"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진단코드"/>
- <Cell col="1" text="일련번호"/>
- <Cell col="2" text="원발장기코드"/>
- <Cell col="3" text="영문명"/>
- <Cell col="4" text="한글명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:stat"/>
- <Cell col="1" text="bind:seqno"/>
- <Cell col="2" style="align:left top;padding:5 2 1 2;" text="bind:tophlgcd" wordwrap="word"/>
- <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:engnm" wordwrap="word"/>
- <Cell col="4" style="align:left top;padding:5 2 1 2;" text="bind:hngnm" wordwrap="word"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 760 370 1132 376" linetype="horizontal" id="line5" class="line_10"/>
- <Static text="선택 ICD-10" position="absolute 760 354 873 372" align="align:center middle;" id="caption8" class="tit_2"/>
- <Button position="absolute 1012 350 1065 369" id="button2" class="btn2" text="초기화" onclick="button2_onclick"/>
- <Button position="absolute 1068 350 1132 369" id="button4" class="btn2" text="용어추가" onclick="button4_onclick"/>
- <Button position="absolute 958 350 1011 369" id="button5" class="btn2" text="행삭제" onclick="button5_onclick"/>
- <Button position="absolute 902 350 955 369" id="button10" class="btn2" taborder="35" text="행추가" onclick="button10_onclick"/>
- <Shape position="absolute 761 45 1133 75" id="roundrect2" type="roundrectangle"/>
- <Button position="absolute 1075 50 1131 72" id="btn_DiagSearch" class="btn1" text="조회" onclick="btn_DiagSearch_onclick"/>
- <Static text="ICD-10" position="absolute 761 1 831 20" align="align:center middle;" id="caption9" class="tit_2"/>
- <Combo position="absolute 997 51 1057 70" id="combo1" class="combo_search" enable="true" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">code</Col>
- <Col id="datacolumn">코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">word</Col>
- <Col id="datacolumn">단어</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="검색어 :" position="absolute 768 52 849 69" id="caption10" class="search_name"/>
- <Edit position="absolute 842 51 985 70" id="input1" class="input_search" autoselect="true" onkeydown="input1_onkeydown"/>
- <Shape position="absolute 761 40 1133 46" linetype="horizontal" id="line6" class="line_10"/>
- <Grid position="absolute 10 75 382 345" id="grd_tophlglist" binddataset="ds_main_tophlginfo_tophlglist" selecttype="multirow" oncelldblclick="grd_tophlglist_oncelldblclick" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="82"/>
- <Column size="0"/>
- <Column size="145"/>
- <Column size="121"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진단코드"/>
- <Cell col="1" text="원발장기코드"/>
- <Cell col="2" text="일련번호"/>
- <Cell col="3" text="영문명"/>
- <Cell col="4" text="한글명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:stat"/>
- <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:tophlgcd" wordwrap="word"/>
- <Cell col="2" text="bind:seqno"/>
- <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:engnm" wordwrap="word"/>
- <Cell col="4" style="align:left top;padding:5 2 1 2;" text="bind:hngnm" wordwrap="word"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_tophology" taborder="36" text="Tophology" position="absolute 8 19 108 39" onclick="btn_tophology_onclick"/>
- <Button id="btn_morphology" taborder="37" text="Morphology" position="absolute 384 19 484 39"/>
- <Button id="button12" taborder="38" text="진단용어" position="absolute 760 19 860 39" onclick="button12_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_tophlginfo_tophlglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_diagcdinfo_kcd4m" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_deptdiagcdlist_deptdiagcdinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cond_oncolumnchanged">
- <ColumnInfo>
- <Column id="diagflag" type="STRING" size="256"/>
- <Column id="tophodata" type="STRING" size="256"/>
- <Column id="tophosrchflag" type="STRING" size="256"/>
- <Column id="mophodata" type="STRING" size="256"/>
- <Column id="mophosrchflag" type="STRING" size="256"/>
- <Column id="reqdata" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="diagflag">C</Col>
- <Col id="tophodata"/>
- <Col id="tophosrchflag">code</Col>
- <Col id="mophodata"/>
- <Col id="mophosrchflag">code</Col>
- <Col id="reqdata"/>
- <Col id="srchflag">code</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_diagcase_icd10indxcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_param_mopho_mophoinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="dispdiagcd" type="STRING" size="256"/>
- <Column id="diagengnm" type="STRING" size="256"/>
- <Column id="diaghngnm" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_param_selectdiaginfo_selectdiaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="dispdiagcd" type="STRING" size="256"/>
- <Column id="diagengnm" type="STRING" size="256"/>
- <Column id="diaghngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_param_topho_tophoinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stat" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="tophlgcd" type="STRING" size="256"/>
- <Column id="engnm" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_dutplcecd_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_diagcase_" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_hardcd5940" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_diaginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_hardcd5940_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_search" propid="value" datasetid="ds_main_cond" columnid="tophodata"/>
- <BindItem id="item1" compid="combo2" propid="value" datasetid="ds_main_cond" columnid="tophosrchflag"/>
- <BindItem id="item2" compid="ipt_mophosearch" propid="value" datasetid="ds_main_cond" columnid="mophodata"/>
- <BindItem id="item3" compid="combo3" propid="value" datasetid="ds_main_cond" columnid="mophosrchflag"/>
- <BindItem id="item4" compid="input1" propid="value" datasetid="ds_main_cond" columnid="reqdata"/>
- <BindItem id="item5" compid="combo1" propid="value" datasetid="ds_main_cond" columnid="srchflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs";
- include "emr_termmngtxp::SPMRT01700.xjs";
- var arErrorCode = new HashArray();
- function SPMRT01700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- grdf_initGrid(grd_diaglist);
- grdf_setToolTipBind(grd_tophlglist);
- grdf_setToolTipBind(grd_icdo3list);
- grdf_setToolTipBind(grd_diaglist);
- }
- function SPMRT01700_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize_SPMRT01700();
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_hidden_search.clearData();
- dsf_makeValue(ds_hidden_search, "flag", "string", "1");
- fDiagSearch();
- }
- function btn_CTerm_onclick(obj:Button, e:ClickEventInfo)
- {
- fCleanTerm("T");
- }
- function btn_Tterm_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddBtnTerm("grd_tophlglist");
- }
- function btn_mophocncl_onclick(obj:Button, e:ClickEventInfo)
- {
- if(frmf_checkOpener()){
- opener.frmf_setParameter("SPMRT01700_FLAG", "");
- opener.frmf_setParameter("SPMRT01700_SEARCHDATA", "");
- }else{
- sysf_messageBox("상위 화면이 변경되어 데이터를 전달", "E001");
- }
- this.close();
- }
- function btn_moph_onclick(obj:Button, e:ClickEventInfo)
- {
- fSendTermCd();
- }
- function btn_MophoSearch_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_hidden_search.clearData();
- dsf_makeValue(ds_hidden_search, "flag", "string", "2");
- fDiagSearch();
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fCleanTerm("M");
- }
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddBtnTerm("grd_icdo3list");
- }
- function button8_onclick(obj:Button, e:ClickEventInfo)
- {
- fDelRow_Termlist("grd_tophoinfo");
- }
- function button9_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddRow_Termlist("grd_tophoinfo");
- }
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- fDelRow_Termlist("grd_mophoinfo");
- }
- function button7_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddRow_Termlist("grd_mophoinfo");
- }
- function grd_icdo3list_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var mRow = ds_main_diagcdinfo_kcd4m.rowposition;
- if(mRow < 0){
- return;
- }
- fAddMophoHist(mRow);
- }
- function btn_tophology_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_hidden_search.clearData();
- dsf_makeValue(ds_hidden_search, "flag", "string", "1");
- }
- function ds_main_cond_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "mophodata"){
- ds_hidden_search.clearData();
- dsf_makeValue(ds_hidden_search, "flag", "string", "2");
- btn_MophoSearch_onclick();
- }else if(e.columnid == "tophodata"){
- ds_hidden_search.clearData();
- dsf_makeValue(ds_hidden_search, "flag", "string", "1");
- btn_search_onclick();
- }else if(e.columnid == "reqdata"){
- ds_hidden_search.clearData();
- dsf_makeValue(ds_hidden_search, "flag", "string", "3");
- btn_DiagSearch_onclick();
- }
- }
- function grd_diaglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var dgRow = ds_main_deptdiagcdlist_deptdiagcdinfo.rowposition;
- if(dgRow < 0){
- return;
- }
- fAddDiagHist(dgRow);
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fCleanTerm("D");
- }
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddBtnTerm("grd_diaglist");
- }
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- fDelRow_Termlist("grd_selectdiag");
- }
- function button10_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddRow_Termlist("grd_selectdiag");
- }
- function btn_DiagSearch_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_hidden_search.clearData();
- dsf_makeValue(ds_hidden_search, "flag", "string", "3");
- fDiagSearch();
- }
- function button12_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_hidden_search.clearData();
- dsf_makeValue(ds_hidden_search, "flag", "string", "2");
- ds_main_cond.setColumn(0, "reqdata","");
- //model.toggle("mopho");
- }
- function grd_tophlglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- toRow = ds_main_tophlginfo_tophlglist.rowposition;
- if(toRow < 0){
- return;
- }
- fAddTophoHist(toRow);
- //grd_tophlglist.colDisabled(22) = true;
- //grd_tophlglist.colDisabled(24) = true;
- }
- function ipt_search_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if (e.keycode == 13) {
- obj.updateToDataset();
- btn_search.click();
- }
- }
- function ipt_mophosearch_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if (e.keycode == 13) {
- obj.updateToDataset();
- btn_MophoSearch.click();
- }
- }
- function input1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if (e.keycode == 13) {
- obj.updateToDataset();
- btn_DiagSearch.click();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|