StableVersion4.3/HL_FristAidPlatform_IService/Service/IT_Service_Apoplexy_Prehosp...

74 lines
2.7 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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