-
Notifications
You must be signed in to change notification settings - Fork 1
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
- The record type - at present this is always 1
- 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
- Systolic Blood pressure, an integer
- Diastolic Blood pressure, an integer
- Heart rate in beats per second
- Temperature, in Celsius, to one decimal place, e.g. 36.3
- Weight, in Kilograms, to one decimal place, e.g. 75.2
- A comment, optional, but can be used where a note might be relevant.
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.
- 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