Clean and condense large records
Multi-year FHIR R4 exports can exceed 18 megabytes and 7,000 entries—far too large for a clinician to scan or a language model to read at once. A progressive 5-tier condenser removes duplicate notes, groups repeated lab readings into longitudinal trends, and fits the record into a predictable size while keeping every allergy, active medication, and active condition intact.