Methods
(inner) get /product_syndrometype_load(timestamp, sign, productSyndrometypeId, languageopt)
Parameters:
Name |
Type |
Attributes |
Description |
timestamp |
String(10)
|
|
时间戳,值为秒值,长度10位,时间戳有效期:±10分钟 |
sign |
String(64)
|
|
签名 |
productSyndrometypeId |
String(24)
|
|
附加药品模版ID |
language |
String(50)
|
<optional>
|
语种,不传或无值将维持默认语种(简体中文)不会转换简繁体文字内容,目前支持:simplifiedChinese:简体中文,traditionalChinese:繁体中文 |
Properties:
Name |
Type |
Attributes |
Default |
Description |
_id |
String(24)
|
|
|
附加药品模版ID |
diseaseId |
String(24)
|
|
|
病症ID |
diseaseId |
Array.<Object>
|
|
|
病症 2022/07/28
Properties
Name |
Type |
Description |
_id |
String(24)
|
病症ID |
title |
String(50)
|
病症名称 |
desc |
String(500)
|
病症简介 |
|
syndrometype |
String(50)
|
|
|
证型 |
doctorId |
String(24)
|
<optional>
|
|
医生ID |
productId |
String(24)
|
|
|
药品ID |
quantity |
Number
|
<optional>
|
1
|
数量 |
price |
Number
|
<optional>
|
0
|
单价,元 |
memo |
String(200)
|
<optional>
|
|
备注 |
isdeleted |
Boolean
|
|
|
删除标记,true为删除状态 |
createdAt |
Date
|
|
|
创建日期 |
updatedAt |
Date
|
|
|
更新日期 |
Throws:
400 缺少productSyndrometypeId
Examples
请求示例:/product_syndrometype_load?productSyndrometypeId=62d93bd8b8422700110b5f03&sign=29B95FBA8B10FEDFDCD4C9BC172F31AFA687DFA6B9241E69F3E59E873B6CF924×tamp=1570428513
返回示例:
{
"_id": "62d93bd8b8422700110b5f03",
"syndrometype": "风寒",
"diseaseId": {
desc: "支气管粘膜慢性非特异性炎症所引起的咳嗽、咳痰等",
title: "支气管炎【专科】",
_id: "5e3815da27ddaa24a8b0c7d9",
},
"doctorId": "5e0445db99791d7398ccb1ba",
"productId": "62d93bd8b8422700110b5f03",
"quantity": 1,
"price": 158,
"memo": "",
"createdAt": "2022-07-21T11:43:20.426Z",
"updatedAt": "2022-07-21T11:43:20.426Z"
}