更新
This commit is contained in:
@@ -71,8 +71,8 @@ patientPermissionExpect(
|
||||
patientPermissionExpect(
|
||||
str_contains($source, "->where('d.patient_id', \$patientId)")
|
||||
&& str_contains($source, "->whereNull('d.delete_time')")
|
||||
&& str_contains($source, "->where('d.status', 1)"),
|
||||
'authorization derives visible diagnosis rows from the stable patient id'
|
||||
&& !str_contains($source, "->where('d.status', 1)"),
|
||||
'authorization derives every non-deleted visible diagnosis row from the stable patient id'
|
||||
);
|
||||
patientPermissionExpect(
|
||||
str_contains($source, "->whereIn('diagnosis_id', \$diagnosisIds)"),
|
||||
@@ -103,7 +103,7 @@ $baseRow = [
|
||||
'report_json' => '{"diagnosis":"诊断","risk_assessment":[],"treatment_advice":"建议"}',
|
||||
'source_summary_json' => '{"diagnosis_count":2}',
|
||||
'source_hash' => str_repeat('a', 64),
|
||||
'prompt_version' => 'patient-longitudinal-report-v1',
|
||||
'prompt_version' => 'patient-longitudinal-report-v2',
|
||||
'generated_at' => 1786665600,
|
||||
'created_at' => 1786665600,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user