15 changed files with 3391 additions and 317 deletions
-
10src/Shentun.Peis.Application.Contracts/CustomerReports/GetPatientRegisterPositiveReportRequestDto.cs
-
243src/Shentun.Peis.Application.Contracts/CustomerReports/GetUnitPhysicalExaminationReportExportWordDto.cs
-
56src/Shentun.Peis.Application.Contracts/CustomerReports/GetUnitPhysicalExaminationReportReduceDto.cs
-
60src/Shentun.Peis.Application.Contracts/CustomerReports/GetUnitPhysicalExaminationReportStandardDto.cs
-
11src/Shentun.Peis.Application.Contracts/PeisReports/GetPatientRegisterReportRequestDto.cs
-
277src/Shentun.Peis.Application/CustomerReports/CustomerReportAppService.cs
-
56src/Shentun.Peis.Domain/DataHelper.cs
-
269src/Shentun.Peis.Domain/ReportTemplates/ChartData.cs
-
43src/Shentun.Peis.Domain/ReportTemplates/CreateInspectionPersonnelPara.cs
-
2330src/Shentun.Peis.Domain/ReportTemplates/CustomerOrgReportManager.cs
-
339src/Shentun.Peis.Domain/ReportTemplates/UnitPhysicalExaminationReportExportWordData.cs
-
2src/Shentun.Peis.Domain/Shentun.Peis.Domain.csproj
-
12src/Shentun.Peis.HttpApi.Host/PeisHttpApiHostModule.cs
-
BINsrc/Shentun.Peis.HttpApi.Host/ReportFile/CustomerOrgTemplate/Page1.jpg
-
BINsrc/Shentun.Peis.HttpApi.Host/ReportFile/CustomerOrgTemplate/logo_template.jpg
@ -0,0 +1,269 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Shentun.Peis.ReportTemplates |
|||
{ |
|||
public class Table4 |
|||
{ |
|||
public string DeptName { get; set; } |
|||
|
|||
public string ProjectName { get; set; } |
|||
|
|||
public int ProManNum { get; set; } |
|||
public int ProWomanNum { get; set; } |
|||
public int ProTotalmanNum { get; set; } |
|||
|
|||
public int ManNum { get; set; } |
|||
|
|||
public int WomanNum { get; set; } |
|||
|
|||
public int TotalmanNum { get; set; } |
|||
|
|||
|
|||
public int ProManRate { get; set; } |
|||
public int ProWomanRate { get; set; } |
|||
public int ProTotalmanRate { get; set; } |
|||
|
|||
|
|||
} |
|||
|
|||
public class Table5 |
|||
{ |
|||
public string PatientNo { get; set; } |
|||
|
|||
public string PatientName { get; set; } |
|||
|
|||
public string SexName { get; set; } |
|||
|
|||
public string Age { get; set; } |
|||
|
|||
public string Result { get; set; } |
|||
} |
|||
|
|||
public class Table6 |
|||
{ |
|||
public string Conclusion { get; set; } |
|||
|
|||
public string Credit { get; set; } |
|||
|
|||
public int ManNum { get; set; } |
|||
|
|||
public int WomanNum { get; set; } |
|||
|
|||
public int TotalmanNum { get; set; } |
|||
|
|||
|
|||
public int ManRate { get; set; } |
|||
public int WomanRate { get; set; } |
|||
public int AvgRate { get; set; } |
|||
} |
|||
|
|||
|
|||
public class Table7 |
|||
{ |
|||
public string IcdName { get; set; } |
|||
|
|||
public string Notes { get; set; } |
|||
} |
|||
public class Table8 |
|||
{ |
|||
public string PatientNo { get; set; } |
|||
|
|||
public string PatientName { get; set; } |
|||
|
|||
public string SexName { get; set; } |
|||
|
|||
public string Age { get; set; } |
|||
|
|||
public string DeptName { get; set; } |
|||
} |
|||
|
|||
public class ChartData |
|||
{ |
|||
public string Category |
|||
{ |
|||
get; |
|||
set; |
|||
} |
|||
public double Expenses |
|||
{ |
|||
get; |
|||
set; |
|||
} |
|||
|
|||
|
|||
|
|||
public static List<ChartData> CreateCanadaExpenses() |
|||
{ |
|||
var canada = new List<ChartData>(); |
|||
canada.Add(new ChartData() { Category = "Food", Expenses = 100 }); |
|||
canada.Add(new ChartData() { Category = "Housing", Expenses = 120 }); |
|||
canada.Add(new ChartData() { Category = "Transportation", Expenses = 140 }); |
|||
canada.Add(new ChartData() { Category = "Health Care", Expenses = 150 }); |
|||
return canada; |
|||
} |
|||
|
|||
public static List<ChartData> CreateUSAExpenses() |
|||
{ |
|||
var usa = new List<ChartData>(); |
|||
usa.Add(new ChartData() { Category = "Food", Expenses = 200 }); |
|||
usa.Add(new ChartData() { Category = "Housing", Expenses = 150 }); |
|||
usa.Add(new ChartData() { Category = "Transportation", Expenses = 110 }); |
|||
usa.Add(new ChartData() { Category = "Health Care", Expenses = 100 }); |
|||
return usa; |
|||
} |
|||
|
|||
public static List<ChartData> CreateBrazilExpenses() |
|||
{ |
|||
var brazil = new List<ChartData>(); |
|||
brazil.Add(new ChartData() { Category = "Food", Expenses = 125 }); |
|||
brazil.Add(new ChartData() { Category = "Housing", Expenses = 80 }); |
|||
brazil.Add(new ChartData() { Category = "Transportation", Expenses = 110 }); |
|||
brazil.Add(new ChartData() { Category = "Health Care", Expenses = 60 }); |
|||
return brazil; |
|||
} |
|||
|
|||
public static List<ChartData> CreateReferenceRate() |
|||
{ |
|||
var brazil = new List<ChartData>(); |
|||
brazil.Add(new ChartData() { Category = "未检", Expenses = 50 }); |
|||
brazil.Add(new ChartData() { Category = "已检", Expenses = 50 }); |
|||
return brazil; |
|||
} |
|||
|
|||
public static List<ChartData> CreateReferenceRateSex() |
|||
{ |
|||
var brazil = new List<ChartData>(); |
|||
brazil.Add(new ChartData() { Category = "男性", Expenses = 50 }); |
|||
brazil.Add(new ChartData() { Category = "女性", Expenses = 40 }); |
|||
brazil.Add(new ChartData() { Category = "其他", Expenses = 10 }); |
|||
return brazil; |
|||
} |
|||
|
|||
public static List<ChartData> CreateDisease() |
|||
{ |
|||
var brazil = new List<ChartData>(); |
|||
brazil.Add(new ChartData() { Category = "疾病1", Expenses = 1 }); |
|||
brazil.Add(new ChartData() { Category = "疾病2", Expenses = 22 }); |
|||
brazil.Add(new ChartData() { Category = "疾病3", Expenses = 3 }); |
|||
brazil.Add(new ChartData() { Category = "疾病4", Expenses = 4 }); |
|||
brazil.Add(new ChartData() { Category = "疾病5", Expenses = 5 }); |
|||
brazil.Add(new ChartData() { Category = "疾病6", Expenses = 6 }); |
|||
brazil.Add(new ChartData() { Category = "疾病7", Expenses = 7 }); |
|||
brazil.Add(new ChartData() { Category = "疾病8", Expenses = 8 }); |
|||
brazil.Add(new ChartData() { Category = "疾病9", Expenses = 9 }); |
|||
brazil.Add(new ChartData() { Category = "疾病10", Expenses = 10 }); |
|||
return brazil; |
|||
} |
|||
public static List<ChartData> CreateException() |
|||
{ |
|||
var brazil = new List<ChartData>(); |
|||
brazil.Add(new ChartData() { Category = "疾病1", Expenses = 22 }); |
|||
brazil.Add(new ChartData() { Category = "疾病2", Expenses = 22 }); |
|||
brazil.Add(new ChartData() { Category = "疾病3", Expenses = 22 }); |
|||
brazil.Add(new ChartData() { Category = "疾病4", Expenses = 4 }); |
|||
brazil.Add(new ChartData() { Category = "疾病5", Expenses = 5 }); |
|||
brazil.Add(new ChartData() { Category = "疾病6", Expenses = 6 }); |
|||
brazil.Add(new ChartData() { Category = "疾病7", Expenses = 7 }); |
|||
brazil.Add(new ChartData() { Category = "疾病8", Expenses = 8 }); |
|||
brazil.Add(new ChartData() { Category = "疾病9", Expenses = 9 }); |
|||
brazil.Add(new ChartData() { Category = "疾病10", Expenses = 10 }); |
|||
return brazil; |
|||
} |
|||
|
|||
public static List<Table4> CreateTable4() |
|||
{ |
|||
var tb4 = new List<Table4>(); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "血常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "便常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
tb4.Add(new Table4() { DeptName = "门诊内科", ProjectName = "尿常规", ProManNum = 10, ProWomanNum = 3, ProTotalmanNum = 13, ManNum = 20, WomanNum = 6, TotalmanNum = 26, ProManRate = 50, ProWomanRate = 50, ProTotalmanRate = 50 }); |
|||
return tb4; |
|||
} |
|||
|
|||
public static List<Table5> CreateTable5() |
|||
{ |
|||
var tb5 = new List<Table5>(); |
|||
tb5.Add(new Table5() { PatientNo = "2401091235293785", PatientName = "李四", SexName = "男性", Age = "40岁", Result = "正常" }); |
|||
tb5.Add(new Table5() { PatientNo = "2401091235293781", PatientName = "李四1", SexName = "男性", Age = "40岁", Result = "正常" }); |
|||
tb5.Add(new Table5() { PatientNo = "2401091235293782", PatientName = "李四2", SexName = "男性", Age = "40岁", Result = "正常" }); |
|||
tb5.Add(new Table5() { PatientNo = "2401091235293783", PatientName = "李四3", SexName = "男性", Age = "40岁", Result = "正常" }); |
|||
tb5.Add(new Table5() { PatientNo = "2401091235293784", PatientName = "李四4", SexName = "男性", Age = "40岁", Result = "正常" }); |
|||
tb5.Add(new Table5() { PatientNo = "2401091235293786", PatientName = "李四5", SexName = "男性", Age = "40岁", Result = "正常" }); |
|||
tb5.Add(new Table5() { PatientNo = "2401091235293787", PatientName = "李四6", SexName = "男性", Age = "40岁", Result = "正常" }); |
|||
tb5.Add(new Table5() { PatientNo = "2401091235293788", PatientName = "李四7", SexName = "男性", Age = "40岁", Result = "正常" }); |
|||
tb5.Add(new Table5() { PatientNo = "2401091235293789", PatientName = "李四8", SexName = "男性", Age = "40岁", Result = "正常" }); |
|||
tb5.Add(new Table5() { PatientNo = "2401091235293725", PatientName = "李四9", SexName = "男性", Age = "40岁", Result = "正常" }); |
|||
return tb5; |
|||
} |
|||
|
|||
public static List<Table6> CreateTable6() |
|||
{ |
|||
var tb6 = new List<Table6>(); |
|||
tb6.Add(new Table6() { Conclusion = "结论1", Credit = "张三,张三2,张三2,张三2,张三2,张三2,张三2,张三2", ManNum = 20, WomanNum = 6, TotalmanNum = 26, ManRate = 50, WomanRate = 50, AvgRate = 50 }); |
|||
tb6.Add(new Table6() { Conclusion = "结论2", Credit = "张三,张三2,张三2,张三2,张三2,张三2,张三2,张三2", ManNum = 20, WomanNum = 6, TotalmanNum = 26, ManRate = 50, WomanRate = 50, AvgRate = 50 }); |
|||
tb6.Add(new Table6() { Conclusion = "结论3", Credit = "张三,张三2,张三2,张三2,张三2,张三2,张三2,张三2", ManNum = 20, WomanNum = 6, TotalmanNum = 26, ManRate = 50, WomanRate = 50, AvgRate = 50 }); |
|||
tb6.Add(new Table6() { Conclusion = "结论4", Credit = "张三,张三2,张三2,张三2,张三2,张三2,张三2,张三2", ManNum = 20, WomanNum = 6, TotalmanNum = 26, ManRate = 50, WomanRate = 50, AvgRate = 50 }); |
|||
tb6.Add(new Table6() { Conclusion = "结论5", Credit = "张三,张三2,张三2,张三2,张三2,张三2,张三2,张三2", ManNum = 20, WomanNum = 6, TotalmanNum = 26, ManRate = 50, WomanRate = 50, AvgRate = 50 }); |
|||
tb6.Add(new Table6() { Conclusion = "结论12", Credit = "张三,张三2,张三2,张三2,张三2,张三2,张三2,张三2", ManNum = 20, WomanNum = 6, TotalmanNum = 26, ManRate = 50, WomanRate = 50, AvgRate = 50 }); |
|||
tb6.Add(new Table6() { Conclusion = "结论6", Credit = "张三,张三2,张三2,张三2,张三2,张三2,张三2,张三2", ManNum = 20, WomanNum = 6, TotalmanNum = 26, ManRate = 50, WomanRate = 50, AvgRate = 50 }); |
|||
tb6.Add(new Table6() { Conclusion = "结论7", Credit = "张三,张三2,张三2,张三2,张三2,张三2,张三2,张三2", ManNum = 20, WomanNum = 6, TotalmanNum = 26, ManRate = 50, WomanRate = 50, AvgRate = 50 }); |
|||
tb6.Add(new Table6() { Conclusion = "结论8", Credit = "张三,张三2,张三2,张三2,张三2,张三2,张三2,张三2", ManNum = 20, WomanNum = 6, TotalmanNum = 26, ManRate = 50, WomanRate = 50, AvgRate = 50 }); |
|||
tb6.Add(new Table6() { Conclusion = "结论11", Credit = "张三,张三2,张三2,张三2,张三2,张三2,张三2,张三2", ManNum = 20, WomanNum = 6, TotalmanNum = 26, ManRate = 50, WomanRate = 50, AvgRate = 50 }); |
|||
return tb6; |
|||
} |
|||
|
|||
public static List<Table7> CreateTable7() |
|||
{ |
|||
var tb = new List<Table7>(); |
|||
tb.Add(new Table7() { IcdName = "XXXXXX疾病1", Notes = "建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议" }); |
|||
tb.Add(new Table7() { IcdName = "XXXXXX疾病2", Notes = "建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议" }); |
|||
tb.Add(new Table7() { IcdName = "XXXXXX疾病3", Notes = "建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议" }); |
|||
tb.Add(new Table7() { IcdName = "XXXXXX疾病4", Notes = "建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议" }); |
|||
tb.Add(new Table7() { IcdName = "XXXXXX疾病5", Notes = "建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议" }); |
|||
tb.Add(new Table7() { IcdName = "XXXXXX疾病6", Notes = "建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议" }); |
|||
tb.Add(new Table7() { IcdName = "XXXXXX疾病7", Notes = "建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议" }); |
|||
tb.Add(new Table7() { IcdName = "XXXXXX疾病8", Notes = "建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议" }); |
|||
tb.Add(new Table7() { IcdName = "XXXXXX疾病9", Notes = "建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议" }); |
|||
tb.Add(new Table7() { IcdName = "XXXXXX疾病10", Notes = "建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议建议" }); |
|||
return tb; |
|||
} |
|||
|
|||
public static List<Table8> CreateTable8() |
|||
{ |
|||
var tb = new List<Table8>(); |
|||
tb.Add(new Table8() { PatientNo = "2401091235293785", PatientName = "李四", SexName = "男性", Age = "40岁", DeptName = "放射科" }); |
|||
tb.Add(new Table8() { PatientNo = "2401091235293785", PatientName = "李四1", SexName = "男性", Age = "40岁", DeptName = "放射科" }); |
|||
tb.Add(new Table8() { PatientNo = "2401091235293785", PatientName = "李四2", SexName = "男性", Age = "40岁", DeptName = "放射科" }); |
|||
tb.Add(new Table8() { PatientNo = "2401091235293785", PatientName = "李四3", SexName = "男性", Age = "40岁", DeptName = "放射科" }); |
|||
tb.Add(new Table8() { PatientNo = "2401091235293785", PatientName = "李四4", SexName = "男性", Age = "40岁", DeptName = "放射科" }); |
|||
tb.Add(new Table8() { PatientNo = "2401091235293785", PatientName = "李四5", SexName = "男性", Age = "40岁", DeptName = "放射科" }); |
|||
tb.Add(new Table8() { PatientNo = "2401091235293785", PatientName = "李四6", SexName = "男性", Age = "40岁", DeptName = "放射科" }); |
|||
tb.Add(new Table8() { PatientNo = "2401091235293785", PatientName = "李四7", SexName = "男性", Age = "40岁", DeptName = "放射科" }); |
|||
tb.Add(new Table8() { PatientNo = "2401091235293785", PatientName = "李四8", SexName = "男性", Age = "40岁", DeptName = "放射科" }); |
|||
return tb; |
|||
} |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,43 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Shentun.Peis.ReportTemplates |
|||
{ |
|||
public class CreateInspectionPersonnelPara |
|||
{ |
|||
/// <summary>
|
|||
/// 单位ID 需要包含查出子级ID
|
|||
/// </summary>
|
|||
public Guid CustomerOrgId { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 单位体检次数ID
|
|||
/// </summary>
|
|||
public Guid CustomerOrgRegisterId { get; set; } |
|||
|
|||
/// <summary>
|
|||
///
|
|||
/// </summary>
|
|||
public List<Guid> CustomerOrgGroupId { get; set; } = new List<Guid>(); |
|||
|
|||
/// <summary>
|
|||
/// 日期类型(1、登记日期 2、体检日期 3、总检日期)
|
|||
/// </summary>
|
|||
public char DateType { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 开始日期
|
|||
/// </summary>
|
|||
public string StartDate { get; set; } |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 结束日期
|
|||
/// </summary>
|
|||
public string EndDate { get; set; } |
|||
} |
|||
} |
|||
2330
src/Shentun.Peis.Domain/ReportTemplates/CustomerOrgReportManager.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,339 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.ComponentModel; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Shentun.Peis.ReportTemplates |
|||
{ |
|||
public class UnitPhysicalExaminationReportExportWordData |
|||
{ |
|||
/// <summary>
|
|||
/// 体检年度标题
|
|||
/// </summary>
|
|||
public string MedicalTitle { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 体检次数
|
|||
/// </summary>
|
|||
public int MedicalTimes { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 体检开始月份 格式:2009年09月
|
|||
/// </summary>
|
|||
public string MedicalStartDate { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 体检结束月份 格式:2009年09月
|
|||
/// </summary>
|
|||
public string MedicalEndDate { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 制表日期 格式:2009年09月09日
|
|||
/// </summary>
|
|||
public string TabulationDate { get; set; } |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 打印日期 格式:2009年09月09日
|
|||
/// </summary>
|
|||
public string PrintDate { get; set; } |
|||
|
|||
|
|||
|
|||
/// <summary>
|
|||
/// 登记明细 参加人员构成情况 第一部分
|
|||
/// </summary>
|
|||
public InspectionPersonnel_Detail RegisterDetail { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 实检明细 参加人员构成情况 第一部分
|
|||
/// </summary>
|
|||
public InspectionPersonnel_Detail CheckedDetail { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 未检明细 参加人员构成情况 第一部分
|
|||
/// </summary>
|
|||
public InspectionPersonnel_Detail UnCheckedDetail { get; set; } |
|||
|
|||
|
|||
|
|||
/// <summary>
|
|||
/// 体检项目得参检情况 第二部分
|
|||
/// </summary>
|
|||
public List<UnitPhysicalExaminationReportExportWordData_MedicalItemExamineSituation> MedicalItemExamineSituations { get; set; } = new List<UnitPhysicalExaminationReportExportWordData_MedicalItemExamineSituation>(); |
|||
|
|||
/// <summary>
|
|||
/// 全体员工体检结果汇总 第三部分
|
|||
/// </summary>
|
|||
public List<UnitPhysicalExaminationReportExportWordData_MedicalResultSummary> MedicalResultSummarys { get; set; } = new List<UnitPhysicalExaminationReportExportWordData_MedicalResultSummary>(); |
|||
|
|||
/// <summary>
|
|||
/// 体检异常结果检出统计 第四部分
|
|||
/// </summary>
|
|||
public List<UnitPhysicalExaminationReportExportWordData_MedicalAbnormalResultStatistics> MedicalAbnormalResultStatistics { get; set; } = new List<UnitPhysicalExaminationReportExportWordData_MedicalAbnormalResultStatistics>(); |
|||
|
|||
/// <summary>
|
|||
/// 十大异常结果分析 第五部分
|
|||
/// </summary>
|
|||
public List<UnitPhysicalExaminationReportExportWordData_MedicalTenAbnormalResult> MedicalTenAbnormalResults { get; set; } = new List<UnitPhysicalExaminationReportExportWordData_MedicalTenAbnormalResult>(); |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 体检者未完成情况 第六部分
|
|||
/// </summary>
|
|||
public List<UnitPhysicalExaminationReportExportWordData_MedicalUnCheckedStatistics> MedicalUnCheckedStatistics { get; set; } = new List<UnitPhysicalExaminationReportExportWordData_MedicalUnCheckedStatistics>(); |
|||
} |
|||
|
|||
|
|||
|
|||
/// <summary>
|
|||
/// 检查明细 1
|
|||
/// </summary>
|
|||
public class InspectionPersonnel_Detail |
|||
{ |
|||
/// <summary>
|
|||
/// 男性人数
|
|||
/// </summary>
|
|||
public int MaleNumber { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 女性人数
|
|||
/// </summary>
|
|||
public int FemaleNumber { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 其他人数
|
|||
/// </summary>
|
|||
public int OtherNumber { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 合计人数
|
|||
/// </summary>
|
|||
public int TotalNumber { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 男性比例
|
|||
/// </summary>
|
|||
public string MaleRatio { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 女性比例
|
|||
/// </summary>
|
|||
public string FemaleRatio { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 男性参检比例
|
|||
/// </summary>
|
|||
public string MaleExamineRatio { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 女性参检比例
|
|||
/// </summary>
|
|||
public string FemaleExamineRatio { get; set; } |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 平均参检比例
|
|||
/// </summary>
|
|||
public string AverageExamineRatio { get; set; } |
|||
} |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 体检项目得参检情况 2
|
|||
/// </summary>
|
|||
public class UnitPhysicalExaminationReportExportWordData_MedicalItemExamineSituation |
|||
{ |
|||
/// <summary>
|
|||
/// 科室
|
|||
/// </summary>
|
|||
public string ItemTypeName { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 组合项目名称
|
|||
/// </summary>
|
|||
public string AsbitemName { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 男性该项目参检人数
|
|||
/// </summary>
|
|||
public int MaleAsbitemCheckNumber { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 女性该项目参检人数
|
|||
/// </summary>
|
|||
public int FemaleAsbitemCheckNumber { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 合计该项目参检人数
|
|||
/// </summary>
|
|||
public int TotalAsbitemCheckNumber { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 男性总体参检人数 所有项目
|
|||
/// </summary>
|
|||
public int MaleSumCheckNumber { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 女性总体参检人数 所有项目
|
|||
/// </summary>
|
|||
public int FemaleSumCheckNumber { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 合计总体参检人数 所有项目
|
|||
/// </summary>
|
|||
public int TotalSumCheckNumber { get; set; } |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 男性该项目参检比例
|
|||
/// </summary>
|
|||
public string MaleAsbitemCheckRatio { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 女性该项目参检比例
|
|||
/// </summary>
|
|||
public string FemaleAsbitemCheckRatio { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 合计该项目参检比例
|
|||
/// </summary>
|
|||
public string TotalAsbitemCheckRatio { get; set; } |
|||
|
|||
|
|||
} |
|||
|
|||
/// <summary>
|
|||
/// 全体员工体检结果汇总 统计已总检的名单 3
|
|||
/// </summary>
|
|||
public class UnitPhysicalExaminationReportExportWordData_MedicalResultSummary |
|||
{ |
|||
/// <summary>
|
|||
/// 档案号
|
|||
/// </summary>
|
|||
public string PatientNo { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 姓名
|
|||
/// </summary>
|
|||
public string PatientName { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 性别
|
|||
/// </summary>
|
|||
public string SexName { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 年龄
|
|||
/// </summary>
|
|||
public string Age { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 体检结果
|
|||
/// </summary>
|
|||
public string MedicalResult { get; set; } |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// 体检异常结果检出统计 4
|
|||
/// </summary>
|
|||
public class UnitPhysicalExaminationReportExportWordData_MedicalAbnormalResultStatistics |
|||
{ |
|||
/// <summary>
|
|||
/// 诊断名称
|
|||
/// </summary>
|
|||
public string DiagnosisName { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 人员名单 多个、组合到一起
|
|||
/// </summary>
|
|||
public string PatientDetail { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 男性人数
|
|||
/// </summary>
|
|||
public int MaleNumber { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 女性人数
|
|||
/// </summary>
|
|||
public int FemaleNumber { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 合计人数
|
|||
/// </summary>
|
|||
public int TotalNumber { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 男性比例
|
|||
/// </summary>
|
|||
public string MaleRatio { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 女性比例
|
|||
/// </summary>
|
|||
public string FemaleRatio { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 平均比例
|
|||
/// </summary>
|
|||
public string AverageRatio { get; set; } |
|||
} |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 十大异常结果分析 5
|
|||
/// </summary>
|
|||
public class UnitPhysicalExaminationReportExportWordData_MedicalTenAbnormalResult |
|||
{ |
|||
/// <summary>
|
|||
/// 诊断名称
|
|||
/// </summary>
|
|||
public string DiagnosisName { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 诊断建议
|
|||
/// </summary>
|
|||
public string DiagnosisSuggestion { get; set; } |
|||
|
|||
} |
|||
|
|||
|
|||
|
|||
/// <summary>
|
|||
/// 体检者未完成情况 6
|
|||
/// </summary>
|
|||
public class UnitPhysicalExaminationReportExportWordData_MedicalUnCheckedStatistics |
|||
{ |
|||
/// <summary>
|
|||
/// 档案号
|
|||
/// </summary>
|
|||
public string PatientNo { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 姓名
|
|||
/// </summary>
|
|||
public string PatientName { get; set; } |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 性别
|
|||
/// </summary>
|
|||
public string SexName { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 年龄
|
|||
/// </summary>
|
|||
public string Age { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 部门名称
|
|||
/// </summary>
|
|||
public string DepartmentName { get; set; } |
|||
|
|||
} |
|||
|
|||
|
|||
} |
|||
|
After Width: 524 | Height: 167 | Size: 31 KiB |
|
After Width: 193 | Height: 158 | Size: 8.7 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue