123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLBP01610" position="absolute 0 0 1149 751" titletext="혈소판 필터 환자별 불출내역조회" oninit="SMLBP01610_oninit" onload="SMLBP01610_onload">
- <Layouts>
- <Layout>
- <Tab position="absolute 5 97 1144 750" id="switch1">
- <Tabpages>
- <Tabpage text="상세" position="absolute 0 0 1179 710" id="case1">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1134 625" id="grd_delive" binddataset="ds_grd_delive" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="34"/>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="74"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="150"/>
- <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 text="상태"/>
- <Cell col="1" text="혈액번호"/>
- <Cell col="2" text="seq"/>
- <Cell col="3" text="혈액형"/>
- <Cell col="4" text="성분제제"/>
- <Cell col="5" displaytype="number"/>
- <Cell col="6" text="Irr"/>
- <Cell col="7" text="환자명"/>
- <Cell col="8" text="등록번호"/>
- <Cell col="9" text="처방일"/>
- <Cell col="10" text="처방부서"/>
- <Cell col="11" text="처방의"/>
- <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="실온 Saline"/>
- <Cell col="19" text="37˚c ALB/LISS"/>
- <Cell col="20" text="Coombs"/>
- <Cell col="21" text="Special"/>
- <Cell col="22" text="4˚c Saline"/>
- <Cell col="23" text="Enzyme"/>
- <Cell col="24" text="불출일자"/>
- <Cell col="25" text="준비일자"/>
- <Cell col="26" text="검사일자"/>
- <Cell col="27" text="유효일자"/>
- <Cell col="28" text="반환,폐기"/>
- <Cell col="29" text="반환,폐기일"/>
- <Cell col="30" text="지정Donor"/>
- <Cell col="31" text="Filter"/>
- <Cell col="32" text="수혈시작시간"/>
- <Cell col="33" text="수혈부작용"/>
- <Cell col="34" text="수혈부서"/>
- <Cell col="35" text="Comment"/>
- </Band>
- <Band id="body">
- <Cell text="bind:blodcomstat"/>
- <Cell col="1" text="bind:blodno"/>
- <Cell col="2" text="bind:prepblodseqno"/>
- <Cell col="3" text="bind:btype"/>
- <Cell col="4" text="bind:blodcomnm"/>
- <Cell col="5" displaytype="normal" expr="expr:currow+1"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:iryn"/>
- <Cell col="7" text="bind:patnm"/>
- <Cell col="8" style="background: ;" text="bind:pid"/>
- <Cell col="9" text="bind:prcpdd"/>
- <Cell col="10" text="bind:dept"/>
- <Cell col="11" text="bind:orddrnm"/>
- <Cell col="12" text="bind:wardroom"/>
- <Cell col="13" text="bind:prepid"/>
- <Cell col="14" text="bind:cmid"/>
- <Cell col="15" text="bind:deliveid"/>
- <Cell col="16" text="bind:acptid"/>
- <Cell col="17" displaytype="combo" edittype="combo" text="bind:rslt" enable="false"/>
- <Cell col="18" text="bind:cmrslt01"/>
- <Cell col="19" text="bind:cmrslt02"/>
- <Cell col="20" text="bind:cmrslt03"/>
- <Cell col="21" text="bind:cmrslt04"/>
- <Cell col="22" text="bind:cmrslt05"/>
- <Cell col="23" text="bind:cmrslt06"/>
- <Cell col="24" displaytype="date" edittype="none" text="bind:delivedt" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="25" text="bind:prepdt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="26" text="bind:testdt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="27" text="bind:validt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="28" text="bind:rtnabn"/>
- <Cell col="29" text="bind:rtnabndt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="30" text="bind:dnornm"/>
- <Cell col="31" text="bind:filteryn"/>
- <Cell col="32" text="bind:tnsstrddtm" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="33" text="bind:tnssideeffect"/>
- <Cell col="34" text="bind:cmt"/>
- <Cell col="35"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="총계" id="case2">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1125 600" align="align:center middle;" id="grd_stsList" binddataset="ds_grd_stsList">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="60"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="부서명"/>
- <Cell col="1" text="일자"/>
- <Cell col="2" text="Total"/>
- <Cell col="3" text="1"/>
- <Cell col="4" text="2"/>
- <Cell col="5" text="3"/>
- <Cell col="6" text="4"/>
- <Cell col="7" text="5"/>
- <Cell col="8" text="6"/>
- <Cell col="9" text="7"/>
- <Cell col="10" text="8"/>
- <Cell col="11" text="9"/>
- <Cell col="12" text="10"/>
- <Cell col="13" text="11"/>
- <Cell col="14" text="12"/>
- <Cell col="15" text="13"/>
- <Cell col="16" text="14"/>
- <Cell col="17" text="15"/>
- <Cell col="18" text="16"/>
- <Cell col="19" text="17"/>
- <Cell col="20" text="18"/>
- <Cell col="21" text="19"/>
- <Cell col="22" text="20"/>
- <Cell col="23" text="21"/>
- <Cell col="24" text="22"/>
- <Cell col="25" text="23"/>
- <Cell col="26" text="24"/>
- <Cell col="27" text="25"/>
- <Cell col="28" text="26"/>
- <Cell col="29" text="27"/>
- <Cell col="30" text="28"/>
- <Cell col="31" text="29"/>
- <Cell col="32" text="30"/>
- <Cell col="33" text="31"/>
- </Band>
- <Band id="body">
- <Cell text="bind:stsnm2"/>
- <Cell col="1" text="bind:stsnm"/>
- <Cell col="2" text="bind:total" mask="#,###.#"/>
- <Cell col="3" text="bind:d01"/>
- <Cell col="4" text="bind:d02"/>
- <Cell col="5" text="bind:d03"/>
- <Cell col="6" text="bind:d04"/>
- <Cell col="7" text="bind:d05"/>
- <Cell col="8" text="bind:d06"/>
- <Cell col="9" text="bind:d07"/>
- <Cell col="10" text="bind:d08"/>
- <Cell col="11" text="bind:d09"/>
- <Cell col="12" text="bind:d10"/>
- <Cell col="13" text="bind:d11"/>
- <Cell col="14" text="bind:d12"/>
- <Cell col="15" text="bind:d13"/>
- <Cell col="16" text="bind:d14"/>
- <Cell col="17" text="bind:d15"/>
- <Cell col="18" text="bind:d16"/>
- <Cell col="19" text="bind:d17"/>
- <Cell col="20" text="bind:d18"/>
- <Cell col="21" text="bind:d19"/>
- <Cell col="22" text="bind:d20"/>
- <Cell col="23" text="bind:d21"/>
- <Cell col="24" text="bind:d22"/>
- <Cell col="25" text="bind:d23"/>
- <Cell col="26" text="bind:d24"/>
- <Cell col="27" text="bind:d25"/>
- <Cell col="28" text="bind:d26"/>
- <Cell col="29" text="bind:d27"/>
- <Cell col="30" text="bind:d28"/>
- <Cell col="31" text="bind:d29"/>
- <Cell col="32" text="bind:d30"/>
- <Cell col="33" text="bind:d31"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div id="group2" taborder="1" position="absolute 0 25 1145 80" class="div_SA">
- <Layouts>
- <Layout>
- <Calendar id="input1" taborder="1" class="input_s_essential" position="absolute 107 18 207 37" mask="yyyy-mm-dd" anchor="left top"/>
- <Button id="btn_sea" taborder="2" text="조회" class="btn1" position="absolute 978 18 1034 40" onclick="group2_btn_sea_onclick" anchor="left top"/>
- <Static id="caption9" text="조회일자 :" class="search_name" position="absolute 15 19 101 36" anchor="left top"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 480 10 486 52" anchor="left top"/>
- <Calendar id="input2" taborder="3" class="input_s_essential" position="absolute 299 18 399 37" anchor="left top"/>
- <Static id="caption13" text="~" class="search_no_b" position="absolute 275 19 290 36" anchor="left top"/>
- <MaskEdit id="input6" taborder="8" mask="##:##" position="absolute 405 18 455 37" type="string" anchor="left top"/>
- <MaskEdit id="input3" taborder="11" mask="##:##" position="absolute 212 18 262 37" type="string" anchor="left top"/>
- <Button id="btn_cle" taborder="12" text="초기화" class="btn4" position="absolute 1058 18 1126 40" onclick="group2_btn_cle_onclick" anchor="left top"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption5" text="혈소판 필터 불출내역 조회" class="tit_1" position="absolute 0 0 193 25"/>
- <Button id="button51" taborder="2" text="엑셀" onclick="group2_button51_onclick" class="btn7" position="absolute 1088 90 1140 112" anchor="left top"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_delive" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="blodcomstat" type="STRING"/>
- <Column id="blodno" type="STRING"/>
- <Column id="prepblodseqno" type="STRING"/>
- <Column id="btype" type="STRING"/>
- <Column id="blodcomnm" type="STRING"/>
- <Column id="iryn" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="dept" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="wardroom" type="STRING"/>
- <Column id="prepid" type="STRING"/>
- <Column id="cmid" type="STRING"/>
- <Column id="deliveid" type="STRING"/>
- <Column id="acptid" type="STRING"/>
- <Column id="rslt" type="STRING"/>
- <Column id="cmrslt01" type="STRING"/>
- <Column id="cmrslt02" type="STRING"/>
- <Column id="cmrslt03" type="STRING"/>
- <Column id="cmrslt04" type="STRING"/>
- <Column id="cmrslt05" type="STRING"/>
- <Column id="cmrslt06" type="STRING"/>
- <Column id="delivedt" type="STRING"/>
- <Column id="prepdt" type="STRING"/>
- <Column id="testdt" type="STRING"/>
- <Column id="validt" type="STRING"/>
- <Column id="rtnabn" type="STRING"/>
- <Column id="rtnabndt" type="STRING"/>
- <Column id="dnornm" type="STRING"/>
- <Column id="filteryn" type="STRING"/>
- <Column id="tnsstrddtm" type="STRING"/>
- <Column id="tnssideeffect" type="STRING"/>
- <Column id="cmt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_stsList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stsnm2" type="STRING"/>
- <Column id="stsnm" type="STRING"/>
- <Column id="total" type="STRING"/>
- <Column id="d01" type="STRING"/>
- <Column id="d02" type="STRING"/>
- <Column id="d03" type="STRING"/>
- <Column id="d04" type="STRING"/>
- <Column id="d05" type="STRING"/>
- <Column id="d06" type="STRING"/>
- <Column id="d07" type="STRING"/>
- <Column id="d08" type="STRING"/>
- <Column id="d09" type="STRING"/>
- <Column id="d10" type="STRING"/>
- <Column id="d11" type="STRING"/>
- <Column id="d12" type="STRING"/>
- <Column id="d13" type="STRING"/>
- <Column id="d14" type="STRING"/>
- <Column id="d15" type="STRING"/>
- <Column id="d16" type="STRING"/>
- <Column id="d17" type="STRING"/>
- <Column id="d18" type="STRING"/>
- <Column id="d19" type="STRING"/>
- <Column id="d20" type="STRING"/>
- <Column id="d21" type="STRING"/>
- <Column id="d22" type="STRING"/>
- <Column id="d23" type="STRING"/>
- <Column id="d24" type="STRING"/>
- <Column id="d25" type="STRING"/>
- <Column id="d26" type="STRING"/>
- <Column id="d27" type="STRING"/>
- <Column id="d28" type="STRING"/>
- <Column id="d29" type="STRING"/>
- <Column id="d30" type="STRING"/>
- <Column id="d31" type="STRING"/>
- </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="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="fromtm" type="STRING" size="256"/>
- <Column id="totm" type="STRING" size="256"/>
- <Column id="blodcomcd" type="STRING" size="256"/>
- <Column id="btype" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="blodno" type="STRING" size="256"/>
- <Column id="cnt" type="STRING" size="256"/>
- <Column id="stsfromdd" type="STRING" size="256"/>
- <Column id="ststodd" type="STRING" size="256"/>
- <Column id="iryn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="fromtm" type="STRING" size="256"/>
- <Column id="totm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="blodcomcd" type="STRING" size="256"/>
- <Column id="btype" type="STRING" size="256"/>
- <Column id="return" type="STRING" size="256"/>
- <Column id="blodno" type="STRING" size="256"/>
- <Column id="prcCnt" type="STRING" size="256"/>
- <Column id="iryn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="blodcomcd">00</Col>
- <Col id="btype">00</Col>
- <Col id="prcCnt">3</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item1" compid="group2.input3" propid="value" datasetid="ds_send" columnid="fromtm"/>
- <BindItem id="item3" compid="group2.input6" propid="value" datasetid="ds_send" columnid="totm"/>
- </Bind>
- <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";
- include "lis_commonxp::LLZ001.xjs";
- function SMLBP01610_oninit(obj:Form, e:InitEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- }
- function SMLBP01610_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.case1.grd_delive);
- grdf_initGrid(switch1.case2.grd_stsList);
-
- group2.input1.value = utlf_getCurrentDate();
- group2.input2.value = utlf_getCurrentDate();
-
- group2.input3.value = "0000";
- group2.input6.value = "2359";
- }
- function fGetPidDelive()
- {
- if(switch1.tabindex == 0)
- {
-
- ds_send.setColumn(0, "fromdd", group2.input1.value);
- ds_send.setColumn(0, "todd", group2.input2.value);
- ds_send.setColumn(0, "fromtm", group2.input3.value);
- ds_send.setColumn(0, "totm", group2.input6.value);
-
- ds_send.setColumn(0, "iryn", ds_hidden_ref.getColumn(0, "iryn"));
- ds_send.setColumn(0, "blodcomcd", ds_hidden_ref.getColumn(0, "blodcomcd"));
- ds_send.setColumn(0, "btype", ds_hidden_ref.getColumn(0, "btype"));
- ds_send.setColumn(0, "pid", ds_hidden_ref.getColumn(0, "pid"));
- ds_send.setColumn(0, "blodno", ds_hidden_ref.getColumn(0, "blodno"));
-
- var cnt = 0;
- if(!utlf_isNull(cnt))
- ds_send.setColumn(0, "cnt", cnt);
-
- var oParam = {};
- oParam.id = "TRLBP01601";
- oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
- oParam.method = "reqGetPidDeliveList2";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_grd_delive=getPidDeliveList";
- oParam.async = false;
- //oParam.callback = "cf_TRLBP01601";
- tranf_submit(oParam);
-
- // 반환 노란색으로
- if(switch1.case1.grd_delive.rowcount > 0 )
- {
- // grdf_setRowStyle(switch1.case1.grd_delive, "6^0^0^0", "혈액반환^수혈접수^혈액준비^불출대기", "blodcomstat", "equal");
- }
- }
- else
- {
- ds_send.setColumn(0, "stsfromdd", group2.input1.value);
- ds_send.setColumn(0, "ststodd", group2.input2.value);
- var oParam = {};
- oParam.id = "TRLLS00103";
- oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
- oParam.method = "reqGetOutBcollStsf";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_grd_stsList=stslist";
- oParam.async = false;
- //oParam.callback = "cf_TRLLS00103";
- tranf_submit(oParam);
- }
- }
- //조회
- function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetPidDelive();
- }
- //엑셀
- function group2_button51_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(switch1.case1.grd_delive, lf_lisGetTitle(this), "see");
- }
- //초기화
- function group2_btn_cle_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- ]]></Script>
- </Form>
- </FDL>
|