added filtering to joshes updates

formatted date and removed duration filtering while adding filtering to
med rec number and birth date