IConsentMain.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. #region Copyright © 2015 CLIPSOFT Co.,Ltd. All Rights Reserved.
  2. //
  3. // All rights are reserved. Reproduction or transmission in whole or in part,
  4. // in any form or by any means, electronic, mechanical or otherwise, is
  5. // prohibited without the prior written consent of the copyright owner.
  6. //
  7. // Filename:IConsentMain.cs
  8. //
  9. #endregion
  10. using System;
  11. using System.Collections.Generic;
  12. using System.Linq;
  13. using System.Text;
  14. using CLIP.eForm.Consent.UI;
  15. namespace CLIP.eForm.Consent.UI {
  16. /// <summary>
  17. /// ConsentMain 인터페이스
  18. /// </summary>
  19. /// <remarks>
  20. /// <p>[설계자]</p>
  21. /// <p> 클립소프트 연구소 홍지철 (jchong@clipsoft.co.kr)</p>
  22. /// <p>[원본 작성자]</p>
  23. /// <p> 클립소프트 기술부 이창훈 (chlee@clipsoft.co.kr)</p>
  24. /// <p>[수정 작성자]</p>
  25. /// <p> 클립소프트 기술부 이인희</p>
  26. /// <p>----------------------------------------------------------------------------------------</p>
  27. /// <p>[HISTORY]</p>
  28. /// <p> 2015-07-30 : 최초작성</p>
  29. /// <p>----------------------------------------------------------------------------------------</p>
  30. /// </remarks>
  31. public interface IConsentMain {
  32. ConsentCommandCtrlBase ConsentCommandCtrl { get; }
  33. ConsentListCtrlBase ConsentListCtrl { get; }
  34. PatientInfoCtrlBase PatientInfoCtrl { get; }
  35. PatientListCtrlBase PatientListCtrl { get; }
  36. Dictionary<string, string> ConsentExecuteInfo { get; set; }
  37. Dictionary<string, string> PluginExecuteInfo { get; set; }
  38. bool UseFingerScan { get; set; }
  39. bool viewStatus { get; }
  40. bool IsComplete();
  41. void changeInDd(string inDd);
  42. void initParams();
  43. void PreviewConsent(string fos);
  44. void ClearConsent();
  45. void RunConsentDualView();
  46. void PrintConsentDocument(string fos);
  47. void PrintDirect(string fos);
  48. void MoveFirstPage();
  49. void MovePrevPage();
  50. void MoveNextPage();
  51. void MoveLastPage();
  52. void DeleteAttach();
  53. void InsertAttach();
  54. void Save();
  55. /// <summary>
  56. /// eFormViewerCtrl 컨트롤의 TempSave 이벤트를 호출
  57. /// </summary>
  58. void TempSave();
  59. int GetCurrentPageIndex();
  60. int GetTotalPageCount();
  61. void MoveToPageIndex(int pageIndex);
  62. void SetZoomRate(string zoomRate);
  63. void EnableDrawing(bool enable);
  64. bool IsDrawMode();
  65. void RemoveAllDrawing();
  66. void UndoDrawing();
  67. void RedoDrawing();
  68. void ConfigDrawingPen();
  69. void SetFingerScanValue(string controlId, string base64Image);
  70. void SetSignatureImage(string controlId, string base64Image);
  71. void SetConsentListSplitPanelVisibility(bool visibility);
  72. void SetPatientListSplitPanelVisibility(bool visibility);
  73. void CloseSignaturePopup(string controlId);
  74. void SetRunOption(string optionKey, string optionValue);
  75. void TerminateConsentMain();
  76. void ReviewConsent();
  77. void CloseDualViewer();
  78. CLIP.eForm.ImageView.ImageViewCtrl GetImageViewerCtrl();
  79. void UIControlsRefeash(string visitType);
  80. void SetConsentUserInfo(string pInstCd, string pUserId, string DutPlceCd);
  81. void ClearPreviewConsent(bool pDoInit);
  82. void setPageCnt(int pageCnt);
  83. int getPageCnt();
  84. void setPrintButton(Boolean flag);
  85. bool getPrintButton();
  86. ConsentSvcRef.ConsentSvcSoapClient getConsentWebService();
  87. HospitalSvcRef.HospitalSvcSoapClient getHospitalWebService();
  88. event EventHandler OnLoadPartControls;
  89. event EventHandler OnResizeReviewConsent;
  90. event EventHandler OnVisibleEFormControl;
  91. event EventHandler OnInvisibleEFormControl;
  92. void preParamClean();
  93. void ReInitializeViewer();
  94. bool printSaveStatus { get; set; }
  95. int multiPrintPlanCnt { get; set; }
  96. int multiPrintExecCnt { get; set; }
  97. int agentCallPrintCnt { get; set; }
  98. void Parent_Disposed();
  99. bool saveClickPoint { get; set; }
  100. bool checkAutoPrint { get; set; }//입실저장 자동출력을 제외한 찾아서 출력은 반납데이터 만들기위해 추가
  101. void SetPatientInfo();
  102. bool checkOperationDocument(string formCd);
  103. void setOpPatientSelected(bool value);
  104. void SetConsentUserInfo(string pInstCd, string pUserId, string DutPlceCd, string temp);
  105. List<Dictionary<string, object>> multiParams { get; set; }
  106. void showNextPreview();
  107. }
  108. }