Adding functionalit for saving prescription details