123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIB03001" position="absolute 0 0 1223 771" titletext="희귀난치성질환 등록기준(의료급여_결핵포함)" oninit="SMPIB03001_oninit" onload="SMPIB03001_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 1 14 1212 746" id="group3" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Div position="absolute 0 11 1209 51" align="align:center top;" id="group2" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button position="absolute 1130 10 1186 32" id="btn_search" class="btn1" taborder="6" text="조회" anchor="top right" onclick="group3_group2_btn_search_onclick"/>
- <Shape position="absolute 1104 7 1110 34" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
- <Static text="상 병 :" position="absolute 12 11 98 28" id="caption5" class="search_name" anchor="default"/>
- <Static text="특정기호 :" position="absolute 569 11 655 28" id="caption2" class="search_name" visible="true" anchor="default"/>
- <Static text="적 용 일 :" position="absolute 898 11 984 28" id="caption4" class="search_name" anchor="default"/>
- <Edit position="absolute 644 9 739 28" id="ipt_spclcd" class="input_search" visible="true" anchor="default" onkeyup="group3_group2_ipt_spclcd_onkeyup"/>
- <Calendar position="absolute 974 10 1077 29" id="ipt_aplydd" class="input_search" mask="yyyy-mm-dd" anchor="default" onchanged="group3_group2_ipt_aplydd_onchanged" dateformat="yyyy-MM-dd " value="null"/>
- <Button position="absolute 200 10 216 26" id="button2" class="icon_search" taborder="5" text="" anchor="default" onclick="group3_group2_button2_onclick"/>
- <Edit position="absolute 91 9 194 28" id="ipt_diagcd" class="input_search" anchor="default"/>
- <Edit position="absolute 222 9 552 28" id="ipt_diagnm" class="input_search" anchor="default"/>
- <Edit id="ipt_spclcd00" taborder="7" class="input_search" position="absolute 815 10 878 29" onkeyup="group3_group2_ipt_spclcd00_onkeyup" anchor="default"/>
- <Static id="caption00" text="SEQ :" class="search_name" position="absolute 759 12 813 29" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="희귀난치성질환 등록기준List" position="absolute 0 56 194 78" id="caption1" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 78 1204 79" linetype="vertical" id="line1" class="line_1" anchor="default"/>
- <Grid position="absolute 0 77 1209 717" id="grd_picmmsrglist" class="datagrid2" binddataset="ds_main_picmmsrglist" anchor="all" onexpanddown="group3_grd_picmmsrglist_onexpanddown" cellsizingtype="col" cellmovingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="38"/>
- <Column size="47"/>
- <Column size="65"/>
- <Column size="220"/>
- <Column size="220"/>
- <Column size="300"/>
- <Column size="35"/>
- <Column size="63"/>
- <Column size="36"/>
- <Column size="33"/>
- <Column size="35"/>
- <Column size="158"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="90" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="순번"/>
- <Cell col="2" text="SEQ"/>
- <Cell col="3" text="SEQ"/>
- <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="1. 영상 검사"/>
- <Cell col="11" text="2. 특수생 화학/ 면역학 검사,도말/ 배양검사"/>
- <Cell col="12" text="3. 유전 학검 사"/>
- <Cell col="13" text="4. 조직 학검 사"/>
- <Cell col="14" text="5. 임상 진단"/>
- <Cell col="15" text="기타"/>
- <Cell col="16" text="관련학회1"/>
- <Cell col="17" text="관련학회2"/>
- <Cell col="18" text="관련학회3"/>
- <Cell col="19" text="시작일"/>
- <Cell col="20" text="종료일"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="normal" edittype="none" style="align:center middle;" text="bind:rowno"/>
- <Cell col="2" displaytype="none" edittype="none" style="align:center middle;" text="bind:seq"/>
- <Cell col="3" style="align:center middle;" text="bind:seq"/>
- <Cell col="4" displaytype="text" edittype="text" style="align:center middle;" text="bind:spclcd"/>
- <Cell col="5" displaytype="text" edittype="text" style="align:center middle;" text="bind:termcd"/>
- <Cell col="6" displaytype="text" edittype="text" style="align:center middle;" text="bind:diagcd" expandshow="show"/>
- <Cell col="7" displaytype="text" edittype="text" style="align:left top;" text="bind:diagnm" wordwrap="word"/>
- <Cell col="8" displaytype="text" edittype="text" style="align:left top;" text="bind:diagengnm" wordwrap="word"/>
- <Cell col="9" displaytype="text" edittype="text" style="align:left top;" text="bind:rgstbase" wordwrap="word"/>
- <Cell col="10" displaytype="checkbox" edittype="checkbox" text="bind:test1" expr="expr:test1 == 'Y' || test1 == '1' ? 1 : 0"/>
- <Cell col="11" displaytype="checkbox" edittype="checkbox" text="bind:test2" expr="expr:test2 == 'Y' || test2 == '1' ? 1 : 0"/>
- <Cell col="12" displaytype="checkbox" edittype="checkbox" text="bind:test3" expr="expr:test3 == 'Y' || test3 == '1' ? 1 : 0"/>
- <Cell col="13" displaytype="checkbox" edittype="checkbox" text="bind:test4" expr="expr:test4 == 'Y' || test4 == '1' ? 1 : 0"/>
- <Cell col="14" displaytype="checkbox" edittype="checkbox" text="bind:test5" expr="expr:test5 == 'Y' || test5 == '1' ? 1 : 0"/>
- <Cell col="15" displaytype="normal" edittype="normal" style="align:left middle;" text="bind:remark"/>
- <Cell col="16" displaytype="text" edittype="text" style="align:left top;" text="bind:rellnscity1"/>
- <Cell col="17" displaytype="text" edittype="text" text="bind:rellnscity2"/>
- <Cell col="18" displaytype="text" edittype="text" text="bind:rellnscity3"/>
- <Cell col="19" displaytype="date" edittype="date" text="bind:fromdd" mask="yyyy-MM-dd"/>
- <Cell col="20" displaytype="date" edittype="date" text="bind:todd" mask="yyyy-MM-dd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1129 53 1209 72" id="button5" class="btn7" visible="true" text="엑셀저장" anchor="top right" onclick="group3_button5_onclick"/>
- <Button position="absolute 1073 53 1126 72" id="btn_rowdel" class="btn2" text="행삭제" anchor="top right" onclick="group3_btn_rowdel_onclick"/>
- <Button position="absolute 1017 53 1070 72" id="btn_rowadd" class="btn2" text="행추가" anchor="top right" onclick="group3_btn_rowadd_onclick"/>
- <Shape id="line00" class="line_10" position="absolute 0 72 1209 78" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 730 1211 762" id="group4" scrollbars="autoboth" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 1211 6" linetype="horizontal" id="line23" class="line_6" anchor="left right bottom"/>
- <Button position="absolute 1143 5 1211 27" id="button1" class="btn4" text="저 장" anchor="right bottom" onclick="group4_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="희귀난치성질환 등록기준(의료급여_결핵포함)" class="tit_1" position="absolute 1 1 329 24"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_data1" 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="diagnm" type="STRING" size="256"/>
- <Column id="spclcd" type="STRING" size="256"/>
- <Column id="seq" type="STRING" size="256"/>
- <Column id="aplydd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_picmmsrglist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_picmmsrglist_oncolumnchanged">
- <ColumnInfo>
- <Column id="rowno" type="STRING" size="256" sumtext="순번"/>
- <Column id="seq" type="STRING" size="256" sumtext="상병일련번호"/>
- <Column id="spclcd" type="STRING" size="256" sumtext="특정기호"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="상병코드"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="질환명"/>
- <Column id="diagengnm" type="STRING" size="256" sumtext="영어명"/>
- <Column id="rgstbase" type="STRING" size="256" sumtext="등록기준"/>
- <Column id="test1" type="STRING" size="256" sumtext="영상검사"/>
- <Column id="test2" type="STRING" size="256" sumtext="특수생화학/면역학검사, 도말/배양검사"/>
- <Column id="test3" type="STRING" size="256" sumtext="유전학검사"/>
- <Column id="test4" type="STRING" size="256" sumtext="조직학검사"/>
- <Column id="test5" type="STRING" size="256" sumtext="임상 진단"/>
- <Column id="remark" type="STRING" size="256" sumtext="기타"/>
- <Column id="rellnscity1" type="STRING" size="256" sumtext="관력학회1"/>
- <Column id="rellnscity2" type="STRING" size="256" sumtext="관력학회2"/>
- <Column id="rellnscity3" type="STRING" size="256" sumtext="관력학회3"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일"/>
- <Column id="termcd" 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="currendate" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_sppiz00400_rslt" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="termcd" type="STRING" size="256"/>
- <Column id="diaghngnm" type="STRING" size="256"/>
- <Column id="diagengnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="count" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group2.ipt_diagcd" propid="value" datasetid="ds_send_data1" columnid="diagcd"/>
- <BindItem id="item1" compid="group3.group2.ipt_diagnm" propid="value" datasetid="ds_send_data1" columnid="diagnm"/>
- <BindItem id="item2" compid="group3.group2.ipt_spclcd" propid="value" datasetid="ds_send_data1" columnid="spclcd"/>
- <BindItem id="item3" compid="group3.group2.ipt_spclcd00" propid="value" datasetid="ds_send_data1" columnid="seq"/>
- <BindItem id="item4" compid="group3.group2.ipt_aplydd" propid="value" datasetid="ds_send_data1" columnid="aplydd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- function SMPIB03001_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIB03001_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(group3.grd_picmmsrglist);
- grdf_setRowTypeIcon(group3.grd_picmmsrglist, 0);
-
- pamGetDeptCDDrIDList();
-
- ds_send_data1.setColumn(0, "aplydd", utlf_getCurrentDate());
-
- ds_hidden.setColumn(0, "currendate", utlf_getCurrentDate());
-
- if (frmf_checkOpener())
- {
- ds_send_data1.setColumn(0, "diagcd", frmf_getParameter("SMPIB03001_diagcd"));
- ds_send_data1.setColumn(0, "diagnm", frmf_getParameter("SMPIB03001_diagnm"));
- ds_send_data1.setColumn(0, "spclcd", frmf_getParameter("SMPIB03001_spclcd"));
- ds_send_data1.setColumn(0, "aplydd", frmf_getParameter("SMPIB03001_aplydd"));
- ds_send_data1.setColumn(0, "seq", frmf_getParameter("SMPIB03000_seq"));
-
- group3_group2_btn_search_onclick();
- }
- }
- function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRPIB03002";
- oParam.service = "insubasecdmngtapp.RareSickMngt";
- oParam.method = "reqGetPicmmsrgList";
- oParam.inds = "req=ds_send_data1";
- oParam.outds = "ds_main_picmmsrglist=picmmsrglist";
- oParam.async = false;
- //oParam.callback = "cf_TRPIB03002";
- tranf_submit(oParam);
- }
- function group3_group2_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- objArg.sDiagcd = ds_send_data1.getColumn(0, "diagcd");
- objArg.sSelectedrdodiagkind = 2;
- objArg.sSingleFlag = "P";
- var objDs = frmf_modal("SPPIZ00400", "SPPIZ00400", "", "", "", "", "", "", "", "", "", "", "M");
-
- ds_send_data1.setColumn(0, "diagcd", objDs.sDiagcd);
- ds_send_data1.setColumn(0, "diagnm", objDs.sDiagnm);
- }
- function group3_group2_ipt_spclcd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- group3_group2_btn_search_onclick();
- }
- }
- function group3_group2_ipt_spclcd00_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- group3_group2_btn_search_onclick();
- }
- }
- function group3_group2_ipt_aplydd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- group3_group2_btn_search_onclick();
- }
- function group3_grd_picmmsrglist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- var rowno = e.row;
-
- if(e.col == 6)
- {
- var objArg = new Object();
- objArg.sDiagcd = ds_main_picmmsrglist.getColumn(rowno, "diagcd");
- objArg.sSelectedrdodiagkind = 2;
- objArg.sSingleFlag = "P";
- var objDs = frmf_modal("SPPIZ00400", "SPPIZ00400", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- ds_main_picmmsrglist.updatecontrol = false;
- ds_main_picmmsrglist.setColumn(rowno, "diagcd", objDs.sDiagcd);
- ds_main_picmmsrglist.setColumn(rowno, "diagnm", objDs.sDiagnm);
- ds_main_picmmsrglist.setColumn(rowno, "diagengnm", objDs.sDiagengnm);
- ds_main_picmmsrglist.updatecontrol = true;
- }
- }
- function ds_main_picmmsrglist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "test1")
- {
- obj.setColumn(e.row, "test1", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- if(e.columnid == "test2")
- {
- obj.setColumn(e.row, "test2", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- if(e.columnid == "test3")
- {
- obj.setColumn(e.row, "test3", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- if(e.columnid == "test4")
- {
- obj.setColumn(e.row, "test4", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- if(e.columnid == "test5")
- {
- obj.setColumn(e.row, "test5", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function group3_btn_rowadd_onclick(obj:Button, e:ClickEventInfo)
- {
- var rowno = ds_main_picmmsrglist.addRow();
-
- ds_main_picmmsrglist.setColumn(rowno, "fromdd", utlf_getCurrentDate());
- ds_main_picmmsrglist.setColumn(rowno, "todd", "99991231");
- ds_main_picmmsrglist.setColumn(rowno, "termcd", "-");
- }
- function group3_btn_rowdel_onclick(obj:Button, e:ClickEventInfo)
- {
- var row = ds_main_picmmsrglist.rowposition;
-
- ds_main_picmmsrglist.deleteRow(row);
- }
- function group3_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_picmmsrglist.rowcount > 0)
- {
- grdf_exportExcel(group3.grd_picmmsrglist, "희귀난치질환기준자료", "see");
- }
- else
- {
- sysf_messageBox("엑셀저장할 대상자가", "I004");
- }
- }
- function group4_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( sysf_messageBox("","Q002") == 6 )
- {
- var update = grdf_getGridUpdateData(group3.grd_picmmsrglist);
-
- if(update.rowcount == 0)
- {
- sysf_messageBox("업데이트 정보가 없습니다.", "I");
-
- return 0;
- }
- else
- {
- var oParam = {};
- oParam.id = "TXPIB03002";
- oParam.service = "insubasecdmngtapp.RareSickMngt";
- oParam.method = "reqSetPicmmsrgList";
- oParam.inds = "req=ds_main_picmmsrglist:U";
- oParam.typeStr = "m";
- oParam.outds = "ds_temp_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXPIB03002";
- tranf_submit(oParam);
- }
-
- }
- group3_group2_btn_search_onclick();
- }
- ]]></Script>
- </Form>
- </FDL>
|