123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHB00800" position="absolute 0 0 1200 805" titletext="판정소견예문관리" oninit="SMAHB00800_oninit" onload="SMAHB00800_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="판정소견예문관리" class="tit_1" position="absolute 0 0 175 25"/>
- <Static id="caption1" text="예문입력" class="tit_2" position="absolute 716 76 794 98" anchor="top right"/>
- <Grid id="grd_judgexmplst" taborder="1" binddataset="ds_main_judgexmpcdlst_item" useinputpanel="false" position="absolute 0 97 710 761" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="grd_judgexmplst_oncelldblclick" onrbuttondown="grd_judgexmplst_onrbuttondown" selecttype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="0"/>
- <Column size="30"/>
- <Column size="66"/>
- <Column size="220"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="sel"/>
- <Cell col="2" text="USE"/>
- <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="최종수정일시"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:sel"/>
- <Cell col="2" text="bind:useyn"/>
- <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:judgexmpcd"/>
- <Cell col="4" style="align:left middle;padding:0 0 0 3;" text="bind:judghangshrtcnts"/>
- <Cell col="5" style="align:left middle;padding:0 0 0 3;" text="bind:judgengshrtcnts"/>
- <Cell col="6" style="align:left middle;padding:0 0 0 3;" text="bind:judgexmpgrpcd"/>
- <Cell col="7" style="align:left middle;padding:0 0 0 3;" text="bind:judgexmpgrpnm"/>
- <Cell col="8" style="align:left middle;padding:0 0 0 3;" text="bind:lastupdtrid"/>
- <Cell col="9" displaytype="date" style="align:left middle;padding:0 0 0 3;" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line10" linetype="horizontal" class="line_3" position="absolute 715 758 1194 764" anchor="top right"/>
- <Shape id="line1" class="line_10" position="absolute 715 92 1195 98" anchor="top right"/>
- <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 715 119 1195 125" anchor="top right"/>
- <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 715 145 1195 151" anchor="top right"/>
- <Static id="caption11" text="한글소견" class="cell_1" position="absolute 715 123 802 146" anchor="top right"/>
- <Static id="caption7" text="예문코드" class="cell_1" position="absolute 715 97 802 120" anchor="top right"/>
- <Static id="caption3" text="예문내역" class="tit_2" position="absolute 0 76 90 98"/>
- <Shape id="line4" class="line_10" position="absolute 0 92 710 98" anchor="left top right"/>
- <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 715 171 1195 177" anchor="top right"/>
- <Static id="caption9" text="한글판정소견" class="cell_1" position="absolute 715 378 802 562" anchor="top right"/>
- <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 715 282 1195 288" anchor="top right"/>
- <Static id="caption18" text="질환코드" class="cell_1" position="absolute 715 175 802 283" anchor="top right"/>
- <Static id="caption14" text="영문소견" class="cell_1" position="absolute 715 149 802 172" anchor="top right"/>
- <Edit id="ipt_exmpcd" taborder="2" class="input_essential" position="absolute 804 99 919 118" autoselect="true" autoskip="true" anchor="top right" onkeyup="ipt_exmpcd_onkeyup"/>
- <Edit id="ipt_shrthang" taborder="3" class="input" position="absolute 804 124 1196 143" autoselect="true" autoskip="true" anchor="top right" onkeyup="ipt_shrthang_onkeyup"/>
- <Edit id="ipt_shrteng" taborder="4" class="input" position="absolute 804 151 1196 170" autoselect="true" autoskip="true" anchor="top right" onkeyup="ipt_shrteng_onkeyup"/>
- <TextArea id="tar_hangcnts" taborder="5" position="absolute 803 379 1195 560" acceptstab="true" autoselect="true" wordwrap="word" anchor="top right"/>
- <TextArea id="tar_engcnts" taborder="6" position="absolute 803 567 1195 758" acceptstab="true" autoselect="true" wordwrap="word" anchor="top right"/>
- <Button id="btn_sickcd" taborder="7" text="질환코드" class="btn2" position="absolute 724 220 796 242" anchor="top right" onclick="btn_sickcd_onclick"/>
- <Static id="caption10" text="영문판정소견" class="cell_1" position="absolute 715 565 802 759" anchor="top right"/>
- <Shape id="line9" linetype="horizontal" class="line_2" position="absolute 715 561 1194 567" anchor="top right"/>
- <Div id="grp_search" taborder="8" class="div_SA" position="absolute 0 25 1195 65" anchor="left top right">
- <Layouts>
- <Layout width="1195" height="40">
- <Edit id="ipt_examcd" taborder="3" autoselect="true" autoskip="true" class="input_search" position="absolute 105 11 270 30" onkeyup="grp_search_ipt_examcd_onkeyup"/>
- <Static id="caption21" text="예문코드 :" class="search_name" position="absolute 17 13 103 30"/>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1122 9 1178 31" anchor="top right" onclick="grp_search_btn_search_onclick"/>
- <Shape id="line18" linetype="vertical" class="line_4" position="absolute 1101 9 1107 31" anchor="top right"/>
- <Edit id="ipt_examcnts" taborder="2" autoselect="true" autoskip="true" class="input_search" position="absolute 412 10 702 29" onkeyup="grp_search_ipt_examcnts_onkeyup"/>
- <Static id="caption22" text="단문내용:" class="search_name" position="absolute 333 12 419 29"/>
- <Static id="caption13" text="건진상세:" class="search_name" position="absolute 770 12 856 29"/>
- <Combo id="cmb_healexamdetlflag" taborder="4" innerdataset="ds_init_cmb_healexamdetlflag" codecolumn="cdid" datacolumn="cdnm" class="combo_s_essential" position="absolute 850 11 935 30"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_sicklst" taborder="9" binddataset="ds_main_judgexmpdetl_itemsick" useinputpanel="false" position="absolute 803 196 1195 283" anchor="top right" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="83"/>
- <Column size="168"/>
- <Column size="100"/>
- <Column size="100"/>
- </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="사업체코드"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:sickcd"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:sicknm"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:judgcd" combodataset="ds_cmb_judgcd" combocodecol="value" combodatacol="label"/>
- <Cell col="4" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:cmpycd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption2" text="사용여부" class="cell_1" position="absolute 921 97 988 120" anchor="top right"/>
- <CheckBox id="chk_useyn" taborder="10" position="absolute 991 98 1036 118" text="사용" truevalue="Y" anchor="top right" onclick="chk_useyn_onclick"/>
- <Button id="btn_rsltdel" taborder="11" text="선택행삭제" class="btn2" position="absolute 1120 176 1195 195" anchor="top right" onclick="btn_rsltdel_onclick"/>
- <Button id="btn_copy" taborder="12" text="행복사" class="btn2" position="absolute 657 73 710 92" anchor="top right" onclick="btn_copy_onclick"/>
- <Static id="caption4" text="질환코드" class="cell_1" position="absolute 715 286 802 375" anchor="top right" onclick="caption4_onclick"/>
- <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 715 374 1195 380" anchor="top right"/>
- <Grid id="grd_testlst" taborder="13" binddataset="ds_main_judgexmpdetl_itemtest" useinputpanel="false" position="absolute 803 306 1195 374" autoenter="select" autofittype="col" cellsizingtype="col" anchor="top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="19"/>
- <Column size="150"/>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="검사코드"/>
- <Cell col="2" text="검사명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:testcd"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:testnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="ipt_testcd" taborder="14" text="검사코드" class="btn2" position="absolute 723 321 795 343" anchor="top right" onclick="ipt_testcd_onclick"/>
- <Button id="button3" taborder="15" text="선택행삭제" class="btn2" position="absolute 1120 286 1195 305" anchor="top right" onclick="button3_onclick"/>
- <Div id="grp_judgexmpgrp" taborder="17" visible="false" position="absolute 144 243 585 322" style="background:white;border:1 solid #808080ff ;">
- <Layouts>
- <Layout>
- <Static id="caption5" text="소견그룹코드" class="cell_1" position="absolute 3 25 90 48" anchor="default"/>
- <Static id="caption8" text="소견그룹등록" class="tit_2" position="absolute 3 4 122 26" anchor="default"/>
- <Shape id="line7" linetype="horizontal" class="line_10" position="absolute 3 20 435 26" anchor="default"/>
- <Edit id="ipt_judgexmpgrpcd" taborder="1" class="input_essential" position="absolute 93 26 213 45" anchor="default" autoselect="true" autoskip="true"/>
- <Static id="caption12" text="소견그룹명" class="cell_1" position="absolute 216 25 295 48" anchor="default"/>
- <Edit id="ipt_judgexmpgrpnm" taborder="2" class="input_essential" position="absolute 298 26 432 45" anchor="default" autoselect="true" autoskip="true"/>
- <Button id="btn_savepopup" taborder="3" text="저장" class="btn4" position="absolute 380 51 436 73" anchor="default" onclick="grp_judgexmpgrp_btn_savepopup_onclick"/>
- <Shape id="line11" linetype="horizontal" class="line_2" position="absolute 4 47 436 53" anchor="default"/>
- <Button id="btn_rsltexmp" taborder="4" class="icon_plus" position="absolute 421 5 434 20" anchor="default" onclick="grp_judgexmpgrp_btn_rsltexmp_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption15" text="건진상세" class="cell_1" position="absolute 1036 97 1103 120" anchor="top right"/>
- <Combo id="cmb_healexamdetlflag2" taborder="19" innerdataset="@ds_init_baseinfo_hedetflaglst_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_s_essential" position="absolute 1104 99 1195 118" anchor="top right"/>
- <Button id="btn_save" taborder="20" text="저장" class="btn4" position="absolute 1007 768 1063 790" anchor="right bottom" onclick="btn_save_onclick"/>
- <Button id="btn_del" taborder="21" text="삭제" class="btn4" position="absolute 1067 768 1123 790" anchor="right bottom" onclick="btn_del_onclick"/>
- <Button id="btn_clear" taborder="22" text="초기화" class="btn4" position="absolute 1126 768 1194 790" anchor="right bottom" onclick="btn_clear_onclick"/>
- <PopupMenu id="pmn_menu1" position="absolute 1222 81 1310 123" innerdataset="@ds_menu" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu1_onmenuclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchjudgexmpcd" type="STRING" size="256"/>
- <Column id="srchjudgexmpcnts" type="STRING" size="256"/>
- <Column id="srchjudgexmpcd2" type="STRING" size="256"/>
- <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
- <Column id="srchinstcd" type="STRING" size="256"/>
- <Column id="srchhealexamflag" type="STRING" size="256"/>
- <Column id="srchjudgexmpcd2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchjudgexmpcd"/>
- <Col id="srchjudgexmpcnts"/>
- <Col id="srchjudgexmpcd2"/>
- <Col id="srchhealexamdetlflag"/>
- <Col id="srchinstcd"/>
- <Col id="srchhealexamflag"/>
- <Col id="srchjudgexmpcd2"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_judgexmpcdlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256" sumtext="선택"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="judgexmpcd" type="STRING" size="256" sumtext="판정문구코드"/>
- <Column id="judghangshrtcnts" type="STRING" size="256" sumtext="판정단문내용(한글)"/>
- <Column id="judgengshrtcnts" type="STRING" size="256" sumtext="판정단문내용(영문)"/>
- <Column id="judghangcnts" type="STRING" size="256" sumtext="판정장문내용(한글)"/>
- <Column id="judgengcnts" type="STRING" size="256" sumtext="판정장문내용(영문)"/>
- <Column id="judgexmpgrpcd" type="STRING" size="256" sumtext="판정문구그룹코드"/>
- <Column id="judgexmpgrpnm" type="STRING" size="256" sumtext="판정문구그룹명"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_judgexmpdetl_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="judgexmpcd" type="STRING" size="256" sumtext="판정문구코드"/>
- <Column id="judghangshrtcnts" type="STRING" size="256" sumtext="판정단문내용(한글)"/>
- <Column id="judgengshrtcnts" type="STRING" size="256" sumtext="판정단문내용(영문)"/>
- <Column id="judghangcnts" type="STRING" size="256" sumtext="장문판정내용(한글)"/>
- <Column id="judgengcnts" type="STRING" size="256" sumtext="장문판정내용(영문)"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="copyyn" type="STRING" size="256" sumtext="행복사여부"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo_hedetflaglst_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_judgexmpdetl_itemsick" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sickcd" type="STRING" size="256" sumtext="질환코드"/>
- <Column id="sicknm" type="STRING" size="256" sumtext="질환명"/>
- <Column id="judgcd" type="STRING" size="256" sumtext="판정코드"/>
- <Column id="cmpycd" type="STRING" size="256" sumtext="업체코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_judgcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">A</Col>
- <Col id="value">A</Col>
- </Row>
- <Row>
- <Col id="label">B</Col>
- <Col id="value">B</Col>
- </Row>
- <Row>
- <Col id="label">C</Col>
- <Col id="value">C</Col>
- </Row>
- <Row>
- <Col id="label">R</Col>
- <Col id="value">R</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_judgexmpdetl_itemtest" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="false" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamflag" type="STRING" size="256" sumtext="검진구분"/>
- <Column id="judgexmpcd" type="STRING" size="256" sumtext="판정문구 코드"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
- <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_popup_jugdgexmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="judgexmpgrpcd" type="STRING" size="256"/>
- <Column id="judgexmpgrpnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="judgexmpgrpcd"/>
- <Col id="judgexmpgrpnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">판정소견그룹등록</Col>
- <Col id="func">addjudgegrp</Col>
- </Row>
- <Row>
- <Col id="label">판정소견그룹삭제</Col>
- <Col id="func">deljudgegrp</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savegrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="grpdata" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="healexamflag"/>
- <Col id="instcd"/>
- <Col id="grpdata"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="okflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_info_rsrvacptinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_search.ipt_examcd" propid="value" datasetid="ds_send" columnid="srchjudgexmpcd"/>
- <BindItem id="item1" compid="grp_search.ipt_examcnts" propid="value" datasetid="ds_send" columnid="srchjudgexmpcnts"/>
- <BindItem id="item2" compid="grp_search.cmb_healexamdetlflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
- <BindItem id="item3" compid="ipt_exmpcd" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgexmpcd"/>
- <BindItem id="item4" compid="chk_useyn" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="useyn"/>
- <BindItem id="item5" compid="cmb_healexamdetlflag2" propid="value" datasetid="ds_send" columnid=""/>
- <BindItem id="item6" compid="ipt_shrthang" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judghangshrtcnts"/>
- <BindItem id="item7" compid="ipt_shrteng" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgengshrtcnts"/>
- <BindItem id="item8" compid="tar_hangcnts" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judghangcnts"/>
- <BindItem id="item9" compid="tar_engcnts" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgengcnts"/>
- <BindItem id="item10" compid="grp_judgexmpgrp.ipt_judgexmpgrpcd" propid="value" datasetid="ds_popup_jugdgexmp" columnid="judgexmpgrpcd"/>
- <BindItem id="item11" compid="grp_judgexmpgrp.ipt_judgexmpgrpnm" propid="value" datasetid="ds_popup_jugdgexmp" columnid="judgexmpgrpnm"/>
- </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";
- include "ast_healexamxp::AHA001.xjs";
- include "ast_healthexambasexp::healcombolist.xjs";
- function SMAHB00800_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAHB00800_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_judgexmplst);
- grdf_initGrid(grd_sicklst);
- grdf_setRowTypeIcon(grd_sicklst, 0);
- grdf_initGrid(grd_testlst);
- grdf_setRowTypeIcon(grd_testlst, 0);
- fGetJudgExmpList();
- grp_search.btn_search.enable = frmf_checkAuth("R");
- btn_save.enable = frmf_checkAuth("X");
- btn_clear.enable = frmf_checkAuth("X");
- btn_del.enable = frmf_checkAuth("X");
-
- }
- function fGetJudgExmpList()
- {
- //fInit(false);
- //ds_main_judgexmpcdlst_item.clearData();
- ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn(0, "srchhealexamflag", fGetHealExamFlag());
-
- var arrParam = [{dsNm: "ds_init_baseinfo_hedetflaglst_A0070", cdGrpId: "A0070"}]
- appf_getCodeList(arrParam);
-
- if(fGetHealExamFlag() == "G")
- {
- grp_search.caption13.visible = true;
- grp_search.cmb_healexamdetlflag.visible = true;
- caption15.visible = true;
- cmb_healexamdetlflag2.visible = true;
- ds_send.setColumn(0, "srchhealexamdetlflag", cmb_healexamdetlflag2.value);
- }
- else
- {
- grp_search.caption13.visible = false;
- grp_search.cmb_healexamdetlflag.visible = false;
- caption15.visible = false;
- cmb_healexamdetlflag2.visible = false;
- }
-
- var currow = ds_main_judgexmpcdlst_item.rowposition;
-
- var oParam = {};
- oParam.id = "TRAHB00801";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqGetCmtCdList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_judgexmpcdlst_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHB00801";
- tranf_submit(oParam);
-
- ds_main_judgexmpcdlst_item.rowposition = currow;
- }
- function cf_TRAHB00801(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- }
- function fInit(vInput)
- {
- ipt_exmpcd.enable = true;
- if( vInput == false )
- {
- ds_main_judgexmpcdlst_item.clearData();
- }
- ds_main_judgexmpdetl_itemsick.clearData();
- ds_main_judgexmpdetl_itemtest.clearData();
- ds_main_judgexmpdetl_item.clearData();
- ds_main_judgexmpdetl_item.addRow();
-
- ipt_exmpcd.setFocus();
- }
- function grp_search_ipt_examcd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_search.btn_search.click();
- }
- }
- function grp_search_ipt_examcnts_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_search.btn_search.click();
- }
- }
- function grp_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetJudgExmpList();
- }
- function grd_judgexmplst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fGetExmpDetlInfo(false);
- }
- function fGetExmpDetlInfo(bCopy)
- {
- var idx = ds_main_judgexmpcdlst_item.rowposition;
- if( idx < 0) return ;
-
- ipt_exmpcd.enable = bCopy ;
-
- ds_send.setColumn(0, "srchinstcd",sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn(0, "srchhealexamflag",fGetHealExamFlag());
- ds_send.setColumn(0, "srchjudgexmpcd",ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd"));
- ds_send.setColumn(0, "srchjudgexmpcd2",ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd"));
-
- var oParam = {};
- oParam.id = "TRAHB00802";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqGetCmtCdDetl";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_judgexmpdetl_item=item ds_main_judgexmpdetl_itemsick=itemsick ds_main_judgexmpdetl_itemtest=itemtest";
- oParam.async = false;
- //oParam.callback = "cf_TRAHB00802";
- tranf_submit(oParam);
-
- ds_send.setColumn(0, "srchjudgexmpcd", "");
-
- if(bCopy == true )
- {
- ds_main_judgexmpdetl_item.setColumn(0, "judgexmpcd","");
- ipt_exmpcd.setFocus();
- }
- }
- function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- if(e.id == "addjudgegrp")
- {
- fSetJudgeGrp("A");
- }
- if(e.id == "deljudgegrp")
- {
- fSetJudgeGrp("D");
- }
- }
- function grd_judgexmplst_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- pmn_menu1.trackPopup(e.screenX,e.screenY);
- }
- function fSetJudgeGrp(vMode)
- {
- var selIdxs = grdf_getSelectedRows(grd_judgexmplst);
-
- if(vMode == "A")
- {
- grp_judgexmpgrp.visible = true;
- ds_popup_jugdgexmp.setColumn(0, "judgexmpgrpcd","");
- ds_popup_jugdgexmp.setColumn(0, "judgexmpgrpnm","");
- }
- else if(vMode == "D")
- {
- for(var i = 0; i < selIdxs.length; i++)
- {
- var idx = selIdxs[i];
- ds_main_judgexmpcdlst_item.setColumn(idx,"judgexmpgrpcd", "");
- ds_main_judgexmpcdlst_item.setColumn(idx,"judgexmpgrpnm", "");
-
- ds_main_judgexmpcdlst_item.updatecontrol = false;
- ds_main_judgexmpcdlst_item.setRowType(idx, "u");
- ds_main_judgexmpcdlst_item.updatecontrol = true;
- }
- ds_send_savegrp.copyData(grdf_getGridUpdateData(grd_judgexmplst));
- dsf_makeValue(ds_send_savegrp, "healexamflag", "string" , ds_send.getColumn(0, "srchhealexamflag"));
- dsf_makeValue(ds_send_savegrp, "instcd", "string", ds_send.getColumn(0, "srchinstcd"));
-
- var oParam = {};
- oParam.id = "TXAHB00804";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqExeJudgExmpGrp";
- oParam.inds = "req=ds_send_savegrp:u";
- oParam.outds = "ds_=item";
- oParam.typeStr = "m";
- oParam.async = false;
- oParam.callback = "cf_TXAHB00804";
- tranf_submit(oParam);
- }
- }
- function cf_TXAHB00804(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- else
- {
- ds_main_judgexmpcdlst_item.applyChange();
- }
- }
- function grp_judgexmpgrp_btn_rsltexmp_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_judgexmpgrp.visible = false;
- }
- function grp_judgexmpgrp_btn_savepopup_onclick(obj:Button, e:ClickEventInfo)
- {
- var selIdxs = grdf_getSelectedRows(grd_judgexmplst);
- var judgexmpgrpcd = grp_judgexmpgrp.ipt_judgexmpgrpcd.value;
- var judgexmpgrpnm = grp_judgexmpgrp.ipt_judgexmpgrpnm.value;
-
- for(var i = 0; i < selIdxs.length; i++)
- {
- var selIdx = selIdxs[i];
- if(!utlf_isNull(judgexmpgrpcd)) ds_main_judgexmpcdlst_item.setColumn(selIdx, "judgexmpgrpcd", judgexmpgrpcd);
- if(!utlf_isNull(judgexmpgrpnm)) ds_main_judgexmpcdlst_item.setColumn(selIdx, "judgexmpgrpnm", judgexmpgrpnm);
-
- ds_main_judgexmpcdlst_item.updatecontrol = false;
- ds_main_judgexmpcdlst_item.setRowType(selIdx, "u");
- ds_main_judgexmpcdlst_item.updatecontrol = true;
- }
-
- ds_send_savegrp.copyData(grdf_getGridUpdateData(grd_judgexmplst));
- dsf_makeValue(ds_send_savegrp, "healexamflag", "string" , ds_send.getColumn(0, "srchhealexamflag"));
- dsf_makeValue(ds_send_savegrp, "instcd", "string", ds_send.getColumn(0, "srchinstcd"));
- grp_judgexmpgrp.visible = false;
-
- var oParam = {};
- oParam.id = "TXAHB00804";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqExeJudgExmpGrp";
- oParam.inds = "req=ds_send_savegrp:u";
- oParam.outds = "ds_=item";
- oParam.typeStr = "m";
- oParam.async = false;
- oParam.callback = "cf_TXAHB00804";
- tranf_submit(oParam);
- }
- function btn_copy_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetExmpDetlInfo(true);
-
- ds_main_judgexmpdetl_item.setColumn(0, "copyyn", "Y");
- }
- function btn_sickcd_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = ds_main_judgexmpdetl_itemsick.rowcount;
-
- ahafGetSickCd("SMAHB00800", "", "", cnt , "ds_main_judgexmpdetl_itemsick");
-
- if( ds_temp.getColumn(0, "okflag") == "Y" )
- {
- for( var i = cnt ; i < ds_main_judgexmpdetl_itemsick.rowcount; i++)
- {
- ds_main_judgexmpdetl_itemsick.updatecontrol = false;
- ds_main_judgexmpdetl_itemsick.setRowType(i, "i");
- ds_main_judgexmpdetl_itemsick.updatecontrol = true;
- }
- }
- }
- function ipt_testcd_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = ds_main_judgexmpdetl_itemtest.rowcount;
- var vjudgexmpcd = ds_main_judgexmpcdlst_item.getColumn(ds_main_judgexmpcdlst_item.rowposition, "judgexmpcd");
- ahafGetTestCd("SMAHB00800", "", "", cnt , ds_main_judgexmpdetl_itemtest,vjudgexmpcd);
- if( ds_temp.getColumn(0, "okflag") == "Y" )
- {
- for( var i = cnt ; i < ds_main_judgexmpdetl_itemtest.rowcount; i++)
- {
- ds_main_judgexmpdetl_itemtest.updatecontrol = false;
- ds_main_judgexmpdetl_itemtest.setRowType(i, "i");
- ds_main_judgexmpdetl_itemtest.updatecontrol = true;
- }
- }
- }
- function caption4_onclick(obj:Static, e:ClickEventInfo)
- {
-
- }
- function ipt_exmpcd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- ipt_shrthang.setFocus();
- }
- }
- function chk_useyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "Y")
- {
- }
- else
- {
- ds_main_judgexmpdetl_item.setColumn(0, "useyn", "");
- }
- }
- function ipt_shrthang_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- ipt_shrteng.setFocus();
- }
- }
- function ipt_shrteng_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- tar_hangcnts.setFocus();
- }
- }
- function btn_rsltdel_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_judgexmpdetl_itemsick.getRowType(ds_main_judgexmpdetl_itemsick.rowposition) == 2)
- {
- ds_main_judgexmpdetl_itemsick.deleteRow(ds_main_judgexmpdetl_itemsick.rowposition);
- }
- else
- {
- ds_main_judgexmpdetl_itemsick.updatecontrol = false;
- ds_main_judgexmpdetl_itemsick.setRowType(ds_main_judgexmpdetl_itemsick.rowposition, "d");
- ds_main_judgexmpdetl_itemsick.updatecontrol = true;
- }
- }
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_judgexmpdetl_itemtest.getRowType(ds_main_judgexmpdetl_itemtest.rowposition) == 2)
- {
- ds_main_judgexmpdetl_itemtest.deleteRow(ds_main_judgexmpdetl_itemtest.rowposition);
- }
- else
- {
- ds_main_judgexmpdetl_itemtest.updatecontrol = false;
- ds_main_judgexmpdetl_itemtest.setRowType(ds_main_judgexmpdetl_itemtest.rowposition, "d");
- ds_main_judgexmpdetl_itemtest.updatecontrol = true;
- }
- }
- function btn_clear_onclick(obj:Button, e:ClickEventInfo)
- {
- fInit(true);
- }
- function btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveExmp(true);
- grp_search.btn_search.click();
- btn_clear.click();
- }
- function fSaveExmp(vDel)
- {
- if(vDel == true )
- {
- if ( sysf_messageBox("판정소견정보를","Q001") !=6 ) return ;
- }
- else
- {
- if ( sysf_messageBox("판정소견정보를","Q002") !=6 ) return ;
- }
- if(!fCheckVal()) return ;
-
- ds_send_save.copyData(ds_main_judgexmpdetl_item);
- dsf_makeValue(ds_send_save, "mode", "string", "");
-
- if( ipt_exmpcd.enable == false)
- {
- if(vDel == false )
- {
- ds_send_save.setColumn(0, "mode", "u");
- }
- else
- {
- ds_send_save.setColumn(0, "mode", "d");
- }
- }
- else
- {
- ds_send_save.setColumn(0, "mode", "i");
- }
-
- dsf_makeValue(ds_send_save,"healexamflag", "string",fGetHealExamFlag());
-
- if(fGetHealExamFlag() == "G")
- {
- dsf_makeValue(ds_send_save, "healexamdetlflag", grp_search.cmb_healexamdetlflag.value);
- }
-
- if(ds_send_save.getColumn(0, "copyyn") == "Y"){
- ds_main_judgexmpdetl_itemsick.updatecontrol = false;
- for(var i = 0; i < ds_main_judgexmpdetl_itemsick.rowcount; i++){
- ds_main_judgexmpdetl_itemsick.setRowType(i, "i");
- }
- ds_main_judgexmpdetl_itemsick.updatecontrol = true;
-
- ds_main_judgexmpdetl_itemtest.updatecontrol = false;
- for(var i = 0; i < ds_main_judgexmpdetl_itemtest.rowcount; i++){
- ds_main_judgexmpdetl_itemtest.setRowType(i, "i");
- }
- ds_main_judgexmpdetl_itemtest.updatecontrol = true;
- }
-
- var oParam = {};
- oParam.id = "TXAHB00801";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqExeCmtCode";
- oParam.inds = "req=ds_send_save reqsick=ds_main_judgexmpdetl_itemsick:u reqtest=ds_main_judgexmpdetl_itemtest:u";
- oParam.outds = "ds_=item ds_=itemsick ds_=itemtest";
- oParam.typeStr = "m";
- oParam.async = false;
- oParam.callback = "cf_TXAHB00801";
- tranf_submit(oParam);
-
- ds_main_judgexmpdetl_item.setColumn(0, "copyyn", "");
- }
- function cf_TXAHB00801(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- }
- function fCheckVal()
- {
- var vCd = ds_main_judgexmpdetl_item.getColumn(0, "judgexmpcd");
- if(utlf_isNull(vCd))
- {
- sysf_messageBox("예문코드는","I003");
- ipt_exmpcd.setFocus();
- }
-
- return true;
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- for ( var i = 0; i < ds_main_judgexmpdetl_itemsick.rowcount; i ++)
- {
- if(utlf_isNull(ds_main_judgexmpdetl_itemsick.getColumn(i, "sickcd")))
- {
- sysf_messageBox("질환코드는 필수 선택항목 입니다.", "E999", "");
- return;
- }
- if(utlf_isNull(ds_main_judgexmpdetl_itemsick.getColumn(i, "judgcd")))
- {
- sysf_messageBox("판정코드는 필수 선택항목 입니다.", "E999", "");
- return;
- }
- }
- var judgexmpcd = ds_main_judgexmpdetl_item.getColumn(0, "judgexmpcd");
-
- fSaveExmp(false);
-
- grp_search.btn_search.click();
-
- grd_judgexmplst.setFocus();
-
- grd_judgexmplst_oncelldblclick();
- }
- ]]></Script>
- </Form>
- </FDL>
|