123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPADC63000" position="absolute 0 0 692 202" titletext="심각도 설명" onload="SPADC63000_onload">
- <Layouts>
- <Layout>
- <Button id="btn_cls" taborder="1" text="닫기" class="btn4" position="absolute 635 175 691 197" onclick="btn_cls_onclick"/>
- <Button id="btn_cfm" taborder="2" text="확인" class="btn4" position="absolute 576 175 632 197"/>
- <Grid id="grd_whoumc" taborder="3" binddataset="ds_main_whoumclist_whoumcinfo" useinputpanel="false" extendsizetype="row" autosizingtype="row" position="absolute 0 24 691 170" autofittype="col" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="31"/>
- <Column size="178"/>
- <Column size="480"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3" text="value"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:(chk=="Y"||chk==1)?1:0"/>
- <Cell col="1" text="bind:gubun"/>
- <Cell col="2" displaytype="text" style="padding:5 5 5 5;" text="bind:cnts" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" text="bind:value"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_10" position="absolute 0 19 691 25"/>
- <Static id="caption1" text="심각도 (FDA, KFDA seriousness)" class="tit_2" position="absolute 0 3 310 20"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_whoumclist_whoumcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_whoumclist_whoumcinfo_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="cnts" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="chk">N</Col>
- <Col id="gubun">Serious</Col>
- <Col id="cnts">• 사망 또는 생명을 위협하는 경우
- • 지속적 또는 중대한 불구나 기능저하를 초래하는 경우
- • 입원을 필요로 하거나 입원기간 연장이 필요한 경우
- • 선천성 기형 또는 이상을 초래하는 경우
- • 기타 중요한 의학적 사건
- </Col>
- <Col id="value">S</Col>
- </Row>
- <Row>
- <Col id="chk">N</Col>
- <Col id="gubun">Non-serious</Col>
- <Col id="cnts">• Serious가 아닌 경우</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_popdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="casrslt" type="STRING" size="256"/>
- <Column id="totscr" type="STRING" size="256"/>
- <Column id="naranjocmt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="casrslt"/>
- <Col id="totscr"/>
- <Col id="naranjocmt"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-12-04
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPADC63000_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
-
- try{
- dsf_copyDs(ds_popdata,arg_ds_popdata);
- }catch(e){}
-
- var iscr = ds_popdata.getColumn(0,"naranjocmt");
- var comArray = iscr.split("^");
- if (!utlf_isNull(comArray[0])) {
- for(var i=0; i<comArray.length; i++) {
- if(comArray[i] == "Y") {
- ds_main_whoumclist_whoumcinfo.setColumn(i, "chk", "Y")
- }
- }
- }
-
- if(frmf_getoOpener().name == "SPMMD03301") {
- btn_cfm.visible = false;
- grd_whoumc.setFormatColProperty(0,"size",0);
- }
- }
- function ds_main_whoumclist_whoumcinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="chk") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function btn_cls_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|