Versions in this module Expand all Collapse all v0 v0.2.0 Jul 23, 2026 Changes in this version + var ErrInvalidVitalSigns = errors.New("invalid vital signs") + type Response struct + ClinicalResponse string + MonitoringFrequency string + func ResponseFor(risk RiskLevel) Response + func (r Response) String() string + type Result struct + Consciousness int + Pulse int + RedFlag bool + RespRate int + Risk RiskLevel + Saturations int + SupplementalO2 int + SystolicBP int + Temperature int + Total int + func Calculate(v VitalSigns) (Result, error) + func (r Result) Response() Response + func (r Result) String() string + type RiskLevel int + const High + const Low + const LowMedium + const Medium + func (r RiskLevel) String() string + type SpO2Scale int + const Scale1 + const Scale2 + func (s SpO2Scale) String() string type VitalSigns + SpO2Scale SpO2Scale + func (v VitalSigns) Validate() error v0.1.0 Jul 19, 2025 Changes in this version + func CalculateScore(v VitalSigns, scale1 bool) int + type ConsciousnessLevel int + const Alert + const Confused + const Pain + const Unresponsive + const Voice + func (c ConsciousnessLevel) String() string + type VitalSigns struct + ConsciousnessLevel ConsciousnessLevel + OnOxygen bool + OxygenSat int + Pulse int + RespRate int + SystolicBP int + Temp float64 + func (v VitalSigns) String() string