• A pill label for an interval code: minutes and hours keep their lower-case unit (5m, 1h), days and weeks read as a capital (D, W, 2W), and anything else (a registered calendar code) is upper-cased as written.

    Parameters

    • code: string

    Returns string