| | |
| | | public Map<String, Object> getCurrentUserServiceSubtaskCount(ServiceSubtaskEntity entity); |
| | | |
| | | /** |
| | | * 当前登录人待处理随访任务,按出院年月分组统计(出院随访、门诊随访分开计数) |
| | | * <p> |
| | | * 口径:出院随访 service_type='2'、门诊随访 service_type='3' |
| | | * + 待随访状态(sendstate in 1,2,3,5,7) |
| | | * + 出院满 7 天(含「7 天前那一天」出院的患者),且只看最近 4 个出院月份(含当月)。 |
| | | * |
| | | * @param entity 查询条件(orgid、科室、病区) |
| | | * @return { total: 总数量, months: [{ month: 'yyyy-MM', dischargeCount: 出院随访数量, outpatientCount: 门诊随访数量 }] } |
| | | * 只返回有数据的月份,没有数据的月份由前端补 0 |
| | | */ |
| | | public Map<String, Object> getPendingManualTaskMonthStats(ServiceSubtaskEntity entity); |
| | | |
| | | /** |
| | | * 按病区或科室统计延续护理数量 |
| | | * 都不传时同时按病区和科室各统计一遍 |
| | | * |