# 12 Health Lab Rules

_Last updated: 2026-05-13_

## Purpose
Rules for interpreting, charting, and querying lab values.

## Load when
- Lab values, CRP, cholesterol/lipids, inflammation, trend charts, PDF reports

## Stable facts
- Health DB has tables including dokumente, laborwerte, medikamente, health_events.
- Historical lab data may use document dates from file names when explicit date fields are missing.
- CRP and lipids have been charted previously from local DB.

## Operating rules
- Always inspect schema before assuming column names.
- Report units and reference ranges when available.
- Trend interpretation must mention data gaps and source confidence.
- Do not overinterpret single lab values.

## Data sources
- ~/Gesundheit/health_data.db
- ~/Gesundheit/generate_laborwerte_pdf.py
- ~/Gesundheit/query_health.sh
- Original lab PDFs

## Do-not-store
- Raw full lab PDFs in generic memory
- Unverified copied values without date/source

## Open questions
- Canonical lab categories and thresholds Sir wants tracked?
- Preferred chart/report format?
