Start and end dates on the same day

If the dates range over the same day on the patient view, this PR causes it to only be shown once.