formatting patient info