Health
计算肺内分流率 Qs/Qt = (CcO₂ − CaO₂)/(CcO₂ − CvO₂),含氧含量 CcO₂=1.34×Hb×1.0+0.003×PAO₂、CaO₂=1.34×Hb×SaO₂+0.003×PaO₂、CvO₂=1.34×Hb×SvO₂+0.003×PvO₂;PAO₂ 由肺泡气方程 FiO₂×(P_atm−47)−PaCO₂/0.8 求得。正常 <5%;10–20% 中度分流(肺炎/肺水肿/中重度 ARDS);>20% 重度分流(重度 ARDS/肝肺综合征/右向左心内分流),对吸氧不敏感。100% 氧分流试验可区分真性分流与 V/Q 失衡。SvO₂/PvO₂ 缺失时用默认值(0.75/40)并标注。来源:Berggren 1942、StatPearls、LITFL、West 呼吸生理学。不构成医疗建议。
用三种语言从你的代码中调用此工具。
curl -X POST 'http://127.0.0.1:3003/zh/api/tools/shunt-equation' \
-H 'Content-Type: application/json' \
-d '{"hemoglobin":13.5,"pao2":100,"sao2":0.97,"pvo2":0,"svo2":0,"paco2":40,"fio2":0.21,"patm":0,"decimalPlaces":2}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST http://127.0.0.1:3003/zh/api/tools/shunt-equation| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| hemoglobin | number | 是 | Hemoglobin concentration (g/dL). |
| pao2 | number | 是 | Arterial PO₂ (mmHg) from ABG. |
| sao2 | number | 是 | Arterial oxygen saturation as a fraction (0–1, e.g. 0.92 = 92%). |
| pvo2 | number | 否 | Mixed venous PO₂ (mmHg) from PA catheter. Default 40 if not measured. |
| svo2 | number | 否 | Mixed venous oxygen saturation as a fraction (0–1). Default 0.75 if not measured. |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-shunt-equation": {
"name": "shunt-equation",
"description": "计算肺内分流率 Qs/Qt = (CcO₂ − CaO₂)/(CcO₂ − CvO₂),含氧含量 CcO₂=1.34×Hb×1.0+0.003×PAO₂、CaO₂=1.34×Hb×SaO₂+0.003×PaO₂、CvO₂=1.34×Hb×SvO₂+0.003×PvO₂;PAO₂ 由肺泡气方程 FiO₂×(P_atm−47)−PaCO₂/0.8 求得。正常 <5%;10–20% 中度分流(肺炎/肺水肿/中重度 ARDS);>20% 重度分流(重度 ARDS/肝肺综合征/右向左心内分流),对吸氧不敏感。100% 氧分流试验可区分真性分流与 V/Q 失衡。SvO₂/PvO₂ 缺失时用默认值(0.75/40)并标注。来源:Berggren 1942、StatPearls、LITFL、West 呼吸生理学。不构成医疗建议。",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=shunt-equation",
"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": "shunt-equation",
"arguments": {
"hemoglobin": 13.5,
"pao2": 100,
"sao2": 0.97,
"pvo2": 0,
"svo2": 0,
"paco2": 40,
"fio2": 0.21,
"patm": 0,
"decimalPlaces": 2
}
}
}有问题或反馈?请联系 [email protected]
| paco2 | number | 是 | Arterial PCO₂ (mmHg) from ABG, used to derive PAO₂. |
| fio2 | number | 是 | Inspired oxygen fraction. Use 1.0 for the 100%-O₂ shunt test; 0.21 for room-air estimate. |
| patm | number | 否 | Atmospheric pressure (mmHg). Default 760 at sea level. |
| decimalPlaces | number | 否 | — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}