123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLPR01900" position="absolute 0 0 1198 763" titletext="검사항목별 결과관리" oninit="SMLPR01900_oninit" onload="SMLPR01900_onload">
- <Layouts>
- <Layout>
- <Button id="btn_excel" taborder="1" text="EXCEL저장" class="btn7" position="absolute 1020 1 1112 23" onclick="btn_excel_onclick" anchor="top right"/>
- <Button id="btn_save" taborder="2" text="저장" class="btn4" position="absolute 1137 1 1193 23" onclick="btn_save_onclick" anchor="top right"/>
- <Static id="caption1" text="검사항목별 결과등록" class="tit_1" position="absolute 0 0 154 25" anchor="left top"/>
- <Static id="caption6" text="접수목록" class="tit_2" position="absolute 3 95 76 112" anchor="left top"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 113 1194 119" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Div id="grp_sea" taborder="3" position="absolute 0 25 1195 85" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
- <Static id="caption4" text="~" class="search_no_b" position="absolute 778 11 799 28" anchor="top right"/>
- <Static id="caption5" text="결과상태 :" class="search_name" position="absolute 909 9 982 26" anchor="top right"/>
- <Calendar id="ipt_ddfrom" taborder="0" class="input_search" position="absolute 667 8 773 27" mask="yyyy-mm-dd" anchor="top right"/>
- <Combo id="cmbseaflagcd" taborder="2" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 993 8 1093 27" anchor="top right">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">결과미입력</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">결과입력</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button id="btn_sea" taborder="3" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
- <Combo id="cbo_ptnocd" taborder="4" innerdataset="ds_init_cbo_ptnocd" codecolumn="ptnocd" datacolumn="ptnonm" enable="true" position="absolute 109 8 220 27" anchor="left top"/>
- <Edit id="ipt_fromptno" taborder="5" class="text_center" position="absolute 253 8 303 27" anchor="left top"/>
- <Static id="caption3" text="병리번호 :" class="search_name" position="absolute 15 9 89 26" anchor="left top"/>
- <Static id="caption2" text="~" class="search_no_b" position="absolute 306 8 318 25" anchor="left top"/>
- <Edit id="input1" taborder="6" class="text_center" position="absolute 351 8 401 27" anchor="left top"/>
- <Edit id="ipt_toyear" taborder="7" class="text_center" position="absolute 321 8 348 27" anchor="left top"/>
- <Edit id="ipt_fromyear" taborder="8" class="text_center" position="absolute 223 8 250 27" anchor="left top"/>
- <Static id="caption7" text="접수기간 :" class="search_name" position="absolute 592 9 666 26" anchor="top right"/>
- <Static id="caption8" text="검 사 명 :" class="search_name" position="absolute 15 34 86 51" anchor="left top"/>
- <Edit id="opt_testnmlist" taborder="9" readonly="true" position="absolute 109 34 1160 53" anchor="left top"/>
- <Calendar id="ipt_acpttodd" taborder="1" class="input_search" position="absolute 793 8 899 27" mask="yyyy-mm-dd" anchor="top right" onkeyup="grp_sea_ipt_acpttodd_onkeyup"/>
- <Static id="caption9" text="등록번호 :" class="search_name" position="absolute 410 9 484 26" anchor="left top"/>
- <Edit id="ipt_pid" taborder="10" position="absolute 487 8 566 27" anchor="left top"/>
- <Button id="btn_bloc" taborder="11" onlbuttonup="button6_onlbuttonup" class="icon_search" position="absolute 1161 34 1181 54" onclick="grp_sea_btn_bloc_onclick" anchor="left top"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_prcplist" class="datagrid2" taborder="4" binddataset="ds_grd_prcplist" useinputpanel="false" position="absolute 0 117 1194 759" anchor="all" autofittype="none" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="69"/>
- <Column size="85"/>
- <Column size="180"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="92"/>
- <Column size="96"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="65"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="65"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="instcd"/>
- <Cell col="1" text="ptno"/>
- <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="이전결과"/>
- <Cell col="10" text="결과"/>
- <Cell col="11" text="성별 나이"/>
- <Cell col="12" text="orddeptcd"/>
- <Cell col="13" text="진료과"/>
- <Cell col="14" text="orddrid"/>
- <Cell col="15" text="진료의"/>
- <Cell col="16" text="선택 진료의"/>
- <Cell col="17" text="병동/병실"/>
- <Cell col="18" text="처방일자"/>
- <Cell col="19" text="처방시간"/>
- <Cell col="20" text="접수일자"/>
- <Cell col="21" text="접수시간"/>
- <Cell col="22" text="결과일자"/>
- <Cell col="23" text="결과시간"/>
- <Cell col="24" text="접수번호"/>
- <Cell col="25" text="orgprcpstatcd"/>
- <Cell col="26" text="testcd"/>
- <Cell col="27" text="spccd"/>
- <Cell col="28" text="prcpno"/>
- <Cell col="29" text="execprcpuniqno"/>
- <Cell col="30" text="rsltrgstno"/>
- <Cell col="31" text="등록자"/>
- <Cell col="32" text="cncrjudgflagcd"/>
- <Cell col="33" text="orgtestrslt"/>
- <Cell col="34" text="inptdd"/>
- <Cell col="35" text="inpttm"/>
- <Cell col="36" text="caption1"/>
- <Cell col="37" text="caption2"/>
- <Cell col="38" text="caption3"/>
- <Cell col="39" text="caption4"/>
- <Cell col="40" text="caption5"/>
- <Cell col="41" text="caption6"/>
- <Cell col="42" text="caption7"/>
- <Cell col="43" text="caption8"/>
- <Cell col="44" text="caption9"/>
- <Cell col="45" text="caption10"/>
- <Cell col="46" text="caption11"/>
- <Cell col="47" text="choi"/>
- <Cell col="48" text="rsltrgstid"/>
- <Cell col="49" text="acptitemno"/>
- <Cell col="50" text="orgacptstatcd"/>
- <Cell col="51" text="prcpgenrflag"/>
- <Cell col="52" text="scanyn"/>
- <Cell col="53" text="formcd"/>
- <Cell col="54" text="cretno"/>
- <Cell col="55" text="orddd"/>
- <Cell col="56" text="readdrid"/>
- <Cell col="57" text="scrnid"/>
- <Cell col="58" text="rsltcnts3"/>
- <Cell col="59" text="rsltcnts4"/>
- <Cell col="60" text="rsltcnts5"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:ptno"/>
- <Cell col="2" style="align:center middle;" class="text_center" text="bind:dispptno"/>
- <Cell col="3" displaytype="normal" edittype="none" style="align:center middle;" text="bind:scrn"/>
- <Cell col="4" style="align:center middle;" text="bind:humspec"/>
- <Cell col="5" style="align:left middle;" text="bind:testnm" wordwrap="word"/>
- <Cell col="6" style="align:center middle;" text="bind:spcnm"/>
- <Cell col="7" style="align:center middle;" class="text_center" text="bind:pid"/>
- <Cell col="8" style="align:center middle;" text="bind:patnm"/>
- <Cell col="9" style="align:right middle;background:#ffff99ff;background2:#ffff99ff;" class="text_right" text="bind:bftestrslt" wordwrap="word"/>
- <Cell col="10" displaytype="text" edittype="text" style="align:right top;" class="text_right" text="bind:testrslt" wordwrap="word"/>
- <Cell col="11" style="align:center middle;" class="text_center" text="bind:sexage"/>
- <Cell col="12" style="align:center middle;" text="bind:orddeptcd"/>
- <Cell col="13" style="align:center middle;" class="text_center" text="bind:orddeptnm"/>
- <Cell col="14" style="align:center middle;" text="bind:orddrid"/>
- <Cell col="15" style="align:center middle;" class="text_center" text="bind:orddrnm"/>
- <Cell col="16" style="align:center middle;" class="text_center" text="bind:specdrnm" wordwrap="word"/>
- <Cell col="17" style="align:center middle;" class="text_center" text="bind:wardroom"/>
- <Cell col="18" style="align:center middle;" text="bind:prcpdd"/>
- <Cell col="19" style="align:center middle;" text="bind:prcptm"/>
- <Cell col="20" displaytype="date" edittype="date" style="align:center middle;" class="text_center" text="bind:acptdd" mask="yyyy-MM-dd"/>
- <Cell col="21" displaytype="date" edittype="date" style="align:center middle;" class="text_center" text="bind:acpttm" mask="hh:mm:ss"/>
- <Cell col="22" displaytype="date" edittype="date" style="align:center middle;" class="text_center" text="bind:rsltrgstdd" mask="yyyy-MM-dd"/>
- <Cell col="23" displaytype="date" edittype="date" style="align:center middle;" class="text_center" text="bind:rsltrgsttm" mask="hh:mm:ss"/>
- <Cell col="24" style="align:center middle;" text="bind:acptno"/>
- <Cell col="25" style="align:center middle;" text="bind:orgprcpstatcd"/>
- <Cell col="26" style="align:center middle;" text="bind:testcd"/>
- <Cell col="27" style="align:center middle;" text="bind:spccd"/>
- <Cell col="28" style="align:center middle;" text="bind:prcpno"/>
- <Cell col="29" style="align:center middle;" text="bind:execprcpuniqno"/>
- <Cell col="30" style="align:center middle;" text="bind:rsltrgstno"/>
- <Cell col="31" style="align:center middle;" class="text_center" text="bind:rgstnm"/>
- <Cell col="32" text="bind:cncrjudgflagcd"/>
- <Cell col="33" text="bind:orgtestrslt"/>
- <Cell col="34" text="bind:inptdd"/>
- <Cell col="35" text="bind:inpttm"/>
- <Cell col="36" text="bind:extrpartcd"/>
- <Cell col="37" text="bind:extrmthdcd"/>
- <Cell col="38" text="bind:diagcd"/>
- <Cell col="39" text="bind:cmtcnts"/>
- <Cell col="40" text="bind:spckeepflagcd"/>
- <Cell col="41" text="bind:conccaseflagcd"/>
- <Cell col="42" text="bind:rslthideflagcd"/>
- <Cell col="43" text="bind:preprsltflagcd"/>
- <Cell col="44" text="bind:workflagcd"/>
- <Cell col="45" text="bind:trandd"/>
- <Cell col="46" text="bind:tranno"/>
- <Cell col="47" text="bind:choi"/>
- <Cell col="48" text="bind:rsltrgstid"/>
- <Cell col="49" text="bind:acptitemno"/>
- <Cell col="50" text="bind:orgacptstatcd"/>
- <Cell col="51" text="bind:prcpgenrflag"/>
- <Cell col="52" text="bind:scanyn"/>
- <Cell col="53" text="bind:formcd"/>
- <Cell col="54" text="bind:cretno"/>
- <Cell col="55" text="bind:orddd"/>
- <Cell col="56" text="bind:readdrid"/>
- <Cell col="57" text="bind:scrnid"/>
- <Cell col="58" text="bind:rsltcnts3"/>
- <Cell col="59" text="bind:rsltcnts4"/>
- <Cell col="60" text="bind:rsltcnts5"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Combo id="cmb_readdr" taborder="6" innerdataset="ds_init_cmb_readdr" codecolumn="userid" datacolumn="usernm" class="input_s_essential" position="absolute 182 91 292 110" anchor="left top"/>
- <Static id="caption48" text="판독의 지정" class="cell_1" position="absolute 99 91 179 110" anchor="left top"/>
- <Div id="grp_testlist" taborder="7" visible="false" position="absolute 108 81 663 550">
- <Layouts>
- <Layout>
- <Button id="btn_cfm" taborder="0" text="확인" class="btn4" position="absolute 440 440 496 462" anchor="default" onclick="grp_testlist_btn_cfm_onclick"/>
- <Button id="btn_cls" taborder="1" text="닫기" class="btn4" position="absolute 499 440 555 462" anchor="default" onclick="grp_testlist_btn_cls_onclick"/>
- <Grid id="grd_testlist" taborder="2" binddataset="ds_grd_testlist" useinputpanel="false" position="absolute 0 0 555 437" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="56"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="200"/>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="기관코드"/>
- <Cell col="2" text="코드"/>
- <Cell col="3" text="명칭"/>
- <Cell col="4" text="약어"/>
- </Band>
- <Band id="body">
- <Cell text="bind:choi" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="1" text="bind:instcd"/>
- <Cell col="2" text="bind:testcd"/>
- <Cell col="3" text="bind:testengnm"/>
- <Cell col="4" text="bind:testengabbr"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_cbo_ptnocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptnonm" type="STRING"/>
- <Column id="ptnocd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="ptno" type="STRING"/>
- <Column id="dispptno" type="STRING"/>
- <Column id="scrn" type="STRING"/>
- <Column id="humspec" type="STRING"/>
- <Column id="testnm" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="bftestrslt" type="STRING"/>
- <Column id="testrslt" type="STRING"/>
- <Column id="sexage" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="specdrnm" type="STRING"/>
- <Column id="wardroom" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="prcptm" type="STRING"/>
- <Column id="acptdd" type="STRING"/>
- <Column id="acpttm" type="STRING"/>
- <Column id="rsltrgstdd" type="STRING"/>
- <Column id="rsltrgsttm" type="STRING"/>
- <Column id="acptno" type="STRING"/>
- <Column id="orgprcpstatcd" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="rsltrgstno" type="STRING"/>
- <Column id="rgstnm" type="STRING"/>
- <Column id="cncrjudgflagcd" type="STRING"/>
- <Column id="orgtestrslt" type="STRING"/>
- <Column id="inptdd" type="STRING"/>
- <Column id="inpttm" type="STRING"/>
- <Column id="extrpartcd" type="STRING"/>
- <Column id="extrmthdcd" type="STRING"/>
- <Column id="diagcd" type="STRING"/>
- <Column id="cmtcnts" type="STRING"/>
- <Column id="spckeepflagcd" type="STRING"/>
- <Column id="conccaseflagcd" type="STRING"/>
- <Column id="rslthideflagcd" type="STRING"/>
- <Column id="preprsltflagcd" type="STRING"/>
- <Column id="workflagcd" type="STRING"/>
- <Column id="trandd" type="STRING"/>
- <Column id="tranno" type="STRING"/>
- <Column id="choi" type="STRING"/>
- <Column id="rsltrgstid" type="STRING"/>
- <Column id="acptitemno" type="STRING"/>
- <Column id="orgacptstatcd" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="scanyn" type="STRING"/>
- <Column id="formcd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="readdrid" type="STRING"/>
- <Column id="scrnid" type="STRING"/>
- <Column id="rsltcnts3" type="STRING"/>
- <Column id="rsltcnts4" type="STRING"/>
- <Column id="rsltcnts5" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_testlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="choi" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="testengnm" type="STRING"/>
- <Column id="testengabbr" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_readdr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING"/>
- <Column id="userid" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sysdd" type="STRING" size="256"/>
- <Column id="systm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptnocode" type="STRING" size="256"/>
- <Column id="fromyear" type="STRING" size="256"/>
- <Column id="fromptno" type="STRING" size="256"/>
- <Column id="toyear" type="STRING" size="256"/>
- <Column id="toptno" type="STRING" size="256"/>
- <Column id="acptfromdd" type="STRING" size="256"/>
- <Column id="acpttodd" type="STRING" size="256"/>
- <Column id="refmthdcd" type="STRING" size="256"/>
- <Column id="testcdlist" type="STRING" size="256"/>
- <Column id="testnmlist" type="STRING" size="256"/>
- <Column id="sysdt" type="STRING" size="256"/>
- <Column id="ptnocd" type="STRING" size="256"/>
- <Column id="testinfo" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="userinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_userinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="choi" type="STRING" size="256" sumtext="선택"/>
- <Column id="dutplceinstcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
- <Column id="usernm" type="STRING" size="256" sumtext="사용자명"/>
- <Column id="jobkindcd" type="STRING" size="256" sumtext="직종구분코드"/>
- <Column id="userabbr" type="STRING" size="256" sumtext="직종구분코드"/>
- <Column id="mpphonno" type="STRING" size="256" sumtext="직종구분코드"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hosoenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="lendrtnterm" type="STRING" size="256"/>
- <Column id="recvqualmthdcd" type="STRING" size="256"/>
- <Column id="plgydeptcd" type="STRING" size="256"/>
- <Column id="plgyteamcd" type="STRING" size="256"/>
- <Column id="doctjobgradcd" type="STRING" size="256"/>
- <Column id="teamjobgradcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_bfptnolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="ptno" type="STRING" size="256"/>
- <Column id="dispptno" type="STRING" size="256"/>
- <Column id="rsltrgstdd" type="STRING" size="256"/>
- <Column id="testrslt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item1" compid="grp_sea.ipt_fromyear" propid="value" datasetid="ds_init" columnid="fromyear"/>
- <BindItem id="item0" compid="grp_sea.cbo_ptnocd" propid="value" datasetid="ds_init" columnid="ptnocode"/>
- <BindItem id="item2" compid="grp_sea.ipt_fromptno" propid="value" datasetid="ds_init" columnid="fromptno"/>
- <BindItem id="item3" compid="grp_sea.ipt_toyear" propid="value" datasetid="ds_init" columnid="toyear"/>
- <BindItem id="item4" compid="grp_sea.input1" propid="value" datasetid="ds_init" columnid="toptno"/>
- <BindItem id="item5" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_init" columnid="pid"/>
- <BindItem id="item6" compid="grp_sea.ipt_ddfrom" propid="value" datasetid="ds_init" columnid="acptfromdd"/>
- <BindItem id="item7" compid="grp_sea.ipt_acpttodd" propid="value" datasetid="ds_init" columnid="acpttodd"/>
- <BindItem id="item8" compid="grp_sea.cmbseaflagcd" propid="value" datasetid="ds_init" columnid="refmthdcd"/>
- <BindItem id="item9" compid="grp_sea.opt_testnmlist" propid="value" datasetid="ds_init" columnid="testnmlist"/>
- </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 "lis_commonxp::LPZ001.xjs";
- function SMLPR01900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLPR01900_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_prcplist);
- grdf_initGrid(grp_testlist.grd_testlist);
- fExeInitialize();
- }
- //초기화
- function fExeInitialize()
- {
- var sCurDate = "";
- dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}]);
-
- var oParam = {};
- oParam.id = "TRLPZ00102";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetSystemDateTimeInformation";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00102";
- tranf_submit(oParam);
- dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "refflagcd", val : "0"}]);
-
- var oParam = {};
- oParam.id = "TRLPZ00109";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetPtNoCdList";
- oParam.inds = "refdata=ds_send";
- oParam.outds = "ds_init_cbo_ptnocd=rsltlist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00109";
- tranf_submit(oParam);
-
- var sCurDate = ds_data_sysdtinfo.getColumn(0, "sysdd");
-
- ds_init.setColumn(0, "acptfromdd", ds_data_sysdtinfo.getColumn(0, "sysdd"));
- ds_init.setColumn(0, "acpttodd", ds_data_sysdtinfo.getColumn(0, "sysdd"));
- ds_init.setColumn(0, "ptnocode", "");
- ds_init.setColumn(0, "fromyear", sCurDate.substr(2,2));
- ds_init.setColumn(0, "toyear", sCurDate.substr(2,2));
- ds_init.setColumn(0, "fromptno", "");
- ds_init.setColumn(0, "toptno", "");
- ds_init.setColumn(0, "refmthdcd", "2");
- ds_init.setColumn(0, "ptnocode", "M");
- //검사코드 목록 조회 처리
- fGetTestCdList();
- var oParam = {};
- oParam.id = "TRLPZ00101";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetHospitalEnvironmentSetInfo";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_hosoenvinfo=hospenvinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00101";
- tranf_submit(oParam);
- var userdeptcd = sysf_getUserInfo("dutplcecd");
- var doctjobgradcd = ds_hosoenvinfo.getColumn(0, "doctjobgradcd");
- var teamjobgradcd = ds_hosoenvinfo.getColumn(0, "teamjobgradcd");
-
- dsf_createDsRow("ds_send" ,[{col: "instcd", val:sysf_getUserInfo("dutplceinstcd")}
- ,{col: "userdeptcd", val:userdeptcd }
- ,{col: "doctjobgradcd", val:doctjobgradcd }
- ,{col: "teamjobgradcd", val:teamjobgradcd }]);
-
- var oParam = {};
- oParam.id = "TRLPZ00105";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetUserInfoList";
- oParam.inds = "refdata=ds_send";
- oParam.outds = "ds_userinfolist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00105";
- tranf_submit(oParam);
-
- fdsf_createDsFilter("ds_cmb_readdr", "ds_userinfolist", "jobkindcd=='1'");
- //육안검사의
- cmb_readdr.innerdataset = ds_cmb_readdr;
- cmb_readdr.codecolumn = "userid";
- cmb_readdr.datacolumn = "usernm";
- }
- //검사코드 목록 조회 처리
- function fGetTestCdList()
- {
- dsf_createDsRow("ds_send", [{col : "delflagcd", val : "0"}
- ,{col : "refflag", val : "1"}
- ,{col : "refval", val : "PM"}
- ,{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
- var oParam = {};
- oParam.id = "TRLPC00401";
- oParam.service = "plgybaseinfomngtapp.TestCode";
- oParam.method = "reqGetTestCodeList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grd_testlist=rsltlist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPC00401";
- tranf_submit(oParam);
- }
- function fGetMoleList()
- {
- var sTemp = "";
- var sFromDD = ds_init.getColumn(0, "acptfromdd");
- var sToDD = ds_init.getColumn(0, "acpttodd");
- if( !utlf_isNull(ds_init.getColumn(0, "ptnocode")))
- {
- if( utlf_isNull(ds_init.getColumn(0, "fromyear")))
- {
- ds_init.setColumn(0, "fromyear", sFromDD.substr(2,2));
- }
- else
- {
- sTemp = ds_init.getColumn(0, "fromyear");
- ds_init.setColumn(0, "fromyear", sTemp.getLeftPad(2, "0"));
- }
-
- if( utlf_isNull(ds_init.getColumn(0, "toyear")))
- {
- ds_init.setColumn(0, "toyear", sToDD.substr(2,2));
- }
- else
- {
- sTemp = ds_init.getColumn(0, "toyear");
- ds_init.setColumn(0, "toyear", sTemp.getLeftPad(2, "0"));
- }
- if( utlf_isNull(ds_init.getColumn(0, "fromptno")))
- {
- ds_init.setColumn(0, "fromptno", "000000");
- }
- else
- {
- sTemp = ds_init.getColumn(0, "fromptno");
- ds_init.setColumn(0, "fromptno", sTemp.getLeftPad(6, "0"));
- }
-
- if( utlf_isNull(ds_init.getColumn(0, "toptno")))
- {
- ds_init.setColumn(0, "toptno", "999999");
- }
- else
- {
- sTemp = ds_init.getColumn(0, "toptno");
- ds_init.setColumn(0, "toptno", sTemp.getLeftPad(6, "0"));
- }
- }
-
- sTemp = ds_init.getColumn(0, "ptnocode");
-
- dsf_createDsRow("ds_send" ,[{col: "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col: "ptnocode", val : sTemp.replace("-", "") }
- ,{col: "fromyear", val : ds_init.getColumn(0, "fromyear") }
- ,{col: "fromptno", val : ds_init.getColumn(0, "fromptno") }
- ,{col: "toyear", val : ds_init.getColumn(0, "toyear") }
- ,{col: "toptno", val : ds_init.getColumn(0, "toptno") }
- ,{col: "acptfromdd", val : ds_init.getColumn(0, "acptfromdd") }
- ,{col: "acpttodd", val : ds_init.getColumn(0, "acpttodd") }
- ,{col: "refmthdcd", val : ds_init.getColumn(0, "refmthdcd") }
- ,{col: "pid", val : ds_init.getColumn(0, "pid") }
- ,{col: "testcdlist", val : ds_init.getColumn(0, "testcdlist")}
- ,{col: "ptno", val : ""}
- ,{col: "workflagcd", val : "1007"}]);
- var oParam = {};
- oParam.id = "TRLPR01901";
- oParam.service = "plgyrsltmngtapp.TestRsltRgst";
- oParam.method = "reqGetMoleAcptList";
- oParam.inds = "reqData=ds_send";
- oParam.outds = "ds_grd_prcplist=refrslt ds_bfptnolist=bfptnolist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPR01901";
- tranf_submit(oParam);
- }
- //검사코드 선택 처리 Function
- function fExeTestItemChoi()
- {
- var iFindNo = 0;
- var sTestCd = "";
- var sTestNm = "";
- var bState = false;
- var sNode = ds_grd_testlist;
- iFindNo = ds_grd_testlist.findRow("choi", "1");
-
- if (Number(iFindNo) < 0)
- {
- ds_init.setColumn(0, "testcdlist", "");
- ds_init.setColumn(0, "testnmlist", "");
- grp_testlist.visible = false;
- return false;
- }
-
- //-----------------------------------------------------
- for (var iNo = 0; iNo <= ds_grd_testlist.rowcount; iNo++)
- {
- if(ds_grd_testlist.getColumn(iNo, "choi") == "1")
- {
- if (bState)
- {
- sTestCd += ", '" + ds_grd_testlist.getColumn(iNo, "testcd") + "'";
- sTestNm += ", " + ds_grd_testlist.getColumn(iNo, "testengnm");
- }
- else
- {
- sTestCd += "'" + ds_grd_testlist.getColumn(iNo, "testcd") + "'";
- sTestNm += ds_grd_testlist.getColumn(iNo, "testengnm");
- bState = true;
- }
- }
- }
- ds_init.setColumn(0, "testcdlist", sTestCd);
- ds_init.setColumn(0, "testnmlist", sTestNm);
- grp_testlist.visible = false;
- }
- //검사결과 등록 시 처리 Function
- function fExeRsltSave()
- {
- var sNode = ds_grd_prcplist
- var bState = false;
- var iMaxRowCnt = 0;
-
- iMaxRowCnt = ds_grd_prcplist.rowcount;
- for(var iNo = 0; iNo <= iMaxRowCnt; iNo++)
- {
- if(ds_grd_prcplist.getColumn(iNo, "testrslt") != ds_grd_prcplist.getColumn(iNo, "orgtestrslt"))
- {
- ds_grd_prcplist.setRowType(iNo, "insert");
- ds_grd_prcplist.setColumn(iNo, "choi", "true");
- ds_grd_prcplist.setColumn(iNo, "rsltrgstid", sysf_getUserInfo("userid"));
- ds_grd_prcplist.setColumn(iNo, "scrnid", "SMLPR01900");
-
- if( !utlf_isNull(cmb_readdr.value) && cmb_readdr.value != "-" && cmb_readdr.value != "AO")
- {
- ds_grd_prcplist.setColumn(iNo, "readdrid", cmb_readdr.value);
- }
- else
- {
- ds_grd_prcplist.setColumn(iNo, "readdrid", "-");
- }
- bState = true;
- }
- }
-
- if (!bState)
- {
- sysf_messageBox("변경된 결과가 없습니다! 저장", "E001");
- return false;
- }
- var tmp = grdf_getGridUpdateData(grd_prcplist, "all");
- grdf_setStatusColumn(tmp, "status");
- ds_send.copyData(tmp, true);
- var oParam = {};
- oParam.id = "TXLPR00103";
- oParam.service = "plgyrsltmngtapp.TestRsltRgst";
- oParam.method = "reqExeMoleIFRslt";
- oParam.inds = "moletestlist=ds_send";
- oParam.async = false;
- //oParam.callback = "cf_TXLPR00103";
- tranf_submit(oParam);
- }
-
- //검사명조회
- function grp_sea_btn_bloc_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_testlist.visible = true;
- }
- //확인
- function grp_testlist_btn_cfm_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeTestItemChoi();
- }
- //취소
- function grp_testlist_btn_cls_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_testlist.visible = false;
- }
- //조회
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetMoleList();
- }
- //저장
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeRsltSave();
- }
- //엑셀저장
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_prcplist, "검사항목별 결과등록", "sheet1", false);
- }
- function grp_sea_ipt_acpttodd_onkeyup(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fGetMoleList();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|