Refactoring for ClinicalDataProcessor