更新
This commit is contained in:
@@ -23,6 +23,18 @@ use think\facade\Log;
|
||||
*/
|
||||
class PatientAiReportLogic extends BaseLogic
|
||||
{
|
||||
/** Pure normalization only. Caller must authorize every supplied row before using this helper. */
|
||||
public static function normalizeAuthorizedClinicalRows(array $sources): array
|
||||
{
|
||||
return self::buildSourceSnapshotFromRows($sources);
|
||||
}
|
||||
|
||||
/** Shared redaction rules; does not load data or grant access. */
|
||||
public static function redactClinicalSource(array $source): array
|
||||
{
|
||||
return self::sanitizeSnapshotForUpstream($source);
|
||||
}
|
||||
|
||||
public const DISCLAIMER = '仅供临床辅助参考,不可替代医生诊断。系统会把舌像、报告等附件与全部文字资料提交给已配置的模型分析,但模型识别结果仍须由执业医师核对原始资料;视频面诊以归档转写文字为准。';
|
||||
|
||||
private const PERMISSION_READ = 'tcm.diagnosis/patientaireports';
|
||||
|
||||
Reference in New Issue
Block a user