123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNR01001" position="absolute 0 0 1100 310" titletext="혈액불출 신청" oninit="SMMNR01001_oninit" onload="SMMNR01001_onload" onbeforeclose="SMMNR01001_onbeforeclose">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1080 305" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="혈액불출 신청" position="absolute 5 5 120 21" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 22 905 28" linetype="vertical" id="line1" class="line_1"/>
- <Grid position="absolute 0 25 1075 295" id="grd_execpopwnddetlgruplist" binddataset="ds_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist" autoenter="select" ontextchange="group3_grd_execpopwnddetlgruplist_ontextchange">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="195"/>
- <Column size="84"/>
- <Column size="55"/>
- <Column size="29"/>
- <Column size="29"/>
- <Column size="100"/>
- <Column size="55"/>
- <Column size="150"/>
- <Column size="110"/>
- <Column size="60"/>
- <Column size="100"/>
- <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/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="처방코드"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" text="불출가능수량"/>
- <Cell col="5" text="신청수량"/>
- <Cell col="6" text="Irr"/>
- <Cell col="7" text="Fil"/>
- <Cell col="8" text="예약일자"/>
- <Cell col="9" text="예약시간"/>
- <Cell col="10" text="전달사항"/>
- <Cell col="11" text="간호사 Remark"/>
- <Cell col="12" text="처방의"/>
- <Cell col="13" text="처방일시"/>
- <Cell col="14" text="순번"/>
- <Cell col="15" text="처방번호"/>
- <Cell col="16" text="처방이력번호"/>
- <Cell col="17" text="등록번호"/>
- <Cell col="18" text="불출구분"/>
- <Cell col="19" text="prcpdd2"/>
- <Cell col="20" text="posinstcd"/>
- <Cell col="21" text="wardcd"/>
- <Cell col="22" text="roomcd"/>
- <Cell col="23" text="issdeptcd"/>
- <Cell col="24" text="setrsrvyn"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:stat" combodataset="ds_stat" combocodecol="value" combodatacol="label"/>
- <Cell col="2" text="bind:prcpcd"/>
- <Cell col="3" style="align:left;" text="bind:prcpnm"/>
- <Cell col="4" displaytype="number" text="bind:delivepossno"/>
- <Cell col="5" displaytype="text" edittype="mask" style="align:right;" text="bind:appno" mask="##" maskchar=" " editautoselect="true" editautoskip="true"/>
- <Cell col="6" displaytype="checkbox" edittype="none" style="controlbackground:silver;controlborder:1 solid #808080ff ;" text="bind:irr" enable="false"/>
- <Cell col="7" displaytype="checkbox" edittype="none" style="controlbackground:silver;controlborder:1 solid #808080ff ;" text="bind:fil" enable="false"/>
- <Cell col="8" displaytype="date" edittype="date" text="bind:prcphopedd" calendardisplaynulltype="none"/>
- <Cell col="9" displaytype="normal" edittype="mask" text="bind:prcphopetm" mask="##:##" maskchar=" " editautoselect="true"/>
- <Cell col="10" text="bind:prcpdelivefact"/>
- <Cell col="11" displaytype="text" edittype="text" text="bind:nursrem"/>
- <Cell col="12" text="bind:usernm"/>
- <Cell col="13" text="bind:prcpdd"/>
- <Cell col="14" text="bind:num"/>
- <Cell col="15" text="bind:prcpno"/>
- <Cell col="16" text="bind:prcphistno"/>
- <Cell col="17" text="bind:pid"/>
- <Cell col="18" text="bind:execflag"/>
- <Cell col="19" text="bind:prcpdd2"/>
- <Cell col="20" text="bind:posinstcd"/>
- <Cell col="21" text="bind:wardcd"/>
- <Cell col="22" text="bind:roomcd"/>
- <Cell col="23" text="bind:issdeptcd"/>
- <Cell col="24" text="bind:setrsrvyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1008 3 1072 22" id="button12" class="btn2" text="신청저장" onclick="group3_button12_onclick"/>
- <Div position="absolute 285 80 720 240" id="grp_msg" visible="false">
- <Layouts>
- <Layout>
- <Static position="absolute 10 8 425 128" align="align:center middle;" id="cap_msg" class="cell_1"/>
- <Radio position="absolute 160 106 285 122" id="rdo_msgcnfm" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">예</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">아니오</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button position="absolute 175 133 255 155" id="button1" class="btn1" text="확 인" onclick="group3_grp_msg_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="stat" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="delivepossno" type="STRING"/>
- <Column id="appno" type="STRING"/>
- <Column id="irr" type="STRING"/>
- <Column id="fil" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcphopetm" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="nursrem" type="STRING"/>
- <Column id="usernm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="num" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="execflag" type="STRING"/>
- <Column id="prcpdd2" type="STRING"/>
- <Column id="posinstcd" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="issdeptcd" type="STRING"/>
- <Column id="setrsrvyn" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpddfrom" type="STRING" size="256" sumtext="시행일자시작"/>
- <Column id="prcpddto" type="STRING" size="256" sumtext="시행일자끝"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="queryprcpdd" type="STRING" size="256" sumtext="선택처방일자"/>
- <Column id="queryprcpno" type="STRING" size="256" sumtext="선택처방번호"/>
- <Column id="queryprcphistno" type="STRING" size="256" sumtext="선택처방이력번호"/>
- <Column id="execflag" type="STRING" size="256" sumtext="신청구분"/>
- <Column id="ioparam" type="STRING" size="256" sumtext="외래병동구분"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="stat" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="delivepossno" type="STRING"/>
- <Column id="appno" type="STRING"/>
- <Column id="irr" type="STRING"/>
- <Column id="fil" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcphopetm" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="nursrem" type="STRING"/>
- <Column id="usernm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="num" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="execflag" type="STRING"/>
- <Column id="prcpdd2" type="STRING"/>
- <Column id="posinstcd" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="issdeptcd" type="STRING"/>
- <Column id="setrsrvyn" type="STRING"/>
- </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="ocrprntyn" type="STRING" size="256"/>
- <Column id="ocrtargetyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_ocrprint_calcscor" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="ordtype" type="STRING" size="256"/>
- <Column id="calcscorcd" type="STRING" size="256"/>
- <Column id="disflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_detlgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stat" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="delivepossno" type="STRING"/>
- <Column id="appno" type="STRING"/>
- <Column id="irr" type="STRING"/>
- <Column id="fil" type="STRING"/>
- <Column id="prcphopedd" type="STRING"/>
- <Column id="prcphopetm" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="nursrem" type="STRING"/>
- <Column id="usernm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="num" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="execflag" type="STRING"/>
- <Column id="prcpdd2" type="STRING"/>
- <Column id="posinstcd" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="issdeptcd" type="STRING"/>
- <Column id="setrsrvyn" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_stat" 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">-</Col>
- </Row>
- <Row>
- <Col id="label">신규</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">수정</Col>
- <Col id="value">U</Col>
- </Row>
- <Row>
- <Col id="label">삭제</Col>
- <Col id="value">D</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.grp_msg.rdo_msgcnfm" propid="value" datasetid="ds_main_cond" columnid="ocrprntyn"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_carerecxp -> SMMNR01001
- * Creator : yjh
- * Make Date : 2016-05-02
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-02 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_carerecxp::SMMNR01000.xjs";
- include "emr_carecomxp::CareCom.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var wincloseButton = false;
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNR01001
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMMNR01001_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNR01001
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMMNR01001_onload(obj:Form, e:LoadEventInfo)
- {
- fPopWndInit();//팝업 로딩시 실행
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNR01001
- * Event : onbeforeclose
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 닫기전
- ****************************************************************************************/
- function SMMNR01001_onbeforeclose(obj:Form, e:CloseEventInfo)
- {
- if( !wincloseButton ){
- opener.frmf_setParameter("returnnull","close");
- } else {
- opener.frmf_setParameter("returnnull","confirmbutton");
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- fChangedGridCol();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button12
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 신청저장버튼 클릭시
- ****************************************************************************************/
- function group3_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- wincloseButton = true ;
- fPopWndSave();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인버튼 클릭시
- ****************************************************************************************/
- function group3_grp_msg_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fPopWndOcrCnfm();
- }
- function group3_grd_execpopwnddetlgruplist_ontextchange(obj:Grid, e:GridEditTextChangeEventInfo)
- {
- if( e.col == 9 ){
- grdf_validGridTime(obj, e);
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|