Merge branch 'master' of http://git.zhenyangtang.com.cn/ZYT/zyt
This commit is contained in:
@@ -7,6 +7,13 @@ namespace app\common\service;
|
||||
/** Single entry point for references attached to clinical model requests. */
|
||||
final class ClinicalKnowledgeReference
|
||||
{
|
||||
/** Only a server-selected live task may use this short, source-bound contract. */
|
||||
public static function augmentLiveConsultationQuery(string $query, string $analysisScope = 'authorized_case'): string
|
||||
{
|
||||
$prefix = TcmClinicalResponsePolicy::liveConsultationReference($analysisScope) . "\n\n";
|
||||
return str_starts_with($query, $prefix) ? $query : $prefix . $query;
|
||||
}
|
||||
|
||||
/** Case reports retain response rules without importing textbook patient-like findings. */
|
||||
public static function augmentCaseQuery(string $query, bool $consultation = false): string
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user