working on patient states and prescriptions
added updated metadata
added dynamic pulling of drugs for prescription