genpark-personal-agent-pulmonary-transpulmonary-pressure-esophageal-manometry-skill

mcp
Guvenlik Denetimi
Gecti
Health Gecti
  • License — License: NOASSERTION
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 10 GitHub stars
Code Gecti
  • Code scan — Scanned 4 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Calculates transpulmonary pressures (Ptp = Paw - Pes) and partitions lung vs chest wall elastance via esophageal manometry for personal respiratory protection and mechanical stress monitoring.

README.md

Pulmonary Transpulmonary Pressure ($P_{\text{tp}}$) & Esophageal Manometry Skill

License: Apache-2.0
Python: 3.9+
Model Context Protocol
Zero External Dependencies
Status: Production-Ready

A zero-dependency, mathematically rigorous personal agent skill that evaluates transmural lung stress and strain via esophageal balloon catheter manometry, separating parenchymal lung elastance from chest wall stiffness.

Architecture

flowchart TD
    A[Airway & Esophageal Pressure Transducers] --> B[Synchronous P_aw and P_es Sampling]
    B --> C[Compute P_tp = P_aw - P_es]
    C --> D[Partition E_lung and E_cw via Tidal Volume]
    D --> E[Barotrauma & Atelectrauma Risk Scoring]
    E --> F[Personalized Respiratory Guidance Output]

Quick Start

from client import TranspulmonaryPressureManometryClient

client = TranspulmonaryPressureManometryClient()
result = client.evaluate_transpulmonary_mechanics(
    plateau_airway_pressure_cmh2o=28.0,
    peep_airway_pressure_cmh2o=10.0,
    esophageal_pressure_insp_cmh2o=14.0,
    esophageal_pressure_exp_cmh2o=9.0,
    tidal_volume_ml=450.0
)
print("Ptp Inspiratory (cmH2O):", result["transpulmonary_pressures_cmh2o"]["ptp_end_inspiratory_cmh2o"])
print("Lung Elastance Fraction:", result["partitioned_mechanics"]["lung_elastance_fraction"])
print("Diagnosis:", result["clinical_guidance"]["partitioning_diagnosis"])

License

Apache-2.0

Yorumlar (0)

Sonuc bulunamadi