接口文档 / 门诊接口
按患者查询门诊单
查询日期间隔不能超过 3 个月
响应参数
| 名称 | 说明 | 类型 |
|---|---|---|
| Body 参数 | ||
data可选 | object | |
rows可选 | array<object> | |
total可选 | integer | |
offset可选 | integer | |
limit可选 | integer | |
error可选可为空 | object | |
响应示例
{
"data": {
"rows": [
{
"id": "string",
"patientOrderId": "string",
"patient": {
"id": "000000fc446f4dbd989857e305b00d6s",
"name": "张三",
"mobile": 18080000000,
"sex": "男",
"birthday": "1970-08-14",
"age": "60岁2月1天",
"idCard": 630101200010075800,
"idCardType": "身份证",
"visitReason": "string"
},
"created": "2026-01-01T00:00:00Z",
"doctorId": "string",
"doctorName": "string",
"patientOrderNo": "0000000001",
"status": 0,
"statusName": "string",
"sourceFromOpenApi": 1
}
],
"total": 100,
"offset": 0,
"limit": 10
},
"error": null
}业务失败包装示意
{
"data": null,
"error": {
"code": 11003,
"message": "不支持的授权类型{grantType}"
}
}