using HL_FristAidPlatform_DataBase;
using HL_FristAidPlatform_Help;
using HL_FristAidPlatform_IDataBase;
using HL_FristAidPlatform_Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HL_FristAidPlatform_Bussiness
{
public class ChestPainUnitBLL
{
private IChestPainUnit IService = new ChestPainUnitDB();
IT_Base_Config IConfig = new T_Base_ConfigDB();
///
/// 胸痛单元患者列表查询
///
///
///
///
///
///
///
///
///
///
public TableModel GetChestPainUnitList(string hospitalGuid, string starTime, string endTime, string preliminaryDiagnosis, string hospitalMode, string name, int pageIndex, int pageSize, string GreenWay)
{
T_Base_Config Config10008 = IConfig.Get(10008);
return IService.GetChestPainUnitList(hospitalGuid, Convert.ToInt32(Config10008.Config.ToString()), starTime, endTime, preliminaryDiagnosis, hospitalMode, name, pageIndex, pageSize, GreenWay);
}
///
/// 胸痛单元来院方式统计查询
///
///
///
///
public ChestPainUnitHospitalModel GetChestPainUnitHospitalModel(string hospitalGuid)
{
T_Base_Config Config10008 = IConfig.Get(10008);
return IService.GetChestPainUnitHospitalModel(hospitalGuid, Convert.ToInt32(Config10008.Config.ToString()));
}
///
/// 胸痛单元病例个数统计
///
///
///
///
public List GetCaseStatistics(string hospitalGuid)
{
T_Base_Config Config10008 = IConfig.Get(10008);
return IService.GetCaseStatistics(hospitalGuid, Convert.ToInt32(Config10008.Config.ToString()));
}
///
/// 首次医疗接触到首份心电图平均耗时统计查询
///
///
///
///
///
///
public List GetFMCTOECGAVG(string hospitalGuid, string startTime, string endTime)
{
T_Base_Config Config10008 = IConfig.Get(10008);
return IService.GetFMCTOECGAVG(hospitalGuid, Convert.ToInt32(Config10008.Config.ToString()), startTime, endTime);
}
public List GetFMCTOECGAVGList(string hospitalGuid, string startTime, string endTime)
{
T_Base_Config Config10008 = IConfig.Get(10008);
return IService.GetFMCTOECGAVGList(hospitalGuid, Convert.ToInt32(Config10008.Config.ToString()), startTime, endTime);
}
///
/// 肌钙蛋白抽血完成至出报告时间统计
///
///
///
///
///
///
public List GetTroponinAVG(string hospitalGuid, string startTime, string endTime)
{
T_Base_Config Config10008 = IConfig.Get(10008);
return IService.GetTroponinAVG(hospitalGuid, Convert.ToInt32(Config10008.Config.ToString()), startTime, endTime);
}
}
}