Module: 患者获取^2024/01/22

Since:
  • 2024/01/22
Author:
  • zz

Methods

(inner) get /patients_load(patientsId, languageopt, timestamp, sign)

Parameters:
Name Type Attributes Description
patientsId String(24) 患者ID
language String(50) <optional>
语种,不传或无值将维持默认语种(简体中文)不会转换简繁体文字内容,目前支持:simplifiedChinese:简体中文,traditionalChinese:繁体中文 2022/2/28
timestamp String(10) 时间戳,值为秒值,长度10位,时间戳有效期:±10分钟
sign String(64) 签名
Properties:
Name Type Attributes Description
medicalhistory Array.<String> 既往病史
_id String(24) 患者ID
isdeleted Boolean 删除标志位,true为删除
name String(20) 患者姓名
gender String(10) 患者性别
phone String(50) 患者电话 2024/01/22
birthday Date 患者生日
patientId String(24) 用户ID
relation String(20) 患者关系
weight Number 患者体重,单位kg
height Number 患者身高,单位cm
address String(100) 患者所在地
other String(200) 患者其他信息
allergic String(5000) <optional>
患者过敏史
patientsPdfUrl String(500) 患者信息pdf下载地址 2022/3/8
Throws:
400 缺少patientsId
Examples
请求示例:/patients_load?patientsId=5e0457eee4e1ec234ca2d7c8&timestamp=1570430536&sign=725085C8A709A4F16183B26FBB9E67A156A2F3D82D47CE00A067902EA006FA15
返回示例:
  {
      "medicalhistory": [
          "高血压",
          "心脏病"
      ],
      "isdeleted": false,
      "_id": "5e1bff31ef89e1059c0c98b9",
      "name": "李四",
      "gender": "女",
      "birthday": "1976-11-13T16:00:00.000Z",
      "patientId":"5e0445db99791d7398ccb1ba",
      "relation": "夫妻",
      "weight": 60,
      "height": 165,
      "address": "北京市",
      "other": "无"
  }