Dear List,

I would like to get something like:

1.1 Theorem instead of Theorem 1.1.

Seems simple enough but can't figure out how to switch the number and the text. I have the following MWE:

\defineenumeration[theorem][
  prefix=chapter,
  text=Theorem,
  style=italic, 
  headstyle=bold,
  headcommand=\groupedcommand{}{.},
]
\starttext

\chapter{}
\section{}
\starttheorem
This is a theorem
\stoptheorem
\stoptext

Many thanks,
Jethro