POST api/hwxcYdy/rxCallback
友德医电子处方回调
请求的信息
URI参数
None.
Body参数
rxCallbackCondition名称 | 描述 | 类型 | 其它信息 |
---|---|---|---|
app_key |
合作方接入认证标识(海王提供对应商户编码) |
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. |
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. |
drug_info |
药品信息 |
Collection of rxCallbackDrugInfo |
None. |
请求格式
application/json, text/json
Sample:
{ "app_key": "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", "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", "drug_info": [ { "$id": "2", "drug_coding": "sample string 1", "use_method": "sample string 2", "use_amount": "sample string 3" }, { "$ref": "2" }, { "$ref": "2" } ] }
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
CustomJsonResultOfhwxcJsonResult名称 | 描述 | 类型 | 其它信息 |
---|---|---|---|
Content | hwxcJsonResult |
None. |
响应格式
application/json, text/json
Sample:
{ "content": { "$id": "2", "code": 1, "msg": "sample string 2", "data": { "$id": "3" } } }