Secure Decentralized Decisions In Consolidated Hospital Systems: Intelligent Agents And Blockchain