Issue #461: Add a script service for accessing patient data
Added javadoc for the public APIs