SPMMO14100_중복처방체크.xfdl 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMO14100" position="absolute 0 0 902 490" titletext="중복처방리스트" oninit="SPMMO14100_oninit" onload="SPMMO14100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button position="absolute 738 470 818 490" id="button1" class="btn4" text="계속저장" onclick="button1_onclick"/>
  8. <Static text="중복처방리스트" position="absolute 0 0 171 20" id="caption1" class="tit_2"/>
  9. <Static text="* 중복처방이 있습니다. 저장하시겠습니까 ?" position="absolute 481 470 732 490" id="caption2" style="color:red;"/>
  10. <Grid position="absolute 0 20 902 465" id="grd_prcperrlist" binddataset="ds_result_duplprcplist">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="250"/>
  15. <Column size="250"/>
  16. <Column size="110"/>
  17. <Column size="80"/>
  18. <Column size="120"/>
  19. <Column size="75"/>
  20. </Columns>
  21. <Rows>
  22. <Row size="24" band="head"/>
  23. <Row size="24"/>
  24. </Rows>
  25. <Band id="head">
  26. <Cell text="처방명"/>
  27. <Cell col="1" text="중복처방명"/>
  28. <Cell col="2" text="진료과"/>
  29. <Cell col="3" text="진료의"/>
  30. <Cell col="4" text="등록일시"/>
  31. <Cell col="5" text="등록자"/>
  32. </Band>
  33. <Band id="body">
  34. <Cell displaytype="normal" edittype="none" text="bind:prcpnm" suppress="1" suppressalign="middle,over"/>
  35. <Cell col="1" style="align:left middle;" text="bind:duplprcpnm"/>
  36. <Cell col="2" text="bind:orddeptnm"/>
  37. <Cell col="3" text="bind:orddrnm"/>
  38. <Cell col="4" text="bind:rgstdt" mask="####-##-## ##:##:##"/>
  39. <Cell col="5" text="bind:rgstrnm"/>
  40. </Band>
  41. </Format>
  42. </Formats>
  43. </Grid>
  44. <Button position="absolute 822 470 902 490" id="button2" class="btn3" text="처방취소" onclick="button2_onclick"/>
  45. </Layout>
  46. </Layouts>
  47. <Objects>
  48. <Dataset id="ds_result_duplprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  49. <ColumnInfo>
  50. <Column id="prcpnm" type="STRING" size="256"/>
  51. <Column id="duplprcpnm" type="STRING" size="256"/>
  52. <Column id="orddeptnm" type="STRING" size="256"/>
  53. <Column id="orddrnm" type="STRING" size="256"/>
  54. <Column id="rgstdt" type="STRING" size="256"/>
  55. <Column id="rgstrnm" type="STRING" size="256"/>
  56. </ColumnInfo>
  57. </Dataset>
  58. </Objects>
  59. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  60. * System Name :
  61. * Job Name :
  62. * Creator :
  63. * Make Date : 2014-12-10
  64. * Description :
  65. *---------------------------------------------------------------------------------------
  66. * Modify Date Modifier Modify Description
  67. *---------------------------------------------------------------------------------------
  68. * 2014-12-10 Live Converter TF->XP
  69. *
  70. *---------------------------------------------------------------------------------------
  71. ****************************************************************************************/
  72. include "com_commonxp::comm_main.xjs";
  73. function SPMMO14100_oninit(obj:Form, e:InitEventInfo)
  74. {
  75. frmf_initForm(obj);
  76. try {
  77. ds_result_duplprcplist.copyData(arg_ds_result_duplprcplist);
  78. } catch(e) {}
  79. }
  80. function SPMMO14100_onload(obj:Form, e:LoadEventInfo)
  81. {
  82. grdf_setToolTipBind(grd_prcperrlist);
  83. }
  84. function button1_onclick(obj:Button, e:ClickEventInfo)
  85. {
  86. opener.frmf_setParameter ( "SPMMO14100_rtn1", "Y" );
  87. close();
  88. }
  89. function button2_onclick(obj:Button, e:ClickEventInfo)
  90. {
  91. opener.frmf_setParameter ( "SPMMO14100_rtn1", "N" );
  92. close();
  93. }
  94. ]]></Script>
  95. </Form>
  96. </FDL>