Current file structure of openemr mixes data (e.g. sites/documents/…) and code under common web root. This unusal arrangement makes it harder to put web server in DMZ or create multiple codebases to access common / shared data.
Apart from tinkering with links and expanding couchdb, are there any easier solutions to break this dependency?
Seems the right thing to do is put the path to the Documents directory (and others) into the global settings Miscellaneous tab, which is where the other paths are.
It becomes complicated quickly since components use multiple subdirectories that are hardcoded in scripts. Then there are script extensions also in the same directory.
We are really looking to have a content server manage faxes, hl7 lab results, radiology scans and even messages. EMR can then focus on business logic rather than plumbing.