Fog Computing has emerged as a new paradigm where the processing of data and collaborative services are embedded within smart objects, which cooperate between them to reach common goals. In this work, a rule-based Inference Engine based on fuzzy linguistic approach is integrated in the smart devices. The linguistic representation of local and remote sensors is defined by protoforms, which configure the antecedents of the rules in the Inference Engine. A case study where two inhabitants with a wearable device conduct activities in a Smart Lab is presented. Each wearable device infers the daily activities within the wearable devices by means of the rule-based Inference Engine.
Pressure ulcers affect the quality of life and health level of patients while causing a cost increase for the health system. Despite all of this, there is no monitoring system for this disease, even though it is very common in hospitalized patients. To resolve this issue, in this work, we present a prototype for monitoring and caring of pressure ulcers, through an intelligent system based on wearable inertial devices. The system detects the position of patients with reduced mobility while in bed, walking, or standing; providing, to medical staff and caregivers, useful information by means of mobile devices, in particular: (i) A historical record of body activity and (ii) notifications when a single position persists for a prolonged period of time. The following contributions are presented in this paper. Firstly, a technological survey of healthcare systems applied to pressure ulcers is presented. Secondly, an architecture and a methodology for modelling wearable inertial sensors for classifying body position are proposed. Finally, experimental tests with real cases were conducted to evaluate machine learning approaches and to validate the position estimation of the case study developed with four participants.