123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPLNP90100" position="absolute 0 0 800 236" titletext="미접수검체목록" oninit="SPLNP90100_oninit" onload="SPLNP90100_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" text="미접수검체목록" class="tit_2" position="absolute 0 0 116 22"/>
- <Grid id="grd_detllist" taborder="1" binddataset="ds_main_nacptlist" useinputpanel="false" position="absolute 0 21 799 211" cellsizingtype="col" onrbuttondown="grd_detllist_onrbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="60"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="160"/>
- <Column size="70"/>
- <Column size="78"/>
- <Column size="110"/>
- <Column size="110"/>
- <Column size="70"/>
- <Column size="75"/>
- <Column size="70"/>
- </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" text="진료과"/>
- <Cell col="11" text="병동/병실"/>
- <Cell col="12" text="채혈자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:flg"/>
- <Cell col="2" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:bcno"/>
- <Cell col="3" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:pid"/>
- <Cell col="4" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:patnm"/>
- <Cell col="5" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:tclsnm"/>
- <Cell col="6" displaytype="date" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:prcpdd"/>
- <Cell col="7" displaytype="date" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:apptdate" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="8" displaytype="date" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:bcolldt" mask="yyyy-MM-dd HH:mm" suppressalign="first"/>
- <Cell col="9" displaytype="date" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:spcacptdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="10" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:orddeptnm"/>
- <Cell col="11" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:wardroom"/>
- <Cell col="12" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:bcollid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_10" position="absolute 0 16 800 22"/>
- <Button id="btn_cfm" taborder="2" text="닫기" class="btn4" position="absolute 744 213 800 235" onclick="btn_cfm_onclick"/>
- <Button id="button11" taborder="3" text="출력" class="btn6" position="absolute 0 213 56 235" onclick="button11_onclick"/>
- <Div id="div_info" anchor="left bottom" taborder="4" style="border:1 solid #3366ffff ;bordertype:round 6 6 ;" position="absolute 564 213 728 235">
- <Layouts>
- <Layout>
- <Shape id="Shape00" type="rectangle" position="absolute 12 2 42 18" style="strokepen:1 solid #000000ff;fillbrush:solid #ffff99ff true;" anchor="default"/>
- <Static id="Static00" text="다음예약 인접환자" position="absolute 47 2 155 18" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <PopupMenu id="pmn_menu" innerdataset="@ds_menu" idcolumn="hardcd" captioncolumn="hardcdnm" levelcolumn="level" onmenuclick="pmn_menu_onmenuclick" position="absolute 824 10 996 32"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_nacptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flg" type="STRING" size="256" sumtext="검체번호"/>
- <Column id="bcno" type="STRING" size="256" sumtext="검체번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="tclsnm" type="STRING" size="256" sumtext="검사명"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="apptdate" type="STRING" size="256" sumtext="진료일"/>
- <Column id="bcolldt" type="STRING" size="256" sumtext="채취일시"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="wardroom" type="STRING" size="256" sumtext="병동병실"/>
- <Column id="bcollid" type="STRING" size="256" sumtext="의뢰의사명"/>
- <Column id="spcacptdt" type="STRING" size="256" sumtext="접수일시"/>
- <Column id="color" type="STRING" size="256" sumtext="접수일시"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptfromdd" type="STRING" size="256"/>
- <Column id="acpttodd" type="STRING" size="256"/>
- <Column id="tclscd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="acptfromdd"/>
- <Col id="acpttodd"/>
- <Col id="tclscd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hardcd" type="STRING" size="256"/>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcd">fCallPatRsrvInfo</Col>
- <Col id="hardcdnm">개인별예약조회</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SPLNP90100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPLNP90100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_detllist);
-
- fgetnacptlist();
- }
- function fgetnacptlist()
- {
- ds_main_nacptlist.clearData();
- ds_hidden_ref.copyData(arg_ds_hidden_ref)
- ds_send.setColumn(0, "acptfromdd", ds_hidden_ref.getColumn(0, "acptfromdd"))
- ds_send.setColumn(0, "acpttodd", ds_hidden_ref.getColumn(0, "acpttodd"))
- ds_send.setColumn(0, "tclscd", ds_hidden_ref.getColumn(0, "tclscd"))
-
- var oParam = {};
- oParam.id = "TRLNP90101";
- oParam.service = "refprintmngtapp.NmedRefPrintMngt";
- oParam.method = "reqGetNAcptList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_nacptlist=getNAcptList";
- oParam.async = false;
- //oParam.callback = "cf_TRLNP90101";
- tranf_submit(oParam);
- }
- function button11_onclick(obj:Button, e:ClickEventInfo)
- {
- fReportPrint();
- }
- function fReportPrint()
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/main/nacptlist", ds_main_nacptlist);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- //trace(objDOM.documentElement.source);
- var option = "";
- rptf_exeReportPreview30(["RPLNP90100"],[objParam], option);
- }
- function btn_cfm_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function fChngGrdCellColor(color){
- if(color == undefined || color == "" || color == "ffffff")
- color = "default";
- else
- color = "#" + color;
-
- return color;
- }
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function grd_detllist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0) return;
-
- grdf_setSelectedCell(obj, e);
-
- if(ds_menu.rowcount > 0)
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
- function fCallPatRsrvInfo() {
- var nRow = ds_main_nacptlist.rowposition;
- var sPid = ds_main_nacptlist.getColumn(nRow, "pid");
-
- if(!utlf_isNull(sPid)) {
- curPatRsrvObj = frmf_findPopup("SMAEA04100"); //활성화된 화면 object loading
- if(!utlf_isNull(curPatRsrvObj)){
- curPatRsrvObj.ds_send.setColumn(0, "srchpid", sPid );
- curPatRsrvObj.group3.grp_sea.btn_sea.click();
- } else {
- var mainObj = frmf_getMainViewer();
-
- dsf_createDsRow("ds_temp_source", [{col:"srchpid", type:"string", size:256, val:sPid}]);
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_temp_source;
- mainObj.frmf_open("SMAEA04100", "SMAEA04100", objArg, null, null, null, null, null, null, null, null, null, "M");
- }
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|