A framework for the synthetic generation of clinical data