更新
This commit is contained in:
@@ -10,6 +10,22 @@ class AssistantPerformanceLogic
|
||||
/** 履约完成 */
|
||||
private const FULFILLMENT_COMPLETED = 3;
|
||||
|
||||
/**
|
||||
* 「我的复诊接诊率」卡片(方案 §10 D1-h):仅返回当前登录医助本人的复诊接诊率行。
|
||||
* 口径与复诊接诊率页一致(inherit_mode 取配置 project.revisit_rate.default_inherit_mode,默认 slot:
|
||||
* 继承患者按继承时诊次从第 k+1 诊起计入分母);非二中心医助或当月无被指派患者时 row=null。
|
||||
*
|
||||
* @param string $month 统计月份 YYYY-MM,空 / 非法时回退当前月
|
||||
*
|
||||
* @return array{month:string,inherit_mode:string,slots:list<int>,in_scope:bool,row:array<string,mixed>|null}
|
||||
*/
|
||||
public static function revisitRate(int $adminId, string $month): array
|
||||
{
|
||||
$mode = (string) config('project.revisit_rate.default_inherit_mode', 'slot');
|
||||
|
||||
return RevisitRateLogic::assistantOverview($adminId, $month, $mode);
|
||||
}
|
||||
|
||||
public static function overview(array $params, int $adminId, array $adminInfo): array
|
||||
{
|
||||
// 时间范围解析
|
||||
|
||||
Reference in New Issue
Block a user