123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAER00630" position="absolute 0 0 1197 784" titletext="판독현황조회" oninit="SMAER00630_oninit" onload="SMAER00630_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 85 1196 746" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Tab position="absolute 0 7 1195 660" id="switch1" anchor="default" onchanged="group3_switch1_onchanged">
- <Tabpages>
- <Tabpage text=" 전체 " position="absolute 0 0 1190 630" id="case1" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1195 629" id="grd_mainordlist" binddataset="ds_main_prcsprescondlist_prcsprescond" anchor="default" onkeydown="group3_switch1_case1_grd_mainordlist_onkeydown" onrbuttondown="group3_switch1_case1_grd_mainordlist_onrbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="66"/>
- <Column size="55"/>
- <Column size="78"/>
- <Column size="98"/>
- <Column size="73"/>
- <Column size="77"/>
- <Column size="73"/>
- <Column size="67"/>
- <Column size="67"/>
- <Column size="41"/>
- <Column size="42"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="268"/>
- <Column size="99"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="103"/>
- <Column size="106"/>
- <Column size="47"/>
- <Column size="43"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </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="Section"/>
- <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="입/외"/>
- <Cell col="13" text="caption1"/>
- <Cell col="14" text="처방명"/>
- <Cell col="15" text="처방코드"/>
- <Cell col="16" text="행위료"/>
- <Cell col="17" text="판독의ID"/>
- <Cell col="18" text="실시일시"/>
- <Cell col="19" text="판독일시"/>
- <Cell col="20" text="TAT"/>
- <Cell col="21" text="구분"/>
- <Cell col="22" text="suppdeptcd"/>
- <Cell col="23" text="execprcpuniqno"/>
- <Cell col="24" text="magamflag"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center;" text="bind:decflag" combodataset="ds_decflag" combocodecol="value" combodatacol="label"/>
- <Cell col="2" text="bind:lrgcd"/>
- <Cell col="3" text="bind:section"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:orddeptcd" combodataset="ds_init_cmb_info_orddeptcdlist_dept" combocodecol="deptcd" combodatacol="depthngnm"/>
- <Cell col="5" displaytype="date" text="bind:rsltdd"/>
- <Cell col="6" text="bind:cnfmmannm"/>
- <Cell col="7" displaytype="date" text="bind:prcpdd"/>
- <Cell col="8" text="bind:pid"/>
- <Cell col="9" text="bind:hngnm"/>
- <Cell col="10" text="bind:age"/>
- <Cell col="11" text="bind:sex"/>
- <Cell col="12" text="bind:roomcd"/>
- <Cell col="13" text="bind:ioflag"/>
- <Cell col="14" style="align:left;padding:0 0 0 2;" text="bind:excucdnm"/>
- <Cell col="15" text="bind:calcscorcd"/>
- <Cell col="16" displaytype="number" text="bind:act_totamt"/>
- <Cell col="17" text="bind:cnfmmanid"/>
- <Cell col="18" text="bind:execdt" mask="@@@@-@@-@@ @@:@@"/>
- <Cell col="19" text="bind:cnfmdt" mask="@@@@-@@-@@ @@:@@"/>
- <Cell col="20" text="bind:tat"/>
- <Cell col="21" text="bind:gubun"/>
- <Cell col="22" text="bind:suppdeptcd"/>
- <Cell col="23" text="bind:execprcpuniqno"/>
- <Cell col="24" text="bind:magamflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="판독의별" position="absolute 0 0 1190 630" id="case2" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1195 629" id="grd_rsltcnfmman" binddataset="ds_main_prcsmagamlist_item" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="85"/>
- <Column size="78"/>
- <Column size="162"/>
- <Column size="119"/>
- <Column size="101"/>
- <Column size="168"/>
- </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="구분"/>
- <Cell col="5" text="건수"/>
- <Cell col="6" text="행위료합계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:cnfmmanid"/>
- <Cell col="2" text="bind:cnfmmannm"/>
- <Cell col="3" text="bind:rsltdd"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:gubun" combodataset="ds_cmb_gubun" combocodecol="value" combodatacol="label"/>
- <Cell col="5" text="bind:cnt"/>
- <Cell col="6" displaytype="number" style="align:right;" text="bind:totamt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button position="absolute 1116 8 1195 28" id="btn_excel" class="btn7" text="엑셀저장" anchor="default" onclick="group3_btn_excel_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 749 1195 776" id="grp_btn">
- <Layouts>
- <Layout>
- <Button position="absolute 0 5 56 27" id="button1" class="btn6" visible="false" text="출력" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="판독현황 마감자료 조회" class="tit_1" position="absolute 0 0 180 25"/>
- <Div id="group2" taborder="1" position="absolute 0 25 1195 85" class="div_SA">
- <Layouts>
- <Layout>
- <Shape id="line1" linetype="vertical" position="absolute 1114 9 1120 52" anchor="default"/>
- <Static id="caption1" text="지원부서 :" class="search_name" position="absolute 330 11 411 28" anchor="default"/>
- <Static id="caption2" text="진료과 :" class="search_name" position="absolute 539 11 601 28" anchor="default"/>
- <Static id="caption4" text="진료구분 :" class="search_name" position="absolute 330 34 410 51" anchor="default"/>
- <Static id="caption7" text="검사코드 :" class="search_name" position="absolute 636 34 710 51" anchor="default"/>
- <Static id="caption8" text="등록번호 :" class="search_name" position="absolute 846 35 918 52" anchor="default"/>
- <Button id="btn_sea" taborder="5" text="조회" class="btn1" position="absolute 1125 20 1181 42" anchor="default" onclick="group2_btn_sea_onclick"/>
- <Calendar id="ipt_fromdd" taborder="7" class="input_default" position="absolute 119 9 217 28" anchor="default" autoselect="true" dateformat="yyyy-MM-dd" value="null"/>
- <Edit id="opt_excucd" taborder="8" readonly="true" class="output_search" position="absolute 717 33 798 52" anchor="default"/>
- <Combo id="cmb_suppdept" taborder="9" innerdataset="@ds_init_cmb_info_suppdeptlist_suppdept" codecolumn="suppdeptcd" datacolumn="depthngnm" class="combo_search" position="absolute 404 9 523 28" anchor="default" onitemchanged="group2_cmb_suppdept_onitemchanged"/>
- <Combo id="cmb_orddept" taborder="10" innerdataset="@ds_init_cmb_info_orddeptcdlist_dept" codecolumn="deptcd" datacolumn="depthngnm" class="combo_search" position="absolute 602 9 721 28" anchor="default"/>
- <Edit id="ipt_pid" taborder="11" class="input_search" position="absolute 920 33 996 52" anchor="default" onkeydown="group2_ipt_pid_onkeydown"/>
- <Edit id="ipt_patnm" taborder="12" class="input_search" position="absolute 1024 33 1108 54" anchor="default" onkeydown="group2_ipt_patnm_onkeydown"/>
- <Button id="btn_pidsearch" taborder="13" class="icon_search" position="absolute 1000 34 1016 50" anchor="default" onclick="group2_btn_pidsearch_onclick"/>
- <Static id="caption11" text="판독결과일자 :" class="search_name" position="absolute 15 11 135 28" anchor="default"/>
- <Edit id="output6" taborder="15" readonly="true" class="output_search" position="absolute 241 33 318 52" anchor="default"/>
- <Button id="button7" taborder="16" class="icon_search" position="absolute 221 33 237 49" anchor="default" onclick="group2_button7_onclick"/>
- <Static id="caption3" text="판독자 :" class="search_name" position="absolute 15 34 92 51" anchor="default"/>
- <Edit id="ipt_cnfmmanid" taborder="17" class="input_search" position="absolute 119 33 218 52" anchor="default" onkeydown="group2_ipt_cnfmmanid_onkeydown"/>
- <Calendar id="ipt_todd" taborder="18" class="input_default" position="absolute 221 9 319 28" anchor="default" autoselect="true" dateformat="yyyy-MM-dd"/>
- <Button id="btn_pidsearch00" taborder="19" class="icon_search" position="absolute 817 34 833 50" onclick="group2_btn_pidsearch00_onclick"/>
- <cp_checkboxList id="chk_prcpgenrflag" titletext="CheckBox List" taborder="20" text="cp_checkboxList00" scrollbars="none" position="absolute 404 33 629 52" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <Static id="caption00" text="구분 :" class="search_name" position="absolute 902 3 968 31"/>
- <Radio id="decflag" taborder="21" columncount="3" rowcount="0" index="0" innerdataset="@ds_decflag" codecolumn="value" datacolumn="label" value="ALL" onitemclick="grp_sea_ioflag_onitemclick" position="absolute 947 3 1104 31" ioflag="[object Radio]"/>
- <CheckBox id="chk_raddrflag" taborder="22" text="영상의학과전문의판독" position="absolute 741 4 894 31" style="font:Dotum,9,bold;" value="true"/>
- </Layout>
- </Layouts>
- <InitValue>
- <Radio id="decflag" taborder="20" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 884 10 1029 30" anchor="default" index="0" value="A" positiontype="position">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </InitValue>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_prcsprescondlist_prcsprescond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_prcsmagamlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ddflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="excucd" type="STRING" size="256"/>
- <Column id="excucdnm" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="cnfmmanid" type="STRING" size="256"/>
- <Column id="cnfmmannm" type="STRING" size="256"/>
- <Column id="decflag" type="STRING" size="256"/>
- <Column id="raddrflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ddflag"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="suppdeptcd"/>
- <Col id="excuroomcd"/>
- <Col id="orddeptcd"/>
- <Col id="wardcd"/>
- <Col id="pid"/>
- <Col id="patnm"/>
- <Col id="excucd"/>
- <Col id="excucdnm"/>
- <Col id="prcpgenrflag"/>
- <Col id="cnfmmanid"/>
- <Col id="cnfmmannm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_req_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cmb_info_suppdeptlist_suppdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_info_orddeptcdlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_info_wardcdlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_info_excuroomcdlist_excuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_M0011" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_A0075" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_initexecprcpstatcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_M0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_userinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_userpopupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="param" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="searchitem" type="STRING" size="256"/>
- <Column id="searchitem_dutplce" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="param"/>
- <Col id="flag"/>
- <Col id="searchitem"/>
- <Col id="searchitem_dutplce"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_gubun" 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">당일</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">24시간이내</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">48시간이내</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">72시간이내</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">72시간초과</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">72시간초과</Col>
- <Col id="value">5</Col>
- </Row>
- <Row>
- <Col id="label">72시간초과</Col>
- <Col id="value">6</Col>
- </Row>
- <Row>
- <Col id="label">72시간초과</Col>
- <Col id="value">7</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_comcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_decflag" 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">전체</Col>
- <Col id="value">ALL</Col>
- </Row>
- <Row>
- <Col id="label">원내판독</Col>
- <Col id="value">IN</Col>
- </Row>
- <Row>
- <Col id="label">외주판독</Col>
- <Col id="value">OUT</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="group2.ipt_cnfmmanid" propid="value" datasetid="ds_send" columnid="cnfmmanid"/>
- <BindItem id="item2" compid="group2.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item3" compid="group2.output6" propid="value" datasetid="ds_send" columnid="cnfmmannm"/>
- <BindItem id="item4" compid="group2.cmb_suppdept" propid="value" datasetid="ds_send" columnid="suppdeptcd"/>
- <BindItem id="item5" compid="group2.cmb_orddept" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
- <BindItem id="item6" compid="group2.opt_excucd" propid="value" datasetid="ds_send" columnid="excucd"/>
- <BindItem id="item7" compid="group2.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item8" compid="group2.ipt_patnm" propid="value" datasetid="ds_send" columnid="patnm"/>
- <BindItem id="item9" compid="group2.decflag" propid="value" datasetid="ds_send" columnid="decflag"/>
- <BindItem id="item10" compid="group2.chk_raddrflag" propid="value" datasetid="ds_send" columnid="raddrflag"/>
- </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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_examcurexp::AEZ0001.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- var gSuppdeptcd = "";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : chekboxlist set
- ****************************************************************************************/
- function fn_setChkboxList(){
- var sProp51 = "col=5,row=1,cellspacing=2,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- group2.chk_prcpgenrflag.setInitComp(sProp51, ds_hidden_comcd, "cdid","cdnm", "fn_chk_prcpgenrflag");
- }
- function fn_chk_prcpgenrflag() {
- ds_send.setColumn(0,"prcpgenrflag",String(group2.chk_prcpgenrflag.getData()).replace(","," "));
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : TRAEA00503
- ****************************************************************************************/
- function call_TRAEA00503() {
- dsf_createDsRow("ds_req", [
- {col:"basecd", type:"STRING", size:256, val:""}
- , {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"rbasecdflag", type:"STRING", size:256, val:"R"}
- ]);
- var oParam = {};
- oParam.id = "TRAEA00503";
- oParam.service = "examcurebaseapp.ExamCureRoom";
- oParam.method = "reqGetExamCureRoomGrpList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_init_cmb_info_excuroomcdlist_excuroom=item";
- oParam.async = true;
- //oParam.callback = "cf_TRAEA00503";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 그리드의 내용을 엑셀로 Copy하기 위한 Function
- ****************************************************************************************/
- function astgrid_liscopy(gridObj) {
- var rClipBoardValue = "";
- var row = objects[gridObj.binddataset].rowposition;
-
- rClipBoardValue = objects[gridObj.binddataset].getColumn(row,"pid");
-
- if( !utlf_isNull(rClipBoardValue) ) {
- // window.clipBoardData = rClipBoardValue; //????? 고작 pid만 복사??
- system.setClipboard("CF_TEXT", rClipBoardValue);
- // grdf_clipboardCopy(group3.switch1.case1.grd_mainordlist); //그리드 선택내용 전체 복사
- }
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 전체현황 조회 후 그리드 모양 설정
- ****************************************************************************************/
- function getRsltList() {
- // 전체
- var grd_list;
-
- if (group3.switch1.tabindex == 0) {
- grd_list = group3.switch1.case1.grd_mainordlist;
- }
-
- var oParam = {};
- oParam.id = "TRAER00631";
- oParam.service = "examcureacptexecapp.ExamCurePrcs";
- oParam.method = "reqGetExamCurePrcsRsltMagamList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_prcsprescondlist_prcsprescond=item";
- oParam.async = false;
- oParam.callback = "cf_TRAER00631";
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TRAER00631") > -1) {
- var cnt = ds_main_prcsprescondlist_prcsprescond.rowcount;
-
- if (cnt > 1) {
- var ord = "";
- for( var i = 0 ; i < grd_list.getCellCount("Head") ; i++ ) {
- grd_list.setCellProperty("body",i,"background" ,"EXPR(systkey1=='2'?'#CCFFCC':systkey1=='3'?'#FFFFCC':'#FFFFFF')")
- grd_list.setCellProperty("body",i,"background2","EXPR(systkey1=='2'?'#CCFFCC':systkey1=='3'?'#FFFFCC':'#FFFFFF')")
- grd_list.setCellProperty("body",i,"font","EXPR(systkey1=='2'||systkey1=='3'?'arial,9,bold':'')")
- }
- }
- }
- }
- function cf_TRAER00631(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 판독의 별 현황 조회 후 그리드 모양 설정
- ****************************************************************************************/
- function getRsltList2() {
- // 전체
- var grd_list;
-
- if (group3.switch1.tabindex == 1) {
- grd_list = group3.switch1.case2.grd_rsltcnfmman;
- }
-
- var oParam = {};
- oParam.id = "TRAER00632";
- oParam.service = "examcureacptexecapp.ExamCurePrcs";
- oParam.method = "reqGetExamCurePrcsRsltMagamList2";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_prcsmagamlist_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAER00632";
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TRAER00632") > -1) {
- var cnt = ds_main_prcsmagamlist_item.rowcount;
- if (cnt > 1) {
- var ord = "";
- for( var i = 0 ; i < grd_list.getCellCount("Head") ; i++ ) {
- grd_list.setCellProperty("body",i,"background" ,"EXPR(systkey1=='2'?'#CCFFCC':systkey1=='3'?'#FFFFCC':'#FFFFFF')")
- grd_list.setCellProperty("body",i,"background2","EXPR(systkey1=='2'?'#CCFFCC':systkey1=='3'?'#FFFFCC':'#FFFFFF')")
- grd_list.setCellProperty("body",i,"font","EXPR(systkey1=='2'||systkey1=='3'?'arial,9,bold':'')")
- }
- }
- }
- }
- function cf_TRAER00632(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMAER00630
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAER00630_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMAER00630
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAER00630_onload(obj:Form, e:LoadEventInfo)
- {
- lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
- gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
-
- ds_send.setColumn(0,"suppdeptcd",gSuppdeptcd);
- ds_send.setColumn(0,"decflag","IN"); //20190306 원내판독
- //글로벌 변수에서 등록번호 갖고오기
- var gv_pid = sysf_getGlobalVariable("gv_pid", "A");
- if(!utlf_isNull(gv_pid)) {
- ds_send.setColumn(0,"pid", gv_pid);
- }
- ds_send.setColumn(0,"fromdd", utlf_getCurrentDate().toDate().getAddDate(-8,"D").getDateFormat("YYYYMMDD"));
- ds_send.setColumn(0,"todd" , utlf_getCurrentDate().toDate().getAddDate(-1,"D").getDateFormat("YYYYMMDD"));
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = "D"; //외래진료실
- var rslt_ref = "ds_init_cmb_info_orddeptcdlist_dept";
- // zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref);
- // appf_getDeptCodeList(instcd,standard_yn,ord_deptflag,"depthngnm","","","","",rslt_ref,true,"");
- appf_getDeptCodeList(instcd,standard_yn,"","depthngnm","","","","",rslt_ref,true,""); //건강증진센터 포함하기위해서
-
- ord_deptflag = "W"; //일반병동
- rslt_ref = "ds_init_cmb_info_wardcdlist_dept";
- // zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref);
- appf_getDeptCodeList(instcd,standard_yn,ord_deptflag,"depthngnm","","","","",rslt_ref,true,"");
-
- // zbcfGetCodeList( new Array("M0011","A0075", "M0010"), new Array("/root/init/cmb_info/initexecprcpstatcd", "/root/init/cmb_info/rsrvflaglist", "/root/init/baseinfo/initprcpgenrflagcd") );
- // submit("TRZBC00101", false);
- var arrParam = [{dsNm: "ds_init_M0011", cdGrpId: "M0011"} //root/init/cmb_info/initexecprcpstatcd
- ,{dsNm: "ds_init_A0075", cdGrpId: "A0075"} //root/init/cmb_info/rsrvflaglist
- ,{dsNm: "ds_init_M0010", cdGrpId: "M0010"} //root/init/baseinfo/initprcpgenrflagcd
- ]
- appf_getCodeList(arrParam);
- aezfInsertInstance2("ds_hidden_comcd", "M0010", "전체", "", ds_init_M0010);
- ds_hidden_comcd.deleteRow(ds_hidden_comcd.findRow("cdid","-")); // 외래,입원구분 : 공통
- ds_hidden_comcd.deleteRow(ds_hidden_comcd.findRow("cdnm","전체")); // 외래,입원구분 : 공통
-
- fn_setChkboxList(); //체크박스리스트 설정
- call_TRAEA00503();
- dsf_createDsRow("ds_req", [
- {col:"deptflag", type:"STRING", size:256, val:""}
- , {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- ]);
- var oParam = {};
- oParam.id = "TRAEA00904";
- oParam.service = "examcurersrvapp.RsrvRef";
- oParam.method = "reqGetSuppDeptCdList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_init_cmb_info_suppdeptlist_suppdept=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA00904";
- tranf_submit(oParam);
-
- grdf_setGridSort(group3.switch1.case1.grd_mainordlist); // 그리드 소트만
- grdf_setGridSort(group3.switch1.case2.grd_rsltcnfmman); // 그리드 소트만
-
- frmf_addComboItem("group2.cmb_suppdept", "--전체--", "", ""); //지원부서
-
- group3.switch1.tabindex = 0;
-
- frmf_createPopupMenu("pmn_menu1","pmn_menu_onmenuclick",[
- {id: "astgrid_liscopy" , level: "0", title: "복사하기"}
- ]);
- }
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : group2.cmb_suppdept
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 지원부서 변경
- ****************************************************************************************/
- function group2_cmb_suppdept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- gSuppdeptcd = ds_send.getColumn(0,"suppdeptcd");
- call_TRAEA00503();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group2.ipt_pid
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 등록번호로 검색
- ****************************************************************************************/
- function group2_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- frmf_inputEnterKey("group2.btn_sea", "onclick", new ClickEventInfo);
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group2.ipt_cnfmmanid
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 판독자 이름넣고 검색
- ****************************************************************************************/
- function group2_btn_pidsearch_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_patinfolist.clear();
-
- var objArg = new Object();
- dsf_createDsRow("ds_temp_send", [
- {col:"pid", type:"STRING", size:256, val:ds_send.getColumn(0,"pid")}
- , {col:"srchcond", type:"STRING", size:256, val:"1"}
- ]);
- objArg.arg_ds_send = ds_temp_send;
- frmf_modal("SPPMC02500","SPPMC02500", objArg, "", 1, 200, 200, "", "", "", "", "", "M");
- ds_send.setColumn(0,"pid" , ds_patinfolist.getColumn(0,"pid") ); // 등록번호 설정
- ds_send.setColumn(0,"patnm" , ds_patinfolist.getColumn(0,"hngnm") ); // 환자 이름
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group2.ipt_cnfmmanid
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 판독자 이름넣고 검색
- ****************************************************************************************/
- function group2_ipt_cnfmmanid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- frmf_inputEnterKey("group2.button7", "onclick", new ClickEventInfo);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.button7
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 판독자 검색 팝업
- ****************************************************************************************/
- function group2_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_temp_userpopupinfo.addRow()
- ds_temp_userpopupinfo.setColumn(0,"param" , "_OneS"); // 사용자 한 명만을 검색하기 위한 파라미터 설정
- ds_temp_userpopupinfo.setColumn(0,"flag" , "userid"); // 사용자ID
- ds_temp_userpopupinfo.setColumn(0,"searchitem" , ds_send.getColumn(0,"cnfmmanid")); // 처방의사 ID
-
- var objArg = new Object();
- objArg.param = utlf_transNullToEmpty(ds_temp_userpopupinfo.getColumn(0,"param"));
- objArg.flag = utlf_transNullToEmpty(ds_temp_userpopupinfo.getColumn(0,"flag"));
- objArg.searchitem = utlf_transNullToEmpty(ds_temp_userpopupinfo.getColumn(0,"searchitem"));
- var iParam = frmf_modal("SPZSU10103", "SPZSU10103", objArg, "", 0, 200, 200, "", "", "", "", "", "M");
- if (iParam.rowcount > 0) {
- ds_temp_userpopupinfo.copyData(iParam);
-
- ds_send.setColumn(0,"cnfmmanid",ds_temp_userpopupinfo.getColumn(0,"userid") ); // 사용자 ID
- ds_send.setColumn(0,"cnfmmannm",ds_temp_userpopupinfo.getColumn(0,"usernm") ); // 사용자 이름+등등
- } else {
- ds_send.setColumn(0,"cnfmmanid",""); // 사용자 ID
- ds_send.setColumn(0,"cnfmmannm","" ); // 사용자 이름+등등
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.btn_pidsearch00
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 검사코드 검색팝업
- ****************************************************************************************/
- function group2_btn_pidsearch00_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPAEA02302", "SPAEA02302", "", "", 0, 200, 200, "", "", "", "", "", "M");
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group2.ipt_patnm
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 환자명 넣고 검색
- ****************************************************************************************/
- function group2_ipt_patnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- frmf_inputEnterKey("group2.btn_sea", "onclick", new ClickEventInfo);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.btn_pidsearch00
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 검사코드 검색팝업
- ****************************************************************************************/
- function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- var cTime = utlf_getCurrentTime().substr(0, 4);
- if(cTime > "1700" || cTime < "0830") {
- } else {
- var ddInterval = utlf_getDateInterval(ds_send.getColumn(0,"fromdd"), ds_send.getColumn(0,"todd"));
- if(ddInterval > 32){
- sysf_messageBox("업무시간[08:30 ~ 17:00]에는 31일까지만 조회", "I006");
- return;
- }
- }
- if (group3.switch1.tabindex == 0) {
- getRsltList();
- } else {
- getRsltList2();
- }
- }
- /****************************************************************************************
- * Components : Tab
- * Components ID : group3.switch1
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 탭페이지 변경시
- ****************************************************************************************/
- function group3_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex == 0) {
- frmf_openLoadingBar("개인별통계을 조회 중입니다....") ;
- getRsltList();
- frmf_closeLoadingBar() ;//처리중 화면을 close한다.
- } else {
- frmf_openLoadingBar("판독의별통계을 조회 중입니다....") ;
- getRsltList2();
- frmf_closeLoadingBar() ;//처리중 화면을 close한다.
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀저장
- ****************************************************************************************/
- function group3_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- var grd_list;
- if (group3.switch1.tabindex == 0) {
- grd_list = group3.switch1.case1.grd_mainordlist;
- } else {
- grd_list = group3.switch1.case2.grd_rsltcnfmman;
- }
-
- if( grd_list.rowcount > 0 ){
- grdf_exportExcel(grd_list, "판독현황", "판독현황", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch1.case1.grd_mainordlist
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : Ctrl C
- ****************************************************************************************/
- function group3_switch1_case1_grd_mainordlist_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.ctrlKey == true && e.keycode == 67)
- {
- astgrid_liscopy(obj);
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch1.case1.grd_mainordlist
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 우클릭 팝업메뉴
- ****************************************************************************************/
- function group3_switch1_case1_grd_mainordlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- pmn_menu1.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
- }
- ]]></Script>
- </Form>
- </FDL>
|