feat(osi): 实现老年人自理能力查询(T-303)

This commit is contained in:
ila
2026-07-13 19:53:49 +08:00
parent ab5499acd4
commit d60b979785
13 changed files with 363 additions and 21 deletions
+16 -14
View File
@@ -15,25 +15,27 @@ const (
ServiceIDDrugs = "YPML00001"
ServiceIDOrgs = "CXJG00002"
ServiceIDJKTJLast = "JKTJLSJL00002" // 最近一次体检(实测可用)
ServiceIDJKTJQuery = "JKTJ00002" // 某人全部体检(实测可用,返回数组)
ServiceIDJKTJList = "JKTJLIST00002" // 已检/待检人员名单(实测可用)
ServiceIDJKTJLast = "JKTJLSJL00002" // 最近一次体检(实测可用)
ServiceIDJKTJQuery = "JKTJ00002" // 某人全部体检(实测可用,返回数组)
ServiceIDJKTJList = "JKTJLIST00002" // 已检/待检人员名单(实测可用)
ServiceIDLNRSelfCareQuery = "LNRZLPG00002" // 老年人生活自理能力评估查询(待联调确认)
)
const codeRetryableTimeout = "405"
var servicePaths = map[string]string{
ServiceIDJKDACreate: "/jkda/create",
ServiceIDJKDAFind: "/auto/jkda/find",
ServiceIDJKDAUpdate: "/jkda/update",
ServiceIDJKDAFindRqbj: "/auto/jkda/findrqbj",
ServiceIDGridAddress: "/auto/wgdzcx/query",
ServiceIDDoctors: "/auto/zryscx/query",
ServiceIDDrugs: "/auto/ypmlcx/query",
ServiceIDOrgs: "/auto/cxjg/query",
ServiceIDJKTJLast: "/auto/jktjlscx/query",
ServiceIDJKTJQuery: "/auto/jktj/query",
ServiceIDJKTJList: "/auto/jktjlist/query",
ServiceIDJKDACreate: "/jkda/create",
ServiceIDJKDAFind: "/auto/jkda/find",
ServiceIDJKDAUpdate: "/jkda/update",
ServiceIDJKDAFindRqbj: "/auto/jkda/findrqbj",
ServiceIDGridAddress: "/auto/wgdzcx/query",
ServiceIDDoctors: "/auto/zryscx/query",
ServiceIDDrugs: "/auto/ypmlcx/query",
ServiceIDOrgs: "/auto/cxjg/query",
ServiceIDJKTJLast: "/auto/jktjlscx/query",
ServiceIDJKTJQuery: "/auto/jktj/query",
ServiceIDJKTJList: "/auto/jktjlist/query",
ServiceIDLNRSelfCareQuery: "/auto/lnr/query",
}
func PathOf(serviceID string) (string, error) {