Automation and digitization of clinical processes