UNPKG

periop-calculators

Version:

Evidence-based perioperative risk assessment calculators for healthcare professionals

41 lines 1.4 kB
import { StopBangInput, StopBangResult, PatientDemographics } from '../types'; /** * Calculate STOP-BANG score for obstructive sleep apnea risk assessment * * STOP-BANG is a validated screening tool for obstructive sleep apnea (OSA) * in surgical patients. It consists of 8 yes/no questions. * * Score interpretation: * - 0-2: Low risk of OSA * - 3-4: Intermediate risk of OSA * - 5-8: High risk of OSA * * @param input - STOP-BANG questionnaire responses * @param demographics - Optional patient demographics for auto-calculation * @returns StopBangResult with score, risk level, and recommendations * @throws Error if required inputs are missing or invalid * * @example * ```typescript * const result = calculateStopBang({ * snoring: true, * tiredness: true, * observed: false, * pressure: true, * bmi: 36, * age: 55, * neckCircumference: 43, * gender: 'male' * }); * console.log(result.score); // 6 * console.log(result.risk); // 'high' * ``` */ export declare function calculateStopBang(input: StopBangInput, demographics?: PatientDemographics): StopBangResult; /** * Simplified version of STOP-BANG calculation using just the basic inputs * @param input - Basic STOP-BANG inputs * @returns Just the numeric score (0-8) */ export declare function calculateStopBangScore(input: StopBangInput): number; //# sourceMappingURL=stop-bang.d.ts.map