Methods
(inner) get /medicalrecord_list(dateFromopt, dateToopt, doctorIdopt, patientIdopt, statisticsopt, statusGroupopt, sortNameopt, findopt, orderopt, timestamp, sign, pageSizeopt, pageopt, languageopt)
Parameters:
Name |
Type |
Attributes |
Default |
Description |
dateFrom |
Date
|
<optional>
|
now
|
开始日期,默认当天0点,示例:2021-10-23 00:00:00 或 2021-10-23 查询区间不能大于30天 2023/8/30 |
dateTo |
Date
|
<optional>
|
now+1
|
结束日期,默认明天0点,示例:2021-10-23 00:00:00 或 2021-10-23 查询区间不能大于30天 2023/8/30 |
doctorId |
String(24)
|
<optional>
|
|
医生ID |
patientId |
String(24)
|
<optional>
|
|
用户ID |
statistics |
Number
|
<optional>
|
0
|
是否返回统计数据,1为返回,默认是0 |
statusGroup |
Number
|
<optional>
|
0
|
是否返回状态汇总数据,1为返回,默认是0 |
sortName |
String(20)
|
<optional>
|
createdAt
|
排序列名,默认createdAt |
find |
String(500)
|
<optional>
|
|
查询条件,json文本,示例:{"patients.name":{"$regex":"张"}} |
order |
Number
|
<optional>
|
-1
|
排序参数,默认-1,1 为升序排列,-1 为降序排列 |
timestamp |
String(10)
|
|
|
时间戳,值为秒值,长度10位,时间戳有效期:±10分钟 |
sign |
String(64)
|
|
|
签名 |
pageSize |
Number
|
<optional>
|
20
|
分页行数,最大100 2023/8/30 |
page |
Number
|
<optional>
|
1
|
页码 |
language |
String(20)
|
<optional>
|
|
语种,不传或无值将维持默认语种(简体中文)不会转换简繁体文字内容,目前支持:simplifiedChinese:简体中文,traditionalChinese:繁体中文 2022/2/28 |
Properties:
Name |
Type |
Description |
total |
Number
|
总行数 |
data |
Array.<Object>
|
当前页数据
Properties
Name |
Type |
Attributes |
Default |
Description |
_id |
String(24)
|
|
|
ID |
medicalrecordIdRoot |
String(24)
|
<optional>
|
|
复诊根ID 2022/1/21 |
medicalrecordIdParent |
String(24)
|
<optional>
|
|
复诊父ID2022/1/21 |
medicalrecordIdSub |
Object
|
<optional>
|
|
复诊子病案对象 2022/1/21
Properties
Name |
Type |
Description |
_id |
String(24)
|
复诊子ID |
status |
Number
|
复诊子病案状态,0:新建,1:患者已提交,2:医生已处理,3:等待付款,4:医生已发布(已完成) |
sitting |
Number
|
复诊子病案,是否坐诊,1:坐诊,0:远程 |
|
medicalrecordFromId |
String(24)
|
<optional>
|
|
复制来源病案ID 2022/1/21 |
isdeleted |
Boolean
|
|
|
删除标记,true=删除 |
createdAt |
Date
|
|
|
诊断时间 |
doctorId |
Object
|
|
|
医生信息
Properties
Name |
Type |
Description |
_id |
String(24)
|
医生ID |
title |
String(20)
|
医生姓名 |
|
sitting |
Number
|
<optional>
|
1
|
是否坐诊,1:坐诊,0:远程 2021/11/24 |
patients |
Object
|
|
|
患者信息
Properties
Name |
Type |
Attributes |
Description |
name |
String(20)
|
|
患者姓名 |
gender |
String(10)
|
|
患者性别 |
phone |
String(50)
|
<optional>
|
患者电话 2024/01/22 |
birthday |
Date
|
|
患者生日 |
relation |
String(20)
|
|
患者关系 |
weight |
Number
|
|
患者体重 |
height |
Number
|
|
患者身高 |
address |
String(100)
|
|
患者所在地 |
medicalhistory |
Array.<String>
|
|
患者既往病史 |
other |
String(200)
|
<optional>
|
患者其他信息 |
|
diseaseId |
Object
|
|
|
病症信息
Properties
Name |
Type |
Description |
_id |
String(24)
|
病症ID |
title |
String(50)
|
病症名称 |
|
title |
String(50)
|
|
|
证型名称 |
curativeeffect |
Number
|
<optional>
|
|
疗效结果,1:痊愈,2:好转,3:无效,4:加重 2021/11/22 |
curativeeffectInfo |
String(200)
|
<optional>
|
|
疗效描述 |
wxQrcodeUrl |
String(500)
|
<optional>
|
|
微信二维码图片 (停用) 2024-05-16 |
status |
Number
|
|
|
病案状态,0:新建,1:患者已提交,2:医生已处理,3:等待付款,4:医生已发布(已完成) |
pdfPath |
String(500)
|
|
|
pdf下载地址 (停用) 2024-05-16 |
evaluation |
Number
|
<optional>
|
0
|
患者给医生得评价分数,最高5分 2021/12/09 |
curativeeffectCheck |
Boolean
|
<optional>
|
false
|
患者疗效确认,true为已确认 2021/12/09 |
costs |
Object
|
<optional>
|
|
费用对象 2021/11/21
Properties
Name |
Type |
Attributes |
Default |
Description |
prescription |
Object
|
<optional>
|
|
药费对象
Properties
Name |
Type |
Attributes |
Default |
Description |
quantity |
Number
|
<optional>
|
7
|
方剂数量 |
amount |
Number
|
<optional>
|
0
|
方剂金额,单位:元 |
|
patentmedicines |
Object
|
<optional>
|
|
中成药费对象
Properties
Name |
Type |
Attributes |
Default |
Description |
quantity |
Number
|
<optional>
|
7
|
中成药数量 |
amount |
Number
|
<optional>
|
0
|
中成药金额,单位:元 |
|
postage |
Number
|
<optional>
|
0
|
邮费,单位:元 |
consultationFee |
Number
|
<optional>
|
0
|
问诊费,单位:元 |
otherFee |
Number
|
<optional>
|
0
|
其他费用,单位:元 |
amount |
Number
|
<optional>
|
0
|
费用合计,单位:元 |
|
printCount |
Number
|
<optional>
|
0
|
打印计次 2022/3/8 |
rootDiseaseMedicalrecord |
String(24)
|
<optional>
|
|
根病症Id 2024/05/16 |
parentDiseaseMedicalrecord |
String(24)
|
<optional>
|
|
父病症Id 2024/05/16 |
subDiseaseMedicalrecord |
String(24)
|
<optional>
|
|
子病症Id 2024/05/16 |
coDisease |
Array.<Object>
|
<optional>
|
|
合病/并病 2024/05/16
Properties
Name |
Type |
Attributes |
Description |
name |
String(50)
|
<optional>
|
证型名称 |
percent |
Number
|
<optional>
|
证型占比 |
weightLowest |
Number
|
<optional>
|
概率阈值 |
weights |
Number
|
<optional>
|
概率值 |
goWeightLowestCoefficient |
Number
|
<optional>
|
合方阈值系数 |
weightsRatio |
Number
|
<optional>
|
符合率占比 |
rule |
Boolean
|
<optional>
|
是否启用规则 |
ruleValue |
Boolean
|
<optional>
|
是否满足规则 |
value |
Boolean
|
<optional>
|
证型是否命中 |
diseaseId |
String(24)
|
<optional>
|
病症Id |
|
diagnosticresults |
Array.<Object>
|
|
|
处方对象
Properties
Name |
Type |
Attributes |
Description |
prescriptionName |
String(50)
|
<optional>
|
处方名称 |
|
|
statistics |
Object
|
统计结果
Properties
Name |
Type |
Description |
curativeeffect |
Array.<Object>
|
按疗效汇总
Properties
Name |
Type |
Description |
title |
String(10)
|
疗效 |
count |
Number
|
汇总结果 |
|
disease |
Array.<Object>
|
按病症汇总
Properties
Name |
Type |
Description |
title |
String(50)
|
病症 |
count |
Number
|
汇总结果 |
|
status |
Array.<Object>
|
按状态汇总
Properties
Name |
Type |
Description |
title |
String(20)
|
状态 |
count |
Number
|
汇总结果 |
|
patientsSummary |
Array.<Object>
|
按患者汇总
Properties
Name |
Type |
Description |
title |
String(20)
|
状态 |
count |
Number
|
汇总结果 |
|
summary |
Array.<Object>
|
其他汇总
Properties
Name |
Type |
Description |
title |
String(20)
|
汇总标题 |
value |
Number
|
汇总结果 2022/6/21 |
|
timeLine |
Array.<Object>
|
按日汇总
Properties
Name |
Type |
Description |
createDate |
Date
|
日期 2022/5/5 |
count |
Number
|
汇总 |
|
|
statusGroup |
Array.<Object>
|
状态汇总结果
Properties
Name |
Type |
Description |
_id |
Number
|
病案状态ID,0:新建,1:患者已提交,2:医生已处理,3:等待付款,4:医生已发布(已完成) |
total |
Number
|
病案状态汇总 |
|
Examples
请求示例:/medicalrecord_list?dateFrom=2021-6-9 00:00:00&dateTo=2021-6-10 00:00:00&sign=143C90B22D698234BAA7691B0020D5D6D4737106A57E72EEED098E9193075C69×tamp=1570428513
返回示例:
{
"total": 1,
"data": [
{
"patients": {
"medicalhistory": [],
"allergicMain": [],
"highRisk": [],
"name": "王大锤",
"gender": "男",
"birthday": "2021-05-04T16:00:00.000Z",
"numcode": 630
},
"costs": {
"prescription": {
"quantity": 7,
"amount": 0
},
"patentmedicines": {
"quantity": 7,
"amount": 0
},
"postage": 8,
"consultationFee": 10,
"otherFee": 0,
"amount": 18
},
"isdeleted": false,
"curativeeffectCheck": false,
"sitting": 1,
"evaluation": 0,
"printCount": 0,
"_id": "6645bae3d1b8d800170fde9f",
"diseaseId": {
"_id": "5e3815da27ddaa24a8b0c74b",
"title": "感冒"
},
"diagnosticresults": [
{
"prescriptionName": "新加香薷饮加减"
}
],
"doctorId": {
"_id": "6180bfbd24533c0011225573",
"title": "邹学峰"
},
"status": 1,
"coDisease": [
{
"rule": false,
"ruleValue": true,
"value": true,
"weightLowestValue": true,
"_id": "6645bb69d1b8d800170fdf85",
"name": "暑湿",
"percent": 0.5942,
"weightsRatio": 0.3314,
"goWeightLowestCoefficient": 1.5,
"weightLowest": 12,
"weights": 35.58
},
{
"rule": false,
"ruleValue": true,
"value": false,
"weightLowestValue": true,
"_id": "6645bb69d1b8d800170fdf86",
"name": "风热",
"percent": 0.4058,
"weightsRatio": 0.2212,
"goWeightLowestCoefficient": 1.5,
"weightLowest": 11,
"weights": 24.3
}
],
"diagnosisRate": [
{
"rule": false,
"ruleValue": true,
"value": true,
"weightLowestValue": true,
"_id": "6645bb69d1b8d800170fdf7c",
"name": "暑湿",
"percent": 0.5942,
"weightsRatio": 0.3314,
"goWeightLowestCoefficient": 1.5,
"weightLowest": 12,
"weights": 35.58,
"treatmentplan": [
{
"rule": false,
"ruleValue": true,
"insideOrOutside": true,
"value": true,
"_id": "6645bb69d1b8d800170fdf7d",
"prescriptionName": "新加香薷饮加减"
}
]
},
{
"rule": false,
"ruleValue": true,
"value": false,
"weightLowestValue": true,
"_id": "6645bb69d1b8d800170fdf7e",
"name": "风热",
"percent": 0.4058,
"weightsRatio": 0.2212,
"goWeightLowestCoefficient": 1.5,
"weightLowest": 11,
"weights": 24.3,
"treatmentplan": [
{
"rule": true,
"ruleValue": true,
"insideOrOutside": true,
"value": false,
"_id": "6645bb69d1b8d800170fdf7f",
"prescriptionName": "桑菊饮加减"
},
{
"rule": true,
"ruleValue": false,
"insideOrOutside": true,
"value": false,
"_id": "6645bb69d1b8d800170fdf80",
"prescriptionName": "银翘散加减"
}
]
},
{
"rule": false,
"ruleValue": true,
"value": false,
"weightLowestValue": false,
"_id": "6645bb69d1b8d800170fdf81",
"name": "风寒",
"percent": 0,
"weightsRatio": -0.0093,
"goWeightLowestCoefficient": 1.5,
"weightLowest": 10,
"weights": -1.01,
"treatmentplan": [
{
"rule": true,
"ruleValue": true,
"insideOrOutside": true,
"value": false,
"_id": "6645bb69d1b8d800170fdf82",
"prescriptionName": "荆防败毒散加减"
},
{
"rule": true,
"ruleValue": false,
"insideOrOutside": true,
"value": false,
"_id": "6645bb69d1b8d800170fdf83",
"prescriptionName": "桂枝汤加减"
},
{
"rule": true,
"ruleValue": false,
"insideOrOutside": true,
"value": false,
"_id": "6645bb69d1b8d800170fdf84",
"prescriptionName": "麻黄汤加减"
}
]
}
],
"createdAt": "2024-05-16T07:50:59.449Z",
"updatedAt": "2024-05-16T07:53:13.531Z",
"medicalrecordIdFrom": null,
"title": "暑湿"
}
],
"statusGroup": [
{
"_id": 1,
"total": 1
}
],
"count": 1
}