Commit Graph
38 Commits
Author SHA1 Message Date
ilaandClaude Opus 4.8 5745d41e30 docs: 修正药品目录调用示例补 pageNo(T-211 遗漏)
docs/07 与 current-state 的 drugs curl 示例缺 pageNo,pageNo 已必填照旧示例会 400

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-09 22:31:44 +08:00
ilaandClaude Opus 4.8 7a079b2b3f docs: 药品目录分页契约同步 docs/07 与 openapi(T-211)
- docs/07 §8 pageNo 必填 + 补 pageSize + 分页说明 + 未联调警示
- openapi drugs 内联 pageNo(required)+pageSize,不动共享 pageNo
- tasks T-211 DONE

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-09 22:22:55 +08:00
ila 816a992f00 feat(handler): 暴露公开查询 HTTP API(T-210) 2026-07-09 21:24:09 +08:00
ila 1903fa476b docs: 登记 T-210 公开查询 HTTP API 2026-07-09 21:17:16 +08:00
ila 561cd839e7 feat(osi): 优化人群分类查询接口(T-209) 2026-07-09 20:38:27 +08:00
ila ca16f61263 docs: 登记人群分类查询优化任务(T-209) 2026-07-09 20:35:11 +08:00
ilaandClaude Opus 4.8 8d54ad38d5 docs: 新增 docs/07 本项目 HTTP 接口文档
- 整理 server 模式 5 个查询端点(档案 find + 体检 last/all/list)
- 参数/上游 serviceId/返回形态/PII 警示/通用约定
- README 导航登记;CLAUDE.md 同步表加端点→docs/07

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 22:21:21 +08:00
ilaandClaude Opus 4.8 adc99e1b43 docs: 登记 T-306 全部体检查询(JKTJ00002 实测字段校准)
- docs/04 §11.1 记录驼峰 idCard、历史 checkId 为 null 两个坑
- docs/01 §5.2 JKTJ00002 联调可用;tasks T-306 DONE

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 22:14:39 +08:00
ilaandClaude Opus 4.8 c358f20c39 docs: 补全 §11.1 体检查询返回形态(JKTJ00002 返回某人全部体检数组)
- 表格加返回列,三接口返回形态明确
- 修正 JKTJ00002 定位为某人全部体检查询(非按 id 单查)
- 校正 JKTJLIST00002 状态为实测可用
- 说明按体检编号取历史须查全部+本地过滤

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 21:37:26 +08:00
ilaandClaude Opus 4.8 f293aaef00 docs: 登记 T-302 体检 HTTP 端点并同步快照
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 21:17:02 +08:00
ilaandClaude Opus 4.8 f69e073199 docs: 登记 T-305 名单查询契约(JKTJLIST00002 实测字段校正)
- docs/04 §11.4 校正实测字段名并标端点已部署
- docs/01 §5.2 JKTJLIST00002 联调可用
- tasks T-305 DONE

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 21:11:17 +08:00
ilaandClaude Opus 4.8 425ca0a0fa docs: 拆出 T-305 体检名单查询并登记 JKTJLIST00002 契约
- docs/04 §11.4 记录 JKTJLIST00002 请求/响应契约(docx,部署待验证)
- tasks 拆 T-305(契约齐全,TODO 可领)、T-304 收窄为缺 serviceId 的列表
- 纠正 T-304 一刀切 BLOCKED

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 21:02:26 +08:00
ilaandClaude Opus 4.8 66bf37bcd3 docs: 登记 T-301 体检查询契约与字段清单
- docs/04 §11 体检 ~260 字段清单(7 节点)供将来 create 用
- docs/01 §5.2 标注各体检接口联调状态(单查未部署)
- tasks T-301 DONE;gitignore 收敛为 scripts/*.py

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 00:45:47 +08:00
ilaandClaude Opus 4.8 6822ad4350 docs: 看板重排为读先行(Phase Q2 查询优先,写入后置)
- tasks.md 新增 Phase Q2(体检/老年人/列表查询),T-206/T-204 写入降到其后
- docs/06 顶部归拢当前批次三项优先催办(写入授权/缺失 serviceId/写入规则)
- 里程碑与 current-state 下一步同步为 T-301 起

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 00:18:52 +08:00
ilaandClaude Opus 4.8 d196339ed3 docs: 登记 T-208 查询端点并同步快照
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 00:05:23 +08:00
ilaandClaude Opus 4.8 55289e0746 docs: current-state 标注 Go 侧 config.yaml 查询已实测查通
对齐实际运行命令(-verify-jkda + config.yaml,身份证走环境变量)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 23:49:41 +08:00
ilaandClaude Opus 4.8 f6a7f61d59 docs: 同步 T-206 状态(BLOCKED,代码完成待真实 create)
- tasks.md T-206 标 BLOCKED 并注明阻塞原因
- docs/04 主数据反查落到 MapContext.MasterData
- progress/current-state 追加 T-206 记录

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 23:11:23 +08:00
ila 12346c9923 feat(cache): 建立字典缓存快照(T-103) 2026-07-07 21:16:52 +08:00
ila 74748c084b feat(osi): 实现公开字典查询接口(T-101) 2026-07-07 20:58:13 +08:00
ila 24f03179de test(mapping): 增加健康档案映射样本基线(T-205) 2026-07-07 14:55:16 +08:00
ila 767c876519 feat(mapping): 实现健康档案映射基线(T-202) 2026-07-07 14:36:40 +08:00
ila 56e1510f6b feat(mapping): 建立码表映射基线(T-102) 2026-07-07 14:13:09 +08:00
ila cfbad76e6e feat(osi): 实现 JKDA 查询方法(T-203) 2026-07-07 10:14:40 +08:00
ila 332683eee6 feat(contract): 建立 JKDA 查询响应契约(T-201) 2026-07-07 09:35:03 +08:00
ilaandClaude Opus 4.8 12039d8c46 docs: 新增 Phase 0 代码评审文档(T-001~T-005)
按全栈视角审核脚手架/签名/传输/Call/验收,记录达标判定与分级整改项

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 23:23:15 +08:00
ila 9db2e84476 fix(osi): 加固 Phase 0 验收实现(T-006) 2026-07-06 23:20:42 +08:00
ila def95efb1c feat(osi): 打通 Go 侧真实请求验收(T-005) 2026-07-06 23:03:14 +08:00
ila 2a77a4dbc1 feat(osi): 实现通用 Call 与响应判码(T-004) 2026-07-06 22:31:02 +08:00
ila 56acc01d92 feat(osi): 实现 OSI JSON 传输层(T-003) 2026-07-06 22:23:01 +08:00
ilaandClaude Opus 4.8 4a5134093b docs: 同步 T-002 完成状态并重排看板为查询先行
- T-001/T-002 标记 DONE,current-state 更新 Go 骨架现实
- 看板重排 Phase 1/2 → Q(查询)/M(映射)/D(字典+创建),查询档案不依赖字典
- osi/jkda.go 拆为 T-203(Find)/T-206(Create),显式化 Create 对字典缓存的依赖
- docs/05 加执行顺序注记

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 21:52:56 +08:00
ila 7b5a90a104 chore: 初始化 T-001 Go 骨架 2026-07-06 20:54:23 +08:00
ilaandClaude Opus 4.8 5e9d388634 docs: 接入 harness coding 执行工件
- tasks.md 任务看板(路线图阶段0~2拆为14个小步任务,一次领一个)
- progress.md 只追加执行流水(补记文档初始化与JKDA00002联调)
- docs/current-state.md 可覆盖当前快照(pre-code现实+已验证事实)
- init.sh 统一验证入口(无 go.mod 时指向 T-001)
- AGENTS.md 通用 agent 薄入口;CLAUDE.md 会话启动改为三件套流程

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 20:09:54 +08:00
ilaandClaude Opus 4.8 d7b769742b docs: 依 JKDA00002 联调实测校准接口契约
- 成功码实测为字符串 "01"(docx 误写 "1"),判定按去前导零
- 查询类同走 uploadinfo 信封(baseInfo+manageInfo),非裸 baseInfo
- 三种机构码分层:18位统信码 / 9位机构码 / 12位区划码
- docs/04 新增 §8 JKDA00002 实测契约(请求信封+响应结构,已脱敏)
- docs/06 回填 A1~A9/B3/B6/C3/D2/D3 联调状态

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 20:09:43 +08:00
ilaandClaude Opus 4.8 1fd256993b docs: 新增厂家联调清单(docs/06)
可直接发对接人的索要清单,分 A 凭据/环境、B 契约补漏、C 业务规则、
D 真实样本、E 联调支持五组,带回填状态;含 OSI 内网 host + SOCKS5
代理地址、签名校验样例、checkId/完整度等关键确认项。同步 docs/README 索引。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 16:00:48 +08:00
ilaandClaude Opus 4.8 4594f02378 docs: 明确 OSI 访问为 host+proxy 组合及代理语义
- socks5_proxy 扶正为必填(OSI 主机在内网、不可直连,经 SOCKS5 到达)
- 作用域限定:代理仅用于 OSI 客户端,PHIS 走直连
- 访问语义:非空即强制走代理、不因代理故障回退直连,空才直连;
  代理不通按网络错误如实失败,交重试/熔断处理

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 15:53:14 +08:00
ilaandClaude Opus 4.8 6204da871e docs: 目录布局改为扁平结构,与 chis_upload 对齐
按团队 AGENTS.md 的扁平偏好,弃用 internal/+cmd/,改为顶层平铺包 +
单 main.go(-mode server|deliver)。同步更新 docs/03 目录结构图与 §4.4、
docs/05 路线图措辞、CLAUDE.md 目录职责表。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 13:10:18 +08:00
ilaandClaude Opus 4.8 e1fe1a92e6 chore: 源材料不入库,改为本地留存
将厂家"内部资料注意保密"的 OSI 规范 docx/xlsx 从版本控制移除(git rm --cached,
保留本地文件),并在 .gitignore 中忽略 *.docx/*.xlsx;CLAUDE.md 同步说明。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 13:10:18 +08:00
ilaandClaude Opus 4.8 3498542b07 docs: 初始化 chis_osi 设计文档与协作规范
- docs/: OSI 接口规范分析、旧项目架构评估、目标架构设计、字段与接口映射、实施路线图
- CLAUDE.md: 协作规则(项目认知、osi/mapping/pipeline 三层技术约束、安全/验证、提交规范)
- .gitignore: 补充项目特定忽略(config.yaml/logs/样本等)
- 随项目留存厂家 OSI 规范源材料(docx/xlsx,内部保密,仅限本私有仓库)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 13:10:17 +08:00