function and DB

I have changed prescription and patient