Skip to content

Data format

JohnLines edited this page Aug 27, 2022 · 4 revisions

The data is stored in a Comma Separated Values file, the very first line being a header, which is

MedicLog 1.0,Date time,Systolic,Diastolic,Heart rate,Temperature,Weight,Comment

Note that the version number following MedicLog is the file format version, rather than the program version.

This is followed by the following fields on each line

  1. The record type - at present this is always 1
  2. The date and time, in ISO format, which will be in UTC at present, or local time depending on the 'Time in UTC' preferences item. e.g. 2018-01-05 17:09
  3. Systolic Blood pressure, an integer
  4. Diastolic Blood pressure, an integer
  5. Heart rate in beats per second
  6. Temperature, in Celsius, to one decimal place, e.g. 36.3
  7. Weight, in Kilograms, to one decimal place, e.g. 75.2
  8. A comment, optional, but can be used where a note might be relevant.

Version 1.1 format.

This is indicated by the Header starting with Mediclog 1.1 and is implemented in versions from 0.2.14

This adds additional information to the comment field, in the form of a number of items, each of the form ':'identifier'space'data, for example ":OR 98". These can be strung together, for example ":OR 99:OA 98:C This is a comment"

Note that the C (for comment) identifier, if present, must be the last one.

Valid identifiers

  • C - Comment - value is test string, which must not contain ',' or ':'
  • OR - Pulse Oximeter Oxygen saturation at Rest - data is an integer number
  • OA - Pulse Oximeter Oxygen saturation after Activity - data is an integer number

Clone this wiki locally