From 668e1019f04550e01cf89a58f9c3b27002461e92 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 28 Mar 2024 10:39:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Reading/View/ReadModuleView.cs | 35 ++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Domain/Reading/View/ReadModuleView.cs b/IRaCIS.Core.Domain/Reading/View/ReadModuleView.cs index 9ec8187b5..bd1ba69fe 100644 --- a/IRaCIS.Core.Domain/Reading/View/ReadModuleView.cs +++ b/IRaCIS.Core.Domain/Reading/View/ReadModuleView.cs @@ -167,5 +167,38 @@ namespace IRaCIS.Core.Domain.Models /// 阅片配置的类型 /// public ReadingSetType? ReadingSetType { get; set; } - } + + /// + /// 需要签名的临床数据数量 + /// + public int NeedSignClinicalDataCount { get; set; } + + /// + /// 已经签名的临床数据数量 + /// + public int SignClinicalDataCount { get; set; } + + + public CompleteClinicalDataEnum CompleteClinicalData + { + + get { + + if (NeedSignClinicalDataCount == 0) + { + return CompleteClinicalDataEnum.NA; + + } + else if (NeedSignClinicalDataCount == SignClinicalDataCount) + { + return CompleteClinicalDataEnum.Complete; + } + else + { + return CompleteClinicalDataEnum.NotComplete; + } + } + } + + } }