123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO21400" position="absolute 0 0 900 716" titletext="주말/공휴일/출장일 회진 등록" onload="SPMMO21400_onload">
- <Layouts>
- <Layout>
- <Static text="외래 환자별 진료소요시간" position="absolute 0 71 186 92" align="align:center middle;" id="caption2" class="tit_2"/>
- <Grid position="absolute 0 88 900 716" align="align:center middle;" id="grd_holirndlist" binddataset="ds_main_holirndlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="150"/>
- <Column size="90"/>
- <Column size="72"/>
- <Column size="90"/>
- <Column size="120"/>
- <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="전문의"/>
- <Cell col="7" text="회진"/>
- <Cell col="8" text="등록자"/>
- <Cell col="9" text="등록일시"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" displaytype="date" text="bind:indd"/>
- <Cell col="4" displaytype="date" text="bind:rndddopt"/>
- <Cell col="5" text="bind:orddept"/>
- <Cell col="6" text="bind:medispclnm"/>
- <Cell col="7" displaytype="checkbox" edittype="checkbox" text="bind:rgstyn" expr="expr:(rgstyn=="Y"||rgstyn==1)?1:0"/>
- <Cell col="8" text="bind:rgstdrnm"/>
- <Cell col="9" displaytype="normal" text="bind:rgstdt" mask="####-##-## ##:##"/>
- <Cell col="10" text="bind:instcd"/>
- <Cell col="11" text="bind:rnddd"/>
- <Cell col="12" text="bind:cretno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="주말/공휴일/출장일 회진 등록" position="absolute 0 0 213 25" id="caption6" class="tit_1"/>
- <Button position="absolute 812 67 854 86" id="btn_save" class="btn5" text="저장" onclick="btn_save_onclick"/>
- <Button position="absolute 857 67 899 86" id="button1" class="btn5" text="닫기" onclick="button1_onclick"/>
- <Div id="group1" taborder="1" class="div_SA" position="absolute 0 25 900 60">
- <Layouts>
- <Layout>
- <Static id="caption14" text="회 진 일" class="search_name" position="absolute 16 10 92 27" anchor="default"/>
- <Static id="caption26" text="진 료 과" class="search_name" position="absolute 258 10 334 27" anchor="default"/>
- <Static id="caption29" text="전 문 의" class="search_name" position="absolute 563 10 639 27" anchor="default"/>
- <Calendar id="ipt_orddd" taborder="1" class="input" position="absolute 96 9 202 28" anchor="default" onchanged="group1_ipt_orddd_onchanged"/>
- <Shape id="line3" linetype="vertical" position="absolute 807 8 813 29" anchor="default"/>
- <Combo id="cmb_orddept" taborder="2" innerdataset="@ds_init_orddept" codecolumn="deptcd" datacolumn="depthngnm" class="combo_default" position="absolute 337 9 487 28" anchor="default" onitemchanged="group1_cmb_orddept_onitemchanged"/>
- <Button id="btn_req" taborder="3" text="조회" class="btn1" position="absolute 827 7 883 29" anchor="default" onclick="group1_btn_req_onclick"/>
- <Combo id="cmb_medispclid" taborder="4" innerdataset="@ds_init_userlist" codecolumn="userid" datacolumn="usernm" position="absolute 642 9 732 28" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_holirndlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_holirndlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="rndddopt" type="STRING" size="256" sumtext="회진일자_OUTPUT"/>
- <Column id="orddept" type="STRING" size="256" sumtext="진료과"/>
- <Column id="medispclnm" type="STRING" size="256" sumtext="진료의사"/>
- <Column id="rgstyn" type="STRING" size="256" sumtext="진료여부"/>
- <Column id="rgstdrnm" type="STRING" size="256" sumtext="등록자"/>
- <Column id="rgstdt" type="STRING" size="256" sumtext="등록일시"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="rnddd" type="STRING" size="256" sumtext="회진일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- </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="orddd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="medispclid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_userlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="rnddd" type="STRING" size="256" sumtext="회진일자"/>
- <Column id="rgstyn" type="STRING" size="256" sumtext="진료여부"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.ipt_orddd" propid="value" datasetid="ds_main_cond" columnid="orddd"/>
- <BindItem id="item1" compid="group1.cmb_orddept" propid="value" datasetid="ds_main_cond" columnid="orddeptcd"/>
- <BindItem id="item2" compid="group1.cmb_medispclid" propid="value" datasetid="ds_main_cond" columnid="medispclid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-12-31
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-12-31 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "emr_prcpmngtxp::SPMMO21400.xjs"
- include "emr_prcpmngtxp::MMOCommon.xjs"
- include "emr_medirecxp::MMRCommon.xjs"
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMO21400
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면오픈시 폼load이후 실행
- ****************************************************************************************/
- function SPMMO21400_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- fInitialize_SPMMO21400();
- }
- /****************************************************************************************
- * Components : Calendar
- * Components ID : group1.ipt_orddd
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 회진일자 변경시 조회 실행
- ****************************************************************************************/
- function group1_ipt_orddd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("group1.btn_req", "onclick", ev );
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : group1.cmb_orddept
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 진료과 변경시 전문의 재조회
- ****************************************************************************************/
- function group1_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_init_userlist.clear();
- lf_mmbfGetUserComboList(ds_init_userlist,group1.cmb_orddept.value,"0330","","","","","","","");
- if(ds_init_userlist.rowcount > 0) {
- // frmf_addDsItem(ds_init_userlist,"userid","usernm","전체","-"); //의사콤보 전체항목 추가
- frmf_addComboItem("group1.cmb_medispclid");
- } else {
- ds_main_cond.setColumn(0,"medispclid","-");
- }
- group1.cmb_medispclid.index = 0;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group1.btn_req
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회 버튼 실행
- ****************************************************************************************/
- function group1_btn_req_onclick(obj:Button, e:ClickEventInfo)
- {
- fReqHoliRndList();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장 버튼 실행
- ****************************************************************************************/
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fClkBtnHoliRndSave();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 닫기 버튼 실행
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_holirndlist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크 항목 선택시 값 Y/N 전환
- ****************************************************************************************/
- function ds_main_holirndlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="rgstyn") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
-
- var ls_today = "";
-
- if (obj.getColumn(e.row,e.columnid) == "Y")
- {
- ls_today = ds_main_cond.getColumn(0,"orddd");
- }
-
- obj.setColumn(e.row,"rndddopt",ls_today);
- obj.setColumn(e.row,"rnddd",ds_main_cond.getColumn(0,"orddd"));
- }
- }]]></Script>
- </Form>
- </FDL>
|