IMppsSource.cs 1.1 KB

123456789101112131415161718192021222324252627282930
  1. // Copyright (c) 2012-2020 fo-dicom contributors.
  2. // Licensed under the Microsoft Public License (MS-PL).
  3. using System.Collections.Generic;
  4. namespace Worklist_SCP.Model
  5. {
  6. public interface IMppsSource
  7. {
  8. /// <summary>
  9. /// the procedure with the given ProcedureStepId is set in progress. The firest parameter sopInstanceUID
  10. /// has to be stored in a database or similar, because the following messages like Discontinue or Completed
  11. /// do refer to this sopInstanceUID rather than to the procedureStepId
  12. /// </summary>
  13. bool SetInProgress(string sopInstanceUID, string procedureStepId);
  14. /// <summary>
  15. /// The procedure which was previous created with the sopInstanceUID is now discontinued
  16. /// </summary>
  17. bool SetDiscontinued(string sopInstanceUID, string reason);
  18. /// <summary>
  19. /// The procedure which was previous created with the sopInstanceUID is now completed and some
  20. /// additional information is provided
  21. /// </summary>
  22. bool SetCompleted(string sopInstanceUID, string doseDescription, List<string> affectedInstanceUIDs);
  23. }
  24. }