Overall Concepts

The Health OS API is designed to abstract the low-level process of communicating with the HealthOS server. What this means, in practice, is that we must develop routines to translate XML delivered from the server into Java objects. More functionality will be added, but at the moment it is not much more than an automatic serialization system tailored to the HealthOS XML schema. But that's OK, because it makes developers' lives easy!

The pieces of the Health OS API project can be broken into two main categories:
  • XML and HTTP foundations - these are used to translate to and from XML. They focus on the details of XPath, DOM nodes, etc etc.
  • Domain-specific entities - each of these correspond to some kind of logical HealthOS entity.