package com.ruoyi.quartz.service;
|
|
import com.ruoyi.common.core.domain.entity.SysDept;
|
import com.ruoyi.common.core.domain.entity.SysUser;
|
import com.smartor.domain.*;
|
import com.ruoyi.outpatientvisit.domain.PatMedOuthosp;
|
import com.ruoyi.inhospvisit.domain.PatMedInhosp;
|
|
import java.util.Date;
|
import java.util.List;
|
import com.ruoyi.common.core.domain.entity.PatArchive;
|
import com.ruoyi.common.core.domain.entity.Icd10;
|
import com.ruoyi.datacollection.domain.HnDataGatherVO;
|
|
public interface ICollectHISService {
|
|
/**
|
* 数据采集
|
*
|
* @param
|
* @return
|
*/
|
public Integer sync();
|
|
/**
|
* 查询患者档案列表
|
*
|
* @param patArchive 患者档案
|
* @return 患者档案集合
|
*/
|
public List<PatArchive> selectPatArchiveList(PatArchive patArchive);
|
|
/**
|
* 出入院信息
|
*
|
* @param patMedInhosp
|
* @return
|
*/
|
public Integer selectPatMedInhospList(PatMedInhosp patMedInhosp);
|
|
/**
|
* 数据采集
|
*
|
* @param patMedInhosp
|
* @return
|
*/
|
public Boolean hnDataGather(HnDataGatherVO patMedInhosp);
|
|
/**
|
* 门急诊信息
|
*
|
* @param id
|
* @return
|
*/
|
public Integer selectPatMedOuthospList(PatMedOuthosp patMedOuthosp);
|
|
|
/**
|
* 查询疾病列表
|
*
|
* @param icd10 疾病
|
* @return 疾病集合
|
*/
|
public Integer selectIcd10List(Icd10 icd10);
|
|
/**
|
* 根据条件分页查询用户列表
|
*
|
* @param sysUser 用户信息
|
* @return 用户信息集合信息
|
*/
|
public Integer selectUserList(SysUser sysUser);
|
|
/**
|
* 异步同步用户信息(提交后立即返回,由后台线程执行)
|
*
|
* @param sysUser 用户信息
|
* @return true=已提交;false=已有同步任务在执行
|
*/
|
public boolean selectUserListAsync(SysUser sysUser);
|
|
/**
|
* 查询部门管理数据
|
*
|
* @param dept 部门信息
|
* @return 部门信息集合
|
*/
|
public Integer selectDeptList(SysDept dept);
|
|
|
/**
|
* 市一同步
|
*/
|
public Integer syncMedInhosp(String startTime, String endTime);
|
|
/**
|
* 市一同步
|
*/
|
public Integer syncOper(String startTime, String endTime);
|
|
/**
|
* 采集指定机构的门诊接诊完成记录,并按配置生成妇科/儿科档案。
|
* 当前仅支持丽水市妇幼保健院(orgid = 47226079133110211G1001)。
|
*
|
* @param orgid 机构ID
|
* @param startTime 就诊开始时间,为空时默认昨天 00:00:00
|
* @param endTime 就诊结束时间,为空时默认今天 00:00:00
|
* @return 采集并处理的记录数
|
*/
|
public Integer collectMchOuthospAndGenerateArchive(String orgid, Date startTime, Date endTime);
|
}
|