// Copyright (c) 2012-2021 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
using System.Collections.Generic;
namespace Worklist_SCP.Model
{
public interface IMppsSource
{
///
/// the procedure with the given ProcedureStepId is set in progress. The firest parameter sopInstanceUID
/// has to be stored in a database or similar, because the following messages like Discontinue or Completed
/// do refer to this sopInstanceUID rather than to the procedureStepId
///
bool SetInProgress(string sopInstanceUID, string procedureStepId);
///
/// The procedure which was previous created with the sopInstanceUID is now discontinued
///
bool SetDiscontinued(string sopInstanceUID, string reason);
///
/// The procedure which was previous created with the sopInstanceUID is now completed and some
/// additional information is provided
///
bool SetCompleted(string sopInstanceUID, string doseDescription, List affectedInstanceUIDs);
}
}