A prescription for a controlled dangerous substance (CDS) must be filed within 30 days of the date on which the prescription was written. After 30 days, the prescription is invalid.