The first layer at the bottom of the hierarchy consists of various types of sensors which collect real time data. These wearable sensors are embedded in and around the environment surrounding the patient and in his/her body as well. They can be broadly classified into two types, viz. medical sensors and environmental sensors. The medical sensors monitor vital parameters of the patient whereas the environmental sensors monitor parameters of the room including room temperature, oxygen levels and beyond. The data accumulated by the sensors are relayed to a processing device which attaches several data like unit, timestamp etc. and thereby creating metadata. With that, one unique id is attached to each unit data in order to distinguish which report is for which patient. The data is sent to the next layer in the hierarchy through Gateway 1. The data is transmitted in the form of Sensor Markup Language (SenML) [8]. A sample representation of a value recorded by the sensor in SenML is given by