15 changed files with 31824 additions and 16 deletions
-
2src/Shentun.Peis.Application.Contracts/PhoneFollowUps/CreatePhoneFollowUpDto.cs
-
34src/Shentun.Peis.Application.Contracts/PhoneFollowUps/PhoneFollowUpSimpleDto.cs
-
87src/Shentun.Peis.Application.Contracts/PhoneFollowUps/PhoneFollowUpWithCriticalItemDto.cs
-
4src/Shentun.Peis.Application/PacsBusiness/PacsBusinessAppService.cs
-
139src/Shentun.Peis.Application/PhoneFollowUps/PhoneFollowUpAppService.cs
-
4src/Shentun.Peis.Domain/BigtextResultTypes/BigtextResultType.cs
-
2src/Shentun.Peis.Domain/Items/ItemManager.cs
-
1src/Shentun.Peis.Domain/RegisterChecks/RegisterCheck.cs
-
2src/Shentun.Peis.EntityFrameworkCore/DbMapping/RegisterChecks/RegisterCheckDbMapping.cs
-
15731src/Shentun.Peis.EntityFrameworkCore/Migrations/20240924041518_insert_register_check_is_pacs_check_index.Designer.cs
-
24src/Shentun.Peis.EntityFrameworkCore/Migrations/20240924041518_insert_register_check_is_pacs_check_index.cs
-
15731src/Shentun.Peis.EntityFrameworkCore/Migrations/20240924075252_update_bigtext_result_type_display_name_length.Designer.cs
-
61src/Shentun.Peis.EntityFrameworkCore/Migrations/20240924075252_update_bigtext_result_type_display_name_length.cs
-
10src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
-
8src/Shentun.Peis.HttpApi.Host/appsettings.json
@ -0,0 +1,34 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.Peis.PhoneFollowUps |
|||
{ |
|||
public class PhoneFollowUpSimpleDto |
|||
{ |
|||
/// <summary>
|
|||
/// 随访内容
|
|||
/// </summary>
|
|||
public string FollowUpContent { get; set; } |
|||
/// <summary>
|
|||
/// 回复内容
|
|||
/// </summary>
|
|||
public string ReplyContent { get; set; } |
|||
|
|||
|
|||
///// <summary>
|
|||
///// 随访ID
|
|||
///// </summary>
|
|||
//public Guid FollowUpId { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// 随访日期
|
|||
/// </summary>
|
|||
public string PlanFollowDate { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 是否完成
|
|||
/// </summary>
|
|||
public char IsComplete { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,87 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.Peis.PhoneFollowUps |
|||
{ |
|||
public class PhoneFollowUpWithCriticalItemDto |
|||
{ |
|||
/// <summary>
|
|||
/// 姓名
|
|||
/// </summary>
|
|||
public string PatientName { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 身份证
|
|||
/// </summary>
|
|||
public string IdNo { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 人员条码号
|
|||
/// </summary>
|
|||
public string PatientRegisterNo { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 组合异常集合
|
|||
/// </summary>
|
|||
public List<PhoneFollowUpWithCriticalItemAbnormalAsbitemDto> AbnormalAsbitemDetail { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 异常集合
|
|||
/// </summary>
|
|||
public List<PhoneFollowUpWithCriticalItemAbnormalItemDto> AbnormalItemDetail { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 电话随访记录
|
|||
/// </summary>
|
|||
public List<PhoneFollowUpSimpleDto> PhoneFollowUpDetail { get; set; } |
|||
} |
|||
|
|||
public class PhoneFollowUpWithCriticalItemAbnormalItemDto |
|||
{ |
|||
/// <summary>
|
|||
///项目名称
|
|||
/// </summary>
|
|||
public string ItemName { get; set; } |
|||
|
|||
/// <summary>
|
|||
///异常描述
|
|||
/// </summary>
|
|||
public string CriticalValueContent { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 是否危急值
|
|||
/// </summary>
|
|||
public char IsCriticalValue { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 是否复查
|
|||
/// </summary>
|
|||
public char IsReview { get; set; } |
|||
} |
|||
|
|||
public class PhoneFollowUpWithCriticalItemAbnormalAsbitemDto |
|||
{ |
|||
/// <summary>
|
|||
///组合项目名称
|
|||
/// </summary>
|
|||
public string AsbitemName { get; set; } |
|||
|
|||
/// <summary>
|
|||
///异常描述
|
|||
/// </summary>
|
|||
public string CriticalValueContent { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 是否危急值
|
|||
/// </summary>
|
|||
public char IsCriticalValue { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 是否复查
|
|||
/// </summary>
|
|||
public char IsReview { get; set; } |
|||
} |
|||
|
|||
|
|||
} |
|||
15731
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240924041518_insert_register_check_is_pacs_check_index.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,24 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class insert_register_check_is_pacs_check_index : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.CreateIndex( |
|||
name: "ix_register_check_is_pacs_check", |
|||
table: "register_check", |
|||
column: "is_pacs_check"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropIndex( |
|||
name: "ix_register_check_is_pacs_check", |
|||
table: "register_check"); |
|||
} |
|||
} |
|||
} |
|||
15731
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240924075252_update_bigtext_result_type_display_name_length.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,61 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class update_bigtext_result_type_display_name_length : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "simple_code", |
|||
table: "bigtext_result_type", |
|||
type: "character varying(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "display_name", |
|||
table: "bigtext_result_type", |
|||
type: "character varying(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
comment: "名称", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(20)", |
|||
oldMaxLength: 20, |
|||
oldComment: "名称"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "simple_code", |
|||
table: "bigtext_result_type", |
|||
type: "character varying(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "display_name", |
|||
table: "bigtext_result_type", |
|||
type: "character varying(20)", |
|||
maxLength: 20, |
|||
nullable: false, |
|||
comment: "名称", |
|||
oldClrType: typeof(string), |
|||
oldType: "character varying(50)", |
|||
oldMaxLength: 50, |
|||
oldComment: "名称"); |
|||
} |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue