123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPMI01800" position="absolute 0 0 997 350" titletext="병실환자정보" oninit="SPPMI01800_oninit" onload="SPPMI01800_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 992 316" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 992 40" align="align:center top;" id="group2" class="div_SA2">
- <Layouts>
- <Layout>
- <Static text="검색조건 :" position="absolute 15 10 101 27" id="caption2" class="search_name"/>
- <Button position="absolute 925 9 981 31" id="btn_search" class="btn1" text="조회" onclick="group3_group2_btn_search_onclick"/>
- <Shape position="absolute 906 9 912 31" linetype="vertical" id="line13" class="line_4"/>
- <Combo position="absolute 101 10 181 29" id="combo1" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="group3_group2_combo1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">병실</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit position="absolute 184 10 284 29" id="input3" class="input_search" onkeyup="group3_group2_input3_onkeyup"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="병실환자정보" position="absolute 0 44 103 66" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 60 992 66" linetype="horizontal" id="line1" class="line_10"/>
- <Grid position="absolute 0 65 992 315" id="datagrid1" class="datagrid2" binddataset="ds_datagrid1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="57"/>
- <Column size="79"/>
- <Column size="90"/>
- <Column size="30"/>
- <Column size="86"/>
- <Column size="83"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="55"/>
- <Column size="80"/>
- <Column size="45"/>
- <Column size="65"/>
- <Column size="80"/>
- <Column size="81"/>
- <Column size="100"/>
- <Column size="112"/>
- <Column size="90"/>
- <Column size="83"/>
- <Column size="116"/>
- <Column size="90"/>
- <Column size="121"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="상태"/>
- <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="이실병동"/>
- <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="보험유형"/>
- <Cell col="20" text="보험보조유형"/>
- <Cell col="21" text="할인계정"/>
- <Cell col="22" text="연구용"/>
- <Cell col="23" text="주민번호"/>
- <Cell col="24" text="생년월일"/>
- <Cell col="25" text="최초접수자"/>
- <Cell col="26" text="최초접수일시"/>
- <Cell col="27" text="최종수정담당자"/>
- <Cell col="28" text="최종수정일시"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="none" text="bind:stat" combodataset="ds_cmb_stat" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="1" displaytype="combo" edittype="none" text="bind:inpath" combodataset="ds_P0002list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="2" edittype="none" text="bind:pid"/>
- <Cell col="3" edittype="none" text="bind:hngnm"/>
- <Cell col="4" edittype="none" text="bind:sex"/>
- <Cell col="5" edittype="none" text="bind:orddeptcd"/>
- <Cell col="6" edittype="none" text="bind:medispclid"/>
- <Cell col="7" displaytype="combo" edittype="none" text="bind:wardcd" combodataset="ds_wardcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="8" displaytype="combo" edittype="none" text="bind:roomcd" combodataset="ds_roomcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="9" edittype="none" text="bind:roomtelno"/>
- <Cell col="10" displaytype="combo" edittype="none" text="bind:roomgrdecd" combodataset="ds_roomgrdecd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="11" displaytype="combo" edittype="none" text="bind:roomtypecd" combodataset="ds_roomtypecd" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="12" displaytype="combo" edittype="none" text="bind:chngwardcd" combodataset="ds_wardcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="13" displaytype="combo" edittype="none" text="bind:chngroomcd" combodataset="ds_roomcd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="14" displaytype="combo" edittype="none" text="bind:chngroomgrde" combodataset="ds_P0025list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="15" displaytype="combo" edittype="none" text="bind:chngroomtype" combodataset="ds_P0026list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="16" displaytype="combo" edittype="none" text="bind:mskind" combodataset="ds_P0006list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="17" edittype="none" text="bind:indd" mask="####-##-##"/>
- <Cell col="18" edittype="none" text="bind:intm" mask="##:##"/>
- <Cell col="19" displaytype="combo" edittype="none" text="bind:insukind" combodataset="ds_insukind" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="20" displaytype="combo" edittype="none" text="bind:suppkind" combodataset="ds_suppkind" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="21" displaytype="combo" edittype="none" text="bind:disccd" combodataset="ds_disccd" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="22" edittype="none" text="bind:clincstdycd"/>
- <Cell col="23" edittype="none" text="bind:rrgstno" mask="999999-9999999"/>
- <Cell col="24" edittype="none" text="bind:brthdd" mask="####-##-# #"/>
- <Cell col="25" edittype="none" text="bind:fstrgstrid"/>
- <Cell col="26" edittype="none" text="bind:fstrgstdt" mask="####-##-## ##:##:##"/>
- <Cell col="27" edittype="none" text="bind:lastupdtrid"/>
- <Cell col="28" edittype="none" text="bind:lastupdtdt" mask="####-##-## ##:##:##"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 1 316 993 345" id="group1" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 871 5 927 27" id="btn_confirm" class="btn4" text="확인" onclick="group1_btn_confirm_onclick" anchor="default"/>
- <Button position="absolute 930 5 986 27" id="btn_cancel" class="btn4" text="취소" onclick="group1_btn_cancel_onclick" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="stat" type="STRING" size="256" sumtext="상태1"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="주민등록번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자 등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원 일자"/>
- <Column id="intm" type="STRING" size="256" sumtext="입원 시간"/>
- <Column id="cretno" type="STRING" size="256" sumtext="환자 일자별 일련번호"/>
- <Column id="seqno" type="STRING" size="256" sumtext="이력 일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="병원기관코드"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력 상태"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
- <Column id="insukind" type="STRING" size="256" sumtext="환자의 보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="환자의 보조유형"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 코드"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="담당교수 ID"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의 ID"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택 진료 여부"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동 코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실 코드"/>
- <Column id="roomgrdecd" type="STRING" size="256" sumtext="병실등급 코드"/>
- <Column id="roomtypecd" type="STRING" size="256" sumtext="병실형태 코드"/>
- <Column id="chngwardcd" type="STRING" size="256" sumtext="이실병동 코드"/>
- <Column id="chngroomcd" type="STRING" size="256" sumtext="이실병실 코드"/>
- <Column id="chngroomgrde" type="STRING" size="256" sumtext="이실병실등급 코드"/>
- <Column id="chngroomtype" type="STRING" size="256" sumtext="이실병실형태 코드"/>
- <Column id="clincstdyyn" type="STRING" size="256" sumtext="임상연구여부"/>
- <Column id="clincstdycd" type="STRING" size="256" sumtext="임상연구 코드"/>
- <Column id="dschdclrtyn" type="STRING" size="256" sumtext="퇴원예고 여부"/>
- <Column id="dschdclrdt" type="STRING" size="256" sumtext="퇴원예고 일시"/>
- <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보 여부"/>
- <Column id="dschnotidt" type="STRING" size="256" sumtext="퇴원통보 일시"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자 ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자 ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="inpath" type="STRING" size="256" sumtext="입원경로"/>
- <Column id="disccd" type="STRING" size="256" sumtext="할인계정"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="roomtelno" type="STRING" size="256" sumtext="병실전화번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="srchcond" type="STRING" size="256"/>
- </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="ipatflag" type="STRING" size="256" sumtext="재원상태"/>
- <Column id="srchcond1" type="STRING" size="256" sumtext="검색조건1"/>
- <Column id="srchcond2" type="STRING" size="256" sumtext="검색조건2"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ipatflag">1</Col>
- <Col id="srchcond1">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_stat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">재원</Col>
- <Col id="cdid">0</Col>
- </Row>
- <Row>
- <Col id="cdnm">퇴원예고</Col>
- <Col id="cdid">1</Col>
- </Row>
- <Row>
- <Col id="cdnm">이실신청</Col>
- <Col id="cdid">2</Col>
- </Row>
- <Row>
- <Col id="cdnm">입원예약</Col>
- <Col id="cdid">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_disccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_bedcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_roomgrdecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_roomtypecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_P0002list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_P0006list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_P0026list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_P0025list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group2.combo1" propid="value" datasetid="ds_send" columnid="srchcond1"/>
- <BindItem id="item1" compid="group3.group2.input3" propid="value" datasetid="ds_send" columnid="srchcond2"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-10-27
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-10-27 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs"
- function SPPMI01800_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPPMI01800_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(group3.datagrid1);
- group3.group2.input3.setFocus();
- var arrParam = new Array();
- arrParam = [{dsNm: "ds_P0006list", cdGrpId: "P0006", showValue: false}
- , {dsNm: "ds_P0025list", cdGrpId: "P0025", showValue: false}
- , {dsNm: "ds_P0026list", cdGrpId: "P0026", showValue: false}
- {dsNm: "ds_P0002list", cdGrpId: "P0002", showValue: false}];
- appf_getCodeList(arrParam, true); //비동기
-
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_disccd=disccd ds_insukind=insukind ds_suppkind=suppkind ds_orddeptcd=orddeptcd ds_orddrid=orddrid ds_wardcd=wardcd ds_roomcd=roomcd ds_bedcd=bedcd ds_roomgrdecd=roomgrdecd ds_roomtypecd=roomtypecd ds_flag=flag ds_proccd=proccd ds_centcd=centcd ds_hospgrde=hospgrde ds_naticd=naticd ds_erorddrid=erorddrid ds_insucd=insucd ds_uncocd=uncocd";
- oParam.async = false;
- tranf_submit(oParam);
-
-
-
- //20200207 ROOMCD 값 받아오는거 수정 임승주
- if (frmf_checkOpener()) {
- var ROOMCD = opener.frmf_getParameter("SMPMI01800_ROOMCD");
-
- ds_send.setColumn(0,"srchcond1","1");
- ds_send.setColumn(0,"srchcond2",ROOMCD);
- fQuery1();
- }
-
- var sroomcd = ds_hidden_source.getColumn(0,"roomcd");
- var srchcond = ds_hidden_source.getColumn(0,"srchcond");
-
- if (!utlf_isNull(sroomcd)) {
- ds_send.setColumn(0,"srchcond2",sroomcd);
- ds_send.setColumn(0,"srchcond1",srchcond);
- fQuery1()
- }
- }
- function fQuery1()
- {
- var oParam = {};
- oParam.id = "TRPMI01801";
- oParam.service = "ipatmngtapp.IPatRef";
- oParam.method = "reqGetRoomPatInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_datagrid1=inpt";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI01801";
- tranf_submit(oParam);
-
- }
- function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fQuery1();
- }
- function group3_group2_input3_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.setFocus();
- obj.updateToDataset();
- fQuery1();
- }
- }
- function group1_btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|