createAnamnesis is functional