52 lines
1.8 KiB
C#
52 lines
1.8 KiB
C#
using HL_FristAidPlatform_Help;
|
|
using HL_FristAidPlatform_Models;
|
|
|
|
namespace HL_FristAidPlatform_IDataBase
|
|
{
|
|
/// <summary>
|
|
/// 胸痛首次医疗接触
|
|
/// </summary>
|
|
public interface IT_Service_ChestPain_FirstMedicalReception
|
|
{
|
|
/// <summary>
|
|
/// 增加一条数据
|
|
/// </summary>
|
|
T_Service_ChestPain_FirstMedicalReception Add(T_Service_ChestPain_FirstMedicalReception model);
|
|
/// <summary>
|
|
/// 更新一条数据
|
|
/// </summary>
|
|
bool Update(T_Service_ChestPain_FirstMedicalReception model);
|
|
/// <summary>
|
|
/// 只更新指定字段
|
|
/// 更新肌钙蛋白cTnI值 患者编号+cTnI值
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
int UpdateCTnI(T_Service_ChestPain_FirstMedicalReception model);
|
|
/// <summary>
|
|
/// 删除数据
|
|
/// </summary>
|
|
bool Delete(long ID);
|
|
/// <summary>
|
|
/// 获取单个数据
|
|
/// </summary>
|
|
T_Service_ChestPain_FirstMedicalReception Get(long id);
|
|
/// <summary>
|
|
/// 根据分页获得数据列表
|
|
/// </summary>
|
|
TableModel<T_Service_ChestPain_FirstMedicalReception> GetPageList(int pageIndex, int pageSize);
|
|
/// <summary>
|
|
/// 根据患者编号(GUID) 获取数据信息
|
|
/// </summary>
|
|
/// <param name="patientGuid">病人编号(GUID)</param>
|
|
/// <returns></returns>
|
|
TableModel<T_Service_ChestPain_FirstMedicalReception> GetByPatientGuid(string patientGuid);
|
|
/// <summary>
|
|
/// 根据where条件查询列表
|
|
/// </summary>
|
|
/// <param name="where"></param>
|
|
/// <returns></returns>
|
|
TableModel<Patient_FirstMedicalReception> GetModelByReport(string where);
|
|
}
|
|
}
|