updated vitals page to handle the case of displaying multiple vitals encounters on a single page