Module: 附加药品模版列表^2023/8/30

Since:
  • 2023/8/30
Author:
  • zz

Methods

(inner) get /product_syndrometype_list(productSyndrometypeIdopt, doctorIdopt, findopt, sortNameopt, orderopt, timestamp, sign, pageSizeopt, pageopt, languageopt)

Parameters:
Name Type Attributes Default Description
productSyndrometypeId String(24) <optional>
附加药品模版ID
doctorId String(24) <optional>
医生ID
find String(500) <optional>
查询条件,json文本,示例:{"name":{"$regex":"王"}}
sortName String(20) <optional>
createdAt 排序列名,默认createdAt
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(50) <optional>
语种,不传或无值将维持默认语种(简体中文)不会转换简繁体文字内容,目前支持:simplifiedChinese:简体中文,traditionalChinese:繁体中文
Properties:
Name Type Description
total Number 总行数
data Array.<Object> 当前页数据
Properties
Name Type Attributes Default Description
_id 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 Array.<Object> 药品 2022/07/28
Properties
Name Type Description
_id String(24) 药品ID
title String(50) 药品名称
quantity Number <optional>
1 数量
price Number <optional>
0 单价,元
memo String(200) 备注
isdeleted Boolean 删除标记,true为删除状态
createdAt Date 创建日期
updatedAt Date 更新日期
Examples
请求示例:/product_syndrometype_list?pageSize=5&page=1&sign=1C2B09A2C9E20BB3948833AB7D77B4CA803D05906E8CC600014750275E2909C2&timestamp=1570428513
返回示例:
  {
    "total": 1,
    "data": [
      {
        "_id": "62d93bd8b8422700110b5f03",
        "syndrometype": "风寒",
        "diseaseId": {
          desc: "支气管粘膜慢性非特异性炎症所引起的咳嗽、咳痰等",
          title: "支气管炎【专科】",
          _id: "5e3815da27ddaa24a8b0c7d9",
        },
        "doctorId": "5e0445db99791d7398ccb1ba",
        "productId": {
          "_id":"5e1b32e6a8bead28981cfefe"
          "title": "汤成倍健鱼油牛磺酸锌软胶囊",
        },
        "quantity": 1,
        "price": 158,
        "memo": "",
        "createdAt": "2022-07-21T11:43:20.426Z",
        "updatedAt": "2022-07-21T11:43:20.426Z"
      }
    ]
  }