
diabetes-report - ColdSync conduit to make DiabetesPilot status reports

conduit dump { type: DGA1/DATA; path: "<...>/diabetes-report"; arguments: Directory: /home/cpb/diabetes; GlucUnits: mmol/L; MealItems: 0; Wrap: 74; }

The diabetes-report conduit bundles up all records in the DiabetesPilot database and dumps them into text files containing all the relevant bits.
It's primarily intended for sharing with a specific nurse,
but others might find it useful.

DirectoryOutput files are placed,
one per day,
in this directory.
By default,
it's $HOME/diabetes.
WrapSpecifies the column at which to wrap long notes. Defaults to 74. A value of 0 specifies that text should not be wrapped.
GlucUnitsSets the appropriate units for a glucose reading. mmol/L is the default.
MealItemsWhen non-zero, specific details of each meal item will be output. By default, this is disabled. In many cases, this might be either too much information or too private to publish. And some people might find the calorie information just too darn depressing.

We really should try to get the units from the app preferences.

<christophe.beauregard@sympatico.ca>

coldsync(8)
ColdSync Conduits, in the ColdSync documentation.