fix stuff

Fixed repetitive saving of medical fields when a doctor is editing them.

Changed pharmacy and medical page to use a shared landing html helper template.

Added a confirmation message after seeing a patient in medical or pharmacy.

Reversed the order of encounter listings on patient information page.

Cleaned up unused styling and scripts on landing pages.