changed signature for print
added flag to indicate the state of the prescription: active or achieved
added flag for prescription