123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNN01300" position="absolute 0 0 1196 750" titletext="분만실 처치장부" oninit="SMMNN01300_oninit" onload="SMMNN01300_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="분만실 처치장부" class="tit_1" position="absolute 0 0 191 25"/>
- <Div id="grp_sea" taborder="1" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption2" text="조회일자 :" class="search_name" position="absolute 15 13 105 30" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 907 9 913 31" anchor="top right"/>
- <Static id="caption4" text="~" position="absolute 212 13 227 27" anchor="default"/>
- <Calendar id="ipt_bthddtodd" taborder="1" class="input_essential" position="absolute 226 11 326 30" anchor="default" dateformat="yyyy-MM-dd" onchanged="grp_sea_ipt_bthddtodd_onchanged"/>
- <Calendar id="ipt_bthddfromdd" taborder="2" class="input_essential" position="absolute 109 11 209 30" anchor="default" dateformat="yyyy-MM-dd" value="null" onchanged="grp_sea_ipt_bthddfromdd_onchanged"/>
- <Button id="btn_save" taborder="3" text="조회" class="btn1" position="absolute 920 9 976 31" anchor="top right" onclick="grp_sea_btn_save_onclick"/>
- <Button id="btn_modify" taborder="4" text="수정" class="btn2" position="absolute 981 9 1037 31" anchor="top right" onclick="grp_sea_btn_modify_onclick"/>
- <Button id="btn_saveexcel" taborder="5" text="엑셀저장" class="btn7" position="absolute 1042 9 1122 31" anchor="top right" onclick="grp_sea_btn_saveexcel_onclick"/>
- <Button id="btn_print" taborder="6" text="출력" class="btn6" position="absolute 1127 9 1183 31" anchor="top right" onclick="grp_sea_btn_print_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line1" class="line_10" position="absolute 0 89 1194 95" anchor="left top right"/>
- <Static id="caption1" text="분만실 처치 리스트" class="tit_2" position="absolute 0 73 147 92"/>
- <Button id="button90" taborder="3" text="삭제" class="btn5" position="absolute 1152 69 1194 89" onclick="button90_onclick" anchor="top right"/>
- <Grid id="grd_medicallist" class="datagrid2" taborder="4" binddataset="ds_main_medicalinfo_medicallist" useinputpanel="false" extendsizetype="row" cellsizingtype="both" oncelldblclick="grd_medicallist_oncelldblclick" position="absolute 0 94 1194 748" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="70"/>
- <Column size="55"/>
- <Column size="100"/>
- <Column size="89"/>
- <Column size="66"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="200"/>
- <Column size="70"/>
- <Column size="130"/>
- <Column size="55"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="64"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="191"/>
- <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="30" 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=" S/A"/>
- <Cell col="8" text="임신주수"/>
- <Cell col="9" text="진단명"/>
- <Cell col="10" colspan="2" text="처치명" taborder="undefined"/>
- <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="prgweekcnt"/>
- <Cell col="20" text="prgdaycnt"/>
- <Cell col="21" text="seqno"/>
- <Cell col="22" text="indd"/>
- <Cell col="23" text="cretno"/>
- <Cell col="24" text="orddeptcd"/>
- <Cell col="25" text="medispclid"/>
- <Cell col="26" text="medicalremk"/>
- <Cell col="27" text="biopsycnt"/>
- <Cell col="28" text="ioflag"/>
- <Cell col="29" text="wardcd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:medicaldd" mask="expr:utlf_isNull(medicaldd) || medicaldd == '-' ? '' : '####-##-##'"/>
- <Cell col="2" text="bind:medicaltm" mask="expr:utlf_isNull(medicaltm) || medicaltm == '-' ? '' : '##:##'"/>
- <Cell col="3" displaytype="text" text="bind:orddeptnm"/>
- <Cell col="4" displaytype="text" text="bind:wardnm"/>
- <Cell col="5" text="bind:pid"/>
- <Cell col="6" text="bind:patnm"/>
- <Cell col="7" text="bind:sexage"/>
- <Cell col="8" text="bind:prgweekday"/>
- <Cell col="9" displaytype="text" style="align:left top;padding:2 2 0 2;" text="bind:diagcd" wordwrap="char"/>
- <Cell col="10" displaytype="combo" edittype="none" style="padding:2 2 2 2;" text="bind:medicalflag" combodataset="ds_init_M0282" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="11" displaytype="combo" edittype="none" style="padding:2 2 2 2;" text="bind:medicalcd" combodataset="ds_init_M0283" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="12" text="bind:biopsyyn"/>
- <Cell col="13" text="bind:babycnt"/>
- <Cell col="14" text="bind:dethbabycnt"/>
- <Cell col="15" text="bind:medispclnm"/>
- <Cell col="16" text="bind:medicaldoct"/>
- <Cell col="17" text="bind:medicalnurse"/>
- <Cell col="18" displaytype="text" style="align:left top;padding:2 2 0 2;" text="bind:remk" wordwrap="char"/>
- <Cell col="19" text="bind:prgweekcnt"/>
- <Cell col="20" text="bind:prgdaycnt"/>
- <Cell col="21" text="bind:seqno"/>
- <Cell col="22" text="bind:indd"/>
- <Cell col="23" text="bind:cretno"/>
- <Cell col="24" text="bind:orddeptcd"/>
- <Cell col="25" text="bind:medispclid"/>
- <Cell col="26" text="bind:medicalremk"/>
- <Cell col="27" text="bind:biopsycnt"/>
- <Cell col="28" text="bind:ioflag"/>
- <Cell col="29" text="bind:wardcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_temps" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temps" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_medicalinfo_medicallist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="medicaldd" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="medicalflag" type="STRING" size="256"/>
- <Column id="medicalcd" type="STRING" size="256"/>
- <Column id="biopsyyn" type="STRING" size="256"/>
- <Column id="medispclnm" type="STRING" size="256"/>
- <Column id="medicaldoct" type="STRING" size="256"/>
- <Column id="medicalnurse" type="STRING" size="256"/>
- <Column id="remk" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="medispclid" type="STRING" size="256"/>
- <Column id="medicalremk" type="STRING" size="256"/>
- <Column id="biopsycnt" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="medicaldd"/>
- <Col id="orddeptnm"/>
- <Col id="wardnm"/>
- <Col id="pid"/>
- <Col id="patnm"/>
- <Col id="sexage"/>
- <Col id="diagcd"/>
- <Col id="medicalflag"/>
- <Col id="medicalcd"/>
- <Col id="biopsyyn"/>
- <Col id="medispclnm"/>
- <Col id="medicaldoct"/>
- <Col id="medicalnurse"/>
- <Col id="remk"/>
- <Col id="seqno"/>
- <Col id="indd"/>
- <Col id="cretno"/>
- <Col id="orddeptcd"/>
- <Col id="medispclid"/>
- <Col id="medicalremk"/>
- <Col id="biopsycnt"/>
- <Col id="ioflag"/>
- <Col id="wardcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- </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"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0282" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_M0283" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_printdata_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_printdata_medicalinfo_medicallist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.ipt_bthddtodd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.ipt_bthddfromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item2" compid="grp_sea.ipt_bthddfromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item3" compid="grp_sea.ipt_bthddtodd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-02-15
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-02-15 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_partrtnnbabyxp::SMMNN01300.xjs";
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMMNN01300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMMNN01300_onload(obj:Form, e:LoadEventInfo)
- {
- // setHelp(); // 온라인 도움말 화면이 있는 경우 ready 에서 실행.
- fInitialize();
-
- grdf_setGridSort(grd_medicallist); // 그리드 소트만
- }
- /****************************************************************************************
- * Components : Calendar
- * Description : 조회시작일자 변경
- ****************************************************************************************/
- function grp_sea_ipt_bthddfromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fGetMedicalInfo();
- }
- /****************************************************************************************
- * Components : Calendar
- * Description : 조회종료일자 변경
- ****************************************************************************************/
- function grp_sea_ipt_bthddtodd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fGetMedicalInfo();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function grp_sea_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- var pos = grd_medicallist.hscrollbar.pos;
- fGetMedicalInfo();
- grdf_clearSort(grd_medicallist);
- grd_medicallist.hscrollbar.pos = pos;
- }
- /****************************************************************************************
- * Components : Button
- * Description : 수정
- ****************************************************************************************/
- function grp_sea_btn_modify_onclick(obj:Button, e:ClickEventInfo)
- {
- fModifyMedicalInfo();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 엑셀저장
- ****************************************************************************************/
- function grp_sea_btn_saveexcel_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveExcel();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 출력
- ****************************************************************************************/
- function grp_sea_btn_print_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickPrint();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 삭제
- ****************************************************************************************/
- function button90_onclick(obj:Button, e:ClickEventInfo)
- {
- var vpos = grd_medicallist.vscrollbar.pos;
- var hpos = grd_medicallist.hscrollbar.pos;
- fClickDel();
- grd_medicallist.vscrollbar.pos = vpos;
- grd_medicallist.hscrollbar.pos = hpos;
-
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 그리드 더블클릭하여 수정팝업 오픈
- ****************************************************************************************/
- function grd_medicallist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row > -1) {
- fModifyMedicalInfo();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|