Is there an API for RPC?

I’m wondering if there’s a way to instruct slicer from a remote application to load e.g. a DICOM Study or do other operations.

Like OsiriX has one: http://www.osirix-viewer.com/HIS-Integration.pdf