fix(AI): 统一将"患者"相关术语替换为"本人"

统一修改代码中的称谓,将所有"患者"相关的文本替换为"本人",
包括提示词、注释和界面显示中的"患者"、"患者背景"、"患者疑问"等表述,
以保持用户称谓的一致性。

BREAKING CHANGE: 修改了API返回内容中的术语表述
```
This commit is contained in:
link2026
2026-06-08 23:28:37 +08:00
parent 836f3d4234
commit ca5a3fa38b
5 changed files with 18 additions and 18 deletions

View File

@@ -644,7 +644,7 @@ struct HealthExportService {
&& p.currentMedications.isEmpty
}
/// :6 ,,
/// :6 ,,
static func fallbackReport(label: String, userPrompt: String) -> String {
let title = label.isEmpty ? "# 就诊摘要" : "# 就诊摘要 — \(label)"
let complaint = userPrompt.trimmingCharacters(in: .whitespacesAndNewlines)
@@ -652,12 +652,12 @@ struct HealthExportService {
return """
\(title)
> 本次未检索到可用的健康记录(指标 / 症状 / 报告 / 日记均为空),以下仅据患者原话,未做任何推断。
> 本次未检索到可用的健康记录(指标 / 症状 / 报告 / 日记均为空),以下仅据本人原话,未做任何推断。
## 主诉
\(complaintLine)
## 患者背景
## 本人背景
无记录
## 近期症状(按时间倒序)
@@ -669,7 +669,7 @@ struct HealthExportService {
## 在服药与过敏
无记录
## 患者疑问
## 本人疑问
无记录
"""
}