feat(osi): 实现老年人自理能力查询(T-303)
This commit is contained in:
@@ -26,6 +26,8 @@ tags:
|
||||
description: 健康体检查询
|
||||
- name: dictionaries
|
||||
description: 公开主数据查询
|
||||
- name: elderly
|
||||
description: 老年人业务查询
|
||||
paths:
|
||||
/api/health-record/find:
|
||||
get:
|
||||
@@ -230,6 +232,59 @@ paths:
|
||||
$ref: '#/components/responses/MethodNotAllowed'
|
||||
'502':
|
||||
$ref: '#/components/responses/BadGateway'
|
||||
/api/elderly/self-care:
|
||||
get:
|
||||
tags:
|
||||
- elderly
|
||||
summary: 查询老年人生活自理能力评估
|
||||
description: 厂家文档给出的 LNRZLPG00002 查询契约,待真实联调确认。原样返回上游 `/auto/lnr/query` 响应。
|
||||
operationId: queryElderlySelfCare
|
||||
parameters:
|
||||
- name: idCard
|
||||
in: query
|
||||
required: true
|
||||
description: 身份证件号。
|
||||
schema:
|
||||
type: string
|
||||
- name: phrId
|
||||
in: query
|
||||
required: false
|
||||
description: 健康档案编号。注意参数名为驼峰 phrId。
|
||||
schema:
|
||||
type: string
|
||||
- name: checkId
|
||||
in: query
|
||||
required: false
|
||||
description: 第三方检查主键。
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: 平台完整响应,成功和平台业务错误均原样透传。
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ElderlySelfCareResponse'
|
||||
examples:
|
||||
success:
|
||||
value:
|
||||
code: '01'
|
||||
message: 操作成功
|
||||
data:
|
||||
- phrId: PHRID_PLACEHOLDER
|
||||
checkId: LNR_CHECK_ID_PLACEHOLDER
|
||||
jc: '1'
|
||||
jcdj: '1'
|
||||
jcpf: '10'
|
||||
zp: '1'
|
||||
zpdj: '1'
|
||||
zpfs: '100'
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest'
|
||||
'405':
|
||||
$ref: '#/components/responses/MethodNotAllowed'
|
||||
'502':
|
||||
$ref: '#/components/responses/BadGateway'
|
||||
/api/dictionaries/grid-addresses:
|
||||
get:
|
||||
tags:
|
||||
@@ -647,3 +702,52 @@ components:
|
||||
items:
|
||||
type: object
|
||||
additionalProperties: true
|
||||
ElderlySelfCareResponse:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/OSIBaseResponse'
|
||||
- type: object
|
||||
properties:
|
||||
data:
|
||||
type: array
|
||||
description: 老年人生活自理能力评估记录数组。
|
||||
items:
|
||||
$ref: '#/components/schemas/ElderlySelfCareAssessment'
|
||||
ElderlySelfCareAssessment:
|
||||
type: object
|
||||
description: 厂家查询文档列出的评估字段;完整原始字段由服务透传。
|
||||
properties:
|
||||
phrId:
|
||||
type: string
|
||||
checkId:
|
||||
type: string
|
||||
jc:
|
||||
type: string
|
||||
description: 进餐原始值。
|
||||
jcdj:
|
||||
type: string
|
||||
description: 进餐等级。
|
||||
jcpf:
|
||||
type: string
|
||||
description: 进餐评分。
|
||||
sx:
|
||||
type: string
|
||||
description: 梳洗原始值。
|
||||
cy:
|
||||
type: string
|
||||
description: 穿衣原始值。
|
||||
rc:
|
||||
type: string
|
||||
description: 如厕原始值。
|
||||
hd:
|
||||
type: string
|
||||
description: 活动原始值。
|
||||
zp:
|
||||
type: string
|
||||
description: 总评。
|
||||
zpdj:
|
||||
type: string
|
||||
description: 总评等级。
|
||||
zpfs:
|
||||
type: string
|
||||
description: 总评分数。
|
||||
additionalProperties: true
|
||||
|
||||
Reference in New Issue
Block a user