using Content.Shared.MedicalScanner; namespace Content.Client.HealthAnalyzer.UI.Tooltips; public sealed partial class HeartRateTooltip : UpdatableTooltip { public override void Update(HealthAnalyzerScannedUserMessage msg) { if (msg.WoundableData is not { } woundable) return; Label.Text = Loc.GetString("health-analyzer-heart-rate-tooltip", ("spo2", woundable.Spo2Name)); } }