Methods
(inner) get /treatmentplan_template_load(languageopt, timestamp, sign, templateId)
Parameters:
Name |
Type |
Attributes |
Description |
language |
String(50)
|
<optional>
|
语种,不传或无值将维持默认语种(简体中文)不会转换简繁体文字内容,目前支持:simplifiedChinese:简体中文,traditionalChinese:繁体中文 2022/2/28 |
timestamp |
String(10)
|
|
时间戳,值为秒值,长度10位,时间戳有效期:±10分钟 |
sign |
String(64)
|
|
签名 |
templateId |
String(24)
|
|
中药配方模板ID |
Properties:
Name |
Type |
Attributes |
Default |
Description |
partnerId |
String(24)
|
|
|
合作方ID |
doctorId |
String(24)
|
|
|
医生ID |
diseaseId |
Object
|
|
|
病症信息
Properties
Name |
Type |
Description |
_id |
String(24)
|
病症ID |
title |
String(50)
|
病症名称 |
|
title |
String(50)
|
|
|
证型名称 |
isdeleted |
Boolean
|
<optional>
|
false
|
删除标志,true为删除,默认false 2021/11/4 |
isPublic |
Boolean
|
<optional>
|
false
|
是否公开发布,true为公开发布,默认false 2021/11/3 |
isDefault |
Boolean
|
<optional>
|
false
|
是否为默认使用的模板,trur为默认使用,默认false 2021/11/3 |
count |
Number
|
<optional>
|
0
|
使用计数 |
useAmount |
Number
|
<optional>
|
0
|
使用费,一般由模板医生设置,其他医生需要付费使用 |
insideOrOutside |
Boolean
|
<optional>
|
true
|
内外服法,true:内服,false:外用 2021/11/6 |
acupointMothod |
String(100)
|
|
|
针灸手法 |
prescriptionName |
String(50)
|
|
|
传统方剂名称 |
prescription |
Array.<Object>
|
|
|
处方列表
Properties
Name |
Type |
Attributes |
Description |
decoctionpieces |
String(50)
|
|
饮片名称 |
dose |
String(10)
|
|
饮片计量,单位克 |
method |
String(100)
|
<optional>
|
饮片泡制方法或服用说明 |
knowledgebaseid |
String(24)
|
<optional>
|
中药饮片知识库ID,可用于调用 获取知识库 的参数,如果空或无此节点,说明不是标准饮片名称 |
|
takemethod |
String(100)
|
<optional>
|
|
服用方法 |
patentmedicines |
Array.<Object>
|
<optional>
|
|
中成药列表
Properties
Name |
Type |
Description |
patentmedicine |
Object
|
中成药信息
Properties
Name |
Type |
Description |
_id |
String(24)
|
中成药ID,可用于调用 获取知识库 的参数 |
title |
String(50)
|
中成药名称 |
|
group |
String(5)
|
中成药联合用药标记,相同的group为联合用药的中成药 |
|
acupoints |
Array.<Object>
|
|
|
穴位
Properties
Name |
Type |
Description |
acupoint |
Object.<Object>
|
穴位列表
Properties
Name |
Type |
Description |
_id |
String(24)
|
穴位ID,可用于调用 获取知识库 的参数 |
title |
String(50)
|
穴位名称 |
|
|
diettyerapy |
Array.<Object>
|
<optional>
|
|
食疗列表
Properties
Name |
Type |
Description |
_id |
String(24)
|
食疗ID,可用于调用 获取知识库 的参数 |
title |
String(50)
|
食疗名称 |
|
other |
String(5000)
|
<optional>
|
|
其他疗法 |
reference |
Array.<Object>
|
<optional>
|
|
临证参考列表
Properties
Name |
Type |
Description |
_id |
String(24)
|
临证参考ID,可用于调用 获取知识库 的参数 |
title |
String(50)
|
临证参考名称 |
|
createdAt |
Date
|
|
|
创建时间 |
updatedAt |
Date
|
|
|
更新时间 |
Throws:
400 缺少templateId
Examples
请求示例:/treatmentplan_template_load?templateId=617f939587cc726f80d59af6&sign=29B95FBA8B10FEDFDCD4C9BC172F31AFA687DFA6B9241E69F3E59E873B6CF924×tamp=1570428513
返回示例:
{
"isdeleted": false,
"isPublic": false,
"isDefault": false,
"count": 0,
"useAmount": 0,
"diettyerapy": [
{
"_id": "5e32726e20a8e7777c66fda3",
"title": "姜汤饮【感冒】"
},
{
"_id": "5e32726e20a8e7777c66feb8",
"title": "姜苏饮【感冒】"
}
],
"reference": [],
"quantity": 7,
"amount": 0,
"diseaseId": {
"_id": "5e3815da27ddaa24a8b0c74b",
title: "感冒"
},
"diseaseId": "5e3815da27ddaa24a8b0c74b",
"title": "风寒",
"takemethod": "每日一副,分两次服用。",
"acupoints": [
{
"acupoint": {
"_id": "5e31908df90d9a74e4678b45",
"title": "列缺"
}
},
{
"acupoint": {
"_id": "5e31908ef90d9a74e4678bcd",
"title": "风池"
}
},
{
"acupoint": {
"_id": "5e31908ef90d9a74e4678c03",
"title": "风门"
}
},
{
"acupoint": {
"_id": "5e31908ef90d9a74e4678c8a",
"title": "合谷"
}
},
{
"acupoint": {
"_id": "5e31908ef90d9a74e4678b9d",
"title": "迎香"
}
},
{
"acupoint": {
"_id": "5e31908ef90d9a74e4678be5",
"title": "太阳"
}
},
{
"acupoint": {
"_id": "5e31908ef90d9a74e4678ca3",
"title": "肺俞"
}
}
],
"prescription": [
{
"price": 0.042,
"decoctionpieces": "荆芥",
"dose": 9,
"knowledgebaseid": "5e31a2b6e645d57634b03132"
},
{
"price": 0.144,
"decoctionpieces": "防风",
"dose": 9,
"knowledgebaseid": "5e31a2b6e645d57634b03133"
},
{
"price": 0.63,
"decoctionpieces": "羌活",
"dose": 9,
"knowledgebaseid": "5e31a2b6e645d57634b03131"
},
{
"price": 0.195,
"decoctionpieces": "独活",
"dose": 9,
"knowledgebaseid": "5e31a2b6e645d57634b0324a"
},
{
"price": 0.435,
"decoctionpieces": "柴胡",
"dose": 9,
"knowledgebaseid": "5e31a2b6e645d57634b031fa"
},
{
"price": 0.72,
"decoctionpieces": "前胡",
"dose": 9,
"knowledgebaseid": "5e31a2b6e645d57634b031e4"
},
{
"price": 0.096,
"decoctionpieces": "川芎",
"dose": 9,
"knowledgebaseid": "5e31a2b6e645d57634b031dd"
},
{
"price": 0.087,
"decoctionpieces": "枳壳",
"dose": 9,
"knowledgebaseid": "5f4f0093ed28176ec7b2eefa"
},
{
"price": 0.114,
"decoctionpieces": "茯苓",
"dose": 9,
"knowledgebaseid": "5e31a2b6e645d57634b0314d"
},
{
"price": 0.144,
"decoctionpieces": "桔梗",
"dose": 9,
"knowledgebaseid": "5e31a2b6e645d57634b03263"
},
{
"price": 0.081,
"decoctionpieces": "甘草",
"dose": 6,
"knowledgebaseid": "5e31a2b6e645d57634b031b8"
},
{
"price": 0.054,
"decoctionpieces": "薄荷",
"dose": 6,
"knowledgebaseid": "5e31a2b6e645d57634b03138"
},
{
"price": 0.135,
"decoctionpieces": "黄芩",
"dose": 9,
"knowledgebaseid": "5e31a2b6e645d57634b03184"
},
{
"price": 0.036,
"decoctionpieces": "紫苏",
"dose": 9,
"knowledgebaseid": "5e31a2b6e645d57634b0312f"
},
{
"price": 0.042,
"decoctionpieces": "陈皮",
"dose": 9,
"knowledgebaseid": "5e31a2b6e645d57634b03213"
},
{
"price": 0,
"decoctionpieces": "大枣四枚",
"dose": 10
}
],
"patentmedicines": [
{
"price": 0,
"patentmedicine": {
"_id": "5e37726d246ef76200b3d4e3",
"title": "正柴胡饮颗粒"
}
},
{
"price": 0,
"patentmedicine": {
"_id": "5e37726c246ef76200b3d191",
"title": "感冒清热颗粒"
}
},
{
"price": 0,
"patentmedicine": {
"_id": "5e37726a246ef76200b3cd8a",
"title": "九味羌活丸"
}
},
{
"price": 0,
"patentmedicine": {
"_id": "5e37726c246ef76200b3d3da",
"title": "通宣理肺丸"
}
},
{
"price": 0,
"patentmedicine": {
"_id": "5e377268246ef76200b3c79d",
"title": "风寒感冒颗粒"
}
}
],
"acupointMothod": "针用泻法 并可加灸",
"other": "<p>偏方:</p><p>①大蒜、生姜各15克,切成片加水500毫升,煎至250毫升左右,临睡前加红糖适量服用。</p>",
"prescriptionName": "荆防败毒散加减",
"partnerId": "5db92814b85010180c4c0271",
"createdAt": "2021-11-01T07:13:25.745Z",
"updatedAt": "2021-11-01T07:13:25.745Z"
}