Files
HealthAppRepositoryB/src/Modules/Guidance/ReviewedReferenceCatalog.cs
T

47 lines
3.5 KiB
C#

using HealthApp.Contracts;
namespace HealthApp.Guidance;
// Pinned content and thresholds; this relocation does not imply a new clinical review.
public sealed class ReviewedReferenceCatalog : ReferenceCatalog
{
public string Version => "baseline-2026-10-05";
public IReadOnlyList<ClinicalRuleProvenance> Claims { get; } = Array.AsReadOnly(new[]
{
new ClinicalRuleProvenance("Systolic/Diastolic", "Setting-specific reference comparison",
"All recorded AtRest, one Home/Clinic setting, no detected conflicts; recorded rest below five minutes or non-seated position blocks the comparison",
"Compare raw levels with the cited inclusive high boundary; missing irrelevant optional detail does not suppress provisional comparison; no individual target or diagnosis",
"Baseline sources reviewed 2026-10-05; no new clinical review"),
new ClinicalRuleProvenance("Pulse", "Resting rate reference comparison",
"All recorded AtRest and no detected narrative conflicts; BP-specific preparation does not gate pulse",
"Compare raw resting rates below 50 or above 100 using exclusive limits; no rhythm diagnosis or universal healthy range",
"Baseline sources reviewed 2026-10-05; no new clinical review"),
new ClinicalRuleProvenance("Systolic/Diastolic/Pulse", "Development classification",
"At least two distinct instants, applicable reference, SupportedRecordedComparability; exact preserved ClinicalPolicy branches govern reversals and opposite-boundary excursions",
"Only the baseline PotentiallyFavourable/PotentiallyConcerning/Mixed/CannotInterpret branches; no blanket interpretation from numerical sign or range",
"Preserved cautious baseline inference; independent domain validity remains unverified")
});
public ClinicalReference Pulse()
{
return new("Recorded resting pulse", 50, "<", 100, ">",
[new("Patienthåndbogen: Bradykardi (langsom puls)",
"https://www.sundhed.dk/borger/patienthaandbogen/hjerte-og-blodkar/sygdomme/hjertearytmier/bradykardi-langsom-puls/",
"2025-09-02", "2026-10-05"),
new("Patienthåndbogen: Hurtig puls (takykardi)",
"https://www.sundhed.dk/borger/patienthaandbogen/hjerte-og-blodkar/sygdomme/hjertearytmier/takykardier-hurtig-puls/",
"2025-05-12", "2026-10-05")],
"These are resting-rate reference boundaries, not a diagnosis, a universal normal range or a treatment target. " +
"Low pulse can be physiological in trained people; age, fitness, symptoms and medicines affect applicability.");
}
public ClinicalReference Pressure(string metric, string setting)
{
var threshold = metric == "Systolic" ? (setting == "Home" ? 135 : 140) :
(setting == "Home" ? 85 : 90);
return new($"Recorded {setting} resting blood pressure", null, null, threshold, ">=",
[new("Lægehåndbogen: Højt blodtryk",
"https://www.sundhed.dk/sundhedsfaglig/laegehaandbogen/hjerte-kar/symptomer-og-tegn/hoejt-blodtryk/",
"2024-09-25", "2026-10-05")],
"Setting-specific high-pressure reference threshold. Missing preparation details make this comparison provisional; " +
"five minutes of rest, appropriate technique and repeated measurements are not inferred. " +
"Being below a high-pressure threshold does not establish an appropriate lower level or a personalised goal.");
}
}