3792 lines
128 KiB
Go
3792 lines
128 KiB
Go
// Package docs Code generated by swaggo/swag. DO NOT EDIT
|
||
package docs
|
||
|
||
import "github.com/swaggo/swag"
|
||
|
||
const docTemplate = `{
|
||
"schemes": {{ marshal .Schemes }},
|
||
"swagger": "2.0",
|
||
"info": {
|
||
"description": "{{escape .Description}}",
|
||
"title": "{{.Title}}",
|
||
"contact": {},
|
||
"version": "{{.Version}}"
|
||
},
|
||
"host": "{{.Host}}",
|
||
"basePath": "{{.BasePath}}",
|
||
"paths": {
|
||
"/admin/article/create": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "新增文章",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"管理端.患教文章"
|
||
],
|
||
"summary": "新增文章",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/article.createArticleRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/article.createArticleResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/admin/article/delete": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "删除文章",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"管理端.患教文章"
|
||
],
|
||
"summary": "删除文章",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/article.deleteArticleRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/article.deleteArticleResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/admin/article/{id}": {
|
||
"put": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "编辑文章",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"管理端.患教文章"
|
||
],
|
||
"summary": "编辑文章",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "编号ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/article.modifyArticleRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/article.modifyArticleResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/admin/articles": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "文章列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"管理端.患教文章"
|
||
],
|
||
"summary": "文章列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "文章标题",
|
||
"name": "title",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "开始时间",
|
||
"name": "start_time",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "结束时间",
|
||
"name": "end_time",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "当前页码",
|
||
"name": "page",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 20,
|
||
"description": "每页返回的数据量,最多 100 条",
|
||
"name": "page_size",
|
||
"in": "query",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/article.listResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/admin/form_policy_token": {
|
||
"post": {
|
||
"description": "Form 临时访问凭证",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"管理端.临时访问凭证"
|
||
],
|
||
"summary": "Form 临时访问凭证",
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/admin.policyTokenResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/admin/login": {
|
||
"post": {
|
||
"description": "管理员登录",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"管理端.登录"
|
||
],
|
||
"summary": "管理员登录",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/admin.loginRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/admin.loginResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/admin/patients": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "患者列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"管理端.患者管理"
|
||
],
|
||
"summary": "患者列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "姓名",
|
||
"name": "username",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "账号",
|
||
"name": "mobile",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "胆道闭锁手术时间(格式:2025-06-06)",
|
||
"name": "operative_date",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "胆道闭锁手术开始时间(格式:2025-06-06)",
|
||
"name": "operative_date_start",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "胆道闭锁结束结束时间(格式:2025-06-06)",
|
||
"name": "operative_date_end",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "下次回访时间(格式:2025-06-06)",
|
||
"name": "next_follow_date",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "下次回访开始时间(格式:2025-06-06)",
|
||
"name": "next_follow_date_start",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "下次回访结束时间(格式:2025-06-06)",
|
||
"name": "next_follow_date_end",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "风险类型(0:未知 1:低危 2:中危 3:高危)",
|
||
"name": "risk_type",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/admin.patientListResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/admin/patients/export": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "导出患者列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/ms-excel"
|
||
],
|
||
"tags": [
|
||
"管理端.患者管理"
|
||
],
|
||
"summary": "导出患者列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "姓名",
|
||
"name": "username",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "账号",
|
||
"name": "mobile",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "胆道闭锁手术时间(格式:2025-06-06)",
|
||
"name": "operative_date",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "胆道闭锁手术开始时间(格式:2025-06-06)",
|
||
"name": "operative_date_start",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "胆道闭锁结束结束时间(格式:2025-06-06)",
|
||
"name": "operative_date_end",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "下次回访时间(格式:2025-06-06)",
|
||
"name": "next_follow_date",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "下次回访开始时间(格式:2025-06-06)",
|
||
"name": "next_follow_date_start",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "下次回访结束时间(格式:2025-06-06)",
|
||
"name": "next_follow_date_end",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "风险类型(0:未知 1:低危 2:中危 3:高危)",
|
||
"name": "risk_type",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "当前页码",
|
||
"name": "page",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 20,
|
||
"description": "每页返回的数据量,最多 100 条",
|
||
"name": "page_size",
|
||
"in": "query",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK"
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/admin/policy_token": {
|
||
"post": {
|
||
"description": "临时访问凭证",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"管理端.临时访问凭证"
|
||
],
|
||
"summary": "临时访问凭证",
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/admin.policyTokenResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/doctor/login": {
|
||
"post": {
|
||
"description": "医生登录",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"医生端.登录"
|
||
],
|
||
"summary": "医生登录",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/doctor.loginRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/doctor.loginResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/doctor/patients": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "患者列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"医生端.患者列表"
|
||
],
|
||
"summary": "患者列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "姓名",
|
||
"name": "username",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "账号",
|
||
"name": "mobile",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "胆道闭锁手术时间(格式:2025-06-06)",
|
||
"name": "operative_date",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "下次回访时间(格式:2025-06-06)",
|
||
"name": "next_follow_date",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "风险类型(0:未知 1:低危 2:中危 3:高危)",
|
||
"name": "risk_type",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "当前页码",
|
||
"name": "page",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 20,
|
||
"description": "每页返回的数据量,最多 100 条",
|
||
"name": "page_size",
|
||
"in": "query",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/doctor.patientListResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/articles": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "健康教育文章列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.我的.健康教育"
|
||
],
|
||
"summary": "健康教育文章列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "文章标题",
|
||
"name": "title",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "当前页码",
|
||
"name": "page",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 20,
|
||
"description": "每页返回的数据量,最多 100 条",
|
||
"name": "page_size",
|
||
"in": "query",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.listResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/basic/{id}": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "基本信息",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.患者信息【通用】"
|
||
],
|
||
"summary": "基本信息",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "患者编号ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/service_patient.BasicInfoResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/bind_tag": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "设置手术时间标签",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.SCRM"
|
||
],
|
||
"summary": "设置手术时间标签",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.bindTagRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.bindTagResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/chat/{id}": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "图表数据列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.患者信息【通用】"
|
||
],
|
||
"summary": "图表数据列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "患者编号ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/service_patient.ChatListResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/code_login": {
|
||
"post": {
|
||
"description": "患者验证码登录",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.登录"
|
||
],
|
||
"summary": "患者验证码登录",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.codeLoginRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.codeLoginResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/diagnostic": {
|
||
"post": {
|
||
"description": "诊断信息录入",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.诊断信息录入"
|
||
],
|
||
"summary": "诊断信息录入",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.diagnosticRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.diagnosticResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/diagnostic/search": {
|
||
"post": {
|
||
"description": "查询诊断结果",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.诊断信息录入"
|
||
],
|
||
"summary": "查询诊断结果",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.searchRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.searchResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/follow_plans": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "随访计划列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.首页.随访"
|
||
],
|
||
"summary": "随访计划列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "数据类型(1:当前时间之后的随访计划 2:全部的随访计划)",
|
||
"name": "type",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "当前页码",
|
||
"name": "page",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 20,
|
||
"description": "每页返回的数据量,最多 100 条",
|
||
"name": "page_size",
|
||
"in": "query",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.followPlanListResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/follow_questionnaire": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "填写随访问卷",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.首页.随访"
|
||
],
|
||
"summary": "填写随访问卷",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.followQuestionnaireCreateRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.followQuestionnaireCreateResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/forgot_password": {
|
||
"post": {
|
||
"description": "忘记密码",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.登录"
|
||
],
|
||
"summary": "忘记密码",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.forgotPasswordRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.forgotPasswordResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/info": {
|
||
"post": {
|
||
"description": "智能体信息",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.患者信息【智能体】"
|
||
],
|
||
"summary": "智能体信息",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.agentInfoRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.agentInfoResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/medicine_record/{id}": {
|
||
"put": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "服药打卡",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.首页.服药打卡"
|
||
],
|
||
"summary": "服药打卡",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "编号ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.schemeRecordModifyResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/medicine_records": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "服药记录列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.首页.服药打卡"
|
||
],
|
||
"summary": "服药记录列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "时间类型(1:今天 2:近7天 3:近30天 4:近90天)",
|
||
"name": "time_type",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "打卡状态(0:不限 1:未完成 2:已完成)",
|
||
"name": "status",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "当前页码",
|
||
"name": "page",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 20,
|
||
"description": "每页返回的数据量,最多 100 条",
|
||
"name": "page_size",
|
||
"in": "query",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.schemeRecodeListRequest"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/medicine_scheme": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "新增用药方案",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.我的.用药方案"
|
||
],
|
||
"summary": "新增用药方案",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.schemeCreateRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.schemeCreateResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/medicine_scheme/{id}": {
|
||
"put": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "编辑用药方案",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.我的.用药方案"
|
||
],
|
||
"summary": "编辑用药方案",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "编号ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
},
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.schemeCreateRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.schemeCreateResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/medicine_schemes": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "用药方案列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.我的.用药方案"
|
||
],
|
||
"summary": "用药方案列表",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"default": 1,
|
||
"description": "当前页码",
|
||
"name": "page",
|
||
"in": "query",
|
||
"required": true
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"default": 20,
|
||
"description": "每页返回的数据量,最多 100 条",
|
||
"name": "page_size",
|
||
"in": "query",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.schemeListResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/password_login": {
|
||
"post": {
|
||
"description": "患者密码登录",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.登录"
|
||
],
|
||
"summary": "患者密码登录",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.passwordLoginRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.passwordLoginResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/questionnaire_info": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "随访问卷详情",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.患者信息【通用】"
|
||
],
|
||
"summary": "随访问卷详情",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.questionnaireInfoRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/service_patient.QuestionnaireDetailResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/questionnaires/{id}": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "随访问卷列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.患者信息【通用】"
|
||
],
|
||
"summary": "随访问卷列表",
|
||
"parameters": [
|
||
{
|
||
"type": "string",
|
||
"description": "患者编号ID",
|
||
"name": "id",
|
||
"in": "path",
|
||
"required": true
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/service_patient.QuestionnaireListResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/quick_login": {
|
||
"post": {
|
||
"description": "手机号快捷登录",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.登录"
|
||
],
|
||
"summary": "手机号快捷登录",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.quickLoginRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.codeLoginResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/send_code": {
|
||
"post": {
|
||
"description": "发送验证码",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.登录"
|
||
],
|
||
"summary": "发送验证码",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.sendCodeRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.sendCodeResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/set_personal_information": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "设置个人信息",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.登录"
|
||
],
|
||
"summary": "设置个人信息",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.setPersonalInformationRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.setPersonalInformationResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/symptom/submit": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "症状自检提交",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.紧急通道.症状自检"
|
||
],
|
||
"summary": "症状自检提交",
|
||
"parameters": [
|
||
{
|
||
"description": "请求参数",
|
||
"name": "RequestBody",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.symptomSubmitRequest"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.symptomSubmitResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/patient/symptoms": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"LoginVerifyToken": []
|
||
}
|
||
],
|
||
"description": "症状列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"患者端.紧急通道.症状自检"
|
||
],
|
||
"summary": "症状列表",
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"schema": {
|
||
"$ref": "#/definitions/patient.symptomListResponse"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "Bad Request",
|
||
"schema": {
|
||
"$ref": "#/definitions/code.Failure"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"definitions": {
|
||
"admin.loginRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"password",
|
||
"username"
|
||
],
|
||
"properties": {
|
||
"password": {
|
||
"description": "密码 (MD5加密后的密码)",
|
||
"type": "string"
|
||
},
|
||
"username": {
|
||
"description": "用户名",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"admin.loginResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"token": {
|
||
"description": "登录成功后颁发的 Token",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"admin.patientListData": {
|
||
"type": "object",
|
||
"properties": {
|
||
"age": {
|
||
"description": "年龄",
|
||
"type": "string"
|
||
},
|
||
"height_growth_curve_type": {
|
||
"description": "身高生长曲线类型(0:未知 1:轻度偏离 2:正常 3:重度偏离)",
|
||
"type": "integer"
|
||
},
|
||
"id": {
|
||
"description": "编号",
|
||
"type": "integer"
|
||
},
|
||
"mobile": {
|
||
"description": "账号",
|
||
"type": "string"
|
||
},
|
||
"next_follow_date": {
|
||
"description": "下次随访时间",
|
||
"type": "string"
|
||
},
|
||
"operative_date": {
|
||
"description": "胆道闭锁手术时间",
|
||
"type": "string"
|
||
},
|
||
"postoperative_duration": {
|
||
"description": "术后时长",
|
||
"type": "string"
|
||
},
|
||
"risk_type": {
|
||
"description": "风险类型(0:未知 1:低危 2:中危 3:高危)",
|
||
"type": "integer"
|
||
},
|
||
"risk_value": {
|
||
"description": "风险值",
|
||
"type": "string"
|
||
},
|
||
"sex": {
|
||
"description": "性别(0:未知 1:男 2:女)",
|
||
"type": "integer"
|
||
},
|
||
"username": {
|
||
"description": "姓名",
|
||
"type": "string"
|
||
},
|
||
"weight_growth_curve_type": {
|
||
"description": "体重生长曲线类型(0:未知 1:轻度偏离 2:正常 3:重度偏离)",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"admin.patientListResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/admin.patientListData"
|
||
}
|
||
},
|
||
"page": {
|
||
"description": "当前页码",
|
||
"type": "integer"
|
||
},
|
||
"page_size": {
|
||
"description": "每页返回的数据量",
|
||
"type": "integer"
|
||
},
|
||
"total": {
|
||
"description": "符合查询条件的总记录数",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"admin.policyTokenResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"token": {
|
||
"description": "临时访问凭证",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"article.createArticleRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"content",
|
||
"title"
|
||
],
|
||
"properties": {
|
||
"content": {
|
||
"description": "文章内容",
|
||
"type": "string"
|
||
},
|
||
"cover_image": {
|
||
"description": "文章封面图",
|
||
"type": "string"
|
||
},
|
||
"title": {
|
||
"description": "文章标题",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"article.createArticleResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"article.deleteArticleRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"ids"
|
||
],
|
||
"properties": {
|
||
"ids": {
|
||
"description": "文章ID(多个用,分割)",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"article.deleteArticleResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"article.listData": {
|
||
"type": "object",
|
||
"properties": {
|
||
"content": {
|
||
"description": "文章内容",
|
||
"type": "string"
|
||
},
|
||
"cover_image": {
|
||
"description": "文章封面图",
|
||
"type": "string"
|
||
},
|
||
"created_at": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "文章编号",
|
||
"type": "integer"
|
||
},
|
||
"title": {
|
||
"description": "文章标题",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"article.listResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/article.listData"
|
||
}
|
||
},
|
||
"page": {
|
||
"description": "当前页码",
|
||
"type": "integer"
|
||
},
|
||
"page_size": {
|
||
"description": "每页返回的数据量",
|
||
"type": "integer"
|
||
},
|
||
"total": {
|
||
"description": "符合查询条件的总记录数",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"article.modifyArticleRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"content",
|
||
"title"
|
||
],
|
||
"properties": {
|
||
"content": {
|
||
"description": "文章内容",
|
||
"type": "string"
|
||
},
|
||
"cover_image": {
|
||
"description": "文章封面图",
|
||
"type": "string"
|
||
},
|
||
"title": {
|
||
"description": "文章标题",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"article.modifyArticleResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"code.Failure": {
|
||
"type": "object",
|
||
"properties": {
|
||
"code": {
|
||
"description": "业务码",
|
||
"type": "integer"
|
||
},
|
||
"message": {
|
||
"description": "描述信息",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"doctor.loginRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"mobile",
|
||
"password"
|
||
],
|
||
"properties": {
|
||
"mobile": {
|
||
"description": "手机号",
|
||
"type": "string"
|
||
},
|
||
"password": {
|
||
"description": "密码 (MD5加密后的密码)",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"doctor.loginResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"token": {
|
||
"description": "登录成功后颁发的 Token",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"doctor.patientListData": {
|
||
"type": "object",
|
||
"properties": {
|
||
"age": {
|
||
"description": "年龄",
|
||
"type": "string"
|
||
},
|
||
"avatar": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"height_growth_curve_type": {
|
||
"description": "身高生长曲线类型(0:未知 1:轻度偏离 2:正常 3:重度偏离)",
|
||
"type": "integer"
|
||
},
|
||
"id": {
|
||
"description": "编号",
|
||
"type": "integer"
|
||
},
|
||
"mobile": {
|
||
"description": "账号",
|
||
"type": "string"
|
||
},
|
||
"next_follow_date": {
|
||
"description": "下次随访时间",
|
||
"type": "string"
|
||
},
|
||
"operative_date": {
|
||
"description": "胆道闭锁手术时间",
|
||
"type": "string"
|
||
},
|
||
"postoperative_duration": {
|
||
"description": "术后时长",
|
||
"type": "string"
|
||
},
|
||
"risk_type": {
|
||
"description": "风险类型(0:未知 1:低危 2:中危 3:高危)",
|
||
"type": "integer"
|
||
},
|
||
"risk_value": {
|
||
"description": "风险值",
|
||
"type": "string"
|
||
},
|
||
"sex": {
|
||
"description": "性别(0:未知 1:男 2:女)",
|
||
"type": "integer"
|
||
},
|
||
"username": {
|
||
"description": "姓名",
|
||
"type": "string"
|
||
},
|
||
"weight_growth_curve_type": {
|
||
"description": "体重生长曲线类型(0:未知 1:轻度偏离 2:正常 3:重度偏离)",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"doctor.patientListResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/doctor.patientListData"
|
||
}
|
||
},
|
||
"page": {
|
||
"description": "当前页码",
|
||
"type": "integer"
|
||
},
|
||
"page_size": {
|
||
"description": "每页返回的数据量",
|
||
"type": "integer"
|
||
},
|
||
"total": {
|
||
"description": "符合查询条件的总记录数",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"patient.agentInfoRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"source",
|
||
"wx_user_id"
|
||
],
|
||
"properties": {
|
||
"source": {
|
||
"description": "来源(固定值:agent)",
|
||
"type": "string"
|
||
},
|
||
"wx_user_id": {
|
||
"description": "微信用户ID",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.agentInfoResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"basic_info": {
|
||
"description": "基础信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/patient.basicInfo"
|
||
}
|
||
]
|
||
},
|
||
"follow_plan_list": {
|
||
"description": "随访计划数据列表",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/patient.planList"
|
||
}
|
||
},
|
||
"follow_questionnaire_list": {
|
||
"description": "随访问卷数据列表",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/patient.questionnaireDetailList"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"patient.basicInfo": {
|
||
"type": "object",
|
||
"properties": {
|
||
"age": {
|
||
"description": "年龄",
|
||
"type": "string"
|
||
},
|
||
"avatar": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"birth_number": {
|
||
"description": "产次(0:未知 1:1产 2:2产 3:≥3产)",
|
||
"type": "integer"
|
||
},
|
||
"birth_weight": {
|
||
"description": "出生体重(克)",
|
||
"type": "integer"
|
||
},
|
||
"birthday": {
|
||
"description": "出生日期(格式:2025-05-30)",
|
||
"type": "string"
|
||
},
|
||
"conception_type": {
|
||
"description": "受孕方式(0:未知 1:自然受孕 2:辅助生殖技术)",
|
||
"type": "integer"
|
||
},
|
||
"delivery_type": {
|
||
"description": "分娩方式(0:未知 1:顺产 2:剖宫产)",
|
||
"type": "integer"
|
||
},
|
||
"gestational_week": {
|
||
"description": "孕周",
|
||
"type": "integer"
|
||
},
|
||
"ggt_compared": {
|
||
"description": "GGT 指数(较上次)",
|
||
"type": "string"
|
||
},
|
||
"height_growth_curve_type": {
|
||
"description": "身高生长曲线类型(0:未知 1:轻度偏离 2:正常 3:重度偏离)",
|
||
"type": "integer"
|
||
},
|
||
"id_number": {
|
||
"description": "身份证号",
|
||
"type": "string"
|
||
},
|
||
"mobile": {
|
||
"description": "账号",
|
||
"type": "string"
|
||
},
|
||
"next_follow_date": {
|
||
"description": "下次随访时间",
|
||
"type": "string"
|
||
},
|
||
"operative_date": {
|
||
"description": "胆道闭锁手术时间",
|
||
"type": "string"
|
||
},
|
||
"parity_number": {
|
||
"description": "胎次(0:未知 1:1胎 2:胎 3:胎 4:≥4胎)",
|
||
"type": "integer"
|
||
},
|
||
"postoperative_duration": {
|
||
"description": "术后时长",
|
||
"type": "string"
|
||
},
|
||
"prenatal_check_remark": {
|
||
"description": "产检异常描述",
|
||
"type": "string"
|
||
},
|
||
"prenatal_check_type": {
|
||
"description": "产检是否异常(0:未知 1:有 2:无)",
|
||
"type": "integer"
|
||
},
|
||
"risk_type": {
|
||
"description": "风险类型(0:未知 1:低危 2:中危 3:高危)",
|
||
"type": "integer"
|
||
},
|
||
"risk_value": {
|
||
"description": "风险值",
|
||
"type": "string"
|
||
},
|
||
"sex": {
|
||
"description": "性别(0:未知 1:男 2:女)",
|
||
"type": "integer"
|
||
},
|
||
"username": {
|
||
"description": "姓名",
|
||
"type": "string"
|
||
},
|
||
"weight_growth_curve_type": {
|
||
"description": "体重生长曲线类型(0:未知 1:轻度偏离 2:正常 3:重度偏离)",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"patient.bindTagRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"wx_user_id"
|
||
],
|
||
"properties": {
|
||
"wx_user_id": {
|
||
"description": "微信ID",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.bindTagResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.codeLoginRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"code",
|
||
"mobile"
|
||
],
|
||
"properties": {
|
||
"code": {
|
||
"description": "验证码",
|
||
"type": "string"
|
||
},
|
||
"mobile": {
|
||
"description": "手机号",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.codeLoginResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"is_personal_information_complete": {
|
||
"description": "是否完善个人信息",
|
||
"type": "boolean"
|
||
},
|
||
"token": {
|
||
"description": "登录成功后颁发的 Token",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.diagnosticRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"day",
|
||
"gallbladder_image",
|
||
"mmp_7",
|
||
"mobile",
|
||
"portal_vein_branch_image",
|
||
"portal_vein_cross_image",
|
||
"username"
|
||
],
|
||
"properties": {
|
||
"day": {
|
||
"description": "日龄(天)",
|
||
"type": "integer"
|
||
},
|
||
"gallbladder_image": {
|
||
"description": "胆囊照片",
|
||
"type": "string"
|
||
},
|
||
"mmp_7": {
|
||
"description": "MMP-7检测值",
|
||
"type": "string"
|
||
},
|
||
"mobile": {
|
||
"description": "手机号",
|
||
"type": "string"
|
||
},
|
||
"open_id": {
|
||
"description": "用户OPEN ID",
|
||
"type": "string"
|
||
},
|
||
"portal_vein_branch_image": {
|
||
"description": "门静脉左右分支照片",
|
||
"type": "string"
|
||
},
|
||
"portal_vein_cross_image": {
|
||
"description": "门静脉右支横截照片",
|
||
"type": "string"
|
||
},
|
||
"user_id": {
|
||
"description": "用户ID(唯一ID)",
|
||
"type": "string"
|
||
},
|
||
"username": {
|
||
"description": "姓名",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.diagnosticResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
},
|
||
"mobile": {
|
||
"description": "手机号",
|
||
"type": "string"
|
||
},
|
||
"open_id": {
|
||
"description": "OPEN ID",
|
||
"type": "string"
|
||
},
|
||
"user_id": {
|
||
"description": "用户ID(唯一ID)",
|
||
"type": "string"
|
||
},
|
||
"username": {
|
||
"description": "姓名",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.followPlanListData": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"description": "编号",
|
||
"type": "integer"
|
||
},
|
||
"plan_date": {
|
||
"description": "计划日期",
|
||
"type": "string"
|
||
},
|
||
"plan_name": {
|
||
"description": "计划名称",
|
||
"type": "string"
|
||
},
|
||
"questionnaire_id": {
|
||
"description": "随访记录ID",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "完成状态(1:未完成 2:已完成)",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"patient.followPlanListResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/patient.followPlanListData"
|
||
}
|
||
},
|
||
"page": {
|
||
"description": "当前页码",
|
||
"type": "integer"
|
||
},
|
||
"page_size": {
|
||
"description": "每页返回的数据量",
|
||
"type": "integer"
|
||
},
|
||
"total": {
|
||
"description": "符合查询条件的总记录数",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"patient.followQuestionnaireCreateRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"follow_date",
|
||
"follow_hospital",
|
||
"follow_name",
|
||
"height",
|
||
"weight"
|
||
],
|
||
"properties": {
|
||
"albumin": {
|
||
"description": "白蛋白(g/L)",
|
||
"type": "string"
|
||
},
|
||
"alp": {
|
||
"description": "ALP(U/L)",
|
||
"type": "string"
|
||
},
|
||
"aptt": {
|
||
"description": "APTT(s)",
|
||
"type": "string"
|
||
},
|
||
"b_mode_image": {
|
||
"description": "B超报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"blood_routine_image": {
|
||
"description": "血常规检查报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"coagulation_function_image": {
|
||
"description": "凝血功能检查报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"common_bile_duct": {
|
||
"description": "胆总管(mm)",
|
||
"type": "string"
|
||
},
|
||
"crp": {
|
||
"description": "CRP(mg/L)",
|
||
"type": "string"
|
||
},
|
||
"ddr": {
|
||
"description": "DDR",
|
||
"type": "string"
|
||
},
|
||
"direct_bilirubin": {
|
||
"description": "直接胆红素(µmol/L)",
|
||
"type": "string"
|
||
},
|
||
"elastography_maximum": {
|
||
"description": "弹性成像最大值(kPa)",
|
||
"type": "string"
|
||
},
|
||
"elastography_median": {
|
||
"description": "弹性成像中位数(kPa)",
|
||
"type": "string"
|
||
},
|
||
"elastography_minimum": {
|
||
"description": "弹性成像最小值(kPa)",
|
||
"type": "string"
|
||
},
|
||
"fib": {
|
||
"description": "FIB(g/L)",
|
||
"type": "string"
|
||
},
|
||
"fiber_block_size": {
|
||
"description": "纤维块大小(mm)",
|
||
"type": "string"
|
||
},
|
||
"follow_date": {
|
||
"description": "随访日期",
|
||
"type": "string"
|
||
},
|
||
"follow_hospital": {
|
||
"description": "随访医院",
|
||
"type": "string"
|
||
},
|
||
"follow_name": {
|
||
"description": "随访名称",
|
||
"type": "string"
|
||
},
|
||
"gallbladder_size": {
|
||
"description": "胆囊大小(mm)",
|
||
"type": "string"
|
||
},
|
||
"ggt": {
|
||
"description": "GGT(U/L)",
|
||
"type": "string"
|
||
},
|
||
"grain_grass": {
|
||
"description": "谷草(U/L)",
|
||
"type": "string"
|
||
},
|
||
"gu_bing": {
|
||
"description": "谷丙(U/L)",
|
||
"type": "string"
|
||
},
|
||
"head_circumference": {
|
||
"description": "头围(CM)",
|
||
"type": "string"
|
||
},
|
||
"height": {
|
||
"description": "身高(CM)",
|
||
"type": "string"
|
||
},
|
||
"hemoglobin": {
|
||
"description": "血红蛋白 (g/L)",
|
||
"type": "string"
|
||
},
|
||
"high_hip": {
|
||
"description": "上臀围(CM)",
|
||
"type": "string"
|
||
},
|
||
"inr": {
|
||
"description": "INR",
|
||
"type": "string"
|
||
},
|
||
"is_have_ascites": {
|
||
"description": "有无腹水(1:是 2:否)",
|
||
"type": "integer"
|
||
},
|
||
"is_have_cyst": {
|
||
"description": "有无肝囊肿(1:是 2:否)",
|
||
"type": "integer"
|
||
},
|
||
"liver_echo": {
|
||
"description": "肝回声",
|
||
"type": "string"
|
||
},
|
||
"liver_elasticity_value": {
|
||
"description": "肝弹性值",
|
||
"type": "string"
|
||
},
|
||
"liver_function_image": {
|
||
"description": "肝功能检查报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"main_portal_vein": {
|
||
"description": "门静脉主干内径(mm)",
|
||
"type": "string"
|
||
},
|
||
"mdt_image": {
|
||
"description": "MDT电子病历(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"mmp_7": {
|
||
"description": "MMP-7(ng/mL)",
|
||
"type": "string"
|
||
},
|
||
"npdp": {
|
||
"description": "NPDP(mg/L)",
|
||
"type": "string"
|
||
},
|
||
"nutritional_indicator_image": {
|
||
"description": "营养指标检查报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"oh_d": {
|
||
"description": "25(OH)D (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"oh_d2": {
|
||
"description": "25(OH)D2 (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"oh_d3": {
|
||
"description": "25(OH)D3 (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"plan_id": {
|
||
"description": "随访计划ID",
|
||
"type": "integer"
|
||
},
|
||
"platelets": {
|
||
"description": "血小板(10^9/L)",
|
||
"type": "string"
|
||
},
|
||
"pt": {
|
||
"description": "PT(s)",
|
||
"type": "string"
|
||
},
|
||
"pta": {
|
||
"description": "PTA(%)",
|
||
"type": "string"
|
||
},
|
||
"pvv": {
|
||
"description": "门静脉流速",
|
||
"type": "string"
|
||
},
|
||
"questionnaire_id": {
|
||
"description": "随访记录ID(编辑时传递此值)",
|
||
"type": "integer"
|
||
},
|
||
"red_blood_cells": {
|
||
"description": "红细胞 (10^9/L)",
|
||
"type": "string"
|
||
},
|
||
"spleen_rib_area": {
|
||
"description": "脾肋下(mm)",
|
||
"type": "string"
|
||
},
|
||
"total_bile_acid": {
|
||
"description": "总胆汁酸(g/L)",
|
||
"type": "string"
|
||
},
|
||
"total_bilirubin": {
|
||
"description": "总胆红素(µmol/L)",
|
||
"type": "string"
|
||
},
|
||
"tt": {
|
||
"description": "TT(s)",
|
||
"type": "string"
|
||
},
|
||
"under_the_liver_rib": {
|
||
"description": "肝肋下(mm)",
|
||
"type": "string"
|
||
},
|
||
"under_the_xiphoid_liver": {
|
||
"description": "肝剑突下(mm)",
|
||
"type": "string"
|
||
},
|
||
"vitamin_a": {
|
||
"description": "维生素A (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"vitamin_e": {
|
||
"description": "维生素E (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"vitamin_k": {
|
||
"description": "维生素K (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"weight": {
|
||
"description": "体重(KG)",
|
||
"type": "string"
|
||
},
|
||
"white_blood_cells": {
|
||
"description": "白细胞 (10^9/L)",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.followQuestionnaireCreateResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.forgotPasswordRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"code",
|
||
"mobile",
|
||
"password",
|
||
"password2"
|
||
],
|
||
"properties": {
|
||
"code": {
|
||
"description": "验证码",
|
||
"type": "string"
|
||
},
|
||
"mobile": {
|
||
"description": "手机号",
|
||
"type": "string"
|
||
},
|
||
"password": {
|
||
"description": "新密码 (MD5加密后的密码)",
|
||
"type": "string"
|
||
},
|
||
"password2": {
|
||
"description": "确认密码 (MD5加密后的密码)",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.forgotPasswordResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.listData": {
|
||
"type": "object",
|
||
"properties": {
|
||
"content": {
|
||
"description": "文章内容",
|
||
"type": "string"
|
||
},
|
||
"cover_image": {
|
||
"description": "文章封面图",
|
||
"type": "string"
|
||
},
|
||
"created_at": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "文章编号",
|
||
"type": "integer"
|
||
},
|
||
"title": {
|
||
"description": "文章标题",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.listResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/patient.listData"
|
||
}
|
||
},
|
||
"page": {
|
||
"description": "当前页码",
|
||
"type": "integer"
|
||
},
|
||
"page_size": {
|
||
"description": "每页返回的数据量",
|
||
"type": "integer"
|
||
},
|
||
"total": {
|
||
"description": "符合查询条件的总记录数",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"patient.passwordLoginRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"mobile",
|
||
"password"
|
||
],
|
||
"properties": {
|
||
"mobile": {
|
||
"description": "手机号",
|
||
"type": "string"
|
||
},
|
||
"password": {
|
||
"description": "密码 (MD5加密后的密码)",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.passwordLoginResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"is_personal_information_complete": {
|
||
"description": "是否完善个人信息",
|
||
"type": "boolean"
|
||
},
|
||
"token": {
|
||
"description": "登录成功后颁发的 Token",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.planList": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"description": "编号",
|
||
"type": "integer"
|
||
},
|
||
"plan_date": {
|
||
"description": "计划日期",
|
||
"type": "string"
|
||
},
|
||
"plan_name": {
|
||
"description": "计划名称",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.questionnaireDetailList": {
|
||
"type": "object",
|
||
"properties": {
|
||
"albumin": {
|
||
"description": "白蛋白(g/L)",
|
||
"type": "string"
|
||
},
|
||
"alp": {
|
||
"description": "ALP(U/L)",
|
||
"type": "string"
|
||
},
|
||
"aptt": {
|
||
"description": "APTT(s)",
|
||
"type": "string"
|
||
},
|
||
"b_mode_image": {
|
||
"description": "B超报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"blood_routine_image": {
|
||
"description": "血常规检查报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"coagulation_function_image": {
|
||
"description": "凝血功能检查报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"common_bile_duct": {
|
||
"description": "胆总管(mm)",
|
||
"type": "string"
|
||
},
|
||
"crp": {
|
||
"description": "CRP(mg/L)",
|
||
"type": "string"
|
||
},
|
||
"ddr": {
|
||
"description": "DDR",
|
||
"type": "string"
|
||
},
|
||
"direct_bilirubin": {
|
||
"description": "直接胆红素(µmol/L)",
|
||
"type": "string"
|
||
},
|
||
"elastography_maximum": {
|
||
"description": "弹性成像最大值(kPa)",
|
||
"type": "string"
|
||
},
|
||
"elastography_median": {
|
||
"description": "弹性成像中位数(kPa)",
|
||
"type": "string"
|
||
},
|
||
"elastography_minimum": {
|
||
"description": "弹性成像最小值(kPa)",
|
||
"type": "string"
|
||
},
|
||
"fib": {
|
||
"description": "FIB(g/L)",
|
||
"type": "string"
|
||
},
|
||
"fiber_block_size": {
|
||
"description": "纤维块大小(mm)",
|
||
"type": "string"
|
||
},
|
||
"follow_date": {
|
||
"description": "随访日期",
|
||
"type": "string"
|
||
},
|
||
"follow_hospital": {
|
||
"description": "随访医院",
|
||
"type": "string"
|
||
},
|
||
"follow_name": {
|
||
"description": "随访名称",
|
||
"type": "string"
|
||
},
|
||
"gallbladder_size": {
|
||
"description": "胆囊大小(mm)",
|
||
"type": "string"
|
||
},
|
||
"ggt": {
|
||
"description": "GGT(U/L)",
|
||
"type": "string"
|
||
},
|
||
"grain_grass": {
|
||
"description": "谷草(U/L)",
|
||
"type": "string"
|
||
},
|
||
"gu_bing": {
|
||
"description": "谷丙(U/L)",
|
||
"type": "string"
|
||
},
|
||
"head_circumference": {
|
||
"description": "头围(CM)",
|
||
"type": "string"
|
||
},
|
||
"height": {
|
||
"description": "身高(CM)",
|
||
"type": "string"
|
||
},
|
||
"hemoglobin": {
|
||
"description": "血红蛋白 (g/L)",
|
||
"type": "string"
|
||
},
|
||
"high_hip": {
|
||
"description": "上臀围(CM)",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "随访记录ID",
|
||
"type": "integer"
|
||
},
|
||
"inr": {
|
||
"description": "INR",
|
||
"type": "string"
|
||
},
|
||
"is_have_ascites": {
|
||
"description": "有无腹水(1:是 2:否)",
|
||
"type": "integer"
|
||
},
|
||
"is_have_cyst": {
|
||
"description": "有无肝囊肿(1:是 2:否)",
|
||
"type": "integer"
|
||
},
|
||
"liver_echo": {
|
||
"description": "肝回声",
|
||
"type": "string"
|
||
},
|
||
"liver_elasticity_value": {
|
||
"description": "肝弹性值",
|
||
"type": "string"
|
||
},
|
||
"liver_function_image": {
|
||
"description": "肝功能检查报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"main_portal_vein": {
|
||
"description": "门静脉主干内径(mm)",
|
||
"type": "string"
|
||
},
|
||
"mdt_image": {
|
||
"description": "MDT电子病历(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"mmp_7": {
|
||
"description": "MMP-7(ng/mL)",
|
||
"type": "string"
|
||
},
|
||
"npdp": {
|
||
"description": "NPDP(mg/L)",
|
||
"type": "string"
|
||
},
|
||
"nutritional_indicator_image": {
|
||
"description": "营养指标检查报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"oh_d": {
|
||
"description": "25(OH)D (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"oh_d2": {
|
||
"description": "25(OH)D2 (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"oh_d3": {
|
||
"description": "25(OH)D3 (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"platelets": {
|
||
"description": "血小板(10^9/L)",
|
||
"type": "string"
|
||
},
|
||
"pt": {
|
||
"description": "PT(s)",
|
||
"type": "string"
|
||
},
|
||
"pta": {
|
||
"description": "PTA(%)",
|
||
"type": "string"
|
||
},
|
||
"pvv": {
|
||
"description": "门静脉流速",
|
||
"type": "string"
|
||
},
|
||
"red_blood_cells": {
|
||
"description": "红细胞 (10^9/L)",
|
||
"type": "string"
|
||
},
|
||
"spleen_rib_area": {
|
||
"description": "脾肋下(mm)",
|
||
"type": "string"
|
||
},
|
||
"total_bile_acid": {
|
||
"description": "总胆汁酸(g/L)",
|
||
"type": "string"
|
||
},
|
||
"total_bilirubin": {
|
||
"description": "总胆红素(µmol/L)",
|
||
"type": "string"
|
||
},
|
||
"tt": {
|
||
"description": "TT(s)",
|
||
"type": "string"
|
||
},
|
||
"under_the_liver_rib": {
|
||
"description": "肝肋下(mm)",
|
||
"type": "string"
|
||
},
|
||
"under_the_xiphoid_liver": {
|
||
"description": "肝剑突下(mm)",
|
||
"type": "string"
|
||
},
|
||
"vitamin_a": {
|
||
"description": "维生素A (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"vitamin_e": {
|
||
"description": "维生素E (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"vitamin_k": {
|
||
"description": "维生素K (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"weight": {
|
||
"description": "体重(KG)",
|
||
"type": "string"
|
||
},
|
||
"white_blood_cells": {
|
||
"description": "白细胞 (10^9/L)",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.questionnaireInfoRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"questionnaire_id"
|
||
],
|
||
"properties": {
|
||
"patient_id": {
|
||
"description": "患者ID",
|
||
"type": "integer"
|
||
},
|
||
"questionnaire_id": {
|
||
"description": "随访问卷ID",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"patient.quickLoginRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"code"
|
||
],
|
||
"properties": {
|
||
"code": {
|
||
"description": "动态令牌",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.schemeCreateRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"detail",
|
||
"end_date",
|
||
"reminder",
|
||
"start_date"
|
||
],
|
||
"properties": {
|
||
"detail": {
|
||
"description": "药品详情(JSON格式)",
|
||
"type": "string"
|
||
},
|
||
"end_date": {
|
||
"description": "结束日期(格式:2025-05-30)",
|
||
"type": "string"
|
||
},
|
||
"reminder": {
|
||
"description": "提醒时间(JSON格式)",
|
||
"type": "string"
|
||
},
|
||
"start_date": {
|
||
"description": "开始日期(格式:2025-05-30)",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.schemeCreateResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.schemeListData": {
|
||
"type": "object",
|
||
"properties": {
|
||
"detail": {
|
||
"description": "药品信息(JSON格式)",
|
||
"type": "string"
|
||
},
|
||
"end_date": {
|
||
"description": "用药结束日期",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "编号",
|
||
"type": "integer"
|
||
},
|
||
"reminder": {
|
||
"description": "用药提醒(JSON格式)",
|
||
"type": "string"
|
||
},
|
||
"start_date": {
|
||
"description": "用药开始日期",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.schemeListResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/patient.schemeListData"
|
||
}
|
||
},
|
||
"page": {
|
||
"description": "当前页码",
|
||
"type": "integer"
|
||
},
|
||
"page_size": {
|
||
"description": "每页返回的数据量",
|
||
"type": "integer"
|
||
},
|
||
"total": {
|
||
"description": "符合查询条件的总记录数",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"patient.schemeRecodeListRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"time_type"
|
||
],
|
||
"properties": {
|
||
"page": {
|
||
"description": "当前页码,默认为第一页",
|
||
"type": "integer"
|
||
},
|
||
"page_size": {
|
||
"description": "每页返回的数据量",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "打卡状态(0:不限 1:未完成 2:已完成)",
|
||
"type": "integer"
|
||
},
|
||
"time_type": {
|
||
"description": "时间类型(1:今天 2:近7天 3:近30天 4:近90天)",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"patient.schemeRecordModifyResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.searchRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"mobile",
|
||
"user_id",
|
||
"username"
|
||
],
|
||
"properties": {
|
||
"mobile": {
|
||
"description": "手机号",
|
||
"type": "string"
|
||
},
|
||
"open_id": {
|
||
"description": "OPEN ID",
|
||
"type": "string"
|
||
},
|
||
"user_id": {
|
||
"description": "用户ID(唯一ID)",
|
||
"type": "string"
|
||
},
|
||
"username": {
|
||
"description": "姓名",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.searchResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
},
|
||
"success": {
|
||
"description": "查询结果成功与否",
|
||
"type": "boolean"
|
||
}
|
||
}
|
||
},
|
||
"patient.sendCodeRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"mobile",
|
||
"type"
|
||
],
|
||
"properties": {
|
||
"mobile": {
|
||
"description": "手机号",
|
||
"type": "string"
|
||
},
|
||
"type": {
|
||
"description": "验证码类型(1:登录场景 2:忘记密码场景)",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"patient.sendCodeResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.setPersonalInformationRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"birth_number",
|
||
"birth_weight",
|
||
"birthday",
|
||
"conception_type",
|
||
"delivery_type",
|
||
"gestational_week",
|
||
"operative_date",
|
||
"parity_number",
|
||
"prenatal_check_type",
|
||
"sex",
|
||
"username"
|
||
],
|
||
"properties": {
|
||
"avatar": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"birth_number": {
|
||
"description": "产次(0:未知 1:1产 2:2产 3:≥3产)",
|
||
"type": "integer"
|
||
},
|
||
"birth_weight": {
|
||
"description": "出生体重(克)",
|
||
"type": "integer"
|
||
},
|
||
"birthday": {
|
||
"description": "出生日期(格式:2025-05-30)",
|
||
"type": "string"
|
||
},
|
||
"conception_type": {
|
||
"description": "受孕方式(0:未知 1:自然受孕 2:辅助生殖技术)",
|
||
"type": "integer"
|
||
},
|
||
"delivery_type": {
|
||
"description": "分娩方式(0:未知 1:顺产 2:剖宫产)",
|
||
"type": "integer"
|
||
},
|
||
"gestational_week": {
|
||
"description": "孕周",
|
||
"type": "integer"
|
||
},
|
||
"id_number": {
|
||
"description": "身份证号",
|
||
"type": "string"
|
||
},
|
||
"operative_date": {
|
||
"description": "手术日期(格式:2025-05-30)",
|
||
"type": "string"
|
||
},
|
||
"parity_number": {
|
||
"description": "胎次(0:未知 1:1胎 2:胎 3:胎 4:≥4胎)",
|
||
"type": "integer"
|
||
},
|
||
"prenatal_check_remark": {
|
||
"description": "产检异常描述",
|
||
"type": "string"
|
||
},
|
||
"prenatal_check_type": {
|
||
"description": "产检是否异常(0:未知 1:有 2:无)",
|
||
"type": "integer"
|
||
},
|
||
"sex": {
|
||
"description": "性别(1:男 2:女)",
|
||
"type": "integer"
|
||
},
|
||
"username": {
|
||
"description": "姓名",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.setPersonalInformationResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.symptomListData": {
|
||
"type": "object",
|
||
"properties": {
|
||
"description": {
|
||
"description": "描述",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "编号",
|
||
"type": "integer"
|
||
},
|
||
"title": {
|
||
"description": "症状",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.symptomListResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/patient.symptomListData"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"patient.symptomSubmitRequest": {
|
||
"type": "object",
|
||
"required": [
|
||
"detail"
|
||
],
|
||
"properties": {
|
||
"detail": {
|
||
"description": "症状详情",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"patient.symptomSubmitResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": {
|
||
"description": "提示信息",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"service_patient.BasicInfoResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"age": {
|
||
"description": "年龄",
|
||
"type": "string"
|
||
},
|
||
"avatar": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"birth_number": {
|
||
"description": "产次(0:未知 1:1产 2:2产 3:≥3产)",
|
||
"type": "integer"
|
||
},
|
||
"birth_weight": {
|
||
"description": "出生体重(克)",
|
||
"type": "integer"
|
||
},
|
||
"birthday": {
|
||
"description": "出生日期(格式:2025-05-30)",
|
||
"type": "string"
|
||
},
|
||
"conception_type": {
|
||
"description": "受孕方式(0:未知 1:自然受孕 2:辅助生殖技术)",
|
||
"type": "integer"
|
||
},
|
||
"delivery_type": {
|
||
"description": "分娩方式(0:未知 1:顺产 2:剖宫产)",
|
||
"type": "integer"
|
||
},
|
||
"gestational_week": {
|
||
"description": "孕周",
|
||
"type": "integer"
|
||
},
|
||
"ggt_compared": {
|
||
"description": "GGT 指数(较上次)",
|
||
"type": "string"
|
||
},
|
||
"height_growth_curve_type": {
|
||
"description": "身高生长曲线类型(0:未知 1:轻度偏离 2:正常 3:重度偏离)",
|
||
"type": "integer"
|
||
},
|
||
"id_number": {
|
||
"description": "身份证号",
|
||
"type": "string"
|
||
},
|
||
"mobile": {
|
||
"description": "账号",
|
||
"type": "string"
|
||
},
|
||
"next_follow_date": {
|
||
"description": "下次随访时间",
|
||
"type": "string"
|
||
},
|
||
"operative_date": {
|
||
"description": "胆道闭锁手术时间",
|
||
"type": "string"
|
||
},
|
||
"parity_number": {
|
||
"description": "胎次(0:未知 1:1胎 2:胎 3:胎 4:≥4胎)",
|
||
"type": "integer"
|
||
},
|
||
"postoperative_duration": {
|
||
"description": "术后时长",
|
||
"type": "string"
|
||
},
|
||
"prenatal_check_remark": {
|
||
"description": "产检异常描述",
|
||
"type": "string"
|
||
},
|
||
"prenatal_check_type": {
|
||
"description": "产检是否异常(0:未知 1:有 2:无)",
|
||
"type": "integer"
|
||
},
|
||
"risk_type": {
|
||
"description": "风险类型(0:未知 1:低危 2:中危 3:高危)",
|
||
"type": "integer"
|
||
},
|
||
"risk_value": {
|
||
"description": "风险值",
|
||
"type": "string"
|
||
},
|
||
"sex": {
|
||
"description": "性别(0:未知 1:男 2:女)",
|
||
"type": "integer"
|
||
},
|
||
"username": {
|
||
"description": "姓名",
|
||
"type": "string"
|
||
},
|
||
"weight_growth_curve_type": {
|
||
"description": "体重生长曲线类型(0:未知 1:轻度偏离 2:正常 3:重度偏离)",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"service_patient.ChatListResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/service_patient.chatListData"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"service_patient.QuestionnaireDetailResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"albumin": {
|
||
"description": "白蛋白(g/L)",
|
||
"type": "string"
|
||
},
|
||
"alp": {
|
||
"description": "ALP(U/L)",
|
||
"type": "string"
|
||
},
|
||
"aptt": {
|
||
"description": "APTT(s)",
|
||
"type": "string"
|
||
},
|
||
"b_mode_image": {
|
||
"description": "B超报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"blood_routine_image": {
|
||
"description": "血常规检查报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"coagulation_function_image": {
|
||
"description": "凝血功能检查报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"common_bile_duct": {
|
||
"description": "胆总管(mm)",
|
||
"type": "string"
|
||
},
|
||
"crp": {
|
||
"description": "CRP(mg/L)",
|
||
"type": "string"
|
||
},
|
||
"ddr": {
|
||
"description": "DDR",
|
||
"type": "string"
|
||
},
|
||
"direct_bilirubin": {
|
||
"description": "直接胆红素(µmol/L)",
|
||
"type": "string"
|
||
},
|
||
"elastography_maximum": {
|
||
"description": "弹性成像最大值(kPa)",
|
||
"type": "string"
|
||
},
|
||
"elastography_median": {
|
||
"description": "弹性成像中位数(kPa)",
|
||
"type": "string"
|
||
},
|
||
"elastography_minimum": {
|
||
"description": "弹性成像最小值(kPa)",
|
||
"type": "string"
|
||
},
|
||
"fib": {
|
||
"description": "FIB(g/L)",
|
||
"type": "string"
|
||
},
|
||
"fiber_block_size": {
|
||
"description": "纤维块大小(mm)",
|
||
"type": "string"
|
||
},
|
||
"follow_date": {
|
||
"description": "随访日期",
|
||
"type": "string"
|
||
},
|
||
"follow_hospital": {
|
||
"description": "随访医院",
|
||
"type": "string"
|
||
},
|
||
"follow_name": {
|
||
"description": "随访名称",
|
||
"type": "string"
|
||
},
|
||
"gallbladder_size": {
|
||
"description": "胆囊大小(mm)",
|
||
"type": "string"
|
||
},
|
||
"ggt": {
|
||
"description": "GGT(U/L)",
|
||
"type": "string"
|
||
},
|
||
"grain_grass": {
|
||
"description": "谷草(U/L)",
|
||
"type": "string"
|
||
},
|
||
"gu_bing": {
|
||
"description": "谷丙(U/L)",
|
||
"type": "string"
|
||
},
|
||
"head_circumference": {
|
||
"description": "头围(CM)",
|
||
"type": "string"
|
||
},
|
||
"height": {
|
||
"description": "身高(CM)",
|
||
"type": "string"
|
||
},
|
||
"hemoglobin": {
|
||
"description": "血红蛋白 (g/L)",
|
||
"type": "string"
|
||
},
|
||
"high_hip": {
|
||
"description": "上臀围(CM)",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "随访记录ID",
|
||
"type": "integer"
|
||
},
|
||
"inr": {
|
||
"description": "INR",
|
||
"type": "string"
|
||
},
|
||
"is_have_ascites": {
|
||
"description": "有无腹水(1:是 2:否)",
|
||
"type": "integer"
|
||
},
|
||
"is_have_cyst": {
|
||
"description": "有无肝囊肿(1:是 2:否)",
|
||
"type": "integer"
|
||
},
|
||
"liver_echo": {
|
||
"description": "肝回声",
|
||
"type": "string"
|
||
},
|
||
"liver_elasticity_value": {
|
||
"description": "肝弹性值",
|
||
"type": "string"
|
||
},
|
||
"liver_function_image": {
|
||
"description": "肝功能检查报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"main_portal_vein": {
|
||
"description": "门静脉主干内径(mm)",
|
||
"type": "string"
|
||
},
|
||
"mdt_image": {
|
||
"description": "MDT电子病历(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"mmp_7": {
|
||
"description": "MMP-7(ng/mL)",
|
||
"type": "string"
|
||
},
|
||
"npdp": {
|
||
"description": "NPDP(mg/L)",
|
||
"type": "string"
|
||
},
|
||
"nutritional_indicator_image": {
|
||
"description": "营养指标检查报告(多张用,分割)",
|
||
"type": "string"
|
||
},
|
||
"oh_d": {
|
||
"description": "25(OH)D (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"oh_d2": {
|
||
"description": "25(OH)D2 (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"oh_d3": {
|
||
"description": "25(OH)D3 (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"platelets": {
|
||
"description": "血小板(10^9/L)",
|
||
"type": "string"
|
||
},
|
||
"pt": {
|
||
"description": "PT(s)",
|
||
"type": "string"
|
||
},
|
||
"pta": {
|
||
"description": "PTA(%)",
|
||
"type": "string"
|
||
},
|
||
"pvv": {
|
||
"description": "门静脉流速",
|
||
"type": "string"
|
||
},
|
||
"red_blood_cells": {
|
||
"description": "红细胞 (10^9/L)",
|
||
"type": "string"
|
||
},
|
||
"spleen_rib_area": {
|
||
"description": "脾肋下(mm)",
|
||
"type": "string"
|
||
},
|
||
"total_bile_acid": {
|
||
"description": "总胆汁酸(g/L)",
|
||
"type": "string"
|
||
},
|
||
"total_bilirubin": {
|
||
"description": "总胆红素(µmol/L)",
|
||
"type": "string"
|
||
},
|
||
"tt": {
|
||
"description": "TT(s)",
|
||
"type": "string"
|
||
},
|
||
"under_the_liver_rib": {
|
||
"description": "肝肋下(mm)",
|
||
"type": "string"
|
||
},
|
||
"under_the_xiphoid_liver": {
|
||
"description": "肝剑突下(mm)",
|
||
"type": "string"
|
||
},
|
||
"vitamin_a": {
|
||
"description": "维生素A (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"vitamin_e": {
|
||
"description": "维生素E (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"vitamin_k": {
|
||
"description": "维生素K (ng/ml)",
|
||
"type": "string"
|
||
},
|
||
"weight": {
|
||
"description": "体重(KG)",
|
||
"type": "string"
|
||
},
|
||
"white_blood_cells": {
|
||
"description": "白细胞 (10^9/L)",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"service_patient.QuestionnaireListResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/service_patient.questionnaireListData"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"service_patient.chatListData": {
|
||
"type": "object",
|
||
"properties": {
|
||
"age": {
|
||
"description": "年龄",
|
||
"type": "string"
|
||
},
|
||
"direct_bilirubin": {
|
||
"description": "直接胆红素(µmol/L)",
|
||
"type": "string"
|
||
},
|
||
"follow_date": {
|
||
"description": "随访日期",
|
||
"type": "string"
|
||
},
|
||
"height": {
|
||
"description": "身高(CM)",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"total_bilirubin": {
|
||
"description": "总胆红素(µmol/L)",
|
||
"type": "string"
|
||
},
|
||
"weight": {
|
||
"description": "体重(KG)",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"service_patient.questionnaireListData": {
|
||
"type": "object",
|
||
"properties": {
|
||
"follow_date": {
|
||
"description": "随访日期",
|
||
"type": "string"
|
||
},
|
||
"follow_hospital": {
|
||
"description": "随访医院",
|
||
"type": "string"
|
||
},
|
||
"follow_name": {
|
||
"description": "随访名称",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "编号",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"securityDefinitions": {
|
||
"LoginVerifyToken": {
|
||
"type": "apiKey",
|
||
"name": "Authorization",
|
||
"in": "header"
|
||
}
|
||
}
|
||
}`
|
||
|
||
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
||
var SwaggerInfo = &swag.Spec{
|
||
Version: "v0.0.1",
|
||
Host: "",
|
||
BasePath: "/",
|
||
Schemes: []string{},
|
||
Title: "mini-chat 接口文档",
|
||
Description: "",
|
||
InfoInstanceName: "swagger",
|
||
SwaggerTemplate: docTemplate,
|
||
LeftDelim: "{{",
|
||
RightDelim: "}}",
|
||
}
|
||
|
||
func init() {
|
||
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
|
||
}
|