123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml" />
- <Form id="SPPMI05200" position="absolute 0 0 1280 1024" titletext="임상각과 입원관리 담당의사 명단" onload="SPPMI05200_onload">
- <Layouts>
- <Layout>
- <Div id="group1" position="absolute 0 0 1195 13" style="">
- <Layouts>
- <Layout>
- <Static id="cap_inmanage" class="tit_1" position="absolute 0 0 212 14" style="" text="임상각과 입원관리 담당의사 명단" />
- <Static id="cap_chk" class="tit_1" position="absolute 0 0 212 14" style="" text="중복된 병상조회" />
- </Layout>
- </Layouts>
- </Div>
- <Div id="group3" scrollbars="autoboth" position="absolute 0 15 1193 715" style="">
- <Layouts>
- <Layout>
- <Tab id="swt_aipmmngt" position="absolute 5 25 1175 695" style="" anchor="default">
- <Tabpages>
- <Tabpage id="case_instand" selected="true" position="absolute 0 0 1192 670" style="" anchor="default" function="group3_swt_aipmmngt_case_instand_function">
- <Layouts>
- <Layout>
- <Grid id="grd_instand" binddataset="ds_main_inpatmanage" position="absolute 0 5 1170 670" style="align:center ;">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- </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="NZone" />
- <Cell col="4" text="연구실 or H.P" />
- <Cell col="5" text="비고" />
- </Band>
- <Band id="body">
- <Cell text="bind:orddeptcd" />
- <Cell col="1" text="bind:position" />
- <Cell col="2" text="bind:hngnm" />
- <Cell col="3" text="bind:nzone" />
- <Cell col="4" text="bind:officetel" />
- <Cell col="5" text="bind:note" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_chk" position="absolute 0 0 1192 600" style="" anchor="default">
- <Layouts>
- <Layout>
- <Grid id="datagrid1" binddataset="ds_main_chk" position="absolute 0 5 1170 645" style="">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- </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="Bed" />
- <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="WardId" />
- </Band>
- <Band id="body">
- <Cell text="bind:wardnm" />
- <Cell col="1" text="bind:roomcd" />
- <Cell col="2" text="bind:bedcd" />
- <Cell col="3" text="bind:bedcnt" />
- <Cell col="4" text="bind:chartnum" />
- <Cell col="5" text="bind:indd" />
- <Cell col="6" text="bind:hngnm" />
- <Cell col="7" text="bind:orddeptnm" />
- <Cell col="8" text="bind:atdoctid" />
- <Cell col="9" text="bind:medispclid" />
- <Cell col="10" text="bind:outdd" />
- <Cell col="11" text="bind:partindd" />
- <Cell col="12" text="bind:insukind" />
- <Cell col="13" text="bind:wardid" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="cap_tinmanage" class="tit_2" position="absolute 10 9 224 22" style="" text="임상각과 입원관리 담당의사 명단" />
- <Shape id="line19" class="line_1" linetype="horizontal" position="absolute 5 25 1175 28" style="" anchor="default" />
- <Button id="btn_insrow" class="btn2_letter3" position="absolute 1020 5 1073 24" style="" text="행추가" onclick="group3_btn_insrow_onclick" />
- <Button id="btn_delrow" class="btn2_letter3" position="absolute 1075 5 1128 24" style="" text="행삭제" onclick="group3_btn_delrow_onclick" />
- <Button id="btn_savedb" class="btn2_letter2" position="absolute 1130 5 1172 24" style="" text="저장" onclick="group3_btn_savedb_onclick" />
- <Button id="btn_print" class="btn2_letter2" position="absolute 975 5 1017 24" style="" text="출력" onclick="group3_btn_print_onclick" />
- <Button id="btn_chanchk" position="absolute 840 5 850 15" style="" text="." />
- <Static id="cap_tchk" class="tit_2" position="absolute 225 9 439 23" style="" text="중복된 병상조회" />
- <Button id="btn_sijac" position="absolute 850 5 865 25" style="" text="." onclick="group3_btn_sijac_onclick" />
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" />
- <Column id="nm" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd"></Col>
- <Col id="nm"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="sess_posinstcd" type="STRING" size="256" />
- <Column id="ioflag" type="STRING" size="256" />
- <Column id="orddd" type="STRING" size="256" />
- <Column id="idflag" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sess_posinstcd"></Col>
- <Col id="ioflag"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_chk" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="wardnm" type="STRING" size="256" />
- <Column id="roomcd" type="STRING" size="256" />
- <Column id="bedcd" type="STRING" size="256" />
- <Column id="bedcnt" type="STRING" size="256" />
- <Column id="chartnum" type="STRING" size="256" />
- <Column id="indd" type="STRING" size="256" />
- <Column id="hngnm" type="STRING" size="256" />
- <Column id="orddeptnm" type="STRING" size="256" />
- <Column id="atdoctid" type="STRING" size="256" />
- <Column id="medispclid" type="STRING" size="256" />
- <Column id="outdd" type="STRING" size="256" />
- <Column id="partindd" type="STRING" size="256" />
- <Column id="insukind" type="STRING" size="256" />
- <Column id="wardid" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="wardnm"></Col>
- <Col id="roomcd"></Col>
- <Col id="bedcd"></Col>
- <Col id="bedcnt"></Col>
- <Col id="chartnum"></Col>
- <Col id="indd"></Col>
- <Col id="hngnm"></Col>
- <Col id="orddeptnm"></Col>
- <Col id="atdoctid"></Col>
- <Col id="medispclid"></Col>
- <Col id="outdd"></Col>
- <Col id="partindd"></Col>
- <Col id="insukind"></Col>
- <Col id="wardid"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temp" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="temp"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_inpatmanage" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256" />
- <Column id="position" type="STRING" size="256" />
- <Column id="hngnm" type="STRING" size="256" />
- <Column id="nzone" type="STRING" size="256" />
- <Column id="officetel" type="STRING" size="256" />
- <Column id="note" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="orddeptcd"></Col>
- <Col id="position"></Col>
- <Col id="hngnm"></Col>
- <Col id="nzone"></Col>
- <Col id="officetel"></Col>
- <Col id="note"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_data2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="grd_pdtt" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="grd_pdtt"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256" />
- <Column id="position" type="STRING" size="256" />
- <Column id="hngnm" type="STRING" size="256" />
- <Column id="nzone" type="STRING" size="256" />
- <Column id="officetel" type="STRING" size="256" />
- <Column id="note" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="orddeptcd"></Col>
- <Col id="position"></Col>
- <Col id="hngnm"></Col>
- <Col id="nzone"></Col>
- <Col id="officetel"></Col>
- <Col id="note"></Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind />
- <Script type="xscript4.0"><![CDATA[include '../../.._com_commonweb_js_common.js'
- include '../../.._com_commonweb_js_tfHelper.js'
- include '../../.._com_commonweb_js_utilHelper.js'
- include '../../.._com_commonweb_js_dateHelper.js'
- include '../../.._com_commonweb_js_stringHelper.js'
- include '../../.._com_basiccodeweb_js_ZBC001.js'
- include '../../.._pam_opatmngtweb_js_PMOCOM.js'
- function SPPMI05200_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- ds_send.setColumn( 0, "orddd","20100101");
- if(ds_source.getColumn(0, "flag") == "chk") {
- group3.btn_chanchk.dispatch("onclick");
- }
- fShowBox();
- fGetUserInfosSampling();//세션정보
- ds_send.setColumn( 0, "sess_posinstcd",ds_hidden_session.getColumn(0, "sess_dutplceinstcd"));
- ds_send.setColumn( 0, "ioflag","I");
- //model.refresh();
- // submit("TRPMI00106");
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=disccd ds_=insukind ds_=suppkind ds_=suppkindhist ds_=orddeptcd ds_=orddrid ds_=wardcd ds_=roomcd ds_=bedcd ds_=roomgrdecd ds_=roomgrdelist ds_=roomtypecd ds_=flag ds_=proccd ds_=centcd ds_=hospgrde ds_=naticd ds_=erorddrid ds_=insucd ds_=uncocd";
- oParam.async = false;
- oParam.callback = "cf_TRPMI00106";
- tranf_submit(oParam);
- /*
- function cf_TRPMI00106(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPMI00106(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPMI00106") > -1
- arErrorCode.pop("TRPMI00106") < 0
- */
- var arrParam = [ {dsNm: "ds_init1_P0101list","ds_init1_P0028list","ds_init1_P0038list",
- cdGrpId: "P0101","P0028","P0038" } ];
- appf_getCodeList(arrParam, );
- group3.btn_sijac.dispatch("onclick");
- //model.refresh();
- }
- function fShowBox() {
- if(ds_source.getColumn(0, "flag") == "inmanage") {
- group1.cap_inmanage.visible = true;
- group1.cap_chk.visible = false;
- group3.cap_tinmanage.visible = true;
- group3.cap_tchk.visible = false;
- group3.btn_print.visible = true;
- group3.btn_insrow.visible = true;
- group3.btn_delrow.visible = true;
- group3.btn_savedb.visible = true;
- }else if(ds_source.getColumn(0, "flag") == "chk") {
- group1.cap_inmanage.visible = false;
- group1.cap_chk.visible = true;
- group3.cap_tinmanage.visible = false;
- group3.cap_tchk.attribute("left") = "10px";
- group3.cap_tchk.visible = true;
- group3.btn_print.visible = false;
- group3.btn_insrow.visible = false;
- group3.btn_delrow.visible = false;
- group3.btn_savedb.visible = false;
- }
- }
- function group3_swt_aipmmngt_case_instand_function {
- group3.swt_aipmmngt.case_instand.grd_instand.isSelected(1) = true;
- }
- function group3_btn_insrow_onclick(obj:Button, e:ClickEventInfo) {
- group3.swt_aipmmngt.case_instand.grd_instand.insertRow(group3.swt_aipmmngt.case_instand.grd_instand.row , "below");
- if(group3.swt_aipmmngt.case_instand.grd_instand.rows <= 1) {
- group3.swt_aipmmngt.case_instand.grd_instand.addRow();
- }
- //model.refresh();
- ds_send.setColumn( 0, "idflag" , "I");
- //group3.swt_aipmmngt.case_instand.grd_instand.addRow();
- }
- function group3_btn_delrow_onclick(obj:Button, e:ClickEventInfo) {
- if(group3.swt_aipmmngt.case_instand.grd_instand.rows >=1) {
- group3.swt_aipmmngt.case_instand.grd_instand.deleteRow(group3.swt_aipmmngt.case_instand.grd_instand.row);
- //model.refresh();
- }
- ds_send.setColumn( 0, "idflag" , "D");
- }
- function group3_btn_savedb_onclick(obj:Button, e:ClickEventInfo) {
- var cur_row = group3.swt_aipmmngt.case_instand.grd_instand.row;
- if (cur_row > 0) {
- // (tfHelper.js) 그리드 업데이트 데이터 반환, 업데이트 정보가 없을경우 "" 반환
- var updtdata = getGridUpdateData(group3.swt_aipmmngt.case_instand.grd_instand);
- ds_send_data2.setColumn( 0, "grd_pdtt",updtdata);
- var updchk = ds_send_data2.getColumn(0, "grd_pdtt");
- // alert(updchk);
- if (updchk == null || updchk == "" || updchk == " ") {
- sysf_messageBox("변경사항이","I004");
- return false;
- } else {
- ds_send_data2.setColumn( 0, "grd_pdtt",grd_patinfolist.getUpdateData());
- // submit("TRPMI05230");
- var oParam = {};
- oParam.id = "TRPMI05230";
- oParam.service = "ipatmngtapp.OrddInpat";
- oParam.method = "reqInpatManage";
- oParam.inds = "req=ds_ grd_pdtt=ds_";
- oParam.outds = "ds_=inpatmanage ds_=chk";
- oParam.async = false;
- oParam.callback = "cf_TRPMI05230";
- tranf_submit(oParam);
- /*
- function cf_TRPMI05230(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPMI05230(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPMI05230") > -1
- arErrorCode.pop("TRPMI05230") < 0
- */
- //model.refresh();
- }
- }
- }
- function group3_btn_print_onclick(obj:Button, e:ClickEventInfo) {
- exeReportPreview("RPPMI05290", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- }
- function group3_btn_sijac_onclick(obj:Button, e:ClickEventInfo) {
- // submit("TRPMI05230");
- var oParam = {};
- oParam.id = "TRPMI05230";
- oParam.service = "ipatmngtapp.OrddInpat";
- oParam.method = "reqInpatManage";
- oParam.inds = "req=ds_ grd_pdtt=ds_";
- oParam.outds = "ds_=inpatmanage ds_=chk";
- oParam.async = false;
- oParam.callback = "cf_TRPMI05230";
- tranf_submit(oParam);
- /*
- function cf_TRPMI05230(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPMI05230(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPMI05230") > -1
- arErrorCode.pop("TRPMI05230") < 0
- */
- }
- ]]></Script>
- </Form>
- </FDL>
|