using HL_FristAidPlatform_Help;
using HL_FristAidPlatform_Models;
namespace HL_FristAidPlatform_IDataBase
{
///
/// 接口层T_Service_EMR_Prehospital
///
public interface IT_Service_Apoplexy_Prehospital
{
#region 成员方法
///
/// 增加一条数据
///
T_Service_Apoplexy_Prehospital Add(T_Service_Apoplexy_Prehospital model);
///
/// 更新一条数据
///
int Update(T_Service_Apoplexy_Prehospital model);
int UpdateForScreen(T_Service_Apoplexy_Prehospital model);
///
/// 增加一条数据
///
public T_Service_Apoplexy_EmergencyRoom Add(T_Service_Apoplexy_EmergencyRoom model);
///
/// 更新一条数据
///
public int Update(T_Service_Apoplexy_EmergencyRoom model);
///
/// 仅更新赋值的字段
///
/// 实体类
///
int UpdateNotNullColumns(T_Service_Apoplexy_Prehospital model);
///
/// 删除数据
///
bool Delete(long ID);
///
/// 获取单个数据
///
T_Service_Apoplexy_Prehospital Get(long id);
///
/// 根据患者GUID查询既往病史及检查信息
///
///
///
public T_Service_Apoplexy_EmergencyRoom GetEmergencyRoomByPatient(string guid);
// 根据患者GUID查询院前信息
///
///
///
T_Service_Apoplexy_Prehospital GetOfPatient(string guid);
T_Service_Apoplexy_Prehospital GetByPatientGuid(string guid);
///
/// 根据分页获得数据列表
///
TableModel GetPageList(int pageIndex, int pageSize);
///
/// 根据患者编号(GUID)+所属报表类型 获取数据信息
///
/// 病人编号(GUID)
/// 所属报表类型0:公用;1:脑出血手术数据直报表;2:颅内动脉瘤手术数据直报表;3:CEACAS数据直报表;4:静脉溶栓血管内介入治疗数据直报表;9:卒中联盟数据报表
///
TableModel GetByPatientGuidAndReportType(string patientGuid);
#endregion 成员方法
}
}