Implementing a custom calculation in OpenClinica