In hospital, a great struggle with a good ending (4)
I believe the answer is:
ward
'in hospital' is the definition.
'ward' can be an answer for 'hospital' (thesaurus). I'm not sure about the 'in' bit.
'a great struggle with a good ending' is the wordplay.
'a great struggle' becomes 'war' (warring is a kind of struggling. I am not sure about the 'great' bit.).
'with' is a charade indicator (letters next to each other).
'ending' suggests the final letters (the ending of the word).
The last letter of 'good' is 'd'.
'war'+'d'='WARD'
Can you help me to learn more?
(Other definitions for ward that I've seen before include "Minor with guardian - division of city" , "Electoral district; Mrs Humphry ---" , "Division of borough" , "Separate room" , "Doctor in 5A 1D [PROFUMO AFFAIR]" .)