started working on patients view end some fixes