Browse Source

心电图

bjmzak
wxd 1 year ago
parent
commit
a7ff237f78
  1. 12
      ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultPlugInsGem.cs
  2. 12
      src/Shentun.Peis.HttpApi.Host/PeisHttpApiHostModule.cs

12
ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultPlugInsGem.cs

@ -15,8 +15,8 @@ namespace Shentun.Peis.PlugIns.Gem
{
public class ImportPacsResultPlugInsGem : ImportPacsResultPlugInsBase
{
public ImportPacsResultPlugInsGem(Guid thirdInterfaceId):base(thirdInterfaceId)
{
public ImportPacsResultPlugInsGem(Guid thirdInterfaceId) : base(thirdInterfaceId)
{
}
public ImportPacsResultPlugInsGem(string parmValue) : base(parmValue)
{
@ -42,8 +42,9 @@ namespace Shentun.Peis.PlugIns.Gem
tjNum = pacsRequest.CheckRequestNo,
organizeCode = "1",
patientType = "3",
//requestId = pacsRequest.CheckRequestNo,
beginTime = beginTime.ToString("yyyy-MM-dd HH:mm:ss"),
////requestId = pacsRequest.CheckRequestNo,
//beginTime = beginTime.ToString("yyyy-MM-dd HH:mm:ss"),
//endTime=DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
pageNo = 1,
pageSize = 20
};
@ -66,7 +67,7 @@ namespace Shentun.Peis.PlugIns.Gem
{
CheckRequestNo = pacsRequest.CheckRequestNo,
PatientName = pacsRequest.PatientName,
Result = firstData.examDescript,
Result = string.IsNullOrEmpty(firstData.examDescript) ? firstData.examDiagnosis : "",
Summary = firstData.examDiagnosis,
Suggestion = firstData.suggestion,
CheckDate = checkDate,
@ -86,6 +87,7 @@ namespace Shentun.Peis.PlugIns.Gem
}
};
var callResult = await CallAppServiceAsync<CreateImportPacsResultDto, object>("api/app/ImportPacsResult/ImportResult", createImportPacsResultDto);
}

12
src/Shentun.Peis.HttpApi.Host/PeisHttpApiHostModule.cs

@ -118,7 +118,7 @@ public class PeisHttpApiHostModule : AbpModule
ConfigureSwaggerServices(context, configuration);
ConfigureJsonOptions(); //全局配置api返回值中的日期默认格式
//context.Services.AddControllers().AddJsonOptions(configure =>
//{
// configure.JsonSerializerOptions.Converters.Add(new DateTimeJsonConverter());
@ -227,7 +227,7 @@ public class PeisHttpApiHostModule : AbpModule
/// </summary>
private void ConfigureJsonOptions()
{
//context.Services.AddControllers().AddJsonOptions(options =>
//{
// options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All);
@ -627,19 +627,19 @@ public class PeisHttpApiHostModule : AbpModule
{
if (thirdInterfaceDto.ThirdInterfaceType == "02")
{
RecurringJob.AddOrUpdate<IChargeRequestInterfaceQueryWorker>("收费接口", o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
RecurringJob.AddOrUpdate<IChargeRequestInterfaceQueryWorker>(thirdInterfaceDto.DisplayName, o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
}
else if (thirdInterfaceDto.ThirdInterfaceType == "03")
{
RecurringJob.AddOrUpdate<IImportLisResultInterfaceWorker>("导入检验结果接口", o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
RecurringJob.AddOrUpdate<IImportLisResultInterfaceWorker>(thirdInterfaceDto.DisplayName, o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
}
else if (thirdInterfaceDto.ThirdInterfaceType == "04")
{
RecurringJob.AddOrUpdate<IImportPacsResultInterfaceWorker>("导入Pacs结果接口", o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
RecurringJob.AddOrUpdate<IImportPacsResultInterfaceWorker>(thirdInterfaceDto.DisplayName, o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
}
else if (thirdInterfaceDto.ThirdInterfaceType == "05")
{
RecurringJob.AddOrUpdate<IImportPatientRegisterInterfaceWorker>("导入人员登记信息结果接口", o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
RecurringJob.AddOrUpdate<IImportPatientRegisterInterfaceWorker>(thirdInterfaceDto.DisplayName, o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
}
}
}

Loading…
Cancel
Save