Directly compressed mini-tablets coated in a solid wall pan for the sustained release of drugs