POST api/YoudeYi/getInterrogation

友德医移动平台图文问诊推送处方信息接口

请求的信息

URI参数

None.

Body参数

getInterrogationCondition
名称描述类型其它信息
AppKey

合作方接入认证标识(海王提供对应商户编码)

string

None.

TimeStamp

10位时间戳 格式为long,时区为GMT+8。开放平台允许合作方请求最大时间误差为10分钟

integer

None.

Sign

签名

string

None.

Version

版本号

string

None.

require_code

订单号

string

None.

rx_source

处方来源

string

None.

patient_name

姓名

string

None.

patient_gender

性别 1:男 0:女

integer

None.

patient_age

年龄

integer

None.

patient_card_no

身份证号码

string

None.

drug_info

药品信息

Collection of getInterrogationDrugInfo

None.

patient_disease

患者病症(待定)

string

None.

primary_diagnosis

诊断记录

string

None.

irritability_describe

过敏史

string

None.

hospital_name

医院

string

None.

division

科室

string

None.

doctor_name

医生姓名

string

None.

pdf_url

处方pdf地址

string

None.

请求格式

application/json, text/json

Sample:
{
  "appKey": "sample string 1",
  "timeStamp": 2,
  "sign": "sample string 3",
  "version": "sample string 4",
  "require_code": "sample string 5",
  "rx_source": "sample string 6",
  "patient_name": "sample string 7",
  "patient_gender": 8,
  "patient_age": 9,
  "patient_card_no": "sample string 10",
  "drug_info": [
    {
      "$id": "2",
      "drug_coding": "sample string 1",
      "use_method": "sample string 2",
      "use_amount": "sample string 3"
    },
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ],
  "patient_disease": "sample string 11",
  "primary_diagnosis": "sample string 12",
  "irritability_describe": "sample string 13",
  "hospital_name": "sample string 14",
  "division": "sample string 15",
  "doctor_name": "sample string 16",
  "pdf_url": "sample string 17"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

响应信息

资源描述

getInterrogationResult
名称描述类型其它信息
code

返回码

integer

None.

message

返回值

string

None.

data

返回json

string

None.

响应格式

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2",
  "data": "sample string 3"
}