- 接口变更记录
- 开发前准备
- 请求签名鉴权方式
- OAuth2.0鉴权方式
- 常见问题速查
- 接入
- 公共数据获取
- 系统管理接口
- 患者档案相关
- CRM
- 会员
- HIS
- 外加工
- 进销存
- OA审批
- 渠道管理
关键字查询客户列表
GET
/api/anon/openapi/patient/query/keyword
最后修改时间:2024-06-06 10:19:35
责任人:张时阳
请求参数
Query 参数
fieldName
string
可选
示例值:
yddh
keyWord
string
字段值
示例值:
18822082601
queryType
string
可选
示例值:
1
autoSave
integer
可选
如果是从集团查询到信息,是否需要自动保存到机构
示例值:
0
Header 参数
FRHis-Open-Timestamp
string
必需
示例值:
{% mock 'timestamp' %}
FRHis-Open-App-Id
string
必需
示例值:
{{appid}}
FRHis-Open-Token
string
必需
示例值:
{{token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/anon/openapi/patient/query/keyword?fieldName=yddh&keyWord=18822082601&queryType=1&autoSave=0' \
--header 'FRHis-Open-Timestamp: {% mock '\''timestamp'\'' %}' \
--header 'FRHis-Open-App-Id: {{appid}}' \
--header 'FRHis-Open-Token: {{token}}'
返回响应
🟢200成功
application/json
Body
errcode
integer
必需
errmsg
string
必需
data
array [object {32}]
必需
patientID
null
可选
medicalRecordNo
null
可选
vipNumber
string
可选
name
string
可选
englishName
string
可选
pyCode
string
可选
wbCode
string
可选
gender
string
可选
age
null
可选
relationType
integer
可选
mobilePhone
string
可选
telephone
string
可选
certificateType
string
可选
certificateNumber
string
可选
birthdayType
null
可选
birthday
null
可选
typeOfVIP
null
可选
status
string
可选
basicAccount
null
可选
depositBalance
null
可选
giftBalance
null
可选
remainingPoints
null
可选
patientCategory
null
可选
address
string
可选
medicalInsuranceNumber
null
可选
consultantsId
null
可选
developId
integer
可选
customerServiceId
null
可选
createTime
string
可选
remarks
string
可选
updateTime
string
可选
groupPatientID
integer
集团病人id
示例
{
"errcode" : 0,
"errmsg" : "操作成功",
"data" : [ {
"patientID" : 164622,
"medicalRecordNo" : null,
"vipNumber" : "JT00000917",
"name" : "zsy22082701",
"englishName" : "",
"pyCode" : "zsy22082701",
"wbCode" : "zsy22082701",
"gender" : "2",
"age" : null,
"relationType" : 0,
"mobilePhone" : "18822082701",
"telephone" : "",
"certificateType" : "",
"certificateNumber" : "",
"birthdayType" : null,
"birthday" : null,
"typeOfVIP" : null,
"status" : "",
"basicAccount" : null,
"depositBalance" : null,
"giftBalance" : null,
"remainingPoints" : null,
"patientCategory" : null,
"address" : "",
"medicalInsuranceNumber" : null,
"consultantsId" : null,
"developId" : 3206,
"customerServiceId" : null,
"createTime" : "2022-08-27 14:32:15",
"remarks" : "",
"updateTime" : "2022-08-27 14:32:15"
} ]
}