123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNW15200" position="absolute 0 0 884 439" titletext="검사 처방 조회" oninit="SPMNW15200_oninit" onload="SPMNW15200_onload">
- <Layouts>
- <Layout>
- <CheckBox position="absolute 9 36 29 56" id="bool1" taborder="19"/>
- <Button position="absolute 820 405 876 427" id="btn_cancel" class="btn4" text="확인" onclick="btn_cancel_onclick"/>
- <Static text="검사 처방 조회" position="absolute 5 11 216 29" id="caption21" class="tit_2"/>
- <Shape position="absolute 5 27 880 35" linetype="horizontal" id="line16" class="line_10"/>
- <Shape position="absolute 5 428 880 434" linetype="horizontal" id="line2" class="line_3"/>
- <Button position="absolute 760 405 816 427" id="button1" class="btn4" text="닫기" onclick="button1_onclick"/>
- <Grid id="grd_examprcplist" class="datagrid2" taborder="20" binddataset="ds_main_examprcpinfo_examprcplist" useinputpanel="false" position="absolute 5 33 880 400">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="55"/>
- <Column size="56"/>
- <Column size="57"/>
- <Column size="71"/>
- <Column size="39"/>
- <Column size="101"/>
- <Column size="97"/>
- <Column size="133"/>
- <Column size="130"/>
- <Column size="66"/>
- <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"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="병동"/>
- <Cell col="3" text="병실"/>
- <Cell col="4" text="환자명"/>
- <Cell col="5" text="S/A"/>
- <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"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:wardnm"/>
- <Cell col="3" text="bind:roomcd"/>
- <Cell col="4" text="bind:patnm"/>
- <Cell col="5" text="bind:sexage"/>
- <Cell col="6" displaytype="text" text="bind:rsrvdt" mask="####-##-## ##:##"/>
- <Cell col="7" text="bind:examroom"/>
- <Cell col="8" text="bind:prcpnm"/>
- <Cell col="9" text="bind:prcpdelivefact"/>
- <Cell col="10" text="bind:execdd" mask="yyyy-mm-dd"/>
- <Cell col="11" text="bind:prcpexecdeptnm"/>
- <Cell col="12" text="bind:instcd"/>
- <Cell col="13" text="bind:indd"/>
- <Cell col="14" text="bind:cretno"/>
- <Cell col="15" text="bind:prcpdd"/>
- <Cell col="16" text="bind:prcpno"/>
- <Cell col="17" text="bind:prcphistno"/>
- <Cell col="18" text="bind:prcpclscd"/>
- <Cell col="19" text="bind:rsrvdd"/>
- <Cell col="20" text="bind:rsrvtm"/>
- <Cell col="21" text="bind:sex"/>
- <Cell col="22" text="bind:age"/>
- <Cell col="23" text="bind:brthdd"/>
- <Cell col="24" text="bind:wardcd"/>
- <Cell col="25" text="bind:prcpexecdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_examprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="wardnm" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="sexage" type="STRING"/>
- <Column id="rsrvdt" type="STRING"/>
- <Column id="examroom" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="prcpexecdeptnm" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="rsrvtm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="brthdd" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="prcpexecdeptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_examprcpinfo_examprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="선택"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sexage" type="STRING" size="256" sumtext="성별나이"/>
- <Column id="rsrvdt" type="STRING" size="256" sumtext="예약일시"/>
- <Column id="examroom" type="STRING" size="256" sumtext="검사실"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="prcpdelivefact" type="STRING" size="256" sumtext="처방전달사항"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="prcpno" type="STRING" size="256" sumtext="처방일자별 일련번호"/>
- <Column id="prcphistno" type="STRING" size="256" sumtext="처방이력발생할때마다생성"/>
- <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류코드"/>
- <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="지원부서코드"/>
- <Column id="prcpexecdeptnm" type="STRING" size="256" sumtext="지원부서명"/>
- <Column id="execdd" type="STRING" size="256" sumtext="처방실시일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_tmp_examtrnslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="선택"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sexage" type="STRING" size="256" sumtext="성별나이"/>
- <Column id="rsrvdt" type="STRING" size="256" sumtext="예약일시"/>
- <Column id="examroom" type="STRING" size="256" sumtext="검사실"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="prcpdelivefact" type="STRING" size="256" sumtext="처방전달사항"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="prcpno" type="STRING" size="256" sumtext="처방일자별 일련번호"/>
- <Column id="prcphistno" type="STRING" size="256" sumtext="처방이력발생할때마다생성"/>
- <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류코드"/>
- <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="지원부서코드"/>
- <Column id="prcpexecdeptnm" type="STRING" size="256" sumtext="지원부서명"/>
- <Column id="execdd" type="STRING" size="256" sumtext="처방실시일자"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-11-17
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-11-17 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SPMNW15200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
-
- }
- function SPMNW15200_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_examprcplist);
- if(frmf_checkOpener() ) {
-
- pid = opener.frmf_getParameter("SMMNW15100_PARAM1");
- dsf_makeValue(ds_send_req, "pid", "string", pid);
-
- var oParam = {};
- oParam.id = "TRMNW15200";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetExamPrcpList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_main_examprcpinfo_examprcplist=examprcplist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNW15200";
- tranf_submit(oParam);
-
- dsf_setFixVal(ds_main_examprcpinfo_examprcplist, "check:0");
- }
- }
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = 0;
- var chkyn = "";
-
- for(var i=0; i < ds_main_examprcpinfo_examprcplist.rowcount; i++) {
- chkyn = ds_main_examprcpinfo_examprcplist.getColumn(i, "check");
-
- if(chkyn == "true" || chkyn == "1") {
- cnt = ds_tmp_examtrnslist.addRow();
- ds_tmp_examtrnslist.copyRow(cnt, ds_main_examprcpinfo_examprcplist, i);
- }
- }
-
- if(cnt == 0){
- sysf_messageBox("선택된 내역이 없습니다.", "I");
- return;
- }else if(cnt != 0){
- //model.copyNode(opener.root.tmp, root.tmp);
- opener.ds_tmp_examtrnslist.copyData(ds_tmp_examtrnslist);
- }
- ds_tmp_examtrnslist.clearData();
- this.close();
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|