Each MAR sheet can carry a validity window. Administrations outside the window are flagged and need an override.
Setting the window
valid_from— earliest date the sheet covers.valid_until— last date the sheet covers.Leave either field empty to treat the sheet as unbounded in that direction.
Note — There is no hardcoded "sheets last 28 days" rule. Most services use a 28-day cycle by convention, but you can run 7-day, monthly or quarterly sheets — set the dates accordingly.
Recording outside the window
If you try to record a dose on a date outside valid_from..valid_until, the recorder shows a SHEET_EXPIRED warning. Override requires a reason and senior approval; the override is logged.
Tip — The cleanest pattern is "one sheet per cycle, no gaps, no overlaps". Sheets that overlap by a few days create ambiguity in audits — better to archive the expired sheet before creating its successor.