⚠️ SERVICE NOTICE: This instance will be decommissioned 1 december of this year (2026).
Please migrate your projects to our new repository:
https://gitrepo.service.rug.nl
- One cache design for as.ab() and as.mo() in R/aa_session_cache.R: lazily built
lookup indices (ATC codes, drug synonyms, SNOMED codes) and coercion caches with
the same structure (key, input, value), keyed on input plus outcome-relevant settings
- Caches are invalidated whenever the lookup tables change (custom antimicrobials or
microorganisms, set_mo_source())
- mo_*() functions use a fast path for valid <mo> input and work on unique values only
- synonym_mo_to_accepted_mo() is memoised per code
- Fix as.mo() cache keys that never matched again, fast_mode results of as.ab() being
reused by regular calls, and ab_reset_session() clearing as.mo() uncertainties
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>