123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHB00810" position="absolute 0 0 1195 771" titletext="통합판정소견예문관리" onload="SMAHB00810_onload">
- <Layouts>
- <Layout>
- <Grid id="grd_judgexmplst" taborder="19" binddataset="ds_main_judgexmpcdlst_item" useinputpanel="false" position="absolute 0 94 710 743" anchor="all" oncelldblclick="grd_judgexmplst_oncelldblclick" onrbuttonup="grd_judgexmplst_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="66"/>
- <Column size="220"/>
- <Column size="190"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="sel"/>
- <Cell col="2" text="건진상세구분"/>
- <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" text="expr:currow+1"/>
- <Cell col="1" text="bind:sel"/>
- <Cell col="2" text="bind:healexamdetlflag"/>
- <Cell col="3" displaytype="text" text="bind:judgexmpcd"/>
- <Cell col="4" displaytype="text" text="bind:judghangshrtcnts"/>
- <Cell col="5" displaytype="text" text="bind:judgengshrtcnts"/>
- <Cell col="6" displaytype="text" text="bind:judgexmpgrpcd"/>
- <Cell col="7" displaytype="text" text="bind:judgexmpgrpnm"/>
- <Cell col="8" text="bind:lastupdtrid"/>
- <Cell col="9" displaytype="text" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption6" text="통합판정소견 예문관리" class="tit_1" position="absolute 0 0 180 25"/>
- <Static id="caption1" text="예문입력" class="tit_2" position="absolute 715 73 801 90" anchor="top right"/>
- <Shape id="line10" class="line_3" position="absolute 715 740 1194 746" anchor="right bottom"/>
- <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 715 89 1194 95" anchor="top right"/>
- <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 715 138 1194 144" anchor="top right"/>
- <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 715 162 1194 168" anchor="top right"/>
- <Static id="caption11" text="한글소견" class="cell_1" position="absolute 715 142 794 165" anchor="top right"/>
- <Static id="caption7" text="예문코드" class="cell_1" position="absolute 715 118 794 141" anchor="top right"/>
- <Static id="caption3" text="예문내역" class="tit_2" position="absolute 0 73 98 90"/>
- <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 715 186 1194 192" anchor="top right"/>
- <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 715 258 1194 264" anchor="top right"/>
- <Static id="caption14" text="영문소견" class="cell_1" position="absolute 715 166 794 189" anchor="top right"/>
- <Edit id="ipt_exmpcd" taborder="1" class="input_essential" position="absolute 797 119 923 138" anchor="top right" onkeyup="Edit2_onkeyup"/>
- <Edit id="ipt_shrthang" taborder="2" class="input" position="absolute 797 143 1189 162" anchor="top right" onkeyup="Edit2_onkeyup"/>
- <Edit id="ipt_shrteng" taborder="3" class="input" position="absolute 797 167 1189 186" anchor="top right" onkeyup="Edit2_onkeyup"/>
- <TextArea id="tar_hangcnts" taborder="4" position="absolute 797 262 1189 502" anchor="top right"/>
- <TextArea id="tar_engcnts" taborder="5" position="absolute 797 505 1189 741" anchor="top right bottom"/>
- <Static id="caption10" text="영문판정소견" class="cell_1" position="absolute 715 505 794 743" anchor="top right bottom" style="padding:0 0 0 4;"/>
- <Shape id="line9" linetype="horizontal" class="line_2" position="absolute 715 501 1194 507" anchor="top right"/>
- <Div id="grp_search" taborder="6" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption21" text="예문코드 :" class="search_name" position="absolute 16 12 102 29" anchor="default"/>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1122 10 1178 32" anchor="right" onclick="grp_search_btn_search_onclick"/>
- <Shape id="line18" linetype="vertical" class="line_4" position="absolute 1101 10 1107 32" anchor="right"/>
- <Edit id="ipt_examcnts" taborder="2" class="input_search" position="absolute 420 11 710 30" anchor="default" onkeyup="Edit_onkeyup"/>
- <Edit id="ipt_examcd" taborder="3" class="input_search" position="absolute 105 11 270 30" anchor="default" onkeyup="Edit_onkeyup"/>
- <Static id="caption22" text="단문내용:" class="search_name" position="absolute 330 12 416 29" anchor="default"/>
- <Static id="caption13" text="건진상세:" class="search_name" position="absolute 770 12 856 29" anchor="default"/>
- <Combo id="cmb_healexamdetlflag" taborder="4" innerdataset="@ds_init_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" position="absolute 857 11 1007 30"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption2" text="사용여부" class="cell_1" position="absolute 945 118 1024 141" anchor="top right"/>
- <CheckBox id="chk_useyn" taborder="7" position="absolute 1027 120 1077 140" text="사용" truevalue="Y" falsevalue="N" anchor="top right" onclick="chk_useyn_onclick"/>
- <Div id="grp_judgexmpgrp" taborder="8" visible="false" position="absolute 272 210 702 290" class="div_SA2">
- <Layouts>
- <Layout>
- <Static id="caption5" text="소견그룹코드" class="cell_1" position="absolute 5 26 84 49" anchor="default" style="padding:0 0 0 4;"/>
- <Static id="caption8" text="소견그룹등록" class="tit_2" position="absolute 5 5 108 23" anchor="default"/>
- <Shape id="line7" linetype="horizontal" class="line_10" position="absolute 5 21 425 27" anchor="default"/>
- <Edit id="ipt_judgexmpgrpcd" taborder="1" class="input_essential" position="absolute 86 28 206 47" anchor="default"/>
- <Static id="caption12" text="소견그룹명" class="cell_1" position="absolute 211 26 290 49" anchor="default" style="padding:0 0 0 4;"/>
- <Edit id="ipt_judgexmpgrpnm" taborder="2" class="input_essential" position="absolute 291 28 425 47" anchor="default"/>
- <Button id="btn_savepopup" taborder="3" text="저장" class="btn4" position="absolute 369 53 425 75" anchor="default" onclick="grp_judgexmpgrp_btn_savepopup_onclick"/>
- <Shape id="line11" linetype="horizontal" class="line_2" position="absolute 0 48 424 54" anchor="default"/>
- <Button id="btn_rsltexmp" taborder="4" class="icon_plus" position="absolute 411 6 425 20" anchor="default" onclick="grp_judgexmpgrp_btn_rsltexmp_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Combo id="cmb_healexamdetlflag2" taborder="10" innerdataset="@ds_init_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" position="absolute 797 95 923 114" anchor="top right"/>
- <Static id="caption16" text="조치코드" class="cell_1" position="absolute 715 238 794 261" anchor="top right"/>
- <Edit id="ipt_sickcd" taborder="11" position="absolute 797 191 923 210" anchor="top right"/>
- <Button id="btn_search1" taborder="12" class="icon_search" position="absolute 926 191 942 207" anchor="top right" onclick="btn_search1_onclick"/>
- <Edit id="ipt_sicknm" taborder="13" position="absolute 945 191 1189 210" anchor="top right"/>
- <Combo id="cmb_judgeexmpcd" taborder="14" innerdataset="@ds_init_S170" codecolumn="cdid" datacolumn="cdnm" position="absolute 797 215 977 234" anchor="top right"/>
- <Button id="btn_search2" taborder="15" class="icon_search" position="absolute 926 239 942 255" anchor="top right" onclick="btn_search2_onclick"/>
- <Edit id="input3" taborder="16" position="absolute 797 239 923 258" anchor="top right"/>
- <Edit id="input4" taborder="17" position="absolute 945 239 1189 258" anchor="top right"/>
- <Shape id="line12" linetype="horizontal" class="line_2" position="absolute 715 210 1194 216" anchor="top right"/>
- <Shape id="line13" linetype="horizontal" class="line_2" position="absolute 715 234 1194 240" anchor="top right"/>
- <Static id="caption4" text="판정코드" class="cell_1" position="absolute 715 214 794 237" anchor="top right"/>
- <Static id="caption18" text="질환코드" class="cell_1" position="absolute 715 190 794 213" anchor="top right"/>
- <Static id="caption9" text="한글판정소견" class="cell_1" position="absolute 715 262 794 504" anchor="top right" style="padding:0 0 0 4;"/>
- <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 715 114 1194 120" anchor="top right"/>
- <Static id="caption15" text="건진상세" class="cell_1" position="absolute 715 94 794 117" anchor="top right"/>
- <Button id="btn_copy" taborder="18" text="행복사" class="btn2" position="absolute 657 67 710 89" anchor="top right" onclick="btn_copy_onclick"/>
- <Shape id="line4" class="line_10" position="absolute 0 89 710 95" anchor="left top right"/>
- <Div id="grp_btn" taborder="20" position="absolute 0 744 1195 768" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1008 1 1064 23" anchor="right" onclick="grp_btn_btn_save_onclick"/>
- <Button id="btn_del" taborder="2" text="삭제" class="btn4" position="absolute 1067 1 1123 23" anchor="right" onclick="grp_btn_btn_del_onclick"/>
- <Button id="btn_clear" taborder="3" text="초기화" class="btn4" position="absolute 1126 1 1194 23" anchor="right" onclick="grp_btn_btn_clear_onclick"/>
- <Button id="button4" taborder="4" text="확인" onclick="grp_search_button4_onclick" class="btn4" visible="false" position="absolute 840 1 896 23" anchor="right"/>
- <Button id="button9" taborder="5" text="취소" onclick="grp_search_button9_onclick" class="btn4" visible="false" position="absolute 899 1 955 23" anchor="right"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="grdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="grdid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_testlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="itemtest" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="itemtest"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_cnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cnt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="judgeexmpcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_judgexmpcdlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256"/>
- <Column id="healexamdetlflag" type="STRING" size="256"/>
- <Column id="judgexmpcd" type="STRING" size="256"/>
- <Column id="judghangshrtcnts" type="STRING" size="256"/>
- <Column id="judgengshrtcnts" type="STRING" size="256"/>
- <Column id="judgexmpgrpcd" type="STRING" size="256"/>
- <Column id="judgexmpgrpnm" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sel"/>
- <Col id="healexamdetlflag"/>
- <Col id="judgexmpcd"/>
- <Col id="judghangshrtcnts"/>
- <Col id="judgengshrtcnts"/>
- <Col id="judgexmpgrpcd"/>
- <Col id="judgexmpgrpnm"/>
- <Col id="lastupdtrid"/>
- <Col id="lastupdtdt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_judgexmpdetl_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="judgexmpcd" type="STRING" size="256"/>
- <Column id="judghangshrtcnts" type="STRING" size="256"/>
- <Column id="judgengshrtcnts" type="STRING" size="256"/>
- <Column id="useyn" type="STRING" size="256"/>
- <Column id="sickcd" type="STRING" size="256"/>
- <Column id="sicknm" type="STRING" size="256"/>
- <Column id="judgeexmpcd" type="STRING" size="256"/>
- <Column id="meascd" type="STRING" size="256"/>
- <Column id="measnm" type="STRING" size="256"/>
- <Column id="judghangcnts" type="STRING" size="256"/>
- <Column id="judgengcnts" type="STRING" size="256"/>
- <Column id="judgcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="judgexmpcd"/>
- <Col id="judghangshrtcnts"/>
- <Col id="judgengshrtcnts"/>
- <Col id="useyn"/>
- <Col id="sickcd"/>
- <Col id="sicknm"/>
- <Col id="judgeexmpcd"/>
- <Col id="meascd"/>
- <Col id="measnm"/>
- <Col id="judghangcnts"/>
- <Col id="judgengcnts"/>
- <Col id="judgcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_popup_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcdnm">판정그룹등록</Col>
- <Col id="hardcd">addjudgegrp</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">판정그룹삭제</Col>
- <Col id="hardcd">deljudgegrp</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_tmpdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="okflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="healexamflag" type="STRING" size="256"/>
- <Column id="testcd" type="STRING" size="256"/>
- <Column id="judgexmpcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="okflag"/>
- <Col id="instcd"/>
- <Col id="healexamflag"/>
- <Col id="testcd"/>
- <Col id="judgexmpcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="savesick" type="STRING" size="256"/>
- <Column id="healexamflag" type="STRING" size="256"/>
- <Column id="mode" type="STRING" size="256"/>
- <Column id="healexamdetlflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="savesick"/>
- <Col id="healexamflag"/>
- <Col id="mode"/>
- <Col id="healexamdetlflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_popup_jugdgexmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="judgexmpgrpcd" type="STRING" size="256"/>
- <Column id="judgexmpgrpnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <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"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savesub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="savetest" type="STRING" size="256"/>
- <Column id="judgcd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="healexamflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="savetest"/>
- <Col id="judgcd"/>
- <Col id="instcd"/>
- <Col id="healexamflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savegrp_grpdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_savegrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="healexamflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="healexamdetlflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="healexamflag"/>
- <Col id="instcd"/>
- <Col id="healexamdetlflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_S170" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_exmpcd" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgexmpcd"/>
- <BindItem id="item1" compid="ipt_shrthang" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judghangshrtcnts"/>
- <BindItem id="item2" compid="ipt_shrteng" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgengshrtcnts"/>
- <BindItem id="item3" compid="tar_hangcnts" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judghangcnts"/>
- <BindItem id="item4" compid="tar_engcnts" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgengcnts"/>
- <BindItem id="item5" compid="grp_search.ipt_examcnts" propid="value" datasetid="ds_send" columnid="srchjudgexmpcnts"/>
- <BindItem id="item6" compid="grp_search.ipt_examcd" propid="value" datasetid="ds_send" columnid="srchjudgexmpcd"/>
- <BindItem id="item7" compid="chk_useyn" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="useyn"/>
- <BindItem id="item8" compid="grp_judgexmpgrp.ipt_judgexmpgrpcd" propid="value" datasetid="ds_popup_jugdgexmp" columnid="judgexmpgrpcd"/>
- <BindItem id="item9" compid="grp_judgexmpgrp.ipt_judgexmpgrpnm" propid="value" datasetid="ds_popup_jugdgexmp" columnid="judgexmpgrpnm"/>
- <BindItem id="item10" compid="grp_search.cmb_healexamdetlflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
- <BindItem id="item11" compid="cmb_healexamdetlflag2" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
- <BindItem id="item12" compid="ipt_sickcd" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="sickcd"/>
- <BindItem id="item13" compid="ipt_sicknm" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="sicknm"/>
- <BindItem id="item14" compid="cmb_judgeexmpcd" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgeexmpcd"/>
- <BindItem id="item15" compid="input3" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="meascd"/>
- <BindItem id="item16" compid="input4" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="measnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-12-04
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "ast_commonxp::AST.xjs";
- include "ast_healexamxp::AHA001.xjs";
- //include "ast_healexamxp::AHA.xjs";
- include "ast_healthexambasexp::healcombolist.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 판정소견그룹 저장
- ****************************************************************************************/
- function call_TXAHB00806() {
- var dsUpdate = grdf_getGridUpdateData(grd_judgexmplst, "all");
- grdf_setStatusColumn(dsUpdate, "m");
- ds_send_savegrp_grpdata.copyData(dsUpdate, true);
- dsf_setFixVal(ds_send_savegrp_grpdata, "instcd:"+ds_send_savegrp.getColumn(0, "instcd")+",healexamflag:"+ds_send_savegrp.getColumn(0, "healexamflag"));
- var oParam = {};
- oParam.id = "TXAHB00806";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqNewExeJudgExmpGrp";
- oParam.inds = "req=ds_send_savegrp_grpdata";
- oParam.outds = "ds_hidden_cnt=item";
- oParam.async = false;
- oParam.callback = "cf_TXAHB00806";
- tranf_submit(oParam);
- }
- function cf_TXAHB00806(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 리스트조회
- ****************************************************************************************/
- function fGetJudgExmpList(){
- dsf_makeValue( ds_temp_tmpdata, "srchhealexamdetlflag", "string", grp_search.cmb_healexamdetlflag.value);
-
- fInit(false);
-
- ds_main_judgexmpcdlst_item.clearData();
- ds_send.setColumn( 0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn( 0, "srchhealexamflag", fGetHealExamFlag()); //화면 parameter가 없을 경우 이 메소드 실행 오류
- ds_send.setColumn( 0, "srchhealexamdetlflag", ds_temp_tmpdata.getColumn(0, "srchhealexamdetlflag"));
- 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 oParam = {};
- oParam.id = "TRAHB00806";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqGetNewCmtCdList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_judgexmpcdlst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHB00806";
- tranf_submit(oParam);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 초기화 설정
- ****************************************************************************************/
- function fInit(vInput){
- ipt_exmpcd.enable = true;
- if( vInput == false ) {
- ds_main_judgexmpcdlst_item.clearData();
- }
- //노드를 중복하여 생성하므로 노드를 지웠다가 다시 생성
- ds_init_baseinfo.clearData();
- dsf_makeValue( ds_init_baseinfo, "hedetflaglst", "string", "" );
- dsf_makeValue( ds_init_baseinfo, "judgeexmpcd", "string", "" );
- ds_main_judgexmpdetl_item.clearData(); ds_main_judgexmpdetl_item.addRow();
- ds_send.setColumn(0, "srchhealexamdetlflag", "");
- //콤보설정(공통코드)
- var arrParam = [{dsNm: "ds_init_A0070", cdGrpId: "A0070"}
- ];
- appf_getCodeList(arrParam);
- //콤보설정(건진공통코드)
- var arrParam = [{dsNm: "ds_init_S170", cdGrpId: "S170"}
- ];
- healGetCodeList(arrParam);
- frmf_addComboItem("grp_search.cmb_healexamdetlflag"," ","","above");
- ipt_exmpcd.setFocus();
- }
- /*-**************************************************************************************
- * Argument : bCopy - 예문코드 입력여부(true/false)
- * Description : 예문입력 조회
- ****************************************************************************************/
- 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, "srchhealexamdetlflag", ds_main_judgexmpcdlst_item.getColumn(idx, "healexamdetlflag" ));
- ds_send.setColumn( 0, "srchjudgexmpcd2", ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd" ));
- dsf_makeValue(ds_send, "srchjudgexmpcd", "string", ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd" ));
- var oParam = {};
- oParam.id = "TRAHB00807";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqGetCmtCdDetl2";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_judgexmpdetl_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHB00807";
- tranf_submit(oParam);
- if(bCopy == true ) {
- ds_main_judgexmpdetl_item.setColumn( 0, "judgexmpcd","");
- ipt_exmpcd.setFocus();
- }
- }
- function cf_TRAHB00807(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(ds_main_judgexmpdetl_item.rowcount == 0) {
- ds_main_judgexmpdetl_item.addRow();
- dsf_setDefaultVal(ds_main_judgexmpdetl_item, "all");
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 저장시 null 체크
- ****************************************************************************************/
- function fCheckVal(){
- var vCd = ds_main_judgexmpdetl_item.getColumn(0, "judgexmpcd");
- var vHealDtl = cmb_healexamdetlflag2.value;
- if(utlf_isNull(vCd)) {
- sysf_messageBox("예문코드는","I003");
- ipt_exmpcd.setFocus(); return;
- }
- if(utlf_isNull(vHealDtl)) {
- sysf_messageBox("건진상세는","I003");
- cmb_healexamdetlflag2.setFocus(); return;
- }
- return true;
- }
- /*-**************************************************************************************
- * Argument : vDel - true/false
- * Description : 저장
- ****************************************************************************************/
- 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);
- if( ipt_exmpcd.enable != true ){
- //update
- if(vDel == false ) {
- dsf_makeValue(ds_send_save, "mode", "string", "u");
- }else {
- dsf_makeValue(ds_send_save, "mode", "string", "d");
- }
- }else {
- //update
- dsf_makeValue(ds_send_save, "mode", "string", "i");
- }
-
- dsf_makeValue( ds_send_save, "healexamflag", "string", fGetHealExamFlag() );
- if(fGetHealExamFlag() == "G"){
- dsf_makeValue( ds_send_save, "healexamdetlflag", "string", grp_search.cmb_healexamdetlflag.value );
- }
- var oParam = {};
- oParam.id = "TXAHB00805";
- oParam.service = "healexambaseapp.CmtCode";
- oParam.method = "reqNewExeCmtCode";
- oParam.inds = "req=ds_send_save";
- oParam.outds = "ds_hidden=item";
- oParam.async = false;
- oParam.callback = "cf_TXAHB00805";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXAHB00805") > -1) fGetExmpDetlInfo(false);
- dsf_makeValue( ds_temp_tmpdata, "tmpstat", "string", "Y");
- }
- function cf_TXAHB00805(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : vMode - A:등록 , D:삭제
- * Description : 판정소견그룹을 등록,삭제 한다.
- ****************************************************************************************/
- 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") {
- // 선택한 row의 그룹코드,명을 삭제한다.
- 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", "");
- grdf_setStatus(grd_judgexmplst, "U", [idx]);
- }
-
- ds_send_savegrp.setColumn( 0, "healexamflag" , ds_send.getColumn(0, "srchhealexamflag"));
- ds_send_savegrp.setColumn( 0, "instcd" , ds_send.getColumn(0, "srchinstcd"));
- call_TXAHB00806();
-
- if(arErrorCode.pop("TXAHB00806") > -1) ds_main_judgexmpcdlst_item.applyChange();
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 행선택 전달(팝업오픈시)
- ****************************************************************************************/
- function fSetData(){
- if(frmf_checkOpener()){
- var obj = new Object();
- obj.judgexmpcd = ds_main_judgexmpcdlst_item.getColumn(ds_main_judgexmpcdlst_item.rowposition, "judgexmpcd");
- obj.judghangshrtcnts = ds_main_judgexmpcdlst_item.getColumn(ds_main_judgexmpcdlst_item.rowposition, "judghangshrtcnts");
- opener.totjudginfo(obj);
- this.close();
- }
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAHB00810_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- //팝업유무 판단하여 초기셋팅
- if(frmf_checkOpener()){
- grp_search.cmb_healexamdetlflag.enable = false;
-
- grp_btn.btn_save.visible = false;
- grp_btn.btn_del.visible = false;
- grp_btn.btn_clear.visible = false;
- btn_copy.visible = false;
- grp_search.button4.visible = true;
- grp_search.button9.visible = true;
- caption1.visible = false;
- grd_judgexmplst.position.width = grp_search.position.width;
- line4.position.width = grp_search.position.width;
- var btn4W = grp_search.button4.position.width;
- var btn9W = grp_search.button9.position.width;
- grp_search.button9.position.right = grp_btn.position.right - 1;
- grp_search.button9.position.left = grp_search.button9.position.right - btn9W;
- grp_search.button4.position.right = grp_search.button9.position.left - 3;
- grp_search.button4.position.left = grp_search.button4.position.right - btn4W;
- }
- fGetJudgExmpList();
- //화면권한추가
- grp_search.btn_search.enable = frmf_checkAuth("R");
- grp_btn.btn_save.enable = frmf_checkAuth("X");
- grp_btn.btn_clear.enable = frmf_checkAuth("X");
- grp_btn.btn_del.enable = frmf_checkAuth("X");
-
- frmf_createPopupMenuDs("pmn_menu", "pmn_menu_onmenuclick", ds_popup_item);
- }
- /****************************************************************************************
- * Components : PopupMenu
- * Description : ds에 생성된 id별 함수 실행
- ****************************************************************************************/
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- if(e.id == "addjudgegrp") {
- fSetJudgeGrp("A");
- }
- if(e.id == "deljudgegrp") {
- fSetJudgeGrp("D");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function grp_search_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- fGetJudgExmpList();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 조회조건 입력후 조회
- ****************************************************************************************/
- function Edit_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- grp_search.btn_search.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 소견그룹등록 저장
- ****************************************************************************************/
- 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);
- grdf_setStatus(grd_judgexmplst, "U", [selIdx]);
- }
- ds_send_savegrp.setColumn( 0, "healexamflag" , ds_send.getColumn(0, "srchhealexamflag"));
- ds_send_savegrp.setColumn( 0, "instcd" , ds_send.getColumn(0, "srchinstcd"));
- grp_judgexmpgrp.visible = false;
-
- call_TXAHB00806();
-
- if(arErrorCode.pop("TXAHB00806") > -1) ds_main_judgexmpcdlst_item.applyChange();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 소견그룹등록 닫기
- ****************************************************************************************/
- function grp_judgexmpgrp_btn_rsltexmp_onclick(obj:Button, e:ClickEventInfo) {
- grp_judgexmpgrp.visible = false;
- }
- /****************************************************************************************
- * Components : Button
- * Description : 질환코드 팝업
- ****************************************************************************************/
- function btn_search1_onclick(obj:Button, e:ClickEventInfo) {
- ahafGetSickCd("SMAHB00810", ipt_sickcd.text , ipt_sicknm.text, 0, "ds_main_judgexmpdetl_item");
- ds_main_judgexmpdetl_item.setColumn( 0, "judgeexmpcd", ds_main_judgexmpdetl_item.getColumn(0, "judgcd"));
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조치코드 팝업
- ****************************************************************************************/
- function btn_search2_onclick(obj:Button, e:ClickEventInfo) {
- /*param1 : 호출xrw, param2:대분류코드, param3:중분류코드, param4:멀티유무, param5:목적노드셋, param6:중분류셋팅여부*/
- if(ahzfOpenEtcCdSel( "SMAHB00810", "G", "G02", "N", "ds_temp_templst_item", "Y")){
- dsf_makeValue( ds_main_judgexmpdetl_item, "meascd", "string", ds_temp_templst_item.getColumn(0, "etcdetlcd"));
- dsf_makeValue( ds_main_judgexmpdetl_item, "measnm", "string", ds_temp_templst_item.getColumn(0, "etcdetlnm"));
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 행복사
- ****************************************************************************************/
- function btn_copy_onclick(obj:Button, e:ClickEventInfo) {
- fGetExmpDetlInfo(true);
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 행선택
- ****************************************************************************************/
- function grd_judgexmplst_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- //그리드의 셀 이외의 곳을 클릭하면 종료한다.
- if(e.row < 0) return false;
- // 그리드의 헤더부분을 클릭하면 종료한다.
- fGetExmpDetlInfo(false);
- fSetData();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 우클릭 메뉴 실행
- ****************************************************************************************/
- function grd_judgexmplst_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장
- ****************************************************************************************/
- function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo) {
- var irow = ds_main_judgexmpcdlst_item.rowposition;
-
- fSaveExmp(false);
-
- if(ds_temp_tmpdata.getColumn(0, "tmpstat") == "Y"){
- grp_search.btn_search.click();
- ds_main_judgexmpcdlst_item.rowposition = irow;
- frmf_inputEnterKey("grd_judgexmplst", "oncelldblclick", new GridClickEventInfo);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 삭제
- ****************************************************************************************/
- function grp_btn_btn_del_onclick(obj:Button, e:ClickEventInfo) {
- var irow = 0;
-
- fSaveExmp(true);
-
- grp_search.btn_search.click();
- ds_main_judgexmpcdlst_item.rowposition = irow;
- frmf_inputEnterKey("grd_judgexmplst", "oncelldblclick", new GridClickEventInfo);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 초기화
- ****************************************************************************************/
- function grp_btn_btn_clear_onclick(obj:Button, e:ClickEventInfo) {
- fInit(true);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 확인(팝업오픈)
- ****************************************************************************************/
- function grp_search_button4_onclick(obj:Button, e:ClickEventInfo) {
- if( fSetData() == 1){
- this.close();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 취소(팝업오픈)
- ****************************************************************************************/
- function grp_search_button9_onclick(obj:Button, e:ClickEventInfo) {
- this.close();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 엔터시 다음 컴포넌트로 이동
- ****************************************************************************************/
- function Edit2_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) this.getNextComponent(obj).setFocus();
- }
- function chk_useyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == false) ds_main_judgexmpdetl_item.setColumn(0, "useyn", "");
- }
- ]]></Script>
- </Form>
- </FDL>
|