patient class