This file is part of the pdr/pdx project.
Copyright (C) 2010 Torsten Mueller, Bern, Switzerland

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or (at
your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.



This complex sample includes a full functionable database for
diabetics using ICT (Intense Conventional Therapy). It includes the
following collections:

  #      text       comments
  *      numeric    blood sugar
  h      numeric    HbA1c
  k      numeric    weight
  l      numeric    base insuline
  m      numeric    tablets
  n      numeric    bolus insuline
  x      numeric    blood sugar (experimental)

Initially no collection contains any data, so you can use this example
out of the box for your own data.

There're two directories: png and svg, both containing similar but
different .pdrx files. pdx will create the same report in both
directories but in the png directory png images are created while in
the svg directory svg images are created. The generated reports also
differ particularly in the way the images are placed in HTML source
because svg images are still not standard in HTML.

The HMTL source has initially been created by SeaMonkey and then
filled up with <!--- ... ---> blocks containing pdx code. Later this
file has been edited using text editors because the persistence of
these HTML comments is not very secure, especially in the tables.

Dear English speaking friends, yes, this sample is in German language
because it is taken out of the real world. But you will find the most
interesting aspects not in the created report but in the report and
diagram definitions in the tmpl directory.
