UNPKG

periop-calculators

Version:

Evidence-based perioperative risk assessment calculators for healthcare professionals

86 lines 2.15 kB
export interface PatientDemographics { age: number; sex: 'male' | 'female'; weight: number; height: number; neckCircumference?: number; } export interface StopBangInput { snoring: boolean; tiredness: boolean; observed: boolean; pressure: boolean; bmi?: number; age?: number; neckCircumference?: number; gender?: 'male' | 'female'; } export interface StopBangResult { score: number; risk: 'low' | 'intermediate' | 'high'; interpretation: string; components: { S: boolean; T: boolean; O: boolean; P: boolean; B: boolean; A: boolean; N: boolean; G: boolean; }; recommendations: string[]; } export interface CalculatorError { code: string; message: string; field?: string; } export interface ValidationResult { isValid: boolean; errors: CalculatorError[]; } export interface RCRIInput { highRiskSurgery: boolean; ischemicHeartDisease: boolean; congestiveHeartFailure: boolean; cerebrovascularDisease: boolean; insulinDependentDiabetes: boolean; renalInsufficiency: boolean; } export interface RCRIResult { score: number; riskClass: 'I' | 'II' | 'III' | 'IV'; estimatedRisk: string; riskPercentage: number; interpretation: string; riskFactors: { highRiskSurgery: boolean; ischemicHeartDisease: boolean; congestiveHeartFailure: boolean; cerebrovascularDisease: boolean; insulinDependentDiabetes: boolean; renalInsufficiency: boolean; }; recommendations: string[]; } export interface ApfelScoreInput { female: boolean; nonSmoker: boolean; historyOfPONV: boolean; postoperativeOpioids: boolean; } export interface ApfelScoreResult { score: number; riskPercentage: number; risk: 'low' | 'moderate' | 'high' | 'very-high'; interpretation: string; riskFactors: { female: boolean; nonSmoker: boolean; historyOfPONV: boolean; postoperativeOpioids: boolean; }; recommendations: string[]; } //# sourceMappingURL=index.d.ts.map