Searching functionality, patient model bugs and enhancements coded