[OE-4409] Force validation on the diagoses element, even if no diagosis has been added.

Also fixed some namespacing issues.