feat(osi): 实现 JKDA 档案 Create/Update 与创建请求契约(T-206)

- contract/jkda.go 补创建请求结构体(healthRecord + manageInfo + 既往史节点)
- osi/jkda.go 新增 CreateHealthRecord/UpdateHealthRecord
- osi/codes.go 登记 JKDA00001 create / JKDA00003 update serviceId 与路径
- mapping 映射创建路径(真实字典快照反查主数据)
- 代码与单测完成;真实 create 待安全测试档案与写入授权(见 tasks.md T-206 BLOCKED)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ila
2026-07-07 23:11:17 +08:00
co-authored by Claude Opus 4.8
parent 12346c9923
commit f95a779daa
8 changed files with 253 additions and 9 deletions
+4
View File
@@ -6,7 +6,9 @@ import (
)
const (
ServiceIDJKDACreate = "JKDA00001"
ServiceIDJKDAFind = "JKDA00002"
ServiceIDJKDAUpdate = "JKDA00003"
ServiceIDJKDAFindRqbj = "JKDA00005"
ServiceIDGridAddress = "WGDZ00001"
ServiceIDDoctors = "ZRYS00001"
@@ -17,7 +19,9 @@ const (
const codeRetryableTimeout = "405"
var servicePaths = map[string]string{
ServiceIDJKDACreate: "/jkda/create",
ServiceIDJKDAFind: "/auto/jkda/find",
ServiceIDJKDAUpdate: "/jkda/update",
ServiceIDJKDAFindRqbj: "/jkda/findrqbj",
ServiceIDGridAddress: "/auto/wgdzcx/query",
ServiceIDDoctors: "/auto/zryscx/query",