|
|
|
@ -12,6 +12,8 @@ using Shentun.Peis.Models; |
|
|
|
using Shentun.Peis.OcCheckTypes; |
|
|
|
using Shentun.Peis.OccupationalDiseases; |
|
|
|
using Shentun.Peis.PatientRegisters; |
|
|
|
using Shentun.Peis.Reports; |
|
|
|
using Shentun.Peis.Reports.ConvertRpt; |
|
|
|
using Shentun.Peis.SumSuggestionContents; |
|
|
|
using Shentun.Peis.SumSuggestionHeaders; |
|
|
|
using Shentun.Peis.SumSummaryContents; |
|
|
|
@ -273,6 +275,19 @@ namespace Shentun.Peis.PrintReports |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取体检人员指引单报告数据 不需要转换版本
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="PatientRegisterId"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("api/app/PrintReport/GetPatientRegisterGuideReportConvertToReport")] |
|
|
|
public async Task<Rpt0001Dto> GetPatientRegisterGuideReportConvertToReportAsync(Guid PatientRegisterId) |
|
|
|
{ |
|
|
|
var oldDto = await GetPatientRegisterGuideReportAsync(PatientRegisterId); |
|
|
|
var entDto = await ConvertToReport.ToPatientGuideReportDataAsync(oldDto); |
|
|
|
return entDto; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 批量获取体检人员指引单报告数据
|
|
|
|
/// </summary>
|
|
|
|
@ -473,6 +488,19 @@ namespace Shentun.Peis.PrintReports |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 打印检验申请单 不需要转换版本
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("api/app/PrintReport/GetLisRequestReportByPatientRegisterIdConvertToReport")] |
|
|
|
public async Task<Rpt0002Dto> GetLisRequestReportByPatientRegisterIdConvertToReportAsync(PatientRegisterIdInputDto input) |
|
|
|
{ |
|
|
|
var oldDto = await GetLisRequestReportByPatientRegisterIdAsync(input); |
|
|
|
var entDto = await ConvertToReport.ToLisRequestReportDataAsync(oldDto); |
|
|
|
return entDto; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 单个打印检验条码
|
|
|
|
/// </summary>
|
|
|
|
@ -554,6 +582,21 @@ namespace Shentun.Peis.PrintReports |
|
|
|
|
|
|
|
return lisRequestDto; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 单个打印检验条码 不需要转换版本
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="input"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("api/app/PrintReport/GetLisRequestReportByLisRequestIdConvertToReport")] |
|
|
|
public async Task<Rpt0002Dto> GetLisRequestReportByLisRequestIdConvertToReportAsync(LisRequestIdInputDto input) |
|
|
|
{ |
|
|
|
var oldDto = await GetLisRequestReportByLisRequestIdAsync(input); |
|
|
|
var entDto = await ConvertToReport.ToLisRequestReportDataAsync(new List<LisRequestReportDto> { oldDto }); |
|
|
|
return entDto; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 打印体检报告
|
|
|
|
/// </summary>
|
|
|
|
@ -584,6 +627,17 @@ namespace Shentun.Peis.PrintReports |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 打印体检报告 不需要转换版本
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("api/app/PrintReport/GetMedicalReportConvertToReport")] |
|
|
|
public async Task<Rpt0005Dto> GetMedicalReportConvertToReportAsync(PatientRegisterIdInputDto input) |
|
|
|
{ |
|
|
|
var oldDto = await GetMedicalReportAsync(input); |
|
|
|
var entDto = await ConvertToReport.ToHealthReportDataAsync(oldDto); |
|
|
|
return entDto; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取职业病体检报告
|
|
|
|
@ -767,6 +821,19 @@ namespace Shentun.Peis.PrintReports |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取职业病体检报告 不需要转换版本
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="input"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("api/app/PrintReport/GetOccupationalDiseaseMedicalReportConvertToReport")] |
|
|
|
public async Task<Rpt0006Dto> GetOccupationalDiseaseMedicalReportConvertToReportAsync(PatientRegisterIdInputDto input) |
|
|
|
{ |
|
|
|
var oldDto = await GetOccupationalDiseaseMedicalReportAsync(input); |
|
|
|
var entDto = await ConvertToReport.ToOccupationalDiseaseReportDataAsync(oldDto); |
|
|
|
return entDto; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 打印Pacs条码数据
|
|
|
|
@ -852,6 +919,21 @@ namespace Shentun.Peis.PrintReports |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 打印Pacs条码数据 不需要转换版本
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="input"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("api/app/PrintReport/GetPacsNoReportConvertToReport")] |
|
|
|
public async Task<Rpt0004Dto> GetPacsNoReportConvertToReportAsync(PatientRegisterIdInputDto input) |
|
|
|
{ |
|
|
|
|
|
|
|
var oldDto = await GetPacsNoReportAsync(input); |
|
|
|
var entDto = await ConvertToReport.ToExamRequestReportDataAsync(oldDto); |
|
|
|
return entDto; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 打印Pacs条码数据 单个条码打印
|
|
|
|
/// </summary>
|
|
|
|
@ -932,6 +1014,20 @@ namespace Shentun.Peis.PrintReports |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 打印Pacs条码数据 单个条码打印
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="input"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("api/app/PrintReport/GetPacsNoReportByCheckRequestNoConvertToReport")] |
|
|
|
public async Task<Rpt0004Dto> GetPacsNoReportByCheckRequestNoConvertToReportAsync(RegisterCheckIdInputDto input) |
|
|
|
{ |
|
|
|
var oldDto = await GetPacsNoReportByCheckRequestNoAsync(input); |
|
|
|
var entDto = await ConvertToReport.ToExamRequestReportDataAsync(new List<PacsNoReportDto> { oldDto }); |
|
|
|
return entDto; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// 打印Pacs条码数据
|
|
|
|
///// </summary>
|
|
|
|
@ -989,6 +1085,22 @@ namespace Shentun.Peis.PrintReports |
|
|
|
{ |
|
|
|
return await _chargeReportRepository.GetChargeReportAsync(ChargeId); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 打印收费单 不需要转换版本
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="ChargeId">收费主表ID</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("api/app/PrintReport/GetChargeReportConvertToReport")] |
|
|
|
public async Task<Rpt0007Dto> GetChargeReportConvertToReportAsync(Guid ChargeId) |
|
|
|
{ |
|
|
|
var oldDto = await GetChargeReportAsync(ChargeId); |
|
|
|
var entDto = await ConvertToReport.ToPayBillReportDataAsync(oldDto); |
|
|
|
return entDto; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取体检报告人员信息
|
|
|
|
/// </summary>
|
|
|
|
|