This module provides an API and the implementation of two handlers for storing complex observations directly in the database.
This approach addresses the problem of sync'ing and backuping complex obs: by default, complex obs are stored as files in server file system outside the database (see Complex Obs Support). So, the value stored in the database is the name of the file (for example, "image.jpg"). This causes two issues:
In this module, complex obs are processed as follows:
The module provides the implementation of two handlers: ImageDBHandler and BinaryDBHandler.
These handlers are registered in the OpenMRS instance and can be chosen at concept creation: