Issue #461: Add a script service for accessing patient data
Moved implementation specific constants out of the interfaces
[cleanup] Better logging