SPPMC06513_특이환자체크.xfdl 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPMC06513" position="absolute 0 0 100 100" titletext="특이환자체크" onload="SPPMC06513_onload">
  5. <Layouts>
  6. <Layout/>
  7. </Layouts>
  8. <Objects>
  9. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  10. <ColumnInfo>
  11. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  12. <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
  13. </ColumnInfo>
  14. </Dataset>
  15. <Dataset id="ds_main_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  16. <ColumnInfo>
  17. <Column id="checkyn" type="STRING" size="256" sumtext="특이환자여부"/>
  18. </ColumnInfo>
  19. </Dataset>
  20. </Objects>
  21. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  22. * System Name :
  23. * Job Name :
  24. * Creator :
  25. * Make Date : 2016-05-24
  26. * Description :
  27. *---------------------------------------------------------------------------------------
  28. * Modify Date Modifier Modify Description
  29. *---------------------------------------------------------------------------------------
  30. * 2016-05-24 Live Converter TF->XP
  31. *
  32. *---------------------------------------------------------------------------------------
  33. ****************************************************************************************/
  34. //=======================================================================================
  35. // Lib Include
  36. //---------------------------------------------------------------------------------------
  37. include 'com_commonxp::comm_main.xjs';
  38. //=======================================================================================
  39. // Local Methods
  40. //---------------------------------------------------------------------------------------
  41. /****************************************************************************************
  42. * Argument :
  43. * Description :
  44. ****************************************************************************************/
  45. function fGetSpclPatient(pid, ordtype){
  46. ds_send.clearData();
  47. ds_send.addRow();
  48. ds_main_patlist.clearData();
  49. ds_main_patlist.addRow();
  50. ds_send.setColumn(0, 'pid', pid);
  51. ds_send.setColumn(0, 'ordtype', ordtype);
  52. var oParam = {};
  53. oParam.id = "TRPMC06513";
  54. oParam.service = "pamcomnapp.PamComn";
  55. oParam.method = "reqGetSpclPatient";
  56. oParam.inds = "req=ds_send";
  57. oParam.outds = "ds_main_patlist=resultlist";
  58. oParam.async = false;
  59. oParam.callback = "cf_TRPMC06513";
  60. tranf_submit(oParam);
  61. if(ds_main_patlist.getColumn(0, 'checkyn') == 'Y'){
  62. sysf_messageBox('\r\n업무처리시 오류가 발생하였습니다!!!\r\n\r\n해당 내용의 처리는 원무팀(6178)으로 문의 및 안내하시기 바랍니다.',
  63. 'C000');
  64. return false;
  65. }
  66. return true;
  67. }
  68. //=======================================================================================
  69. // Events
  70. //---------------------------------------------------------------------------------------
  71. /****************************************************************************************
  72. * Argument :
  73. * Description : onload
  74. ****************************************************************************************/
  75. function SPPMC06513_onload(obj:Form, e:LoadEventInfo){
  76. // 폼 초기화
  77. frmf_initForm(obj);
  78. }
  79. ]]></Script>
  80. </Form>
  81. </FDL>