Spinner and studydefinition id