displaying patient data onto screen