fix doctor bug - shared prescriptions