Added base class for patient calculations