Health
根据肠外营养处方计算葡萄糖/氨基酸/脂肪乳的克数与热量(kcal)、非蛋白热量、非蛋白热量:氮比、热量构成及每公斤指标。能量密度:葡萄糖(一水)3.4 kcal/g、氨基酸 4.0 kcal/g、脂肪乳 20%≈2.0 kcal/mL(10% 1.1、30% 3.0)。氨基酸含氮约 16% → N = AA × 0.16。非蛋白热量:氮比 ~150:1 最优(蛋白保留、避免过度喂养);< 100:1 蛋白占优(应激/促合成);> 200:1 能量占优(过度喂养风险:高 CO₂、脂肪肝)。参考目标(ASPEN/ESPEN):总能 20–30 kcal/kg/日(严重应激可至 30–35);蛋白 1.0–1.5 g/kg/日(危重可达 2.0);葡萄糖 ≤ 4–5 mg/kg/min;脂肪 ≤ 1.0–1.5 g/kg/日、占非蛋白热量 ≤ 30–40%。注意事项:本工具为处方分析辅助,非配制配方——务必在药房无菌配制;钙磷须查溶解曲线防 Ca-PO₄ 沉淀;尽早恢复肠内营养(TPN 的 CLABSI 与代谢风险更高);每日监测血糖、甘油三酯、肝功能、电解质与出入量。来源 ASPEN 2016、ESPEN 2019、McClave 2016、Mirtallo 2004。不构成医疗建议。
用三种语言从你的代码中调用此工具。
curl -X POST 'http://127.0.0.1:3003/zh/api/tools/tpn-macronutrient-calculator' \
-H 'Content-Type: application/json' \
-d '{"weight":70,"dextrosePercent":25,"dextroseVolume":1000,"aaPercent":8.5,"aaVolume":500,"lipidEmulsion":"20%","lipidVolume":250,"decimalPlaces":1}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST http://127.0.0.1:3003/zh/api/tools/tpn-macronutrient-calculator| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| weight | number | 是 | Patient weight in kg — used for per-kg kcal, protein, glucose-infusion-rate and lipid ceilings. |
| dextrosePercent | number | 是 | Dextrose concentration % w/v. D25W = 25 g/100 mL. |
| dextroseVolume | number | 是 | Total dextrose volume (mL). |
| aaPercent | number | 是 | Amino-acid concentration % w/v. AA 8.5% = 8.5 g/100 mL. |
| aaVolume | number | 是 |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-tpn-macronutrient-calculator": {
"name": "tpn-macronutrient-calculator",
"description": "根据肠外营养处方计算葡萄糖/氨基酸/脂肪乳的克数与热量(kcal)、非蛋白热量、非蛋白热量:氮比、热量构成及每公斤指标。能量密度:葡萄糖(一水)3.4 kcal/g、氨基酸 4.0 kcal/g、脂肪乳 20%≈2.0 kcal/mL(10% 1.1、30% 3.0)。氨基酸含氮约 16% → N = AA × 0.16。非蛋白热量:氮比 ~150:1 最优(蛋白保留、避免过度喂养);< 100:1 蛋白占优(应激/促合成);> 200:1 能量占优(过度喂养风险:高 CO₂、脂肪肝)。参考目标(ASPEN/ESPEN):总能 20–30 kcal/kg/日(严重应激可至 30–35);蛋白 1.0–1.5 g/kg/日(危重可达 2.0);葡萄糖 ≤ 4–5 mg/kg/min;脂肪 ≤ 1.0–1.5 g/kg/日、占非蛋白热量 ≤ 30–40%。注意事项:本工具为处方分析辅助,非配制配方——务必在药房无菌配制;钙磷须查溶解曲线防 Ca-PO₄ 沉淀;尽早恢复肠内营养(TPN 的 CLABSI 与代谢风险更高);每日监测血糖、甘油三酯、肝功能、电解质与出入量。来源 ASPEN 2016、ESPEN 2019、McClave 2016、Mirtallo 2004。不构成医疗建议。",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=tpn-macronutrient-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}连接到 SSE 端点后,列出已开放的工具:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}通过工具 id 调用,参数由其参数表构建:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "tpn-macronutrient-calculator",
"arguments": {
"weight": 70,
"dextrosePercent": 25,
"dextroseVolume": 1000,
"aaPercent": 8.5,
"aaVolume": 500,
"lipidEmulsion": "20%",
"lipidVolume": 250,
"decimalPlaces": 1
}
}
}| Total amino-acid volume (mL). |
| lipidEmulsion | select | 是 | — |
| lipidVolume | number | 是 | Total lipid emulsion volume (mL). |
| decimalPlaces | number | 否 | — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}有问题或反馈?请联系 [email protected]