SPADC63000_심각도(FDA).xfdl 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPADC63000" position="absolute 0 0 692 202" titletext="심각도 설명" onload="SPADC63000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="btn_cls" taborder="1" text="닫기" class="btn4" position="absolute 635 175 691 197" onclick="btn_cls_onclick"/>
  8. <Button id="btn_cfm" taborder="2" text="확인" class="btn4" position="absolute 576 175 632 197"/>
  9. <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">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="31"/>
  14. <Column size="178"/>
  15. <Column size="480"/>
  16. <Column size="0"/>
  17. </Columns>
  18. <Rows>
  19. <Row size="24" band="head"/>
  20. <Row size="24"/>
  21. </Rows>
  22. <Band id="head">
  23. <Cell text="선택"/>
  24. <Cell col="1"/>
  25. <Cell col="2"/>
  26. <Cell col="3" text="value"/>
  27. </Band>
  28. <Band id="body">
  29. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:(chk==&quot;Y&quot;||chk==1)?1:0"/>
  30. <Cell col="1" text="bind:gubun"/>
  31. <Cell col="2" displaytype="text" style="padding:5 5 5 5;" text="bind:cnts" wordwrap="char" autosizerow="limitmin"/>
  32. <Cell col="3" text="bind:value"/>
  33. </Band>
  34. </Format>
  35. </Formats>
  36. </Grid>
  37. <Shape id="line1" class="line_10" position="absolute 0 19 691 25"/>
  38. <Static id="caption1" text="심각도 (FDA, KFDA seriousness)" class="tit_2" position="absolute 0 3 310 20"/>
  39. </Layout>
  40. </Layouts>
  41. <Objects>
  42. <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">
  43. <ColumnInfo>
  44. <Column id="chk" type="STRING" size="256"/>
  45. <Column id="gubun" type="STRING" size="256"/>
  46. <Column id="cnts" type="STRING" size="256"/>
  47. <Column id="value" type="STRING" size="256"/>
  48. </ColumnInfo>
  49. <Rows>
  50. <Row>
  51. <Col id="chk">N</Col>
  52. <Col id="gubun">Serious</Col>
  53. <Col id="cnts">• 사망 또는 생명을 위협하는 경우
  54. • 지속적 또는 중대한 불구나 기능저하를 초래하는 경우
  55. • 입원을 필요로 하거나 입원기간 연장이 필요한 경우
  56. • 선천성 기형 또는 이상을 초래하는 경우
  57. • 기타 중요한 의학적 사건
  58. </Col>
  59. <Col id="value">S</Col>
  60. </Row>
  61. <Row>
  62. <Col id="chk">N</Col>
  63. <Col id="gubun">Non-serious</Col>
  64. <Col id="cnts">• Serious가 아닌 경우</Col>
  65. <Col id="value">N</Col>
  66. </Row>
  67. </Rows>
  68. </Dataset>
  69. <Dataset id="ds_popdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  70. <ColumnInfo>
  71. <Column id="casrslt" type="STRING" size="256"/>
  72. <Column id="totscr" type="STRING" size="256"/>
  73. <Column id="naranjocmt" type="STRING" size="256"/>
  74. </ColumnInfo>
  75. <Rows>
  76. <Row>
  77. <Col id="casrslt"/>
  78. <Col id="totscr"/>
  79. <Col id="naranjocmt"/>
  80. </Row>
  81. </Rows>
  82. </Dataset>
  83. </Objects>
  84. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  85. * System Name :
  86. * Job Name :
  87. * Creator :
  88. * Make Date : 2017-12-04
  89. * Description :
  90. *---------------------------------------------------------------------------------------
  91. * Modify Date Modifier Modify Description
  92. *---------------------------------------------------------------------------------------
  93. * 2017-06-19 Live Converter TF->XP
  94. *
  95. *---------------------------------------------------------------------------------------
  96. ****************************************************************************************/
  97. //=======================================================================================
  98. // Lib Include
  99. //---------------------------------------------------------------------------------------
  100. include "com_commonxp::comm_main.xjs";
  101. //=======================================================================================
  102. // Global Form Variable
  103. //---------------------------------------------------------------------------------------
  104. //=======================================================================================
  105. // Function
  106. //---------------------------------------------------------------------------------------
  107. /****************************************************************************************
  108. * Argument : N/A
  109. * Description :
  110. ****************************************************************************************/
  111. //=======================================================================================
  112. // Event
  113. //---------------------------------------------------------------------------------------
  114. /****************************************************************************************
  115. * Components : Form
  116. * Description : 화면 처음 초기화시 폼초기화
  117. ****************************************************************************************/
  118. function SPADC63000_onload(obj:Form, e:LoadEventInfo)
  119. {
  120. frmf_initForm(obj);
  121. try{
  122. dsf_copyDs(ds_popdata,arg_ds_popdata);
  123. }catch(e){}
  124. var iscr = ds_popdata.getColumn(0,"naranjocmt");
  125. var comArray = iscr.split("^");
  126. if (!utlf_isNull(comArray[0])) {
  127. for(var i=0; i<comArray.length; i++) {
  128. if(comArray[i] == "Y") {
  129. ds_main_whoumclist_whoumcinfo.setColumn(i, "chk", "Y")
  130. }
  131. }
  132. }
  133. if(frmf_getoOpener().name == "SPMMD03301") {
  134. btn_cfm.visible = false;
  135. grd_whoumc.setFormatColProperty(0,"size",0);
  136. }
  137. }
  138. function ds_main_whoumclist_whoumcinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  139. {
  140. if(e.columnid=="chk") {
  141. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  142. }
  143. }
  144. function btn_cls_onclick(obj:Button, e:ClickEventInfo)
  145. {
  146. this.close();
  147. }
  148. ]]></Script>
  149. </Form>
  150. </FDL>