123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNW14560" position="absolute 0 0 1205 790" titletext="항암수혈팀 호출 현황관리" oninit="SMMNW14560_oninit" onload="SMMNW14560_onload" ontimer="SMMNW14560_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1200 789" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="항암수혈팀 호출 현황관리" position="absolute 0 0 195 25" id="cpt_title" class="tit_1" anchor="default" onclick="group3_cpt_title_onclick"/>
- <Div position="absolute 0 25 1194 65" align="align:center top;" id="grp_sea" class="div_SA" anchor="default">
- <Layouts>
- <Layout>
- <Button position="absolute 1070 11 1126 33" id="btn_ref" class="btn1" taborder="7" text="조회" anchor="default" onclick="group3_grp_sea_btn_ref_onclick"/>
- <Static text="기 간 :" position="absolute 215 12 269 29" id="caption3" class="search_name" anchor="default"/>
- <Shape position="absolute 1057 10 1063 31" linetype="vertical" id="line2" class="line_4" anchor="default"/>
- <Calendar position="absolute 270 11 358 30" id="ipt_fromdd" class="input_s_essential" taborder="2" autoselect="true" anchor="default"/>
- <Static text="부 서 :" position="absolute 10 12 62 29" id="caption29" class="search_name" anchor="default"/>
- <Combo position="absolute 65 11 190 30" id="cmb_deptcd" class="combo_s_essential" taborder="1" innerdataset="@ds_init_deptinfo_deptlist" datacolumn="depthngnm" codecolumn="deptcd" anchor="default" onitemchanged="group3_grp_sea_cmb_deptcd_onitemchanged"/>
- <Static text="구 분 :" position="absolute 499 12 555 29" id="caption1" class="search_name" anchor="default"/>
- <Static text="등록번호 :" position="absolute 750 12 826 29" id="caption2" class="search_name" anchor="default"/>
- <Edit position="absolute 827 11 882 30" id="ipt_pid" class="input_search" taborder="4" autoselect="true" anchor="default" onkeyup="group3_grp_sea_ipt_pid_onkeyup"/>
- <Button position="absolute 1128 11 1184 33" id="button2" class="btn7" taborder="8" text="엑셀" anchor="default" onclick="group3_grp_sea_button2_onclick"/>
- <Calendar position="absolute 382 11 470 30" id="ipt_todd" class="input_s_essential" taborder="2" autoselect="true" anchor="default"/>
- <Static text="~" position="absolute 365 12 385 27" align="align:center middle;" id="caption4" anchor="default"/>
- <Radio position="absolute 554 11 730 27" id="rdo_acptflag" columncount="6" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group3_grp_sea_rdo_acptflag_onitemchanged" index="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </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>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">취소</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Static text="항암수혈팀 호출 현황 리스트" position="absolute 0 79 210 95" id="caption5" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 95 1194 101" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
- <Grid position="absolute 0 100 1194 770" id="grd_ivinfo" class="datagrid2" binddataset="ds_main_ivinfo_ivlist" anchor="default" onheadclick="group3_grd_ivinfo_onheadclick" cellsizingtype="both" scrollpixel="all" selecttype="multirow" cellsizebandtype="allband" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="27" band="left"/>
- <Column size="0"/>
- <Column size="85"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="55"/>
- <Column size="65"/>
- <Column size="45"/>
- <Column size="95"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="23"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="45"/>
- <Column size="65"/>
- <Column size="105"/>
- <Column size="45"/>
- <Column size="60"/>
- <Column size="105"/>
- <Column size="70"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" expr="0"/>
- <Cell col="2" text="no"/>
- <Cell col="3" text="호출부서"/>
- <Cell col="4" text="병실 (입원)"/>
- <Cell col="5" text="부서번호"/>
- <Cell col="6" text="등록번호"/>
- <Cell col="7" text="성명"/>
- <Cell col="8" text="S/A"/>
- <Cell col="9" text="진료과"/>
- <Cell col="10" colspan="4" text="감염정보" taborder="undefined"/>
- <Cell col="14" text="감염정보" taborder="undefined"/>
- <Cell col="15" text="감염정보" taborder="undefined"/>
- <Cell col="16" text="감염정보" taborder="undefined"/>
- <Cell col="17" colspan="2" text="호출일시" taborder="undefined"/>
- <Cell col="19" text="호출목적"/>
- <Cell col="20" text="호출목적"/>
- <Cell col="21" text="구분"/>
- <Cell col="22" text="호출번호"/>
- <Cell col="23" text="항암수혈팀 Remark"/>
- <Cell col="24" colspan="2" text="완료일시" taborder="undefined"/>
- <Cell col="26" text="완료자"/>
- <Cell col="27"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
- <Cell col="2" text="bind:callno"/>
- <Cell col="3" displaytype="combo" style="padding:2 2 2 2;" text="bind:calldeptcd" combodataset="ds_init_deptinfo_deptlist" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="4" text="bind:roomcd"/>
- <Cell col="5" style="align:left;" text="bind:depttel"/>
- <Cell col="6" text="bind:pid"/>
- <Cell col="7" style="align:left;" text="bind:hngnm"/>
- <Cell col="8" style="align:left;" text="bind:sexage"/>
- <Cell col="9" style="align:left;" text="bind:orddeptnm"/>
- <Cell col="10" displaytype="image" text="bind:disp1img"/>
- <Cell col="11" displaytype="image" text="bind:disp2img"/>
- <Cell col="12" displaytype="image" text="bind:disp3img"/>
- <Cell col="13" displaytype="image" text="bind:disp4img"/>
- <Cell col="14" text="bind:disp1"/>
- <Cell col="15" text="bind:disp2"/>
- <Cell col="16" text="bind:disp3"/>
- <Cell col="17" displaytype="date" text="bind:calldd" calendardisplaynulltype="none"/>
- <Cell col="18" text="bind:calltm" mask="expr:utlf_isNull(calltm) ? '' : '##:##'"/>
- <Cell col="19" displaytype="combo" style="align:left middle;padding:2 2 2 2;" text="bind:callremfact" combodataset="ds_init_codeinfo_codelist_I06" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="20" edittype="none" style="align:left top;" text="bind:callremfactdesc" wordwrap="word"/>
- <Cell col="21" displaytype="combo" style="align:center;" text="bind:acptflag" combodataset="ds_init_codeinfo_codelist_I05" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="22" displaytype="combo" style="padding:2 2 2 2;" text="bind:calltelno" combodataset="ds_init_codeinfo_codelist_I13" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="23" displaytype="text" edittype="text" text="bind:ivremfact"/>
- <Cell col="24" displaytype="date" text="bind:cmpltdd" calendardisplaynulltype="none"/>
- <Cell col="25" text="bind:cmplttm" mask="expr:utlf_isNull(cmplttm) ? '' : '##:##'"/>
- <Cell col="26" text="bind:cmpluserid"/>
- <Cell col="27"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1106 75 1148 94" id="btn_cmpl" class="btn2" text="완료" anchor="default" onclick="group3_btn_cmpl_onclick"/>
- <Button position="absolute 1018 75 1104 94" id="btn_savrem" class="btn2" text="Remark저장" anchor="default" onclick="group3_btn_savrem_onclick"/>
- <Button position="absolute 914 75 1016 94" id="button1" class="btn2" text="항암수혈팀 호출" anchor="default" onclick="group3_button1_onclick"/>
- <Static text="[표]" position="absolute 1166 772 1193 787" id="caption6" anchor="default"/>
- <CheckBox position="absolute 888 38 961 53" id="checkbox1" text="완료제외" truevalue="Y" anchor="default" onclick="group3_checkbox1_onclick"/>
- <Button position="absolute 1150 75 1192 94" id="btn_cncl" class="btn5" text="취소" anchor="default" onclick="group3_btn_cncl_onclick"/>
- <CheckBox position="absolute 967 38 1038 53" id="checkbox2" text="취소제외" truevalue="Y" anchor="default" onclick="group3_checkbox2_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
- <Column id="srchdd" type="STRING" size="256" sumtext="조회기준일자"/>
- <Column id="flag" type="STRING" size="256" sumtext="조회기준일자"/>
- <Column id="allflag" type="STRING" size="256" sumtext="모두조회여부"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_codeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
- <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
- <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
- <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
- <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
- <Column id="sortseq" type="STRING" size="256" sumtext="상위코드ID"/>
- <Column id="valifromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="valitodd" type="STRING" size="256" sumtext="시작일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <!-- <column id="etcrefflag" type="string" desc="기타부서조회구분" ref="etcrefflag" /> -->
- <Column id="comnrefflag" type="STRING" size="256" sumtext="공통조회구분"/>
- <Column id="flag" type="STRING" size="256" sumtext="공통조회구분"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_deptinfo_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="depthngnm" type="STRING" size="256" sumtext="부서명"/>
- <Column id="deptflag" type="STRING" size="256" sumtext="부서구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256" sumtext="기간FROM"/>
- <Column id="todd" type="STRING" size="256" sumtext="기간TO"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서"/>
- <Column id="acptflag" type="STRING" size="256" sumtext="호출구분"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="exceptflag" type="STRING" size="256" sumtext="완료제외"/>
- <Column id="exceptflag2" type="STRING" size="256" sumtext="취소제외"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_ivinfo_ivlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_ivinfo_ivlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chkyn" type="STRING" size="256" sumtext="check"/>
- <Column id="callno" type="STRING" size="256" sumtext="호출번호"/>
- <Column id="calldeptcd" type="STRING" size="256" sumtext="호출부서"/>
- <Column id="depttel" type="STRING" size="256" sumtext="부서번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="calldd" type="STRING" size="256" sumtext="호출일자"/>
- <Column id="calltm" type="STRING" size="256" sumtext="호출시간"/>
- <Column id="callremfact" type="STRING" size="256" sumtext="호출remark"/>
- <Column id="callremfactdesc" type="STRING" size="256" sumtext="remark상세"/>
- <Column id="acptflag" type="STRING" size="256" sumtext="호출상태"/>
- <Column id="calltelno" type="STRING" size="256" sumtext="IV팀 전화번호"/>
- <Column id="cmpltdd" type="STRING" size="256" sumtext="완료일자"/>
- <Column id="cmplttm" type="STRING" size="256" sumtext="완료시간"/>
- <Column id="ivremfact" type="STRING" size="256" sumtext="IV팀 remark"/>
- <Column id="disp1" type="STRING" size="256" sumtext="감염1"/>
- <Column id="disp2" type="STRING" size="256" sumtext="감염2"/>
- <Column id="disp3" type="STRING" size="256" sumtext="감염3"/>
- <Column id="disp1img" type="STRING" size="256" sumtext="감염1"/>
- <Column id="disp2img" type="STRING" size="256" sumtext="감염2"/>
- <Column id="disp3img" type="STRING" size="256" sumtext="감염3"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="sexage" type="STRING" size="256" sumtext="성별나이"/>
- <Column id="cmpluserid" type="STRING" size="256" sumtext="완료자ID"/>
- <Column id="disp4" type="STRING" size="256"/>
- <Column id="disp4img" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="saveflag" type="STRING" size="256" sumtext="saveflag"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata_ivlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkyn" type="STRING" size="256" sumtext="chkyn"/>
- <Column id="calldd" type="STRING" size="256" sumtext="호출일자"/>
- <Column id="callno" type="STRING" size="256" sumtext="호출번호"/>
- <Column id="ivremfact" type="STRING" size="256" sumtext="IV팀 Remark"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cond" 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="pid" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="acptflag" type="STRING" size="256"/>
- <Column id="exceptflag" type="STRING" size="256"/>
- <Column id="multicheck" type="STRING" size="256"/>
- <Column id="exceptflag2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_codeinfo_codelist_I06" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
- <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
- <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
- <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
- <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
- <Column id="sortseq" type="STRING" size="256" sumtext="상위코드ID"/>
- <Column id="valifromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="valitodd" type="STRING" size="256" sumtext="시작일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_codeinfo_codelist_I05" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
- <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
- <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
- <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
- <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
- <Column id="sortseq" type="STRING" size="256" sumtext="상위코드ID"/>
- <Column id="valifromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="valitodd" type="STRING" size="256" sumtext="시작일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_codeinfo_codelist_I13" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
- <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
- <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
- <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
- <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
- <Column id="sortseq" type="STRING" size="256" sumtext="상위코드ID"/>
- <Column id="valifromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="valitodd" type="STRING" size="256" sumtext="시작일자"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.grp_sea.cmb_deptcd" propid="value" datasetid="ds_main_cond" columnid="deptcd"/>
- <BindItem id="item1" compid="group3.grp_sea.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item2" compid="group3.grp_sea.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- <BindItem id="item3" compid="group3.grp_sea.rdo_acptflag" propid="value" datasetid="ds_main_cond" columnid="acptflag"/>
- <BindItem id="item4" compid="group3.grp_sea.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
- <BindItem id="item5" compid="group3.checkbox1" propid="value" datasetid="ds_main_cond" columnid="exceptflag"/>
- <BindItem id="item6" compid="group3.checkbox2" propid="value" datasetid="ds_main_cond" columnid="exceptflag2"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_wardcarexp -> SMMNW14560
- * Creator : yjh
- * Make Date : 2016-12-09
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-12-09 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::CareCom.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function fSearch() {
- ds_send_reqdata.copyData(ds_main_cond);
-
- var oParam = {};
- oParam.id = "TRMNW14511";
- oParam.service = "wardcareapp.TranMngt";
- oParam.method = "reqGetPatBdInfoList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_ivinfo_ivlist=ivlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNW14511";
- tranf_submit(oParam);
-
- if( utlf_isNull(ds_main_ivinfo_ivlist.getColumnInfo("chkyn")) ){
- ds_main_ivinfo_ivlist.addColumn("chkyn", "string");
- }
- if( utlf_isNull(ds_main_ivinfo_ivlist.getColumnInfo("disp1img")) ){
- ds_main_ivinfo_ivlist.addColumn("disp1img", "string");
- }
- if( utlf_isNull(ds_main_ivinfo_ivlist.getColumnInfo("disp2img")) ){
- ds_main_ivinfo_ivlist.addColumn("disp2img", "string");
- }
- if( utlf_isNull(ds_main_ivinfo_ivlist.getColumnInfo("disp3img")) ){
- ds_main_ivinfo_ivlist.addColumn("disp3img", "string");
- }
- if( utlf_isNull(ds_main_ivinfo_ivlist.getColumnInfo("disp4img")) ){
- ds_main_ivinfo_ivlist.addColumn("disp4img", "string");
- }
-
- ds_main_ivinfo_ivlist.enableevent = false;
- ds_main_ivinfo_ivlist.updatecontrol = false;
-
- for( var i=0 ; i<ds_main_ivinfo_ivlist.rowcount ; i++ ){
- if( ds_main_ivinfo_ivlist.getColumn(i, "chkyn") == "Y" ){
- ds_main_ivinfo_ivlist.setColumn(i, "chkyn", "1"); //yjh1
- }else{
- ds_main_ivinfo_ivlist.setColumn(i, "chkyn", "0");
- }
- }
-
- ds_main_ivinfo_ivlist.updatecontrol = true;
- ds_main_ivinfo_ivlist.enableevent = true;
-
- ds_main_ivinfo_ivlist.rowposition = -1;
-
- var nodePath = ds_main_ivinfo_ivlist;
-
- ds_main_ivinfo_ivlist.enableevent = false;
- ds_main_ivinfo_ivlist.updatecontrol = false;
-
- for(var i = 0; i < group3.grd_ivinfo.rowcount; i++) {
- if (nodePath.getColumn(i, "disp1") == "Y") {
- nodePath.setColumn(i, "disp1img", "URL('IMG::emr//ICON//btn_top_infection0.gif')");
- //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp1img")) = "../../../com/hismainweb/images/btn_top_infection0.gif";
- }else{
- nodePath.setColumn(i, "disp1img", "");
- //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp1img")) = "";
- }
- if (nodePath.getColumn(i, "disp2") == "Y") {
- nodePath.setColumn(i, "disp2img", "URL('IMG::emr//ICON//btn_top_infection1.gif')");
- //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp2img")) = "../../../com/hismainweb/images/btn_top_infection1.gif";
- }else{
- nodePath.setColumn(i, "disp2img", "");
- //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp2img")) = "";
- }
- if (nodePath.getColumn(i, "disp3") == "Y") {
- nodePath.setColumn(i, "disp3img", "URL('IMG::emr//ICON//btn_top_infection2.gif')");
- //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp3img")) = "../../../com/hismainweb/images/btn_top_infection2.gif";
- }else{
- nodePath.setColumn(i, "disp3img", "");
- //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp3img")) = "";
- }
- if (nodePath.getColumn(i, "disp4") == "Y") {
- nodePath.setColumn(i, "disp4img", "URL('IMG::emr//ICON//btn_top_infection3.gif')");
- //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp3img")) = "../../../com/hismainweb/images/btn_top_infection2.gif";
- }else{
- nodePath.setColumn(i, "disp4img", "");
- //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp3img")) = "";
- }
- }
-
- ds_main_ivinfo_ivlist.updatecontrol = true;
- ds_main_ivinfo_ivlist.enableevent = true;
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNW14560
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMMNW14560_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNW14560
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMMNW14560_onload(obj:Form, e:LoadEventInfo)
- {
- ds_main_cond.setColumn(0, "exceptflag", "Y");
- ds_main_cond.setColumn(0, "exceptflag2", "Y");
-
- group3.grp_sea.rdo_acptflag.value = "";
-
- ds_send.setColumn(0, "cdgrupid", "'I18', 'I19', 'I20','I13','I21'");
- ds_send.setColumn(0, "srchdd" , utlf_getCurrentDate()); // 조회기준일자
-
- var oParam = {};
- oParam.id = "TRMNW00001";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetNursHardCdInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_codeinfo_codelist=codelist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNW00001";
- tranf_submit(oParam);
-
- ds_init_codeinfo_codelist.filter("cdgrupid=='I19'");
- ds_init_codeinfo_codelist_I06.copyData(ds_init_codeinfo_codelist, true);
- ds_init_codeinfo_codelist.filter("cdgrupid=='I18'");
- ds_init_codeinfo_codelist_I05.copyData(ds_init_codeinfo_codelist, true);
- ds_init_codeinfo_codelist.filter("cdgrupid=='I20'");
- ds_init_codeinfo_codelist_I13.copyData(ds_init_codeinfo_codelist, true);
- ds_init_codeinfo_codelist.filter("");
-
- var userid = sysf_getUserInfo("userid");
- //IV팀이면. 활성화
- if(userid == ds_init_codeinfo_codelist.lookupExpr("cdgrupid=='I21' && supcdid=='"+userid+"'", "supcdid") || userid == 'ENR'){
- group3.btn_cmpl.enable = true;
- group3.btn_savrem.enable = true;
- group3.btn_cncl.enable = true;
- } else { // IV팀이 아니면 비활성화
- group3.btn_cmpl.enable = false;
- group3.btn_savrem.enable = false;
- group3.btn_cncl.enable = false;
- }
-
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = 'W';
- var rslt_ref = "/root/init/dept";
- var sort_field = "depthngnm";
- var sort_method = "asc";
- var dt = utlf_getCurrentDate();
-
- var oParam = {};
- oParam.id = "TRMNW11001";
- oParam.service = "wardorderapp.NursPrcpMngt";
- oParam.method = "reqGetDeptListInfo";
- oParam.inds = "req=ds_temp";
- oParam.outds = "ds_init_deptinfo_deptlist=deptlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNW11001";
- tranf_submit(oParam);
-
- frmf_addComboItem("group3.grp_sea.cmb_deptcd", "전 체", "", "above");
- group3.grp_sea.ipt_fromdd.value = utlf_getCurrentDate();
- group3.grp_sea.ipt_todd.value = utlf_getCurrentDate();
-
- if(ds_init_codeinfo_codelist.lookupExpr("cdgrupid=='I21' && supcdid=='"+userid+"'", "supcdid") == userid) {
- group3.grp_sea.cmb_deptcd.value = "";
- } else { // IV팀이 아니면 비활성화
-
- if(sysf_getUserInfo("userid") == "ENR") {
- group3.grp_sea.cmb_deptcd.value = "";
- } else {
- group3.grp_sea.cmb_deptcd.value = sysf_getUserInfo("dutplcecd");
- }
- }
-
- //fWardComboSelectDisable("cmb_deptcd");
- //fSearch();
- this.setTimer(0, 100);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_ref
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function group3_grp_sea_btn_ref_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_deptcd
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function group3_grp_sea_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSearch();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_pid
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function group3_grp_sea_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- group3.grp_sea.btn_ref.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 클릭시
- ****************************************************************************************/
- function group3_grp_sea_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- if( group3.grd_ivinfo.rowcount > 0 ){
- grdf_exportExcel(group3.grd_ivinfo, "항암수혈팀 호출 현황 리스트", "sheetname", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- return;
- }
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : rdo_acptflag
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 라디오 값 변경시
- ****************************************************************************************/
- function group3_grp_sea_rdo_acptflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fSearch();
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_ivinfo_ivlist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_ivinfo_ivlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "chkyn" :
- if( obj.getColumn(e.row, e.columnid) == "0" ){
- group3.grd_ivinfo.setCellProperty("head", 1, "expr", "0");
- }
- break;
-
- case "ivremfact" :
- obj.setColumn(e.row, "chkyn", "1");
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_cmpl
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 완료버튼 클릭시
- ****************************************************************************************/
- function group3_btn_cmpl_onclick(obj:Button, e:ClickEventInfo)
- {
- var chkyn;
- var acptflag;
- var chkcnt = 0;
- var cnt = 0;
- var cnclcnt = 0;
- var xIvListPath = ds_main_ivinfo_ivlist;
- var data;
-
- for(var i=0; i <group3.grd_ivinfo.rowcount; i++) {
- chkyn = xIvListPath.getColumn(i, "chkyn");
- acptflag = xIvListPath.getColumn(i, "acptflag");
-
- if(chkyn == "1" && acptflag == "3") {
- cnclcnt++;
- }
-
- if(chkyn == "1" && acptflag == "2" ) {
- chkcnt++;
- }
-
- if(chkyn == "1") {
- cnt++;
- }
-
- // if(group3.grd_ivinfo.getCellProperty("head", 1, "expr") == "1"){
- //
- // data = grd_ivinfo.getupdatedataAll("i")
- //
- // }else if(xIvListPath.getColumn(i, "chkyn") == "1"){
- //
- // data = getGridUpdateData(grd_ivinfo);
- //
- // }
- }
-
- data = grdf_getGridUpdateData(group3.grd_ivinfo, "all");
-
- if(cnt == 0) {
- sysf_messageBox("완료 처리할 환자를 선택하여 주십시오.", "I");
- return;
- }
-
- if(cnclcnt >0) {
- sysf_messageBox("취소된 환자는 완료하실 수 없습니다.", "E");
- return;
- }
- if(chkcnt > 0) {
- sysf_messageBox("이미 완료된 환자는 완료하실 수 없습니다.", "E");
- return;
- }
-
- ds_send_savedata_ivlist.copyData(data);
- ds_send_savedata.setColumn(0, "saveflag", "2");
-
- for( var i=0 ; i<ds_send_savedata_ivlist.rowcount ; i++ ){
- if( ds_send_savedata_ivlist.getColumn(i, "chkyn") == "1" ){
- ds_send_savedata_ivlist.setColumn(i, "chkyn", "Y");
- }else{
- ds_send_savedata_ivlist.setColumn(i, "chkyn", "N");
- }
- }
-
- var oParam = {};
- oParam.id = "TXMNW14511";
- oParam.service = "wardcareapp.TranMngt";
- oParam.method = "reqExeBdListInfo";
- oParam.inds = "ivlist=ds_send_savedata_ivlist saveinfo=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW14511";
- tranf_submit(oParam);
-
- fSearch();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_savrem
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : Remark저장버튼 클릭시
- ****************************************************************************************/
- function group3_btn_savrem_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_savedata_ivlist.copyData(grdf_getGridUpdateData(group3.grd_ivinfo, "all"));
- ds_send_savedata.setColumn(0, "saveflag", "1");
-
- for( var i=0 ; i<ds_send_savedata_ivlist.rowcount ; i++ ){
- if( ds_send_savedata_ivlist.getColumn(i, "chkyn") == "1" ){
- ds_send_savedata_ivlist.setColumn(i, "chkyn", "Y");
- }else{
- ds_send_savedata_ivlist.setColumn(i, "chkyn", "N");
- }
- }
-
- var oParam = {};
- oParam.id = "TXMNW14511";
- oParam.service = "wardcareapp.TranMngt";
- oParam.method = "reqExeBdListInfo";
- oParam.inds = "ivlist=ds_send_savedata_ivlist saveinfo=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW14511";
- tranf_submit(oParam);
-
- fSearch();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 특수주사팀 호출버튼 클릭시
- ****************************************************************************************/
- function group3_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMMNW14570", "SMMNW14570", null, null, 1, 1, 1, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : checkbox1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 값 변경시
- ****************************************************************************************/
- function group3_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value != "Y" ){
- ds_main_cond.setColumn(0, "exceptflag", "");
- }
-
- fSearch();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_cncl
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 취소버튼 클릭시
- ****************************************************************************************/
- function group3_btn_cncl_onclick(obj:Button, e:ClickEventInfo)
- {
- var chkyn;
- var acptflag;
- var chkcnt = 0;
- var cnt = 0;
- var cnclcnt = 0;
- var xIvListPath = ds_main_ivinfo_ivlist;
- var data;
-
- for(var i=0; i <group3.grd_ivinfo.rowcount; i++) {
- chkyn = xIvListPath.getColumn(i, "chkyn");
- acptflag = xIvListPath.getColumn(i, "acptflag");
-
- if(chkyn == "1" && acptflag == "3") {
- cnclcnt++;
- }
-
- if(chkyn == "1" && acptflag == "2" ) {
- chkcnt++;
- }
-
- if(chkyn == "1") {
- cnt++;
- }
-
- // if(model.getValue("/root/main/cond/multicheck") == "true"){
- //
- // data = grd_ivinfo.getupdatedataAll("i")
- //
- // }else if(model.getValue(xIvListPath + "[" + i + "]/chkyn") == "Y"){
- //
- // data = getGridUpdateData(grd_ivinfo);
- //
- // }
- }
-
- data = grdf_getGridUpdateData(group3.grd_ivinfo, "all");
-
- if(cnt == 0) {
- sysf_messageBox("취소 처리할 환자를 선택하여 주십시오.", "I");
- return;
- }
-
- if(cnclcnt >0) {
- sysf_messageBox("이미 취소된 환자는 취소하실 수 없습니다.", "E");
- return;
- }
- if(chkcnt > 0) {
- sysf_messageBox("완료된 환자는 취소하실 수 없습니다.", "E");
- return;
- }
-
- ds_send_savedata_ivlist.copyData(data);
- ds_send_savedata.setColumn(0, "saveflag", "3");
-
- for( var i=0 ; i<ds_send_savedata_ivlist.rowcount ; i++ ){
- if( ds_send_savedata_ivlist.getColumn(i, "chkyn") == "1" ){
- ds_send_savedata_ivlist.setColumn(i, "chkyn", "Y");
- }else{
- ds_send_savedata_ivlist.setColumn(i, "chkyn", "N");
- }
- }
-
- var oParam = {};
- oParam.id = "TXMNW14511";
- oParam.service = "wardcareapp.TranMngt";
- oParam.method = "reqExeBdListInfo";
- oParam.inds = "ivlist=ds_send_savedata_ivlist saveinfo=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW14511";
- tranf_submit(oParam);
-
- fSearch();
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : checkbox2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 값 변경시
- ****************************************************************************************/
- function group3_checkbox2_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value != "Y" ){
- ds_main_cond.setColumn(0, "exceptflag2", "");
- }
-
- fSearch();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_ivinfo
- * Event : onheadclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드헤더 클릭시
- ****************************************************************************************/
- function group3_grd_ivinfo_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.col == 1 ){
- if( obj.getCellProperty("head", e.col, "expr") == "0" ){
- obj.setCellProperty("head", e.col, "expr", "1");
-
- grdf_setGridCheckAll(obj, e);
- }else{
- obj.setCellProperty("head", e.col, "expr", "0");
-
- grdf_setGridCheckAll(obj, e);
- }
- }else{
- grdf_gridSort(group3.grd_ivinfo,e);
- }
- }
- function SMMNW14560_ontimer(obj:Form, e:TimerEventInfo)
- {
- if( e.timerid == 0 ){
- this.killTimer(0);
-
- fSearch();
- }
- }
- function group3_cpt_title_onclick(obj:Static, e:ClickEventInfo)
- {
-
- }
- ]]></Script>
- </Form>
- </FDL>
|