Cotton code
33 lines · 1.3 KB · RustRaw
//! COTTON HEALTH'S LABS (Nov 2026): lab reports read into//! measured results, for every person the owner keeps records for.//!//! - [`catalogue`]: the canonical parameters (kit data), matching, units.//! - [`text`]: a PDF page's glyphs as lines and cells (whatever reads the PDF).//! - [`layout`]: how a lab's report is laid out (kit data), a lab per entry.//! - [`parse`]: pages to header fields and result rows, prose left out.//! - [`interval`]: values and reference intervals read; a result's state.//! - [`report`]: a parsed report matched, converted and dated.//! - [`names`]: whose report: the printed name against the people kept.//! - [`rows`]: the rows, their keys, and partial-to-final merging.//! - [`pdf`]: a PDF's text layer read, pure Rust (feature `lab-pdf`).//!//! Everything a report holds is sealed: the Worker sees a row's day and//! nothing else. A state (out of range, rising) is worked out on the device//! each time it is drawn and is never stored.pub mod catalogue;pub mod interval;pub mod layout;pub mod names;pub mod parse;/// A PDF's text layer, read (the `lab-pdf` feature: the Mac's import, a phone's add).#[cfg(feature = "lab-pdf")]pub mod pdf;pub mod report;pub mod rows;/// Synthetic report PDFs, for tests on every side.pub mod sample_pdf;pub mod text;#[cfg(test)]mod tests;