Methods
(inner) post /medicalrecord_add(diseaseId, doctorId, patientsId, sittingopt, medicalrecordIdParentopt, medicalrecordIdRootopt, JSON, timestamp, sign)
Parameters:
Name |
Type |
Attributes |
Default |
Description |
diseaseId |
String(24)
|
|
|
病症ID |
doctorId |
String(24)
|
|
|
医生ID |
patientsId |
String(24)
|
|
|
患者ID |
sitting |
Number
|
<optional>
|
1
|
是否坐诊,1:坐诊,0:远程 |
medicalrecordIdParent |
String(24)
|
<optional>
|
|
复诊病案父ID,如果传递,即为复诊 |
medicalrecordIdRoot |
String(24)
|
<optional>
|
|
复诊病案根ID,如果传递,即为复诊 |
JSON |
JSON
|
|
|
body参数
Properties
Name |
Type |
Attributes |
Description |
name |
String(20)
|
|
患者姓名 |
gender |
String(10)
|
|
患者性别 |
phone |
String(50)
|
<optional>
|
患者电话 2024/01/22 |
birthday |
Date
|
|
患者生日 |
relation |
String(20)
|
<optional>
|
患者关系 |
weight |
Number
|
<optional>
|
患者体重,单位kg |
height |
Number
|
<optional>
|
患者身高,单位cm |
medicalhistory |
Array.<String>
|
<optional>
|
既往病史 |
address |
String(200)
|
<optional>
|
患者所在地 |
other |
String(200)
|
<optional>
|
患者其他信息 |
|
timestamp |
String(10)
|
|
|
时间戳,值为秒值,长度10位,时间戳有效期:±10分钟 |
sign |
String(64)
|
|
|
签名 |
Properties:
Name |
Type |
Description |
medicalrecordId |
String(24)
|
病案ID |
Examples
请求示例:/open/api/medicalrecord_add?diseaseId=5e2e5d786fcd3751d8941ba2&doctorId=5e2e5d786fcd3751d8941ba2&sign=143C90B22D698234BAA7691B0020D5D6D4737106A57E72EEED098E9193075C69×tamp=1570428513
请求JSON参数:
{
"medicalhistory":[
"高血压",
"高血糖",
"脑梗",
"脑溢血"
],
"name":"李思思",
"gender":"2",
"birthday":"2011-01-05",
"height":123,
"weight":321,
"address":"北京市",
"other":"其他信息"
}
返回示例:
{
"medicalrecordId": "5e46911fc127de7a58deacd7"
}