Made the patient figure view... but it's not working completely