A diabetes management system having a reliable data management scheme, the system comprising: - a plurality of devices, each device performing a different function relating to treatment of diabetes of a patient, wherein each device generates data records relating to the function of the device, - a diabetes management device (104; 500) in electronic communication with the plurality of devices, wherein the diabetes management device (104; 500) is configured to manage records received from the plurality of devices, and - a continuous blood glucose monitor that generates continuous blood glucose data records and transmits the continuous blood glucose data records to the diabetes management device (104; 500), characterized in that - each of the plurality of devices has a device identifier that identifies a type of the device and each device includes a metadata generator configured to generate a metadata tag for a data record generated by the device, - the metadata tag generated for the data record generated by the device includes the device identifier of the corresponding device, a record identifier, and a source identifier indicating whether the record was originated by a human or the corresponding device, - when a first device of the plurality of devices generates a new record to be communicated to the diabetes management device (104; 500), the metadata generator of the first device generates a new unique record identifier and a new metadata tag based on the new unique record identifier and the device identifier of the first device, and the first device communicates the new unique record and the new metadata tag to the diabetes management device (104; 500), and - the diabetes management device (104; 500) includes a data management module that manages the data records received from the plurality of devices according to a set of predetermined rules, the set of predetermined rules including a rule by which data records having a source identifier indicating that the data records were machine generated receive precedence over data records having a source identifiers indicating that the data records were human generated. - a plurality of devices, each device performing a different function relating to treatment of diabetes of a patient, wherein each device generates data records relating to the function of the device, - a diabetes management device (104; 500) in electronic communication with the plurality of devices, wherein the diabetes management device (104; 500) is configured to manage records received from the plurality of devices, and - a continuous blood glucose monitor that generates continuous blood glucose data records and transmits the continuous blood glucose data records to the diabetes management device (104; 500), - each of the plurality of devices has a device identifier that identifies a type of the device and each device includes a metadata generator configured to generate a metadata tag for a data record generated by the device, - the metadata tag generated for the data record generated by the device includes the device identifier of the corresponding device, a record identifier, and a source identifier indicating whether the record was originated by a human or the corresponding device, - when a first device of the plurality of devices generates a new record to be communicated to the diabetes management device (104; 500), the metadata generator of the first device generates a new unique record identifier and a new metadata tag based on the new unique record identifier and the device identifier of the first device, and the first device communicates the new unique record and the new metadata tag to the diabetes management device (104; 500), and - the diabetes management device (104; 500) includes a data management module that manages the data records received from the plurality of devices according to a set of predetermined rules, the set of predetermined rules including a rule by which data records having a source identifier indicating that the data records were machine generated receive precedence over data records having a source identifiers indicating that the data records were human generated.