using HL_FristAidPlatform_Help;
using HL_FristAidPlatform_Models;
using System;
using System.Collections.Generic;
namespace HL_FristAidPlatform_IDataBase
{
///
/// 接口层T_Service_ChestPain_Prehospital
///
public interface IT_Service_ChestPain_Prehospital
{
#region 成员方法
///
/// 增加一条数据
///
T_Service_ChestPain_Prehospital Add(T_Service_ChestPain_Prehospital model);
///
/// 更新一条数据
///
bool Update(T_Service_ChestPain_Prehospital model);
///
/// 删除数据
///
bool Delete(long ID);
///
/// 获取单个数据
///
T_Service_ChestPain_Prehospital Get(long id);
T_Service_ChestPain_Prehospital GetByGuid(string patientguid);
///
/// 根据分页获得数据列表
///
TableModel GetPageList(int pageIndex, int pageSize);
///
/// 根据患者编号(GUID) 获取数据信息
///
/// 病人编号(GUID)
///
TableModel GetByPatientGuid(string patientGuid);
///
/// 根据时间获取数据
///
///
///
TableModel GetWhere(DateTime startTime, DateTime endTime);
///
/// 根据时间获取统计数据
///
///
///
///
TableModel GetKeyValueByReport(DateTime startTime, DateTime endTime,string where);
#endregion 成员方法
#region 胸痛指标分析表报
///
/// STEMI患者首份ECG(远程传输或院内)至心电图确诊时间;≤10分钟比例
///
///
///
///
///
///
///
ReprotModel GetIndexWhere(DateTime startTime, DateTime endTime, string mcTimeAxisID, string eCGTimeAxisID, string screen);
///
/// 120急救或者转运患者ECG远程传输比例
///
///
///
///
///
ECGTransmissionReportModel GetECGTransmissionReport(DateTime startTime, DateTime endTime, string screen);
///
/// STEMI患者首份ECG(远程传输或院内)至心电图确诊时间;≤10分钟比例
///
///
///
///
ReprotModel GetECGDiagnosisReport(DateTime startTime, DateTime endTime);
///
/// STEMI患者首次医疗接触至双重抗血小板治疗比例、时间;≤10分钟比例
///
///
///
///
ReprotModel GetDoubleResistanceReport(DateTime startTime, DateTime endTime);
///
/// 通用表报
///
///
///
///
///
ReprotModel GetReport(DateTime startTime, DateTime endTime, string reportName);
///
/// 来院方式统
///
///
///
///
///
List GetChestPainToHospitalWay(string hosptialGuid, string startTime, string endTime);
#endregion
}
}