|
|
@ -29,6 +29,7 @@ namespace Shentun.Peis.PlugIns.WebAppoints |
|
|
private static string _webPeisToken; |
|
|
private static string _webPeisToken; |
|
|
private string _webPeisGetAppointPatientRegisterListByFilterUrl; |
|
|
private string _webPeisGetAppointPatientRegisterListByFilterUrl; |
|
|
private string _webPeisGetAppointRegisterAsbitemListByIdUrl; |
|
|
private string _webPeisGetAppointRegisterAsbitemListByIdUrl; |
|
|
|
|
|
private string _webPeisGetByPatientRegisterIdUrl; |
|
|
private Guid _medicalCenterId; |
|
|
private Guid _medicalCenterId; |
|
|
public WebAppointWebPeisPlugIns(Guid thirdInterfaceId) : base(thirdInterfaceId) |
|
|
public WebAppointWebPeisPlugIns(Guid thirdInterfaceId) : base(thirdInterfaceId) |
|
|
{ |
|
|
{ |
|
|
@ -46,6 +47,7 @@ namespace Shentun.Peis.PlugIns.WebAppoints |
|
|
_webPeisBaseAddress = InterfaceConfig.GetSection("Interface").GetSection("BaseAddress").Value; |
|
|
_webPeisBaseAddress = InterfaceConfig.GetSection("Interface").GetSection("BaseAddress").Value; |
|
|
_webPeisGetAppointPatientRegisterListByFilterUrl = InterfaceConfig.GetSection("Interface").GetSection("GetAppointPatientRegisterListByFilterUrl").Value; |
|
|
_webPeisGetAppointPatientRegisterListByFilterUrl = InterfaceConfig.GetSection("Interface").GetSection("GetAppointPatientRegisterListByFilterUrl").Value; |
|
|
_webPeisGetAppointRegisterAsbitemListByIdUrl = InterfaceConfig.GetSection("Interface").GetSection("GetAppointRegisterAsbitemListByIdUrl").Value; |
|
|
_webPeisGetAppointRegisterAsbitemListByIdUrl = InterfaceConfig.GetSection("Interface").GetSection("GetAppointRegisterAsbitemListByIdUrl").Value; |
|
|
|
|
|
_webPeisGetByPatientRegisterIdUrl = InterfaceConfig.GetSection("Interface").GetSection("GetByPatientRegisterId").Value; |
|
|
} |
|
|
} |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 获取预约人员列表
|
|
|
/// 获取预约人员列表
|
|
|
@ -70,7 +72,7 @@ namespace Shentun.Peis.PlugIns.WebAppoints |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 获取组合项目列表
|
|
|
|
|
|
|
|
|
/// 获取组合项目列表通过预约ID
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <param name="input"></param>
|
|
|
/// <param name="input"></param>
|
|
|
/// <returns></returns>
|
|
|
/// <returns></returns>
|
|
|
@ -85,7 +87,22 @@ namespace Shentun.Peis.PlugIns.WebAppoints |
|
|
(_webPeisGetAppointRegisterAsbitemListByIdUrl, webAppointPatientRegisterIdInput); |
|
|
(_webPeisGetAppointRegisterAsbitemListByIdUrl, webAppointPatientRegisterIdInput); |
|
|
return appointRegisterAsbitemDtos; |
|
|
return appointRegisterAsbitemDtos; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 获取预约信息人员通过登记ID
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="input"></param>
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
public override async Task<AppointPatientRegisterDto> GetByPatientRegisterIdAsync(AppointPatientRegisterIdInputDto input) |
|
|
|
|
|
{ |
|
|
|
|
|
var webAppointPatientRegisterIdInput = new WebPatientRegisterIdInput() |
|
|
|
|
|
{ |
|
|
|
|
|
PatientRegisterId = input.PatientRegisterId |
|
|
|
|
|
}; |
|
|
|
|
|
var appointPatientRegisterDto = await CallWePeisAppServiceAsync<WebPatientRegisterIdInput, |
|
|
|
|
|
AppointPatientRegisterDto> |
|
|
|
|
|
(_webPeisGetByPatientRegisterIdUrl, webAppointPatientRegisterIdInput); |
|
|
|
|
|
return appointPatientRegisterDto; |
|
|
|
|
|
} |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 获取需要同步到web的人员ID
|
|
|
/// 获取需要同步到web的人员ID
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
|