-
Notifications
You must be signed in to change notification settings - Fork 1
drug interface
stupid-coder edited this page Jun 3, 2016
·
2 revisions
用药管理接口用于管理病人使用药物的情况。
具体一些字典常量写在设计文档中。请查阅。
生理指标接口提供两个基本接口:获取和添加接口。
获取接口URI:http://ip:port/hostname/drug/list
字段名 | 类型 | 说明 |
---|---|---|
token | String | 用户标示 |
patient_id | String | 获取生理指标的管理对象ID |
添加结构URI: http://ip:port/hostname/drug/search
字段名 | 类型 | 说明 |
---|---|---|
gov_id | String | 药物的国药准字, |
product_name | String | 药物名称 |
manu_name | String | 生产单位 |
获取URI: http://ip:port/hostname/drug/direction
字段名 | 类型 | 说明 |
---|---|---|
drug_id | String | 药物ID |
保存URI:http://ip:port/hostname/drug/patient/update
字段名 | 类型 | 说明 |
---|---|---|
token | String | TOKEN |
drug_id | String | 药物ID |
patient_id | String | |
use_policy | String | 用药策略,为一个自定义的json串,由前端确定 |
change_time | Long | 更新时间戳 |
删除URI:http://ip:port/hostname/drug/patient/delete
字段名 | 类型 | 说明 |
---|---|---|
token | String | TOKEN |
drug_id | String | 药物ID |
patient_id | String |