8 changed files with 193 additions and 6 deletions
-
87src/Shentun.Peis.Application.Contracts/RegisterChecks/UpdateCheckResultDto.cs
-
14src/Shentun.Peis.Application/RegisterCheckItems/RegisterCheckItemAppService.cs
-
7src/Shentun.Peis.Application/RegisterChecks/RegisterCheckAppService.cs
-
6src/Shentun.Peis.Domain/Suggestions/Suggestion.cs
-
4src/Shentun.Peis.Domain/SumSuggestionContents/SumSuggestionContent.cs
-
1src/Shentun.Peis.EntityFrameworkCore/DbMapping/Suggestions/SuggestionDbMapping.cs
-
1src/Shentun.Peis.EntityFrameworkCore/DbMapping/SumSuggestionContents/SumSuggestionContentDbMapping.cs
-
79test/Shentun.Peis.Application.Tests/DiagnosisFunctionAppServiceTest.cs
@ -0,0 +1,87 @@ |
|||
using Shentun.Peis.RegisterCheckItems; |
|||
using Shentun.Peis.RegisterCheckSuggestions; |
|||
using Shentun.Peis.RegisterCheckSummarys; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.Peis.RegisterChecks |
|||
{ |
|||
public class UpdateCheckResultDto |
|||
{ |
|||
/// <summary>
|
|||
/// RegisterCheck表ID
|
|||
/// </summary>
|
|||
public Guid RegisterCheckId { get; set; } |
|||
/// <summary>
|
|||
/// 检查医生(内部传ID,外部医生存名字)
|
|||
/// </summary>
|
|||
public string? CheckDoctorId { get; set; } |
|||
/// <summary>
|
|||
/// 检查日期(格式:2023-07-18) 空值跟null取当前日期
|
|||
/// </summary>
|
|||
public string? CheckDate { get; set; } |
|||
public List<UpdateRegisterCheckItemDetail> RegisterCheckItems { get; set; } |
|||
public List<UpdateRegisterCheckSummaryDetail> Summarys { get; set; } = new List<UpdateRegisterCheckSummaryDetail>(); |
|||
public List<UpdateRegisterCheckSuggestionDetail> Suggestions { get; set; } = new List<UpdateRegisterCheckSuggestionDetail>(); |
|||
|
|||
|
|||
} |
|||
|
|||
public class UpdateRegisterCheckItemDetail |
|||
{ |
|||
|
|||
/// <summary>
|
|||
/// 项目ID
|
|||
/// </summary>
|
|||
public Guid ItemId { get; set; } |
|||
|
|||
|
|||
|
|||
#region 修改内容
|
|||
/// <summary>
|
|||
/// 结果
|
|||
/// </summary>
|
|||
public string? Result { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 危急值
|
|||
/// </summary>
|
|||
public string? CriticalValue { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 检查医生
|
|||
/// </summary>
|
|||
public string? CheckDoctorName { get; set; } |
|||
/// <summary>
|
|||
/// 检查日期
|
|||
/// </summary>
|
|||
public string? CheckDate { get; set; } |
|||
#endregion
|
|||
} |
|||
public class UpdateRegisterCheckSummaryDetail |
|||
{ |
|||
/// <summary>
|
|||
/// 综述
|
|||
/// </summary>
|
|||
public string Summary { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 综述标志
|
|||
/// </summary>
|
|||
public char SummaryFlag { get; set; } |
|||
} |
|||
|
|||
public class UpdateRegisterCheckSuggestionDetail |
|||
{ |
|||
/// <summary>
|
|||
/// 综述
|
|||
/// </summary>
|
|||
public string Summary { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 综述标志
|
|||
/// </summary>
|
|||
public char SummaryFlag { get; set; } |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue