The study considers modeling and automating the processes of data collection and processing in a smart medical ward. We examined the existing solutions in the field of smart wards. Such solutions allow to increase patient safety, improve the quality of their treatment, optimize workflows in inpatient facilities, reduce costs and increase comfort of the patients. At the same time, these solutions are focused on particular tasks, use varied technologies and protocols, and implement single scenarios for the functioning of the ward. This is not enough to create an integrated approach to automating patient treatment in smart wards, as there are problems of compatibility and integration of heterogeneous modules, systems and protocols, which leads to growing costs and reduced profitability. To avoid these problems, the complex must be implemented within a single framework with typical components, connections, and operation scenarios. To do this, at the first stage of the work, a conceptual model of a smart room is proposed, a description of its components is given, and scenarios of their functioning are provided. An algorithm for collecting and processing data for diagnosis and stratification of diseases has also been developed, a simulation of the smart ward operation has been carried out, and it showed that the implementation of data collection and processing using smart components can reduce the processing time at least twice.