The diagnostic process, the diagnosis and homeostasis